EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Unable to make Zone (https://www.eqemulator.org/forums/showthread.php?t=31990)

EntropyDivides 09-01-2010 10:15 PM

Unable to make Zone
 
First time at trying to set up a server. Running Ubuntu 10.4. All has gone well exect that I'm having issues with making the zone files. Checked out SVN version 1637.

Below is the error that I'm getting:

Code:

mob.h:1161: warning: âMob::spellend_timerâ will be initialized after
mob.h:995: warning:  âTimer Mob::rewind_timerâ
mob.cpp:54: warning:  when initialized here
mob.cpp: In member function âvoid Mob::SendPosUpdate(int8)â:
mob.cpp:974: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âvoid Mob::ShowStats(Client*)â:
mob.cpp:1033: warning: unused variable âWornCapâ
mob.cpp: In member function âint Mob::CountDispellableBuffs()â:
mob.cpp:2904: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âint Mob::GetSnaredAmount()â:
mob.cpp:2927: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âvoid Mob::TryTriggerOnCast(Mob*, uint32)â:
mob.cpp:3054: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âvoid Mob::TryTwincast(Mob*, Mob*, uint32)â:
mob.cpp:3149: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âsint32 Mob::GetVulnerability(sint32, Mob*, uint32, int32)â:
mob.cpp:3176: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âint32 Mob::GetItemStat(int32, const char*)â:
mob.cpp:3391: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âvoid Mob::InsertQuestGlobal(int, int, int, const char*, const char*, int)â:
mob.cpp:3822: error: âINT_MAXâ was not declared in this scope
mob.cpp:3868: error: âINT_MAXâ was not declared in this scope

mob.cpp: In member function âint Mob::QGVarDuration(const char*)â:
mob.cpp:3921: error: âINT_MAXâ was not declared in this scope
make: *** [mob.o] Error 1

Hopefully someone can give a hand. Thanks mates.

pfyon 09-01-2010 10:42 PM

If you add
Code:

#include <limits.h>
you'll be good.

edit: add it to mob.cpp that is

EntropyDivides 09-01-2010 11:23 PM

Brilliant! Worked like a champ. Thanks a bunch


All times are GMT -4. The time now is 09:37 AM.

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