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

    Outfit Condition

    Could someone give me a script to create a outfit condition? So I can use: doAddCondition(cid, condition) to change a players outfit ^^ EDIT: I also need a condition to change the players speed by 70% Thanks.
  2. Aarthec

    Decay to...

    items.xml <item id="3821" article="a" name="tree stump"> <attribute key="decayTo" value="2708"/> <attribute key="duration" value="3"/> </item> When I create a tree stump it doesn't turn into ID 2708. Do I have to change something else than this to make it work? EDIT: Worked when I...
  3. Aarthec

    [Request] Trade window

    Request: Open the trade window by clicking on an item with buy/sellable items? (a function something like: doOpenTradeWindow(...)) Thanks :p
  4. Aarthec

    [Support] Decreasing a players skills

    I'm trying to decrease a players skills by using this function: I can't think of any way to make a specific skill decrease by X.
  5. Aarthec

    Monster attack monster/npc

    Is it possible to make a monster chase and attack a monster/npc in lua/xml? In that case, how? :p
  6. Aarthec

    [Support] onCombat

    How can I make a monster not attack a player? This doesn't work: function onCombat(cid, target) if isMonster(cid) == TRUE and isPlayer(target) == TRUE then return FALSE end return TRUE end
  7. Aarthec

    Teleport All Players Online With Storage...

    I want all players online with storage 30008 with value 1 teleport to a location and players with value 2 teleport to another. This doesn't work and I don't get any errors. local players = getPlayersOnline() local humanTeleportPos = {x=1898, y=16403, z=7} local orcTeleportPos = {x=1882...
  8. Aarthec

    [SOLVED]Set action id on teleport

    .....................
  9. Aarthec

    Action Increase players max health/mana

    Click on an item and the players max health/mana will be increased. Haven't seen this on otland before so I just made one. function onUse(cid, item, frompos, itemEx, topos) local config = { storage=5000, addmana=2000, addhealth=1000, levelReq=80 } if...
  10. Aarthec

    TalkAction (Gods/GMs) Give items to players

    How to use: /giveitem playername, itemid, amount function onSay(cid, words, param) local param = param.explode(param, ',') if param then if isPlayer(getCreatureByName(param[1])) == TRUE then doPlayerSendTextMessage(getCreatureByName(param[1]), 22, "You recieved an item from an admin!")...
  11. Aarthec

    TalkAction Kill players with God/GM

    Sometimes you might feel for punishing a player by killing him :) How to use: /kill playername function onSay(cid, words, param) local player = getCreatureByName(param) if(param == "") then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.")...
  12. Aarthec

    Action Health/Mana Charges

    Oioioi! Here's a health/mana potion system (You use charges). Information: You have one mana potion in your backpack. You buy 500 charges by typing: /charges 500 Now you can use your only mana potion and you will lose charges but the mana potion will stay. If you don't have any charges left...
  13. Aarthec

    Skills problem

    doPlayerAddSkill(cid, amount) I guess that's what I should use to make the player recieve a skill but I don't get how I should use it. I tried with doPlayerAddSkill(cid, skillid, amount)) But that didn't work ^^ Also tried with: doPlayerAddSkillTry(cid, SKILL_SWORD...
  14. Aarthec

    Would you play...?

    I've been thinking about making a whole new ot with low experience rate, custom map, custom sprites, custom vocations and a lot of special events. Can't really tell you specifically how it would be. But I would at least work on it for 6 months and have a big map with a lot of spawns and...
  15. Aarthec

    Player Flag Values

    How can I set players flag values? I don't see anything like: setPlayerFlagValue(cid, flag) but I see that there's a: getPlayerFlagValue(cid, flag) I wanna use these: PlayerFlag_CannotUseCombat = 0 PlayerFlag_CannotAttackPlayer = 1 PlayerFlag_CannotAttackMonster = 2...
  16. Aarthec

    Exhaust Problem

    Nvm, works now ^^
  17. Aarthec

    Do something when level up?

    Is it possible to make the player recieve 1k when leveling up?
  18. Aarthec

    Global Event Help

    What function should I have to use the global event timer system? globalevents.xml LMS.lua That's what I have right now and that just gives me this error in the console when I'm loading it. So what's the right function? oO
  19. Aarthec

    [8.5] Boored, made a map ^^

    Well, I was just bored so I thought it would be fun to make a small town and post it here. So here it is! lol Download: World.otbm
  20. Aarthec

    Action [SCRIPTS] Read before requesting, updating...

    If you want a script to be added to the list, tell me. [All scripts made by me] ACTIONS: Experience Scroll: function onUse(cid, item, frompos, item2, topos) local config = { getStorage = 1337, -- Storage Value setStorage = 1337, -- Storage Value experience = 5000000, -- How much...
Back
Top