Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 03-12-2008, 03:14 AM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

Great thanks for the reply. I just want to make sure I got this right, there is a lot of info in this thread. So on a linux server after downloading your 1102 sources all I would have to do is:

1. Change the following in zone/makefile:

Code:
DFLAGS=-DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386
to:

Code:
DFLAGS=-DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386 -DEQBOTS
2. Then change the following in zone/makefile.common

Code:
../common/guild_base.o guild_mgr.o
to:

Code:
../common/guild_base.o guild_mgr.o botRaids.o botAI.o petAI.o
3. run make

4. copy the world, zone , and libEMuShareMem.so files from the bot source to my current working server directory replacing the normal world, zone and libEMuShareMem.so files, and run my start script that I use to normally start my server.

Then if I wish to revert back to my old server just copy the old world, zone, libEMuShareMem.so files back to the working server directory over the bot files.

Thanks
  #2  
Old 03-12-2008, 03:28 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

Not sure if \common is the correct place for those files. The original eqoffline source files are in the \zone folder.
  #3  
Old 03-12-2008, 03:40 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

That's absolutely correct, cubber. Though, to toggle between eqoffline and normal binaries you only need to swap out zone. The other binaries are not changed.

../common is the location of guild_base.cpp and guild_base.h. If you notice, the other 4 files after it have no directory, so the makefile will just use its current directory for those, which of course is zone.
  #4  
Old 03-12-2008, 03:45 AM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

Thats how I thought the line read thanks cavedude! So basically the only thing I need to compile after downloading the 1102 source linked above is zone. Since I already have a 1102 eqemu server running.
  #5  
Old 03-12-2008, 04:00 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Yep, that's it.
  #6  
Old 03-13-2008, 12:32 AM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

Thanks for the help. I was able to play around with the bot system last night and had a blast. The system is amazing!

I did notice that I had to zone before my bots would cast any spells over level 1, and I also had random game client crashes when using the bots system that I never experienced using the regular 1102 server. My client just froze up 3 times in about a 4 hour time frame. In different zones, all when using the bots. I was able to open task manager and kill the client which was labeled "not responding", then restart the client and log back into the server. Looking at the server's built in web interface it looks like 1 of my 5 dynamic zones restarted, it has a start count of 2.

The zones I experienced the crashes in were, Plane of Knowledge, HateplaneB, and Plane of Growth. Those were pretty much the only zones I visited too. The crashes happened on 2 different characters running different bots. 2 happened when the bots were casting and in combat, the other happened when I was spawning a bot, but the other bots were also buffing.

However, I had so much fun using the bot system that the crashes didn't really even bother me that much.
  #7  
Old 03-13-2008, 12:54 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

The original design was for solo play with the bots. I think there are likely issues with two pc's in the same zone running bots at the same time, however it seems to work great for filling the last slots when single grouping with friends.
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:04 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3