From eef5abe6e1931eeae91d3a1ed68a3bf44237dea2 Mon Sep 17 00:00:00 2001 From: maximius Date: Sun, 13 Sep 2009 00:01:35 -0700 Subject: *Event Hooks (OnLogin, OnLogout, OnPVPKill) by Hawthorne *Boss Emote Command for DB Scripts by XTElite1 --HG-- branch : trunk --- src/game/ScriptCalls.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/ScriptCalls.cpp') diff --git a/src/game/ScriptCalls.cpp b/src/game/ScriptCalls.cpp index b8870c2a1dd..8a075448daf 100644 --- a/src/game/ScriptCalls.cpp +++ b/src/game/ScriptCalls.cpp @@ -59,6 +59,9 @@ bool LoadScriptingModule(char const* libName) } if( !(testScript->ScriptsInit =(scriptCallScriptsInit )TRINITY_GET_PROC_ADDR(testScript->hScriptsLib,"ScriptsInit" )) + ||!(testScript->OnLogin =(scriptCallOnLogin )TRINITY_GET_PROC_ADDR(testScript->hScriptsLib,"OnLogin" )) + ||!(testScript->OnLogout =(scriptCallOnLogout )TRINITY_GET_PROC_ADDR(testScript->hScriptsLib,"OnLogout" )) + ||!(testScript->OnPVPKill =(scriptCallOnPVPKill )TRINITY_GET_PROC_ADDR(testScript->hScriptsLib,"OnPVPKill" )) ||!(testScript->ScriptsFree =(scriptCallScriptsFree )TRINITY_GET_PROC_ADDR(testScript->hScriptsLib,"ScriptsFree" )) ||!(testScript->ScriptsVersion =(scriptCallScriptsVersion )TRINITY_GET_PROC_ADDR(testScript->hScriptsLib,"ScriptsVersion" )) ||!(testScript->GossipHello =(scriptCallGossipHello )TRINITY_GET_PROC_ADDR(testScript->hScriptsLib,"GossipHello" )) -- cgit v1.2.3