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

Development::Bots Forum for bots.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 06-01-2008, 06:31 PM
BatCountry
Fire Beetle
 
Join Date: Mar 2006
Posts: 24
Default

Why the change to a hard limit on the number of bot groups, out of curiosity?

I realize that if 12 groups isn't enough to take down something, a player's got more problems than just bot count, but why add the hard limit when you were running on a LinkedList before?

If the problem was not being able to iterate through raid groups, this is what I was using for that:

Code:
LinkedListIterator <Group *> gps(RaidGroups);

gps.Reset();

while(gps.MoreElements())
{
    Group *gp = gps.GetData();

    if(gp) {
         // do some stuff here to your new group pointer
         // ...
    }
    gps.Advance();
}
also adding new groups:

Code:
// with your new group "newgroup"
RaidGroups.Append(newgroup);

// then reset any interators going to it
 


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 09:22 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3