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

Search results

  1. Joe Rod

    Onlook

    test <event type = "look" name = "ranksLook" event = "script"><![CDATA[ domodlib("ranks") function onLook(cid, thing, position, lookDistance) if(isPlayer(thing.uid)) then local rank = {rank = "Private", frags = 0} for k, v in pairs(titles) do if(math.max(0...
  2. Joe Rod

    CreatureEvent Show Item Price onLook

    my bad xD, copy again btw, don't use Dreamwaver, use Sublime Text 3 or Notepad++
  3. Joe Rod

    Solved Random lever reset, check lever before reset. [actions.xml] [loops/tables]

    leverPos is a table, # is used to check the size of something, in this case, your table leverPos
  4. Joe Rod

    Lua Iterators pairs and ipairs don't work correctly

    Hi, when i try to iterate a table it does not iterate in order, i.e.: testTable = { ["a"] = 2, ["b"] = 3, ["c"] = 4, ["d"] = 5 } for i,x in pairs(testTable) do print(i.."_"..x) end prints: a_2 d_5 c_4 b_3 How can be fixed? Thanks in advance
  5. Joe Rod

    Lua Removing skills (club, shielding, etc...)

    do it with a query, like Vesgo said
  6. Joe Rod

    TalkAction Edited "Show Money" Script

    Hi, this is a more explicit version of money script, that command is available in every server (i mean TFS 0.* series) with the word "!q", it only shows the quantity of cash, so if you have 1kk it shows You have 100000000 gold. With my script it shows by this way: 11:37 You have 1 KK just...
  7. Joe Rod

    CreatureEvent Show Item Price onLook

    Edited, now it shows the weight: 14:35 You see an Ice Stone. A peculiar stone that may cause some pokemon to evolve. It weights 10 oz. Price: 5000 gp. 14:35 You see 99 Ice Stones. A peculiar stone that may cause some pokemon to evolve. They weight 990 oz. Price: 495000 gp.
  8. Joe Rod

    CreatureEvent Show Item Price onLook

    yes, use: getItemAttack(uid) to check the attack. The weight is there at function getItemCount(uid), check how i did it... and percent i don't know how to check it
  9. Joe Rod

    Change vocation when using an item

    you forgot to check the hp/mana
  10. Joe Rod

    Solved onLook new attibute for itens.

    https://otland.net/threads/show-item-price-onlook.230477/#post-2222027
  11. Joe Rod

    CreatureEvent Show Item Price onLook

    Hi, this is a simple code to add something extra value on description of an item: its price. this was requested here is displayed by this way: 14:35 You see an Ice Stone. A peculiar stone that may cause some pokemon to evolve. It weights 10 oz. Price: 5000 gp. 14:35 You see 99 Ice Stones. A...
  12. Joe Rod

    Solved onLook new attibute for itens.

    i'll post a solution soon. Now i'm going to the church... btw, are you using TFS 0.3.6?
  13. Joe Rod

    if player use item get forever aol and bless

    they receive aol and bless when die and you want to give them when they login?
  14. Joe Rod

    Guess the age of the next poster!

    false next 22
  15. Joe Rod

    Solved onLook new attibute for itens.

    yes, is possible, laborious too. You have to edit: Items::loadFromXml() to get the value from xml, add a new value in items.h ... Then you have to edit all "Game::playerLook" you find to add the new attribute... or you can do it in easier way using an onLook event with a table of items who...
Back
Top