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

    Solved Adding a storage on first login!

    Allright! Well, this one did it! Thanks a bunch for the help! Works perfectly!
  2. calveron

    Solved Adding a storage on first login!

    function onModalWindow(player, modalWindowId, buttonId, choiceId) player:skillWindowChoice(modalWindowId, buttonId, choiceId) return true end function onAdvance(player, skill, oldLevel, newLevel) if skill == SKILL_LEVEL then player:skillPointsAdvance(newLevel) end...
  3. calveron

    Solved Adding a storage on first login!

    I added it to the actuall skillpoint script, and now it works! Thanks alot for the help! Ooorr.. no. Now I can't login at all haha
  4. calveron

    Solved Adding a storage on first login!

    Nothing. However! I changed the storage to something else and it doesn't add that either. I also noticed that the actual point script seems to be adding the storage once a new player logs in. Perhaps I could add something there?
  5. calveron

    Solved Adding a storage on first login!

    function onLogin(player) local loginStr = "Welcome to " .. configManager.getString(configKeys.SERVER_NAME) .. "!" if player:getLastLoginSaved() <= 0 then loginStr = loginStr .. " Please choose your outfit." player:sendOutfitWindow() end end else if...
  6. calveron

    Solved Adding a storage on first login!

    It doesnt add 62490 as a value anymore, only as a key. Now it just needs to add 10 as a value :P
  7. calveron

    Solved Adding a storage on first login!

    Same thing.. It works, but doesnt add it correcly :S Instead of 62490 as a key, it goes as a value. Or actually, it seems like it adds it as a key aswell! A diferent key. However, the value is 0
  8. calveron

    Solved Adding a storage on first login!

    https://otland.net/threads/tfs-1-1-skill-points-modalwindow.229280/ Thats the system Im using. And yeah, each time you level you get 1 point so I guess its increasing the value and then removing it when using your points.
  9. calveron

    Solved Adding a storage on first login!

    It wont work, I have no clue why. No errors or anything and when I add the storage value manually, it works.. Strange I just noticed, it added the value instead of the storage, so the storage is 0 and the value is the storage Im using..
  10. calveron

    Solved Adding a storage on first login!

    I can simply add that somewhere in login.lua?
  11. calveron

    Solved Adding a storage on first login!

    Ah, sorry forgot to write that, I use tfs 1.1
  12. calveron

    Solved Adding a storage on first login!

    So, basicly I need help! I have a skillpoint system on my server, each level gives you 1 point. However, I removed rook and now I want players who create their character to get 10 skill points on their first login! Anyone who wants to help me out? :) using TFS 1.1!
  13. calveron

    CreatureEvent [TFS 1.1] Skill Points, modalwindow

    Tried to add this but it just wont work. Anyone willing to work on this with me? :)
  14. calveron

    [Sweden] Bravemans World [10.41] RL map with great features!

    Welcome to Bravemans World! A RL map OT server with great features! IP: bravemansworld.no-ip.org Port: 7171 Client: 10.41 Uptime: 24/7 Host: 100mbit uplink located in Sweden Website: http://bravemansworld.no-ip.org/ Exprate: Stages, starting at 40x ending at 10x Map: Real map including most of...
  15. calveron

    CreatureEvent [TFS 1.1] Skill Points, modalwindow

    I managed to fix that. Replaced self:setStorageValue(skillStorage, pts - skills[i][4]) with self:setStorageValue(skillStorage, pts - skills[choiceId][4])
  16. calveron

    CreatureEvent [TFS 1.1] Skill Points, modalwindow

    Tried this today, it adds the skill but it doesnt remove skill points.
  17. calveron

    Using item depending on vocation

    Anyone who knows how to do? using tfs 1.1
  18. calveron

    Using item depending on vocation

    That would work great, and will be my solution with another modalwindow script I have. However, I have another system for the modalwindow that works diferently, that's why I guess I need to use player:sendSkillPointsWindow() to make it work..
  19. calveron

    Using item depending on vocation

    can't get it to work :(
  20. calveron

    Using item depending on vocation

    So basicly I want to use a book that opens a modalwindow. Depending on your vocation, it will open different windows! Using tfs 1.1 For a mage it should be this player:sendSkillPointsWindow() For a knight it should be player:sendSkillPointsWindow2() And for a paladin...
Back
Top