• 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!

doSetItemSpecialDescription?

Trader

New Member
Joined
Aug 12, 2009
Messages
219
Reaction score
2
Code:
attempt to call global 'doSetItemSpecialDescription' (a nil value)

Apparently, doSetItemSpecialDescription doesn't exist in TFS 0.3.6
Can anyone tell me the correct function or help me register it in 050-function in lib?

Thank you
 
Code:
elseif fetishs[item.actionid] ~= nil then
        if fetishs[item.actionid].[B][I][COLOR="red"]get(itemEx.uid)[/COLOR][/I][/B] > 0 then
            if itemEx.actionid < 110 then
                local amount = math.max(0, itemEx.actionid - 100)
                local chance = math.random(0, 100)
                local text = fetishs[item.actionid].name.." upgrade on "..getItemNameById(itemEx.itemid).." failed."
                if chance <= fetishs[item.actionid].chance then
                    fetishs[item.actionid].set(itemEx.uid, (fetishs[item.actionid][I][B][COLOR="red"].get(itemEx.uid)[/COLOR][/B][/I]+fetishs[item.actionid].amount))
                    text = getItemNameById(itemEx.itemid).." "..fetishs[item.actionid].name.." +"..fetishs[item.actionid].amount.."."
                elseif fetishs[item.actionid].destroy ~= nil or fetishs[item.actionid].destroy == TRUE then
                    if math.random(0, 1) == 1 then
                        doRemoveItem(itemEx.uid)
                        text = getItemNameById(itemEx.itemid).." has been destroyed."
                    end
                end
 
You're using an outdated item upgrade script, I highly suggest searching for another option or making another one yourself.
Also please remember that you may not bump your thread for 24 hour's.
 
Back
Top