EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bots (https://www.eqemulator.org/forums/forumdisplay.php?f=676)
-   -   Bots compile has a lot of errors (https://www.eqemulator.org/forums/showthread.php?t=37844)

NatedogEZ 02-11-2014 01:08 AM

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);

demonstar55 02-11-2014 01:14 AM

Looks like I didn't have bots enabled when I tested it out before the merge. poop.

NatedogEZ 02-11-2014 01:18 AM

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 ;)

Kayen 02-11-2014 08:53 PM

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.

Kayen 02-11-2014 11:17 PM

Fixes have been submitted.

https://github.com/KayenEQ/Server/co...0d645126a32ff2


All times are GMT -4. The time now is 02:51 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.