EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   spawechance Error (https://www.eqemulator.org/forums/showthread.php?t=26950)

donaldcanard 12-08-2008 08:01 AM

spawechance Error
 
Hello,

I am trying to build a debian server to move my WindowsXP server to.

I used EQEmu-0.7.0-1129 source for my debian build and for the database I am using my working PEQ database from my Windows server (Build 222)

I get this error:
Code:

trap.cpp:  spawnchance int(11) NOT NULL default '0',
trap.cpp:      spawnchance = 0;
trap.cpp:      if (RunQuery(query, MakeAnyLenString(&query, "SELECT id,x,y,z,effect,effectvalue,effectvalue2,skill,spawnchance,maxzdiff,radius,chance,message FROM traps WHERE zone='%s'", zonename), errbuf, &result)) {
trap.cpp:                              trap->spawnchance = atoi(row[8]);
trap.h: int8    spawnchance;

When I did a search on spawnchance, I found a thread in the Windows support forum stating that you should always get your code from:

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

But the above link does not have the source code.

I have also looked for a .sql that adds spawnchance to the database, but I did not find one.

Any help would be appreciated.

trevius 12-08-2008 08:57 AM

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

Quote:

# Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://projecteqemu.googlecode.com/svn/trunk/ projecteqemu-read-only
That is where you get it. If you were running revision 222 on your windows server, you will need the same revision for your database to match up. You can go later, but you will need to update your sql from the /utils/sql/svn directory from 222 on up.

donaldcanard 12-15-2008 04:31 AM

I was able to download and compile the source code that you referenced. And my database from my windows system runs great.

All OK and life is good.

thank you


All times are GMT -4. The time now is 01:11 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.