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

    C++ monster spawn

    Do not get angry, I just try to help, regards. (Humpf :/ , primitive intellect)
  2. lokolokio

    C++ monster spawn

    I think you want an action/talkaction to create SPAWN like rme spawn to summon monster, but if you use /m, /s, the monster just dissapear once he was killed and the stuff you need is to create a spawn, that create a monster and then the monster appear, and appear, and appear on the position you...
  3. lokolokio

    C++ monster spawn

    You need a monster that appear everytime he is killed?...
  4. lokolokio

    Requesting item that summons monster to kill

    Hope this work for you, regards! :D -- This for wild monster function onUse(player, item, fromPosition, target, toPosition, isHotkey) Game.createMonster("demon", player:getPosition()) player:sendTextMessage(MESSAGE_INFO_DESCR, "You have summoned a wild monster.") item:remove(1)...
  5. lokolokio

    [TFS 1.3] NPC get level and add experience

    Ok, my apologize and do not worry about it, I can not understood at 100% about compile, I just have elementary school and I am here to learn, but you are the first person that I see on the OTLand forum with that arrogance, maybe you are a engineer or a person with university, or career on M.I.T...
  6. lokolokio

    [TFS 1.3] NPC get level and add experience

    I never said that I was an awesome scripter, but he is asking for script to add experience no matter on wich level you are, it will take you to 400, so I just add línes local exp = blablabla playeraddexperience(Cid, exp), I dont know what is the script, or what it does, I just make the function...
  7. lokolokio

    [TFS 1.3] NPC get level and add experience

    If try this function local function level(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end local player = Player(cid) local exp = 1050779800 - player:getExperience() local level = player:getLevel() local req = 400...
  8. lokolokio

    Solved tfs 1.2 advance level and full mana

    Jajaja, sorry I do not read it at 100%, I apologize :cool:
  9. lokolokio

    Solved tfs 1.2 advance level and full mana

    You can try this: add on 'creaturescripts.xml' <event type="advance" name="AdvanceSave" script="advance_save.lua" /> then in 'login.lua' player:registerEvent("AdvanceSave") then create a file called 'advance_save.lua' and add this: local config = { heal = true, save = true, effect =...
  10. lokolokio

    Teleport/msg bug with dederin

    You do not need to remake it, just copy/paste code, it wont need to modify anything than just the price City, 123, 456, 7, price; Nothing, nothing just price part, and not need to worry for file.lua, all servers include default.lua.
  11. lokolokio

    Blue flames in remeres?

    Yes you can, since work with this: getWaypointList() and local waypoint = getWaypointPosition(param)
  12. lokolokio

    Teleport/msg bug with dederin

    <?xml version="1.0" encoding="UTF-8"?> <npc name="Dederin" script="default.lua" walkinterval="0" floorchange="0"> <health now="150" max="150"/> <look type="459"/> <parameters> <parameter key="module_travel" value="1"/> <parameter key="message_greet" value="Hello...
  13. lokolokio

    C++ [LUA] Need help, info, orientation, runOnHealth flag

    the thing that I want is the function that make a monster run like a chicken when hp goes below X, not just teleport him, I want to make a monster run like a chicken if was surounded by X amount of players, or if only one player but this one are lvl 1500 and monster cant fight against the...
  14. lokolokio

    Teleport/msg bug with dederin

    I think you can use this: npcHandler:say('Voce deve estar sem pz locked!', cid) Instead: selfSay("Voce deve estar sem pz locked!", cid) Try it.
  15. lokolokio

    Show manarune healing action?

    I think you can add this line after the action that adds a health: --TFS 0.3.X doCreatureSay(cid, amountOfHP, TALKTYPE_ORANGE_1) or --TFS 1.X player:say(amountOfHP, TALKTYPE_MONSTER_SAY)
  16. lokolokio

    Teleport/msg bug with dederin

    I think you can use this, with all these values removed, try it and tell me if it works:
  17. lokolokio

    Blue flames in remeres?

    It is not a custom Sprite, it is a WAYPOINT palette: And anytime when you want to go to wp called demons, just goto waypoint palette and click on the wp called demons, and will be located at demons wp.Also you can add many waypoints as you want(cyclops, dragons, heros, orcs, town1, town 2...
  18. lokolokio

    C++ [LUA] Need help, info, orientation, runOnHealth flag

    Hello OTLanders, the info I need to know is if there are function like this one? monsterType:setRunHealth() or wath I need to do to make a monster run anytime I want, not like this function: monsterType:getRunHealth() that function make monster run when his hp goes below certain health points...
  19. lokolokio

    TalkAction Bank System via Talkaction (TFS 1.2)

    If function plyerExists give not exists function I've used this one: function playerExists(name) local resultId = db.storeQuery('SELECT `name` FROM `players` WHERE `name` = ' .. db.escapeString(name)) if resultId then result.free(resultId) return true end return...
  20. lokolokio

    Monster Smart Monster Spell (For Sorcerer Monster).

    I think this function works as: fromPosition:getDistance(toPosition) And work something like this: local fromPosition = creature:getPosition() local toPosition = creature:getTarget():getPosition() local dist = fromPosition:getDistance(toPosition) if dist <= X then creature:doSemothing() end
Back
Top