larsgevers wrote:Hee, nice work:D
Very nice project either:D
When i try to use it, it gives me the error:
-
- Can't locate object method "read_file" via package "Config::INI::Reader" at world.pl line 23.
-
You will have to install the Config::INI package. If this is a Windows system, open the run dialog and enter "ppm" (assuming you're using ActiveState Perl). Wait for it to load and search for it. When found, right click and mark for installation, then click the button in the top right corner that executes the actions.
If you're on a *NIX system, or using a different Perl than ActiveState's, you might have the cpan command. Open a terminal/shell/command and type "cpan -i Config::INI".
EDIT: You should have gotten some errors before that one though, if it wasn't able to load the module =/
EDIT2: Oopsie. Anyone who looks at packet_auth() in char.pl and world.pl will see that the %client hash is updated with the user's ID
before it and the password is verified! You shouldn't be using this for anything yet anyway, but I'm letting you know =P
EDIT3: I have now changed how the servers function to allow multiple channels and world servers. This means that you might have 1 login server, 2 character server and 4 world server. The login server handles all connections at first, then redirects the client to either one of the character servers. Characters created on one character server is not shared with the other, neither can a character from one channel be used on another channel's world (unless it's moved in the database of course). I believe this is how the official servers work, and I consider it a good thing. Feedback?
Here is an illustration.
- rosetree.png (7.36 KiB) Viewed 17563 times