EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bots (https://www.eqemulator.org/forums/forumdisplay.php?f=676)
-   -   Exploit: exceed the bot summon limit (https://www.eqemulator.org/forums/showthread.php?t=33797)

dark_fusion 07-04-2011 05:10 PM

Exploit: exceed the bot summon limit
 
Number of summonable bots = 1 in rule_values

1-Summon a bot, get it killed.
2-Summon a different bot, get it killed (repeat as many times as you want)
3-Then zone, all those bots are now in your group.

So even if you have max summonable bots set to 1, players can still get a full group of bots using this exploit. Any help to fix this in source would be much appreciated Thanks!

Ganedar 07-04-2011 08:19 PM

i was able to reproduce this bug and fixed it by adding to Bot::Death,

if(HasGroup())
Bot::RemoveBotFromGroup(this, GetGroup());

Secrets 07-04-2011 08:44 PM

Quote:

Originally Posted by Ganedar (Post 201227)
i was able to reproduce this bug and fixed it by adding to Bot::Death,

if(HasGroup())
Bot::RemoveBotFromGroup(this, GetGroup());

Why not use a this pointer if it's in Bot, or just write
if(HasGroup())
RemoveBotFromGroup(GetGroup())

Ganedar 07-04-2011 09:08 PM

i literally just copied the segment from bot::depop, and the deconstructor

Secrets 07-04-2011 09:37 PM

Quote:

Originally Posted by Ganedar (Post 201229)
i literally just copied the segment from bot::depop, and the deconstructor

Might be something I overlooked then, lol, I don't normally touch the bot code :P

Ganedar 07-04-2011 10:30 PM

lol. yeah it appears someone was just being thorough.

dark_fusion 07-04-2011 10:39 PM

Nice, ill add this in immediately.

Thanks!

Born2rot 04-10-2012 07:52 PM

Old post I know, but it's exactly what I'm having problems with now. So what needs to be done after inserting that into the bot file?

bad_captain 04-17-2012 07:56 PM

This should be fixed in Rev 2132.


All times are GMT -4. The time now is 07:27 PM.

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