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

    Delete from mysql when kill

    Its because you deleted a bunch of columns....Tell me all of the columns that are in your bounty_hunter table.
  2. AdventureOts

    Delete from mysql when kill

    function onKill(cid, target) if not isPlayer(target) then return TRUE end if not isPlayer(cid) then return TRUE end ---- BOUNTY HUNTERS START ----- pid2 = getPlayerGUID(target) local result_plr = db.getResult("SELECT * FROM `bounty_hunters` WHERE `sp_id` = "..pid2.." AND `killed` = 0;")...
  3. AdventureOts

    Lua Level lock

    Worked like a charm, ty printer. I always forget to check the events. Here is code to put in onGainExperience event local function getExpForLevel(level) level = level - 1 return ((50 * level * level * level) - (150 * level * level) + (400 * level)) / 3 end if exp >...
  4. AdventureOts

    Lua Level lock

    Alright, I decided to just do onKill. What is wrong with this code? It seems like it doesn't add to the COUNT It gives my guy all the exp. local function getExpForLevel(level) level = level - 1 return ((50 * level * level * level) - (150 * level * level) + (400 * level)) / 3 end...
  5. AdventureOts

    Lua Level lock

    Not working though :S
  6. AdventureOts

    Lua Level lock

    Okay, the monster gives 10000 exp.... When the player kills it, it gives him those levels. What I want to do is put in a code that makes sure he isn't going over 20 levels when he gets that exp. If he does then stop him at 20 levels. So lets say we have 3 monsters..... 1 has 10k exp 2 has 1kk...
  7. AdventureOts

    Lua Level lock

    Yes, but I want the code to handle every monster without the need to put in specific monsters. All monster will have the level lock. Even ones that don't need it. It seems the onAdvance doesnt work because it registers each level as a new advance rather than all at once.
  8. AdventureOts

    Lua Level lock

    Edit: Going to be annoying adding names in. Would rather 1 script can handle it all without the need of adding in any new values.
  9. AdventureOts

    Lua Level lock

    I am trying to put a lock on my server that only allows players to level x amount of times when killing a monster. This code seems like it should work but doesn't. Any help? local function getExpForLevel(level) level = level - 1 return ((50 * level * level * level) - (150 * level *...
  10. AdventureOts

    Solved Trying to do quest where you choose 1/x items

    I would make the code more like this... local items = { [20970] = {itemid = 20970, msg = "You have found a rare prestige sword."}, [20915] = {itemid = 20915, msg = "You have found a rare prestige hammer."}, [20902] = {itemid = 20902, msg = "You have found a rare prestige axe."}, [21160] =...
  11. AdventureOts

    Mapper AdventureOts 10.95

    Bump Added to main post.
  12. AdventureOts

    Mapper AdventureOts 10.95

    Bump Beta testing going well. We have 5 regular players. Need some more beta testers. Still looking for mappers mainly. So far only positive feed back from players.
  13. AdventureOts

    update script to tfs 1.2

    local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, CONDITION_PARAM_TICKS, 600000) setConditionParam(condition, CONDITION_PARAM_SKILL_FIST, 5100) setConditionParam(condition, CONDITION_PARAM_STAT_MAXHEALTHPERCENT, 120) setConditionParam(condition...
  14. AdventureOts

    Lizard Dungeon

    Use mediafire.com
  15. AdventureOts

    Windows TFS 1.1 - Can't connect.

    Open your command prompt: start>cmd execute ipconfig You should see something like: 192.168.0.1 Put that in config.lua and try connecting with that ip.
  16. AdventureOts

    update script to tfs 1.2

    That's the code for TFS 1.2
  17. AdventureOts

    SIMPLE ALL IN ONE: From nothing to a fully working dedicated server on Ubuntu

    Now that I think about it. I did edit it from a tutorial I saw about running TFS for windows in ubuntu and it told me to modify that file. In the end I reverted it back though. So your right, its shouldnt be using wine. In all honesty I spent so much time trying to figure it out (usually giving...
  18. AdventureOts

    Linux How to make :O

    lmao, that's your excuse? Alright, well. Kids will be kids. I am done here.
  19. AdventureOts

    SIMPLE ALL IN ONE: From nothing to a fully working dedicated server on Ubuntu

    Just to make sure we are on the same page....I am useing 'start tfs' to open the server. I consider that using wine because it is using wine. Are you saying with following that compiling method it will give me another way then using the terminal?
  20. AdventureOts

    Linux How to make :O

    Razor you started off in this post being a douche bag and your going to leave as one. Go look at your first post. That is what I am talking about with this community is trash. There shouldn't be any posts made that aren't helping the thread maker. He said he isn't good at scripting, everyone...
Back
Top