It's for my friend's program.
Gamespy was a 3rd party that enabled people to play games multiplayer.
Gamespy shuts down and does not exist anymore but abandoning players and their game.
My friend wrote in perl code that would allow players to play unreal tournament game and found out some other games would function too.
The program has a main folder with 5 other folders which contain a number of files in them, and a start file.
#!/usr/bin/perl package MasterServer; use strict; use warnings; use Cwd 'abs_path'; our $ROOT; BEGIN { ($ROOT = abs_path $0) =~ s{/util/masterserver\.pl$}{}; } use lib $ROOT.'/lib'; use MasterServer; our %S; require "$ROOT/data/masterserver-config.pl"; #add %C from config.pl to OBJ $MasterServer::OBJ->{$_} = $S{$_} for (keys %S); # load MasterServer core libs MasterServer::load_recursive('MasterServer::Core', 'MasterServer::UDP', 'MasterServer::TCP', 'MasterServer::Util'); # Run the MasterServer process MasterServer::run();
I can trace that out but I know there has to be a quicker way.
That is also the mean frame of the code.
I'm hoping to trace the whole program, from the maim to the sub-routines
Thanks!In reply to Re^2: Code Flow
by CougarXR7
in thread Code Flow
by CougarXR7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |