Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Ascent [LUA] Help

Initiate Mage
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 !
 
www.Warforge.Online
Joined
Jun 25, 2008
Messages
534
Reaction score
0
Learn C++ and compile your own TeleportNPC.dll
 
Initiate Mage
Joined
Jun 5, 2008
Messages
77
Reaction score
0
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.
 
Initiate Mage
Joined
Oct 4, 2007
Messages
61
Reaction score
0
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
Top