-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathRun.pm
More file actions
40 lines (27 loc) · 771 Bytes
/
Run.pm
File metadata and controls
40 lines (27 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# // USE THIS INSTEAD OF RUN.BAT //
use strict;
use warnings;
require 'Configuration/Config.pl';
use vars qw($loginConfig $gameConfig $dbConfig);
use Module::Find;
use Utils::Tools;
use Utils::Logger;
use Utils::Cryptography;
use Drivers::MySQL;
use Drivers::Socket;
use Misc::Crumbs;
use Misc::Matches;
use Server::CPPlugins;
use Server::CPCommands;
usesub Server::Systems;
usesub Server::Plugins;
use Server::ClubPenguin;
use Server::CPUser;
my $objLoginServer = ClubPenguin->new($loginConfig, $dbConfig);
my $objGameServer = ClubPenguin->new($gameConfig, $dbConfig);
$objLoginServer->initializeSource;
$objGameServer->initializeSource;
do {
$objLoginServer->{modules}->{base}->serverLoop;
$objGameServer->{modules}->{base}->serverLoop;
} while (1);