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

    Reward on Advance

    Ok, for anyone who wants it: advancereward.lua: function onAdvance(cid, skill, oldLevel, newLevel) if skill == 8 then if getPlayerStorageValue(cid, 20201) == -1 then setPlayerStorageValue(cid, 20201, 5) end setPlayerStorageValue(cid, 20202, getPlayerLevel(cid) -...
  2. S

    Reward on Advance

    Oh ok, I'll play around with that then haha. Is there any way to set it differently for the very first time it's used?
  3. S

    Reward on Advance

    Yah, I was getting there, but you definitly helped quite a bit. I think the one I threw out there still needs a bit of work though: how exactly do you set the default value for the firs time a player encounters a storage value (For this one the storage value in 20202) Some times for me it sets...
  4. S

    [Idea] Python Scriptengine

    I personally wouldn't mind python, because it would FORCE people to use much cleaner code
  5. S

    Sued by donations.

    @stian Somewhat different. A shop is selling a good or service for a price, they aren't asking for donations. What most OT servers do is say "You can donate, you don't have to, but you MIGHT get this item if you do". There's no guarantees with donations, with a shop where you're purchasing a...
  6. S

    Sued by donations.

    The other major difference between buying items and having players 'donate' is if they buy the item from you, they then have a legal right over it. You then MUST keep your server open if they wish to have access to it. Whereas with donations they have no legal rights over anything on your server
  7. S

    Reward on Advance

    Ok, thanks for the feedback. Just a couple questions. How do your scripts work? The way I gather that they work, the 20202 storage value will just keep going up unless you die. Meaning once it hits 5, it will keep going up as you level, so you wouldn't get the reward again And the "if skill ==...
  8. S

    Reward on Advance

    Wow, thank you! Found a couple of things that could go wrong though, so I tried to fix em up, let me know what you think **not tested** For the advancereward.lua: function onAdvance(cid, skill, oldLevel, newLevel) if skill == 8 then if getPlayerStorageValue(cid, 20202) == 4 then if...
  9. S

    Reward on Advance

    What if you want to give players a reward for every 5 levels? function onAdvance(cid, skill, oldLevel, newLevel) if(skill == 8) then if(oldLevel == (9) and getPlayerStorageValue(cid, 20201) ~= 9) then doPlayerAddItem(cid, 2151, 1) setPlayerStorageValue(cid, 20201, 9)...
  10. S

    [8.54] The Forgotten Server 0.3.6pl1 (Crying Damson)

    I'm kinda confused... People are saying the Acc. Manager bug was fixed, where is the new release? Or has it been?
  11. S

    Action Perfect items upgrade

    How would you set it up so anytime you talk to an NPC, he asks you for an item then upgrades your item for you?
  12. S

    Vocation quest chest.

    Yah, I didn't set it up for the higher vocations yet. Thanks though
  13. S

    [8.54] The Forgotten Server 0.3.6pl1 (Crying Damson)

    Yah, was that fixed elf? The in-game account manager is bugged, won't let you login from any account other than 1/1
  14. S

    [onAdvance] function

    Trying to make a script that gives a player an item when they level, here's what I have so far: function onAdvance(cid, skill, oldLevel, newLevel) if(oldLevel==9) or newLevel==10 then doPlayerAddItem(cid, 2151, 1) end return true end Why doesn't this work?
  15. S

    [8.54] The Forgotten Server 0.3.6pl1 (Crying Damson)

    The Runtime Error means something in your code is wrong. Mine was as simple as missing an 'end' to one of my if's as I swapped from the 0.3.5pl1. Most likely you did the same, if you move the Runtime Error message a little to the left, TheforgottenServer.exe window will tell you what file the...
  16. S

    Vocation quest chest.

    Ok, I fixed it... By not once telling the script to actually GIVE the item to the player.. Hi-Five scripting
  17. S

    Vocation quest chest.

    I have this script here: But what happens is the player now recieves one in their bag and one on the ground...
  18. S

    Vocation quest chest.

    That script doesn't account for the player not having enough cap, or enough space in their bag.... Is there an easy script for that?
Back
Top