Page 1 of 1

Customisation , scripts, scripting hook

Posted: Fri Nov 02, 2007 6:33 am
by masterfreek64
Hello guys,
I made a bit of code to implement customisation into EQ2Emu.
The way it will be is that every script one wants is made as a .dll - in a language of your choice.
The Server loads these .dlls and calls a Initialise() function with callbacks.
Then the script can "hook" game events and react to them.
Like this , perforance is easy, and the hooks can be handled very flexibly.
As of now I have made a few rough implementations and interfaces ---- let me know if you would be interested in me developing the thing to an end

Posted: Sun Nov 04, 2007 1:36 pm
by link2009
Not bad, this sounds like an excellent idea. So we can sort of create 'plugins' in a Dynamic Library Link form to handle certain game events?
Sounds pretty exciting, I'd love to see some progress on this.

Posted: Mon Nov 05, 2007 9:17 am
by masterfreek64
Well the coolest thing , is that, to an extent , these are interoperable.
I am also implementing them in my 2 other projects(OblivionOnline , and Actionmmo - not even rly announced yet)
So you can , later, load a Quest from EQ2Emulator into OblivionOnline with only minor modifications ( Well , one has to change all game specifics :D )
Also , all interferences to the game flow can be done easily by passing class "interfaces" . These actor classes contain a good structure ( OO ) of everything , and could even be used down in the core.
However before continuing this implementation ( I worked on triggers so far , mostly concepts, but enums etc are finished)