• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

weird issue quest system tfs 0.4

CipsoftStinks

www.relicaria.com
Joined
Oct 1, 2016
Messages
946
Solutions
3
Reaction score
138
Location
Argentina
Hello im using rme 3.3 and otx 2 which is based on tfs0.4
im working on version 8.70
the problem is with quests system

PD: THE WEIRD THING IS THAT THE QUESTS ARE WORKING EVEN WHEN MAP ID WITH SCRIPTS DOESNT MATCH !

well i was looking how this works and i found this

in my rme the fire axe quest shows this unique id 60061

5BIeNmi.png


but my fire axe lua is registered in this way with unique id 50032
Code:
function onUse(cid, item, frompos, item2, topos)


 
[code]if item.uid == 50032 then
        if getPlayerStorageValue(cid,50032) == -1 then
            doPlayerSendTextMessage(cid,25,"You have found a Fire Axe.")
            doPlayerAddItem(cid,2432,1)
            setPlayerStorageValue(cid,50032,1)
        else
            doPlayerSendTextMessage(cid,25,"The is empty.")
        end

    end
    return TRUE
end
and in actions xml
Code:
<action uniqueid="50032" event="script" value="quests/fire_axe.lua"/>

anyone could exaplin me with this is so messy ? if my server have a bug or something?
 
Last edited:
there is an easier way: you can set the chest unique id = fire axe id
or
change the unique id of chest to 50032
im not looking to change anything im asking why the map and lua scripts ids doesnt match ...(but quests are still working xdd weird)
if i had to change the things as you told me ill have to do it with every quest... and isn't nessesary because they're working...
im trying to make new quests but if i do it as it should..(dunno) doesnt works

edit: i saw that i didn't added the principal issue so i edited the main post , thanks by let me know it
 
Last edited:
In your Actions.Xml there must be a line that looks like <action uniqueid="60061" event="script" value="quests/fire_axe.lua"/> Otherwise the script would never be called, maybe it has been duplicated and you did not notice, but if you cant find unique ID 60061 in your action.xml file, it is not supposed to execute anything at all.
 
In your Actions.Xml there must be a line that looks like <action uniqueid="60061" event="script" value="quests/fire_axe.lua"/> Otherwise the script would never be called, maybe it has been duplicated and you did not notice, but if you cant find unique ID 60061 in your action.xml file, it is not supposed to execute anything at all.
that what i know but i check ations xml there's no unique or action id with number 60061 like i said i foud id 50053 for that quest the weird tings is that the quest is working


bump !
 
Back
Top