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!

Strange Lua Issue

Elite Diviner
Joined
Sep 12, 2020
Messages
442
Reaction score
224
I created all of the Isle Lua codes as i went thru each quest all of them work 100% now using my other toons most of the time all i get is

"You did not gain any items"
"You did not gain any items"
"You did not gain any items"

and the bar does not start checking the item either its flashes red.

When the items you need is all ready in your bag ? here is the code below and it works many times before but decided to just stop working ? I dont see anything wrong with it ? i have all the lua code on server side but not in my client except the first 1-199.


--Malicious Unknown Devices
function Z36_NPC124456_ClickBefore()
local player = OwnerID()
local QuestID = 427588

if CheckAcceptQuest(player, QuestID) == true then
return true
end

return false
end

function Z36_NPC124456_ClickAfter()
local player = OwnerID();
local npc = TargetID();
local QuestID = 427588;
local Obj1 = 124456; -- Process
local mob = 109379;
local Flag = 109379; -- request

if CheckAcceptQuest( player , QuestID ) == true then
DW_QietKillOne( player , mob )
return true
end

return false;
end


what could it be?
Most of the items used for these quest are Right click to use . if this helps?

1686339743662 - Strange Lua Issue - RaGEZONE Forums


Its almost like its looking for a item to start the check , but the code does not show this ? has me stumped for now
 

Attachments

You must be registered for see attachments list
Last edited:
Junior Spellweaver
Joined
May 9, 2018
Messages
181
Reaction score
126
Your function is telling it to give you Item1 but Item1 is no longer defined because you have it commented out, that is why you are getting "You did not get any items"

1686517049428 - Strange Lua Issue - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Upvote 0
Elite Diviner
Joined
Sep 12, 2020
Messages
442
Reaction score
224
Thank for the reply Lifefire but this is quest
it does not use a item , so i used the same function from another quest and omitted out what was not use for this one. I did add the whole lua code for what i use on this one above... I can completely remove the lua code and it still gives me this?

I fixed it
 
Last edited:
Upvote 0
Back
Top