PDA

View Full Version : New Server Setup Problem [RULES_ERROR]


Talisan
12-03-2008, 12:42 AM
I'm attempting to set up a windows server using the public login server, and have followed the instructions on http://www.eqemulator.net/wiki/wikka.php?wakka=ws992mysql5 to the letter with the ProjectEQ database.

Everything seemed to install without problems. I did not register the server anywhere (not sure if I needed to). The server connected successfully to the login server, and I could see it from a client on another computer. I successfully logged into it from the client, and created a character.

But I could not log into the world. It gave an error message that the zone was down. The server world.exe console informed me of attempting to restart the zone.

Upon shutdown and restart of the server I noticed many lines of errors in this format:

[Debug] [RULES__ERROR] Unable to find rule 'rulename'
[Debug] [RULES__ERROR] Unable to interpret rule record for rulename

I located the entries in the .sql files from the peqdb folder that match the rulenames mentioned. They are in rule_sets.sql and rule_values.sql.

I recall the step which required creating peqdb_xxx.sql.gz and extracting it into peqdb_xxx.sql then loading into the database via the mysql console going without a hitch.

My files for peqdb are in C:\peqdb, such that all the files have the path C:\peqdb\filename

Both the zipped and unzipped version which was loaded in mysql are housed here such that

C:\peqdb\peqdb_1129Rev233.sql
C:\peqdb\peqdb_1129Rev233.sql.gz

Did they need to be moved elsewhere before being loaded?
Or did the loading into the database not work successfully?

Also, in the blank window when the server was loaded it said "0: sleeping" rather than "7005: sleeping"
But I did see in the world.exe 7000-7004 zone ports notifications without errors.

I had a bit of trouble earlier getting the search function to work, so I apologize if this has been answered before. I only was able to browse the first couple pages of this forum.

Thank you for your time in this matter. I really am happy so many people have dedicated so much time to keeping a very nostalgic piece of my past alive. :)

trevius
12-03-2008, 05:06 AM
If you are building a server using the latest PEQ database, you need to be sure to use a matching version of the emulator code. The ones in the download section of this site are way outdated and probably won't be updated any time soon. We have a new site here for downloads:

http://code.google.com/p/projecteqemu/

Updates are very frequent there, which is why we haven't had the download section of this site updated in a while. Even if it was updated, it would be outdated quickly at the rate changes have been coming in. In the couple months since the new SVN was added, we already have over 200 change updates including hundreds of changes.

Talisan
12-03-2008, 08:57 AM
Alright. I have the Revision222.zip

I've unpacked it over the old server, but noticed that the folder structure was changed. All of the folders currently in the defaults folder, were simply in the top level folder. So I copied over the contents of the quests, and deleted the rest from the old install, so now the only folder in c:\eqemu is defaults.

The problem I have is that my peqdb claims an update number of peqdb_1129Rev233.sql but the most recent one I could find was 222 for the server. However, when I look in the updates folder for peqdb the latest version is 227. Do I need to downgrade my database for the correct number? And if so, how do I choose the version number to synchronize to in CVS (very new at using it)?

I tried running it anyway following the instructions for installation here: http://www.projecteq.net/phpBB2/viewtopic.php?t=2258

But I get a error when I try to load up EqServer:
world.exe - Entry Point Not Found
The procedure entry point Perl_newXS_flags could not be located in the dynamic link library perl58.dll

Thank you for the assistance.

cavedude
12-03-2008, 11:33 AM
Do I need to downgrade my database for the correct number? And if so, how do I choose the version number to synchronize to in CVS (very new at using it)?

Nope, no structures have changed that would break an older server build.

But I get a error when I try to load up EqServer:
world.exe - Entry Point Not Found
The procedure entry point Perl_newXS_flags could not be located in the dynamic link library perl58.dll

There is a sticky about that exact error.