Welcome to the Builder Academy

Question Request: Event system

More
19 Aug 2012 09:55 - 19 Aug 2012 09:57 #707 by Halenbane
I am intrigued by the Event system and have started to mess around with it. I'd like to see what some other people are doing with it, or maybe some other examples of what it can do. Anyone done some unique spells/skills with it? Examples? :D

(Also yes, I have read the dg_events file in /doc more than once :)
Last edit: 19 Aug 2012 09:57 by Halenbane.

Please Log in or Create an account to join the conversation.

More
19 Aug 2012 10:45 #709 by zusuk
Replied by zusuk on topic Re: Request: Event system
Well so far I've used it for the following:

struct mud_event_list mud_event_index[] = {
{ "Null" , NULL , -1 }, /* eNULL */
{ "Protocol" , get_protocols , EVENT_DESC }, /* ePROTOCOLS */
{ "Whirlwind" , event_whirlwind, EVENT_CHAR }, /* eWHIRLWIND */
{ "Regen" , event_regen, EVENT_CHAR }, /* eREGEN */
{ "Casting" , event_casting, EVENT_CHAR }, /* eCASTING */
{ "Lay on hands" , event_countdown, EVENT_CHAR }, // eLAYONHANDS
{ "Treat injury" , event_countdown, EVENT_CHAR }, // eTREATINJURY
{ "Taunt" , event_countdown, EVENT_CHAR }, // eTAUNT
{ "Taunted" , event_countdown, EVENT_CHAR }, // eTAUNTED
{ "Mummy dust" , event_countdown, EVENT_CHAR }, // eMUMMYDUST
{ "Dragon knight" , event_countdown, EVENT_CHAR }, // eDRAGONKNIGHT
{ "Greater ruin" , event_countdown, EVENT_CHAR }, // eGREATERRUIN
{ "Hellball" , event_countdown, EVENT_CHAR }, // eHELLBALL
{ "Epic mage armor" , event_countdown, EVENT_CHAR }, // eEPICMAGEARMOR
{ "Epic warding" , event_countdown, EVENT_CHAR }, // eEPICWARDING
{ "Memorizing" , event_memorizing, EVENT_CHAR }, //eMEMORIZING
};

:)

Website
www.luminariMUD.com

Main Game Port
luminariMUD.com:4100

Please Log in or Create an account to join the conversation.

More
19 Aug 2012 15:57 #711 by Vatiken
Replied by Vatiken on topic Re: Request: Event system
I also have lay on hands, as well as crafting, foraging and camping.

If anyone has any issues, concerns, or ideas for the event system let me know. 3.63 was something of a trial run for my event system, which is why it's only used in 2 events ATM. There are already going to be some minor changes in it for 3.64 which will simplify things a bit more.

tbaMUD developer/programmer

Please Log in or Create an account to join the conversation.

More
20 Aug 2012 07:25 #715 by zusuk
Replied by zusuk on topic Re: Request: Event system
Well the event system isn't what I was use to with the old one, BUT its still reasonably easy to figure out. And it seems to do everything I need so far. I guess if I had a request it would be to expand it into the realm of room-events etc.

Also, obviously, my perspective if fairly limited, considering I have basically a primitive understanding of memory and efficiency when it comes to creating these systems :P I haven't done anything even closely related to programming since graduating 8 or so years ago.

On that note, I remember as I was transferring over our old memorization system, thinking, man if Vatiken or anyone else that knew anything about C saw this, they would laugh :p

Website
www.luminariMUD.com

Main Game Port
luminariMUD.com:4100

Please Log in or Create an account to join the conversation.

Time to create page: 0.218 seconds