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

Upgrade Kit

oliverpadron86

New Member
Joined
Mar 1, 2018
Messages
40
Reaction score
0
hi everyone im just looking for a upgrade key..
example if i use xxx key on a xxx sword its transform into a xxx donation sword..
im using crying damson server 0.3.6
 
hi everyone im just looking for a upgrade key..
example if i use xxx key on a xxx sword its transform into a xxx donation sword..
im using crying damson server 0.3.6
Lua:
local items = {
    [2406] = 2395, -- short sword to carlin sword
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
    local itemid, effect = item.itemid, CONST_ME_POFF
    if items[itemid] then
        doCreatureSay(cid, "You've just transformed "..getItemInfo(itemid).name.." to "..getItemInfo(items[itemid]).name.."!", TALKTYPE_ORANGE_1, false, cid)
        doTransformItem(item.uid, items[itemid])
        effect = CONST_ME_MAGIC_RED
    end
    doSendMagicEffect(getPlayerPosition(cid), effect)
    return true
end
 
Lua:
local items = {
    [2406] = 2395, -- short sword to carlin sword
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
    local itemid, effect = item.itemid, CONST_ME_POFF
    if items[itemid] then
        doCreatureSay(cid, "You've just transformed "..getItemInfo(itemid).name.." to "..getItemInfo(items[itemid]).name.."!", TALKTYPE_ORANGE_1, false, cid)
        doTransformItem(item.uid, items[itemid])
        effect = CONST_ME_MAGIC_RED
    end
    doSendMagicEffect(getPlayerPosition(cid), effect)
    return true
end
ISNT WORKING Q.Q
 
Well that was helpful.. thanks!
XDD

Lua:
local items = {
    [2406] = 2395, -- short sword to carlin sword
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
    local itemid, effect = itemEx.itemid, CONST_ME_POFF
    if items[itemid] then
        doCreatureSay(cid, "You've just transformed "..getItemInfo(itemid).name.." to "..getItemInfo(items[itemid]).name.."!", TALKTYPE_ORANGE_1, false, cid)
        doTransformItem(itemEx.uid, items[itemid])
        effect = CONST_ME_MAGIC_RED
    end
    doSendMagicEffect(getPlayerPosition(cid), effect)
    return true
end
 
XDD

Lua:
local items = {
    [2406] = 2395, -- short sword to carlin sword
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
    local itemid, effect = itemEx.itemid, CONST_ME_POFF
    if items[itemid] then
        doCreatureSay(cid, "You've just transformed "..getItemInfo(itemid).name.." to "..getItemInfo(items[itemid]).name.."!", TALKTYPE_ORANGE_1, false, cid)
        doTransformItem(itemEx.uid, items[itemid])
        effect = CONST_ME_MAGIC_RED
    end
    doSendMagicEffect(getPlayerPosition(cid), effect)
    return true
end
Ok i misread the question (itemEx).. it happens, I am glad it works
 
still not working, any idea? q.q
Well for starters you could explain the steps you took to install the script, how you referenced it & how you executed it in the game.

Simply stating "it doesn't work" or "it still doesn't work" is like me asking you "how many fingers am i holding up?"
 
Well for starters you could explain the steps you took to install the script, how you referenced it & how you executed it in the game.

Simply stating "it doesn't work" or "it still doesn't work" is like me asking you "how many fingers am i holding up?"
Sorry man xD
Its working it was my fault ;p
 
Back
Top