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

    Solved Buy something through command not using gold

    @Limos now it's giving this [29/03/2015 13:50:22] [Error - TalkAction Interface] [29/03/2015 13:50:22] buffer [29/03/2015 13:50:22] Description: [29/03/2015 13:50:22] [string "loadBuffer"]:5: attempt to call global 'domolib' (a nil value)
  2. L

    Solved Buy something through command not using gold

    @RazorBlade and @Limos thank you! It fixed the problems happening in the console before but now its saying [29/03/2015 13:42:34] [Lua Error] [29/03/2015 13:42:34] [string "loadBuffer"]:18: unexpected symbol near 'then'
  3. L

    Solved Buy something through command not using gold

    <?xml version="1.0" encoding="UTF-8"?> <mod name="Buy premium command" version="1.0" author="The Forgotten Server" contact="otland.net" enabled="yes"> <config name="buypremium_config"><![CDATA[ config = { days = 90, cost = 10000, maxDays = 360...
  4. L

    Solved Buy something through command not using gold

    So I have two different types of currency in my OT. One is the standard one and the other one is the Premium Points. In my OT it came with a custom !buypremium but it only charges 20,000 and i want it to charge 50 premium points instead of that. Can someone help? ID OF PREMIUM POINTS = 2157 THE...
  5. L

    HOw to add a query to my database?

    So I was working on a VIP system so I searched I few threads. This came up: https://otland.net/threads/vip-system-v2-0.48120/ It says I have to add aquery in my database, how do I do that? Thank youuu ;)
  6. L

    RME Map Editor how to fix weird looking things

    @Limos thank you, again, hahahah, it worked! :)
  7. L

    RME Map Editor how to fix weird looking things

    Ok so the image I see in the RME editor is differente from what I see in game. Im using tibia 8.60. Maybe the spr/dat i used in the rme is different but whenever i try to put the standard one it doesn't load.. v0.3.6 tfs if it helps. rme: tibia:
  8. L

    Change vocation when using an item

    @Xikini v0.3.6..so yeahh thats the reason :s thanks man! also can I make the player logout after the item is used?
  9. L

    Change vocation when using an item

    @Sizaro actually it didnt work :s it gave me the following when I tried to sue it! [24/03/2015 18:42:33] [Error - Action Interface] [24/03/2015 18:42:33] data/actions/scripts/assassin.lua: onUse [24/03/2015 18:42:33] Description: [24/03/2015 18:42:33] data/actions/scripts/assassin.lua:2...
  10. L

    Is it possible to create a vocation that "tp" when hitting someone

    @Limos I found a way of making it work! thank you!
  11. L

    Is it possible to create a vocation that "tp" when hitting someone

    @Limos I tried putting the textmessage function but I started some type of error. but I retried doing everything in a whole new clean ot server and it wouldn't work as well :/
  12. L

    Is it possible to create a vocation that "tp" when hitting someone

    in the console it doesn't show any errors.. I'll try the textmessage in the fuction to see if its loaded properly. good idea @Limos ill keep you updated if it does
  13. L

    Is it possible to create a vocation that "tp" when hitting someone

    Ok so since when I changed it for the ID 9 when I logged it switched to ID 4, which is the kngith, I changed it for the Knight. so the id is now 4. So in the creaturescript.xml: <event type="combat" name="Ninja" event="script" value="ninja.lua"/> in the ninja.lua: function onCombat(cid...
  14. L

    Is it possible to create a vocation that "tp" when hitting someone

    It's still not working! i change the name of everything to ninja to become easier.. and I even tried to change the vocation to see if it would help, but no. I have created in the login.lua the event Ninja, in the creaturescript lua it's also the correct one and I renamed the function file to...
  15. L

    Change vocation when using an item

    @Sizaro Thank you that worked :)
  16. L

    Is it possible to create a vocation that "tp" when hitting someone

    @Limos ok, now I have no clue why its not working. vocationscript.lua: function onCombat(cid, target) if getPlayerVocation(cid) == 9 and getCreatureTarget(cid) == target then if not exhaustion.check(cid, 38475) then doTeleportThing(cid, getClosestFreeTile(cid...
  17. L

    Is it possible to create a vocation that "tp" when hitting someone

    @Limos I did everything correctly, but now when I execute TFS it gives me the following error in the script. [21/03/2015 18:04:00] [Warning - Event::loadScript] Event onLogin not found (data/creaturescripts/scripts/vocationscript.lua)
  18. L

    Is it possible to create a vocation that "tp" when hitting someone

    @Limos yes, Creaturescript: <event type="login" name="Vocationscript" event="script" value="vocationscript.lua"/> Login: local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid)...
  19. L

    Is it possible to create a vocation that "tp" when hitting someone

    @Limos I created a .lua file named vocationscript in creaturescript/script and I edited the creaturescript.lua to add this event there
  20. L

    Is it possible to create a vocation that "tp" when hitting someone

    @Limos I tried your function but I couldn't make it work..
Back
Top