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

    Items for killing players

    local item = 2159 --Default: 2159(Scarab Coin) local time = 60*60*1000 --Default: 60*60*1000(1 hour) local storage = 20000 --Default: 20000(Exhaustion Storage) function onKill(cid, target, lastHit) if not isPlayer(target) or not isPlayer(cid) then return true end if getPlayerLevel(target)...
  2. D

    Items for killing players

    local item = 2159 local time = 60*60*1000 function onKill(cid, target, lastHit) if not isPlayer(target) or not isPlayer(cid) then return true end if getPlayerLevel(target) >= 100 then if not exhaustion.get(cid, target.uid) or exhaustion.get(cid, target.uid) < time then...
  3. D

    Items for killing players

    local item, storage, time = 2159, 5698, 60*60*1000 function onKill(cid, target, lastHit) if not isPlayer(target) or not isPlayer(cid) then return true end if getPlayerLevel(target) >= 100 then if exhaustion.get(cid, storage) < time then doPlayerAddItem(cid, item, 1)...
  4. D

    Items for killing players

    Do you mean you can trade a Scarab Coin only once per hour? As for the getPlayerLevel... you have your code right there, you want it if you kill someone above level 100 you don't get a Scarab Coin, right?
  5. D

    Looking for a script

    Do you mean when you use the crystal you have a random chance of getting 1-40% and then another random chance of getting a bonus? Like, can you be a bit more explanatory?
  6. D

    Addon bonus system

    Do you get any errors? Not very many people want to read through 100 lines of code to find your error.
  7. D

    [MOVEMENT] Effect on Walk-Outfit

    local time = 2 --Second syntax (Default: 2) local EFFECTS = { --[OutfitID] = {Effect} [159] = {23} } function onThink(cid, interval) local effect = EFFECTS[getCreatureOutfit(cid).lookType] if effect then addEvent(effectSender, time*1000, {cid=cid, pos=getCreaturePos(cid)...
  8. D

    Monster script - When you trap a deer it attacks you (It is possible?)

    function onCombat(cid, target) if isPlayer(cid) then return true end local pos = getCreaturePos(cid) if not getClosestFreeTile(cid, pos) then return false end return true end Try this script. Should work.
  9. D

    Monster script - When you trap a deer it attacks you (It is possible?)

    Raise the attack a bit more and make sure it is hostile. Also, add: print("Deer: I am now trapped.") Under: if (newPos.x - pos.x) > 1 or (newPos.y - pos.y) > 1 or (newPos.z - pos.z) > 0 then To see if the check works.
  10. D

    Monster script - When you trap a deer it attacks you (It is possible?)

    Did you put it in the Creaturescripts.xml? >.>
  11. D

    Monster script - When you trap a deer it attacks you (It is possible?)

    Create a script called deerattack.lua and put it in CreatureScripts: function onCombat(cid, target) if isPlayer(cid) then return true end local pos, newPos = getCreaturePos(cid), getClosestFreeTile(cid, getCreaturePos(cid)) if (newPos.x - pos.x) > 1 or (newPos.y - pos.y) > 1 or (newPos.z...
  12. D

    [MOVEMENT] Effect on Walk-Outfit

    local EFFECTS = { --[OutfitID] = {Effect} [159] = {23} } function onThink(cid, interval) if not isPlayer(cid) then return true end local effect = EFFECTS[getCreatureOutfit(cid).lookType] if effect then addEvent(effectSender, interval, {cid=cid, pos=getCreaturePos(cid)...
  13. D

    Monster script - When you trap a deer it attacks you (It is possible?)

    Just use an onAttack event in creature scripts. .-. Make it run away on max health, and the onAttack checks for nearest free tile, it there is a free tile, it returns false, if there isn't it returns true. .-.
  14. D

    [MoveEvent] Teleport with level cap

    Create a Movement Script named teleportlevel.lua and enter this: local teleports = { --[ActionID] = {Min Level, Max Level} [1234] = {50, 100}, [4321] = {100, 150} } function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor) if(not isPlayer(cid)) then return...
  15. D

    (MMORG) Pokemon Family

    Where's the option to tell you to cancel the project? Pokemon servers are uncreative and completely stupid now. After Pokemon Unleashed was released, there's nothing left to do in the Pokemon department.
  16. D

    What do you look for in an OT?

    I look for someone who has long hair, is blonde, and likes ponies. They must enjoy long walks on the beach and romantic candle lit dinners... oh wait, this is about OTs, sorry, the title threw me off... .-. On a serious note, a good OT is only as good as it's owner. If the owner wants it to...
  17. D

    Mystic Storm Teasers

    Just going to post some vids of what I've implemented so far: Monster AI: (Nothing complex yet) http://www.youtube.com/watch?v=T0qUaWaBK0w Changing Names: (No logout required) + AFK: http://www.youtube.com/watch?v=WCiUid9a6gs
  18. D

    Devovorga Event

    Perfect, thank you very much. That's where I was extremely confused was with the "At the same exact time." So basically a one minute timer from the second the first boss dies, and the other bosses must be killed in that time limit?
  19. D

    Devovorga Event

    Can anyone describe in details how the Devovorga event works? I've decided I'm going to script it and release it to the public so that no RL map server can be unique. Yes, I hate RL map servers. Anyways, I used TibiaWiki and the steps are there, just not detailed enough.
  20. D

    Team Harry Potter Online (custom project) - Team Needed

    Exactly my point bro. Get your anger fixed before you try to release a real server.
Back
Top