• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Action Item's upgrading by jewels ver. 2 [FOR TFS 0.3.4]

The wonderful thing to the RPG servers:)
Unfortunately, 50% chance to destroy item is too much to risk ..

Are you kidding me o.o? In most MMORPG's there's like 50% chance from the start and on say +10 it's like 0.00001% (Maybe not on all, but some games actually have that low chance of success). So i guess 50% all the way is pretty generous or what? :)
 
Azi it keeps with the bug... using 100 assassin star, I can upgrade it to max without problems, and I just loose one star per fail... Could you make it to loose all the count of all items, in this case the assassin star... If you have 99, and you fail, you lose 99.

Try to replace

Lua:
doRemoveItem(itemEx.uid, itemEx.type)

With

Lua:
doRemoveItem(itemEx.uid, (getPlayerItemCount(cid, itemEx.uid))

--Edit

Aff >_< Sorry for double posting guys T_T
 
not, it's wrong because player can max upgrade 100x at same time, but can have 5000000000x of item...
 
it doesnt work for me, i changed the item to the small diamond, and when i use them, there is no crosshair, and says You cannot upgrade this item!..
whats wrong?
i get this error
[28/12/2009 18:21:12] Lua Script Error: [Action Interface]
[28/12/2009 18:21:12] data/actions/scripts/upgrade/upgrade2.lua:eek:nUse

[28/12/2009 18:21:12] data/actions/scripts/upgrade/upgrade2.lua:51: attempt to index global 'toPosition' (a nil value)
[28/12/2009 18:21:12] stack traceback:
[28/12/2009 18:21:12] data/actions/scripts/upgrade/upgrade2.lua:51: in function <data/actions/scripts/upgrade/upgrade2.lua:50>
 
Last edited:
I get this error:
[07/04/2010 14:35:01] [Error - Action Interface]
[07/04/2010 14:35:01] data/actions/scripts/upgrade.lua
[07/04/2010 14:35:01] Description:
[07/04/2010 14:35:01] data/actions/scripts/upgrade.lua:4: attempt to index global 'conf' (a nil value)
[07/04/2010 14:35:01] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/upgrade.lua)
 
Back
Top