• 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. M

    Lua Help with some Actions

    @filipus This is what i got, there is 3 levers to open a way with a rock blocking, and a lever inside in case you get stuck. the script is activated on all of them by a actionid. function onUse(cid, item, frompos, item2, topos) pos1 = {x=740, y=804, z=11, stackpos=1} pos2 = {x=740...
  2. M

    Lua Help with some Actions

    /\ genius, hope that works. on the other subject, not sure if the function is not working or something else, neither of them are giving any sign of working, thats what i have: Throne Function? function onStepIn(cid, item, position, fromPosition) print("working thrones") if item.uid ==...
  3. M

    Lua Help with some Actions

    The thing is, with the doRemoveItem i would have to give each stone an unique id, since there isnt any parameter in doRemoveItem that specifies a location. So is this the only way to do it? Just realized the function onStepIn doesnt work/exist in the version im using(0.3.6 tfs), any replacement...
  4. M

    Lua Help with some Actions

    thanks, ill implement that, and merge the 2 scripts into 1. another question, is there a function to remove an item from a certain place? like, to remove stones when i push a lever, i know you can replace it for a walkable item using doTransformItem, but it sounds bad to keep changing the items...
  5. M

    Lua Help with some Actions

    Thank you all for all the answers, thats what i ended up with: Checking for thrones of the quest done: function onStepIn(cid, item, position, fromPosition) if getPlayerStorageValue(cid, 40002) < (item.uid - 50000) then doTeleportThing(cid, fromPosition)...
  6. M

    Lua Help with some Actions

    function onStepIn(cid, item, position, fromPosition) if getPlayerStorageValue(cid, 40002) < (item.uid - 50000) then doTeleportThing(cid, fromPosition) end end For each part of the quest completed the storage value increases 1, starting at 0(nothing completed). And each tile has a...
  7. M

    Lua Help with some Actions

    Thats helpful indeed, but how do i let or not the player pass through that? do i have to "tp" him back or is there a better way to do it?
  8. M

    Lua Help with some Actions

    So...i´ve been trying to figure out how to 2 to actions, here is what i need to do: One action is to be used on a tile that needs to access a player storage value, and let the player pass or not depending on the value. like the PoI hall that lead to the tp with rewads(those lightning things)...
  9. M

    Item Charges Problem

    bump :/
  10. M

    Connection Refused: 10061 (can load char list but cant login)

    http://www.yougetsignal.com/tools/open-ports/ Go on this website, and check if you have port 7171 and port 7172 open. The port 7171 is the login server, it means that you will be able to log and see your character list The port 7172 is the game server, it is necessary to log into the game. If...
  11. M

    Hosting Website

    by control panel of you host i mean the website of your host where you setted up you vps the first time, there must be a tab there DNS or something with those options
  12. M

    Hosting Website

    are you hosting your server on your machine or on a vps? if it is on a vps, go to the control panel of your host and register the domain you bought there, then go to the website where you bought your domain and link it to your vps host
  13. M

    Errors with anni.lua. Please help me fast!

    well, you should consider replacing the whole code, try this one, you just have to change the coordinates: local config = { daily = "no", -- allow only one enter per day? (like in global Tibia) level = 100, storage = 30015, entry = { {x = 247, y = 659, z = 13}, {x =...
  14. M

    Linux Debian 7 (Wheezy) > ERROR: Unable to load items (OTB)!

    Try changing your items.otb file to another one, i had this error and got the one from remere map editor and it worked just fine
  15. M

    Linux I'm beginner in Ubuntu 10.04, please anyone can help?

    Also you should check with the company you hired why your vps doesnt have apt-get
  16. M

    Linux I'm beginner in Ubuntu 10.04, please anyone can help?

    you can use aptitude update sudo aptitude install subversion autoconf build-essential pkg-config libboost-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libmysqlclient-dev libcrypto++-dev ccache libboost-filesystem-dev libboost-regex-dev libboost-system-dev libboost-thread-dev screen...
  17. M

    Solved Message login

    Try looking in your config.lua file there might be something like: loginMessage = "Bla bla bla bla bla"
  18. M

    Item Charges Problem

    <item id="2396" article="an" name="ice rapier"> <attribute key="description" value="A deadly but fragile weapon." /> <attribute key="weight" value="1500" /> <attribute key="attack" value="60" /> <attribute key="defense" value="1" /> <attribute key="weaponType"...
  19. M

    Errors with anni.lua. Please help me fast!

    Try undoing all those changes and adding a second } at toZ = 12 } So it looks like this: toZ = 12 }}
  20. M

    Item Charges Problem

    removing the charges attribute didnt work. i added some lines to show the number of charges and apparently the ice rapier comes with 100 charges and it is breaking little by little. i looked everywhere in the code trying to find where to change the charges but didnt have any sucess, also some...
Back
Top