[LUA] Help Ascent 

Newbie Spellweaver
Joined
Oct 4, 2007
Messages
61
Reaction score
0
Well i had Arcemu 287 and i made a teleport to Gurubashi arena which looks like this :
function Teleporting_onUse2 (pUnit, Event, pMisc)
pMisc:Teleport (0,-13226.558594,231.541367,33.264256)
end
RegisterGameObjectEvent (1000019,2,"Teleporting_onUse2")

But now on the new arcemu i get this error :


portal.lua:2 attempt to index local 'pmisc' <a nil value>

What is the problem ?

Thank you in advance !
 
do you have the "LUAScripting.dll" in the "script_bin" folder for that revision... I noticed even now that I get errors sometimes like that with lua npc scripts. it sounds like it is using "pMisc" as a local variable which isn't the case since it's used in the dll file for functions and such. check on that and lemme know and I'll see what I can do. if we can't get that to work I'll give you info on how to compile a dll file to do the same thing the script does.
 
yes , i have that dll , but the second part i didn't understand

"check on that and lemme know and I'll see what I can do"

Check on what ?:D

thank you for your help though :)
 
Back