Jump to content

Recommended Posts

Posted

Hello I'm starting to script some stuff and i'm not a very experienced c++ programmer but am an experienced programmer in other languages (basic languages xD)

i was wondering if anybody had a patch for more hooks than the ones already here or another more advanced/flexible project than sd2 ive looked at their hooks and their.... rather basic :S

can anyone point me in the right direction?

thx in advance

Posted

there are 3 interfaces in mangos:

1. the db, containing the basic data.

2. EventAI, scripting over tables. has been long time part of SD2 but now moved to the core.

3. the script library. c++ scripts in a library (.dll / .so). there's a default library which does *nothing*. any project can now simply overwrite the dll/so file from that default thing and then mangos will load it.

and SD2 can't do much about the hooks it has, that is part from mangos:

http://github.com/mangos/mangos/tree/master/src/bindings/universal/

http://github.com/mangos/mangos/blob/master/src/game/CreatureAI.h

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use