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

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-29-2009, 03:06 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default Enable Bot source for compiling

Here's some links for getting the linux compile to work:
http://www.eqemulator.net/forums/sho...&postcount=381
http://www.eqemulator.net/forums/sho...&postcount=382

For Windows in Visual Studio go to Configuration Manager and change the 'Active solution configuration:' drop-down to DebugBots or ReleaseBots.
Configuration Manager can be found in the Build menu.
Reply With Quote
  #2  
Old 03-30-2009, 07:01 AM
LeftRoad
Sarnak
 
Join Date: Aug 2005
Location: Maine
Posts: 38
Default

Would this be something that could work well as a rule?
Reply With Quote
  #3  
Old 03-30-2009, 08:33 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

no, rules are for runtime options and bots are a compile time option.
Reply With Quote
  #4  
Old 04-09-2009, 09:03 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

I am not sure it is as easy as you say, Congdar I am still searching around, but Release compiles fine - soon as I do ReleaseBots (VS2005) Zone linking fails:

Code:
1>Linking...
1>npc.obj : error LNK2019: unresolved external symbol "public: void __thiscall Mob::PET_Process(void)" (?PET_Process@Mob@@QAEXXZ) referenced in function "public: virtual bool __thiscall NPC::Process(void)" (?Process@NPC@@UAE_NXZ)
1>.\../Build/Zone.exe : fatal error LNK1120: 1 unresolved externals
This was after cleaning and rebuilding the entire project. 4 of 5 succeeded. I am never too sure what these linker errors really mean. Any hints?
Reply With Quote
  #5  
Old 04-09-2009, 11:36 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

The source has been updated to vs2008, i don't think vs2005 works anymore. I did find a problem with releasebots though. For some reason the bot pet classes cannot buff thier pets. So I stick with debugbots.
Reply With Quote
  #6  
Old 04-10-2009, 10:58 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Quote:
Originally Posted by Congdar View Post
The source has been updated to vs2008, i don't think vs2005 works anymore.
Err, that's kind of a generalization to think everyone in the world updates to 2008 just because you have, hah. Don't you think supporting multiple SLNs would be more appropriate? I don't need VS2008 for my work (yet) so I hadn't planned on filling my drive with yet another version of something...

That aside, everything else seems to compile using the 7.1 sln, just this one linker error is all I am getting.
Reply With Quote
  #7  
Old 04-10-2009, 11:13 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

it wasn't my change. i had to update from vs2005 too. the change was in r272.
Reply With Quote
  #8  
Old 04-11-2009, 03:20 PM
Aergad
Banned
 
Join Date: Mar 2009
Location: In a house
Posts: 150
Default

I use vs 2k5 and i merely had to add a few files to the 7.1 sln petai npcai and the SOF client patch files it compiles fine for me under 2k5 also to change back to perl58.lib is very simple just takes a couple minor tweaks to compile with vs 2k5 i dont like that the eqlaunch file now requires .net 3.5 that is just bad coding practices
Reply With Quote
  #9  
Old 04-11-2009, 05:09 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Quote:
Originally Posted by Aergad View Post
I use vs 2k5 and i merely had to add a few files to the 7.1 sln petai npcai and the SOF client patch files it compiles fine for me under 2k5 also to change back to perl58.lib is very simple just takes a couple minor tweaks to compile with vs 2k5 i dont like that the eqlaunch file now requires .net 3.5 that is just bad coding practices
Huh? eqlaunch is written in C/C++, no part of it is written in C#. How in the world can it require any version of .NET?
Reply With Quote
  #10  
Old 04-12-2009, 10:26 AM
Aergad
Banned
 
Join Date: Mar 2009
Location: In a house
Posts: 150
Default

then how come we at classiceq.org have had to install 3.net 3.5 on every single box we run a server on in order to have eqlaunch.exe run? trust me it requires it
Reply With Quote
  #11  
Old 04-13-2009, 09:00 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Quote:
Originally Posted by Aergad View Post
then how come we at classiceq.org have had to install 3.net 3.5 on every single box we run a server on in order to have eqlaunch.exe run? trust me it requires it
This don't sound right to me, sounds like eqlaunch.exe is something that was made by a few people to make life easier for you (requires net version) . You're talking about something totally unrelated to the source code.
You can probably just place a shortcut on your desktop to "eqgame.exe" patchme , and that would also hook you up with any server on any LS, so long as you provide the proper data in eqhost.txt.
The net 2x, 3x are a free download of MS, no strings attached, most people have it already.
Reply With Quote
  #12  
Old 04-13-2009, 09:05 AM
Aergad
Banned
 
Join Date: Mar 2009
Location: In a house
Posts: 150
Default

eqlaunch.exe is part of the server eg eqlaunc zone to launch the launcher zones dunno what your talkin about lol
Reply With Quote
  #13  
Old 04-13-2009, 09:38 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

eqlaunch compiles and runs natively on Linux without mono installed. Therefore, it cannot require .NET :P I think you might mean the SDK w/.NET. It isn't .NET it needs, but rather the SDK. Though, and I'm not trying to tell you how to run your server but you really ought to run Linux instead of Windows. It really is far more stable.

Last edited by cavedude; 04-13-2009 at 05:54 PM..
Reply With Quote
  #14  
Old 04-13-2009, 10:26 AM
Aergad
Banned
 
Join Date: Mar 2009
Location: In a house
Posts: 150
Default

dont have my own server i will however be running it on linux when my new connection comes online
Reply With Quote
  #15  
Old 04-25-2009, 05:20 AM
Aergad
Banned
 
Join Date: Mar 2009
Location: In a house
Posts: 150
Default

i havent been able to compile bots for the latest svn revision i get 2 errors which becuase i use putty i cant actually find in the output i followed the links posted im open to suggestions
Reply With Quote
Reply


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 06:46 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3