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

Search results

  1. Gorillaz

    TFS 1.X+ corpse:getItemCountById() dosen't works

    Thank you so much! :)
  2. Gorillaz

    TFS 1.X+ corpse:getItemCountById() dosen't works

    I tried, but the same result, item still nil.
  3. Gorillaz

    TFS 1.X+ corpse:getItemCountById() dosen't works

    for i = corpse:getCapacity() - 1, 0, -1 do local item = corpse:getItem(i) if (item and config.ids_dinheiro[item:getId()]) then local mult, qntd = config.ids_dinheiro[item:getId()], item:getCount() * mult killer:addMoney(qntd) item:remove()...
  4. Gorillaz

    TFS 1.X+ corpse:getItemCountById() dosen't works

    Yeah, same thing, :S.
  5. Gorillaz

    TFS 1.X+ corpse:getItemCountById() dosen't works

    I got an error using Item(corpse):getItemCountById(2148), I checked in https://github.com/otland/forgottenserver/blob/master/src/luascript.cpp, and yeah, this method exists from containers too, :/ Other methods like corpse:getSize() returns 0, but when I use corpse:getCapacity() returns 5...
  6. Gorillaz

    TFS 1.X+ corpse:getItemCountById() dosen't works

    TFS 1.3 Hello, guys. Well, I'm trying to make a simple script when a monster dies, I do something with a item from loot. For example, rat drops gold coins, right? If I check if he (rat) has gold coin by the function corpse:getItemCountById(2148), it returns 0 (even he dropped). I tried other...
  7. Gorillaz

    Lua Function [TFS 1.3] Item abilities via Lua

    Amazing! :). I'm using your system in my server, and Im trying to implement other scripts using the same logic, look: if I use 'player:getSpecialSkill(SPECIALSKILL_MANAPOINTSLEECHCHANCE)' returns an error: attempt to call method 'getSpecialSkill' (a nil value) but in sources this method...
  8. Gorillaz

    [Gesior 2012] Layout

    **
Back
Top