Compile Fail spells.cpp 'class Mob' has no member named 'IsBot'
Am attempting linux compile with Rev972 source. Have made the changes to makefile.common and makefile to enable bots as recommended in previous forums but am getting a compile fail for spells.cpp/spells.o
Code:
make -C zone Any thoughts on what if anything I've missed? |
Hmm, I've compiled 974 with no problems. I remember a recent revision had errors, but those got fixed within a day.
|
Thanks
Will try the 974 source, but I didn't notice any changes to the spells.cpp file between the two versions...
|
975 Fail
Ok - downloaded 975, added 'botRaids.o botAI.o petAI.o' to makefile.common and -DEQBOTS to makefile in zone directory - compile fails with these added with above error message, but works if I leave those changes out...
Any thoughts on what could be the problem? |
My zone/makefile.common only has bot.o and botRaids.o and with the new bots, your makefile should have '-DBOTS', not '-DEQBOTS' I believe. That could be the problem, eqbots is the directive for the old bots I think.
r975 compiles just fine for me. |
Thank Pyfon
Awesome advice Pfyon - I've been working off some fairly dated Wikis and threads so I'm hoping that this will sort it out! I'll give it a try when I get home and can recompile the source.
Thanks again EQF09 |
Win!
Thanks again Pfyon. Apart from stupidly copying the 'and' between bots.o and botRaids.o the compile worked fine. Now to test if my Vista client can connect!
|
Awesome
this answers my post from the otherday someone should sticky this information.
|
Please excuse my ignorance, but if I understand the compile correctly the only binary difference between the "with bots" build and the "without bots build" is in the zone binary file.
So, to convert a "without bots" build to a "with bots" build I would need to do the following: -Edit the zone/makefile.common file in accordance with the changes mentioned above (i.e. add bots.o and botRaids.o to it) -Edit the zone/makefille file in accordance with the changes mentioned above (i.e. add -DBOTS to the DFLAGS= line) -run "make clean" in the root build directory -run "make" in the root build directory -replace the zone binary file in the eqemu run directory Right? |
Quote:
|
yup... I did it shortly after I posted my last response and it worked perfectly.
When I originally sourced the sql files, I had used peq mysql rev 974 files to populate the database. So, all I had to do was recompile and change the zone binary file. Works great. Also, I must say that I'm somewhat impressed with the AIs' intelligence... "Could be better" naturally, but pretty darn good as is... |
All times are GMT -4. The time now is 06:30 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.