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

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-11-2014, 01:08 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default Bots compile has a lot of errors

Buddy of mine was trying to compile bots.. and told me there were a lot of errors, so I tested it myself and it was also broken.

This commit has broken code in it :(

https://github.com/EQEmu/Server/comm...a120b82f59212f


There are a lot of undefined errors for "botlevel" and "botclass" in the focus effects... I also don't see any code for "GetBotFocusIncoming"

From bot.cpp
Code:
chance += target->GetBotFocusIncoming(BotfocusFcHealPctCritIncoming, SE_FcHealPctCritIncoming, this, spell_id);
Reply With Quote
  #2  
Old 02-11-2014, 01:14 AM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

Looks like I didn't have bots enabled when I tested it out before the merge. poop.
Reply With Quote
  #3  
Old 02-11-2014, 01:18 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

I was going through fixing the errors but then I noticed there is missing code for that GetBotFocusIncoming.. so I couldn't really fix something that isn't there :p

All good demon.. hopefully it gets fixed soon
Reply With Quote
  #4  
Old 02-11-2014, 08:53 PM
Kayen
Developer
 
Join Date: Mar 2009
Location: -
Posts: 228
Default

Sorry.

That was a find/replace error.

There shouldn't be a GetBotFocusIncoming

It should just be handled by Mob::GetFocusIncoming

Quote:
There are a lot of undefined errors for "botlevel" and "botclass" in the focus effects
I don't really have much experience with bot code, thought that was the correct use for them based on the old code.

I'll work to compile this correctly.
Reply With Quote
  #5  
Old 02-11-2014, 11:17 PM
Kayen
Developer
 
Join Date: Mar 2009
Location: -
Posts: 228
Default

Fixes have been submitted.

https://github.com/KayenEQ/Server/co...0d645126a32ff2
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 11:21 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