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

    Lua math.random (1.9) almost always returns me 7, this may be a bug?

    This is kind of unnecessary, because one use a 'for' inside a function that already uses an 'is' (mart.ramdom). It's just unnecessarily cumulative processing. Apparently it did not work well, or maybe I did the wrong way. math.randomseed(os.time())...
  2. Mikii

    Lua math.random (1.9) almost always returns me 7, this may be a bug?

    @Summ Do not confuse the variable "my var" with the variable "number" in "for", I just ran this "for" for to test processing. It will be not used variable "number". local MYVAR = math.random(1,9) print(">> MY VAR = " .. MYVAR ) MYVAR almost always returns me 7 Look again...
  3. Mikii

    not enough memory (crash)

    How much RAM your computer has? 4GB or more recommended.
  4. Mikii

    Lua math.random (1.9) almost always returns me 7, this may be a bug?

    I am running this function at the time of Onstart in Global Events. local i = math.random(1,9) print(">> NUMBER = " .. i) almost always (99%) returns me 7, this may be a bug? ( Or I should play in the lottery number 7? rsrsrs) UPTADE: SEE THIS local...
  5. Mikii

    Players on rookgard are with vocation

    Yes, but would need severe changes on your website. And that this is somewhat unnecessary, or born in rook, or born in main .. Well, anyway, my help ends here. If others want to help you in your website, feel free. I've been pretty busy.
  6. Mikii

    Players on rookgard are with vocation

    On config.php of your website, search for this: $config['cities'] and edit your inicial cities. Or Edit this. /*Positions to start when creating character*/ $startPos['x'] = 32369; $startPos['y'] = 32241; $startPos['z'] = 7;
  7. Mikii

    Lua Spawn monsters in a certain area

    I Make this script now and tested on TFS 1.0. More Don't get pos - 5 and pos_2.x + 5. But it is not recommended to use this type of script to many monsters. Because it can return the server lag. Use it sparingly. IMPORTANT Add valid positions without walls and spaces where monsters can not be...
  8. Mikii

    Lua Need Example: Creature(cid):getDamageMap() - OnDeath Function TFS 1.0

    How To Use this function??? Creature(cid):getDamageMap() OBS: THIS USED ON MONTERS NOW GETING RESULT: table: 0x73671c28 function onDeath(cid, corpse, killer) deathList = tostring(Creature(cid):getDamageMap()) if deathList == nil or deathList == "" then print(" debugging...
  9. Mikii

    Solved Brigde - Lever

    Looks like my map starts. Try This.
  10. Mikii

    Solved Brigde - Lever

    Well I adapted this script and it works perfectly for me ... Using this same version of TFS. Try rebooting your server again, and forehead. There is no reason to have errors. On erro then is your map be different of my.
  11. Mikii

    Solved Brigde - Lever

    Hó my god... What version of TFS your use?
  12. Mikii

    Solved Brigde - Lever

    No erros on Console?
  13. Mikii

    Solved Brigde - Lever

    Chekc if the levers aren't different ITEM.ID too.
  14. Mikii

    Solved Brigde - Lever

    ADD actionID on Second Lever Too. Lever 1 and Lever2 = 1000 -- Exemple And check if Positions is True local lever = { [1] = {x=32098, y=32204, z=8}, [2] = {x=32104, y=32204, z=8} }
  15. Mikii

    Lua Help on Script Npc Carlos Trade

    bumb ~~
  16. Mikii

    Solved Brigde - Lever

    I sending my script for you [ TFS 1.0 ] ~~ more need add exaust time and actionid on leavers: local posi3 = {x=32102, y=32205, z=8} poss = { [1] = {x=32099, y=32205, z=8}, [2] = {x=32100, y=32205, z=8}, [3] = {x=32101, y=32205, z=8} } local lever = { [1] = {x=32098, y=32204, z=8}, [2] =...
  17. Mikii

    Lua Help on Script Npc Carlos Trade

    @Mark I could not understand your explanation very well mark. If I move out npc interprets the word "trade" as a command, and not as a message. The user can only open once that window. 100% rl. See me all code. [ Shearch for this: "npcHandler:say("No, no, you have to say {trade}.", cid)" only...
  18. Mikii

    DoSendTutorial(cid, tutorialid) Possibles IDS [ all here ]

    Tested on TFS 1.0 doSendTutorial(cid,1) -- Welcome to Tibia! Use your arrow keys or left-click with your mouse to walk around. doSendTutorial(cid,2) -- Very good! You can also left-click on your automap to go to a certain spot. Try to click on the new marker on your automap after you closed...
  19. Mikii

    When somebody dies theres no body

    No man, i use TFS 1.0 , don't use this.. I making this code here with my hands. rsrsrsrs No try.. More is logic... Need Kurre Kurrson Being smarter. hahahaha
  20. Mikii

    When somebody dies theres no body

    Remove this an try: else var = "(mostDamageKiller ~= FALSE) and (mostDamageKiller ~= lastHitKiller) RETURNED FALSE" And post Your ALL code here now.
Back
Top