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

Development::Bots Forum for bots.

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 05-13-2007, 09:02 AM
Zard's Avatar
Zard
Sarnak
 
Join Date: Nov 2005
Posts: 62
Default

OK, I will give it a shot. I have been using my own database, but I will make a backup just in case I need to add some of my content back in. I will let you know my progress. Thanks.

Zard
__________________
"Cherish your family and friends for you are truly poor without them. With them, you can merge to form Devastator."
"There's no place like 127.0.0.1"
  #2  
Old 05-14-2007, 10:34 AM
tranquiltwist
Fire Beetle
 
Join Date: Apr 2006
Posts: 28
Default

Magoth,

I seem to be having some serious issues getting this up and running on my server. I downloaded your beta binaries and put them in my EQEMU folder, and then ran the http://eqoffline.free.fr/README.txt steps in mySQL. everything went by fine- and then I loaded into my server only to find that "command 'bot' is not recognized."

this is my first undertaking with a server or even with mySQL.. so would it be possible for you or somebody else to write a step by step guide for dummies? It would be really appreciated, as I got super hyped when I read this.

Thank you, Mag. You've given the community something amazing!

-ttw
  #3  
Old 05-14-2007, 11:52 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

I don't know if you've put any effort into the linux/makefiles, but I thought I'd post for you an error I am getting compiling the source under FC4, with gcc 4.0.2:

Code:
npc.o(.text+0x9d1): In function `NPC::Process()':
/home/eqemu/build/EQEmu-EQOffline/zone/npc.cpp:563: undefined reference to `Mob::BOT_Process()'
npc.o(.text+0xa0d):/home/eqemu/build/EQEmu-EQOffline/zone/npc.cpp:565: undefined reference to `Mob::PET_Process()'
npc.o(.gnu.linkonce.r._ZTV3NPC[vtable for NPC]+0x16c): undefined reference to `NPC::Bot_AI_IdleCastCheck()'
npc.o(.gnu.linkonce.r._ZTV3NPC[vtable for NPC]+0x170): undefined reference to `NPC::Bot_AI_EngagedCastCheck()'
pets.o(.gnu.linkonce.r._ZTV3Pet[vtable for Pet]+0x16c): undefined reference to `NPC::Bot_AI_IdleCastCheck()'
pets.o(.gnu.linkonce.r._ZTV3Pet[vtable for Pet]+0x170): undefined reference to `NPC::Bot_AI_EngagedCastCheck()'
horse.o(.gnu.linkonce.r._ZTV5Horse[vtable for Horse]+0x16c): undefined reference to `NPC::Bot_AI_IdleCastCheck()'
horse.o(.gnu.linkonce.r._ZTV5Horse[vtable for Horse]+0x170): undefined reference to `NPC::Bot_AI_EngagedCastCheck()'
collect2: ld returned 1 exit status
make[1]: *** [zone] Error 1
make[1]: Leaving directory `/home/eqemu/build/EQEmu-EQOffline/zone'
make: *** [all] Error 2
I don't know enough C to read what this means, except that something appears to be missing. Like a dependency on the new .cpp file(s) maybe? If you can advise, I'd love to check this out. No hurries. My vacation is over, back to work F/T+ for me! sigh...
  #4  
Old 05-14-2007, 05:35 PM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default

tranquiltwist> You have to launch worlddebug.exe then zonedebug.exe

John Adams> I didn't try to compile the code under Linux but it seems that you need to add botAI.cpp and petAI.cpp to your project.

Mag
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots
  #5  
Old 05-15-2007, 01:45 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

This is an excellent project, and I can even see a very good use for it in the normal EQ code. One of the biggest problems PEQ has is the players have to multi box to get to the higher content (some players multi box 6 clients at once... how they do it is my question) This code could help with that problem a bit. I have a couple of questions though.

1. Could you tie this system into the rules system so the server op can control how many bots a player can have at once? By level (1-15, 16-35, 36-55, 56-75, just examples) would be wonderful.

2. Could you diff your changes so they can be integrated into the ever changing EQEmu code easily?

Great work, I am impressed with how fast this project became a reality.
  #6  
Old 05-15-2007, 07:45 AM
tranquiltwist
Fire Beetle
 
Join Date: Apr 2006
Posts: 28
Default

on top of the original world and zone exes? or... alone?

if I run JUST worlddebug and zonedebug I can't zone once i get into the game... and if I run them on top worlddebug.exe crashes.

sorta confused :(

[it says "this zone is not ready to receive visitors yet.. please try again in a few moments."]

I've tried any combo of them... i either get bots and can't zone or i get to zone and no bots. o_O

Last edited by tranquiltwist; 05-15-2007 at 03:48 PM..
  #7  
Old 05-15-2007, 12:32 PM
Zard's Avatar
Zard
Sarnak
 
Join Date: Nov 2005
Posts: 62
Default

Quote:
Originally Posted by tranquiltwist
on top of the original world and zone exes? or... alone?

if I run JUST worlddebug and zonedebug I can't zone once i get into the game... and if I run them on top worlddebug.exe crashes.

sorta confused :(

[it says "this zone is not ready to receive visitors yet.. please try again in a few moments."]

I've tried any combo of them... i either get bots and can't zone or i get to zone and no bots. o_O
Just double click on zonedebugperl.exe again, each window = a second, third..ect. available zone.
__________________
"Cherish your family and friends for you are truly poor without them. With them, you can merge to form Devastator."
"There's no place like 127.0.0.1"
  #8  
Old 09-01-2007, 09:34 PM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

Quote:
Originally Posted by cavedude View Post
This is an excellent project, and I can even see a very good use for it in the normal EQ code. One of the biggest problems PEQ has is the players have to multi box to get to the higher content (some players multi box 6 clients at once... how they do it is my question) This code could help with that problem a bit. I have a couple of questions though.

1. Could you tie this system into the rules system so the server op can control how many bots a player can have at once? By level (1-15, 16-35, 36-55, 56-75, just examples) would be wonderful.

2. Could you diff your changes so they can be integrated into the ever changing EQEmu code easily?

Great work, I am impressed with how fast this project became a reality.
I could not agree more, and I believe that this is TOO good not to be folded into the regular emu source as an optional feature on live servers.
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
  #9  
Old 09-02-2007, 07:09 AM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default

Thanks.

In the actual state, it would be really difficult to plug the eqoffline code into the last emu sources because of all the changes. And my code isn't clear.

That's why I'm actually rewriting everything related to bots, based on the last official emu sources. I want to make it a "separate" project that you just could add or not into the official sources easily, just like the Guildwars code.
That's not very hard to do but it takes a lot of time as a lot of functions need to be customized for bots.

Mag
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots
  #10  
Old 05-15-2007, 07:12 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Quote:
Originally Posted by Magoth78
John Adams> I didn't try to compile the code under Linux but it seems that you need to add botAI.cpp and petAI.cpp to your project.
Thanks Mag, I'll check into it and let you know how Linux goes.
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 07:17 AM.


 

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