View Single Post
  #1  
Old 12-08-2008, 08:01 AM
donaldcanard
Sarnak
 
Join Date: Nov 2008
Location: Germany
Posts: 38
Default 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.
Reply With Quote