Well, I have been lurking for a while now and must say that I am excited about finding this project. I've gone and purchased a C++ book so I can get more involved too!
I initally ran a windows server, but want to move it over to my Redhat box. I think I got all the libs I need, but I am still getting errors.
I only get one (in the common/database.cpp) when compiling world, and a few more when compiling zone.
Anyone have any ideas for me to look at with these? (This isn't all ov my zone errors, but hopefully whatever I'm missing will take care of them as well.)
==============
# when compiling world
../common/database.cpp: In method `bool Database::LoadNPCTypes ()':
../common/database.cpp:1945: warning: assignment to `int16' from
`double'
../common/database.cpp:1945: warning: argument to `short unsigned int'
from `double'
#when compling zone
gcc -c -g -m486 -pthread -pipe -DLUCLIN -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql attack.cpp -o attack.o
attack.cpp: In method `void Client::Attack (Mob *, int)':
attack.cpp:165: warning: initialization to `int32' from `float'
attack.cpp:165: warning: argument to `unsigned int' from `float'
attack.cpp: In method `void Client:
amage (Mob *, int, short unsigned
int, unsigned char)':
attack.cpp:320: warning: initialization to `int16' from `float'
attack.cpp:320: warning: argument to `short unsigned int' from `float'
attack.cpp: In method `void NPC::Attack (Mob *, int)':
attack.cpp:406: warning: initialization to `int' from `float'
attack.cpp:406: warning: argument to `int' from `float'
attack.cpp:542: warning: assignment to `int' from `double'
attack.cpp:542: warning: argument to `int' from `double'
attack.cpp:557: warning: assignment to `int' from `double'
attack.cpp:557: warning: argument to `int' from `double'
attack.cpp: In method `void NPC:
amage (Mob *, int, short unsigned
int, unsigned char)':
attack.cpp:694: warning: initialization to `int16' from `float'
attack.cpp:694: warning: argument to `short unsigned int' from `float'
attack.cpp: In method `void Mob::MonkSpecialAttack (Mob *, unsigned
char)':
attack.cpp:878: warning: passing `float' for argument passing 1 of `abs
(int)'
attack.cpp:878: warning: argument to `int' from `float'
attack.cpp:882: warning: assignment to `sint32' from `double'
attack.cpp:882: warning: argument to `int' from `double'
attack.cpp: In method `void Mob::RogueBackstab (Mob *, Item_Struct *,
unsigned char)':
attack.cpp:1119: warning: assignment to `sint32' from `float'
attack.cpp:1119: warning: argument to `int' from `float'
gcc -c -g -m486 -pthread -pipe -DLUCLIN -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql spells.cpp -o spells.o
spells.cpp: In method `void Mob::MakePet (char *)':
spells.cpp:1105: warning: passing `double' for argument 1 of
`Mob::MakePet (unsigned char, unsigned char, short unsigned int,
unsigned char, unsigned char, float)'
spells.cpp:1114: warning: passing `double' for argument 1 of
`Mob::MakePet (unsigned char, unsigned char, short unsigned int,
unsigned char, unsigned char, float)'
spells.cpp:1123: warning: passing `double' for argument 1 of
`Mob::MakePet (unsigned char, unsigned char, short unsigned int,
unsigned char, unsigned char, float)'
spells.cpp:1132: warning: passing `double' for argument 1 of
`Mob::MakePet (unsigned char, unsigned char, short unsigned int,
unsigned char, unsigned char, float)'