The first idea was to implement an pvp table which would log pvp events and by continously querying the databas be able to remove pvp events older than a certain amount of time and impose certain rules to those "in" combat.
My concern with this approach is that it would probaly create alot more load on the databasserver.
Instead I tried to create a PvpList similar to that of the HateList and attach pvp events to clients. But when I add a virtual function to the mob file I keep getting undefined reference errors from other files such as horse, npc, playercorpse, etc. How are these classes interconnected?
Is there an UML diagram somewhere or some information of what classes build upon which classes?
Could anyone guide me to some information regarding general c++ debugging and development?
|