View Single Post
  #2  
Old 09-03-2007, 03:37 AM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default

That's true but I can't believe that the EQEmu dev would accept to keep the actual bots code in the official tree and they would be right.

John> Great job on 1031 port but as I've mentionned everything can be done with diffs. The code just stays the same and modify a lot of things in the official tree.

Technically, what I'm actually doing is to make a public class called Bots that inherits the NPC class. This way I can code the virtual methods that are customized for the bots without modifying the official Entity>Mobs>NPC codes.
Everything related to bots (Stats, Equipment, Attacks, AIs, Orders) are coded in this new class.
The Raid class will stay the same but will have some improvments.

What will be left will be the group thing and that will be an issue. I'm actually wondering how I can make the group working for both players and bots with a minimum of official code modifications.

Mag
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots