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

    would u like to play in tibia thats not pay2win ?

    In my opinion, it is extremely difficult to maintain and develop a good game without some type of reward in return. Why? That is the nature of who we are. Unless you have exorbitant amounts of resources (or money) and can afford to give your time for nothing, you will want something in return...
  2. JDB

    Script help.

    That’s nice.
  3. JDB

    Script help.

    He can change the fromvoc values back, but he claimed it didn’t work before when I suggested it.
  4. JDB

    Script help.

    It’s sending the cancel message or it prints an error in the console?
  5. JDB

    Script help.

    That’s strange. I changed it to 3 to see what happens. Try the script above one more time.
  6. JDB

    Script help.

    Make sure you’re using 9, 10, 11, & 12 for the new vocations and change the fromvoc values to 5, 6, 7, & 8. Restart the server and then try using the following script (below) and let me know if it still happens. function onUse(cid, item, fromPosition, itemEx, toPosition) if...
  7. JDB

    TFS 1.X+ [DOUBT] Level for private message

    Hi Amora, If I recall correctly, OTX does not support this “flexibility” by default. Channels.xml normally allows you to edit restrictions for other channels (e.g. Trade). The solution would be to alter the source code to check for a level and return a default cancel message or simply return...
  8. JDB

    Script help.

    @Xikini, I actually requested he change the values to test a theory. It still doesn’t work, as I assumed. It seems your characters are not saving upon relogin. They were being promoted, correct? But once you logout and log back in, they are back to their original vocation. So, let’s now try...
  9. JDB

    The Forgotten Tibia

    This idea is interesting. Definitely see the potential for a good game. Keep up the work!
  10. JDB

    Script help.

    Change all of the “fromvoc” variables in vocations.xml to: 1, 2, 3, 4. And then try the other scripts I wrote earlier in the thread.
  11. JDB

    Script help.

    That’s just the function. It’s incomplete. You have to replace the entire line with this: db.executeQuery('UPDATE `players` SET `vocation` = `vocation` + 4 WHERE `id` = ' .. getPlayerGUID(cid) .. ';') I’m hoping this will work. If not, I’ll have to try something else later.
  12. JDB

    Script help.

    Hmm, must be a bug with the source. I’m not sure. There’s one more trick you can do to make this work. Within the script, where the doPlayerSetVocation line is, you can replace that line with an instruction that updates the database directly where the vocation is set. db.executeQuery
  13. JDB

    Script help.

    Create a new character and try again. There may be an issue with lastLoginSaved.
  14. JDB

    Script help.

    There must be an issue with your vocations.xml.
  15. JDB

    Script help.

    Oh, that’s my mistake. Been a while since I’ve coded for 0.3/0.4. Copy the script above again. :)
  16. JDB

    Script help.

    Are there any console errors?
  17. JDB

    Script help.

    Remember to reload every time you change the script.
  18. JDB

    Script help.

    You’re welcome. :) Let’s see if this works instead: local t = { levelReq = 20, vocations = {5, 6, 7, 8}, storage = 45247 } function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerStorageValue(cid, t.storage) >= 1 then doCreatureSay(cid, "Sorry, you have...
  19. JDB

    Script help.

    That is strange. It seems like the “promotion level” function doesn’t save properly with TFS 0.4. I’ll have to rewrite the script to set the vocation instead.
  20. JDB

    Script help.

    Are you testing it on a GM or a normal character?
Back
Top