• 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!

Recent content by Dantarrix

  1. D

    [SOLVED] Compare files

    Nothing, solved.
  2. D

    [SOLVED] Compare files

    Hello all, I want to open a LUA script with LUA (so obvious), then encrypt it with my own hash and compare it with a file. It's something similar to a security system.. Thanks
  3. D

    Summon have the sme name as the caster

    Emmm.... Need to compile this function: http://otland.net/f35/change-existing-monster-name-game-131643/ Take special attention to the last pharagraph: "Bypassing Tibia Client Limitation" Hope it works..
  4. D

    Function on Look Item

    local dur = getItemAttribute(item.uid, "duration") local rTime = dur - os.time() local days = math.floor(((rTime/60)/60)/24) rTime = rTime - (days * 60 * 60 * 24) local hours = math.floor((rTime/60)/60) rTime = rTime - (hours * 60 * 60) local minutes = math.floor(rTime/60) rTime = rTime -...
  5. D

    Change Account for Character

    Try this please: $a = $SQL->query('SELECT `name`, `level` FROM `players` WHERE `account_id` = '.$account_logged->getCustomField("id").' ORDER BY `level` DESC;')->fetch(); '.$a['name'].'
  6. D

    I need this script please

    Creaturescripts.xml: <event type="advance" name="TimeToGo" event="script" value="timetogo.lua"/> Login.lua: registerCreatureEvent(cid, "TimeToGo")
  7. D

    [FREE] Slave Ots Free Scripting Service

    Try this: local monsterName = "troll" function onKill(cid, target, damage, flags) if (isPlayer(cid) and isMonster(target) and (string.lower(getCreatureName(target)) == string.lower(monsterName))) then doPlayerAddItem(cid, 2160, 1) doTeleportThing(cid, getPlayerMasterPos(cid)) end return true...
  8. D

    [FREE] Slave Ots Free Scripting Service

    @EldinWorld: is there onStatsChange in Mystic Spirit 0.2? @Jordan_August: local monsterName = "troll" function onKill(cid, target, damage, flags) if isPlayer(cid) and isMonster(target) and getCreatureName(target):lower == monsterName:lower then doPlayerAddItem(cid, 2160, 1)...
  9. D

    [FREE] Slave Ots Free Scripting Service

    @Jordan_August: so lets see if I have understand... Players dont die, get teleported to temple and they get items?
  10. D

    Enter tp, remove item.

    local item = local q = local pos = {x=, y=, z=} function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor) if doPlayerRemoveItem(cid, item, q) then doTeleportThing(cid, pos) else doTeleportThing(cid, fromPosition) doPlayerSendCancel(cid, "You need "..q.."x "...
  11. D

    Duration Items Script

    http://otland.net/f132/duration-items-script-178959/#post1735624
  12. D

    Simple & Easy script// +++REP for who makes it.

    For the first one: function onUse(cid, item, fromPos, itemEx, toPos) local pG = getPlayerGroupId(cid) doRemoveItem(item.uid, 1) doPlayerSetGroupId(cid, pG + 1) return true end For the second one: function onUse(cid, item, fromPos, itemEx, toPos) local pG = getPlayerGroupId(cid)...
  13. D

    Duration Items Script

    Man, Summ gave you an script, use it...
  14. D

    [CREATURESCRIPT] onPrepareDeath 2.0.14

    Did you tried mine? Cause all make things with onPrepareDeath, but nobody make it return false so players will still die after all.... I will copy paste it here again... local fromPos = {x=, y=, z=} local toPos = {x=, y=, z=} local tpPos = {x=, y=, z=} function onPreprareDeath(cid...
  15. D

    Request [TalkAction][Action] OWN PLAYER DEPOT

    Sources are the files that compound the exe of an OT, when you take those files and compile them with a special program they make the exe of the server... You need to edit that files and compile again to make what you want... At this time, I dont know how to do it... Im sorry... And sorry for...
Back
Top