at the moment fishing is a bust. So im trying to make a work around for a server that involves trading a giant shell bug to an NPC to spawn the NM so that people can fight it and get the drop. Using the Survival guide as that too has no code.
http://pastebin.com/0VDAdi7p
every time i trade a giant shell bug to the Survival guide the server spits out the following text.
[Debug] SpawnMob: mob <17396141> not found
[Error] luautils::onTrade: scripts/zones/Castle_Oztroja/npcs/Survival_Guide.lua:25. attempt to index a nul value
Ive checked the database tables and mobid 17396141 belongs to Odontotyrannus. I'm not quite sure why its refusing to spawn the mob. Is there somewhere else it has to be added?
PS: same thing happens when i run @spawnmob
How do i get a mob to spawn in lua scripts?
Re: How do i get a mob to spawn in lua scripts?
!
Last edited by tabitaru on Sun Oct 18, 2015 6:59 am, edited 1 time in total.
Re: How do i get a mob to spawn in lua scripts?
thank you. i changed the positions last night but i had been up for 20 hours or something must had forgotten to restart the server. looks like its running fine.
Re: How do i get a mob to spawn in lua scripts?
!
Last edited by tabitaru on Sun Oct 18, 2015 6:58 am, edited 1 time in total.