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

    [0.4 / OTX 2] Barbarian Outfit Quest 99%

    Here is the Barbarian Outfit Quest almost 100%. What is missing? Only the correct lines of the NPCs are missing when the player does not have the item. I spent almost 2 hours to make it, hope it helps someone :) Ah, if you use TFS 1.0 or higher, I'm sure it will be simple to convert. PS.: I...
  2. LucasFerraz

    [TFS 0.4~OTX2.0] BOAT LIB

    BOAT LIB V 2.1 Why should you use it? Easy to change prices Easy to change boat position to TP Easy to change messages Work with this vip system Vip accounts have % discount on all boats Use vip=true to restrict this city to vip accounts Enable and disable city access using active=true or...
  3. LucasFerraz

    Lua Function

    Hello guys, can someone help me to create a function that: 1. Return the higher value of 4 params. OR 2. Check weaponTYPE in player's hand. Please
  4. LucasFerraz

    Lua Channels.xml (Private Chat Channel Question)

    This is my channels.xml: <?xml version="1.0" encoding="UTF-8"?> <channels> <channel id="1" name="Party"/> <channel id="2" name="Staff" access="1"/> <channel id="3" name="Rule Violations" logged="yes"/> <channel id="4" name="Counselor" access="1"/> <channel id="5"...
  5. LucasFerraz

    Lua How can I optimize this onDeath?

    Hello guys, How can I optimize it to the max? function onDeath(cid, corpse, deathList) if getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196 then if getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).aid > 1000 then doItemSetAttribute(getPlayerSlotItem(cid...
  6. LucasFerraz

    Lua Movement not removing monster from Area

    Hello, why isn't this movement removing monsters from Area? local function changetiles(cid, item, pos, fromPos) local kapos1 = {x=32515, y=31407, z=15} local kapos2 = {x=32516, y=31407, z=15} local kapos3 = {x=32515, y=31408, z=15} local kapos4 = {x=32516, y=31408, z=15}...
  7. LucasFerraz

    Lua Track error

    Hello Guys, What is it?
  8. LucasFerraz

    Lua Send item to Player DP

    doPlayerSendMailByName(getCreatureName(cid), new_item, getPlayerTown(cid)) This part of code is sending a letter instead of sending item, why? local lettersUsedToGenerateHash = "AaBbCcDdEeFfGgHhIiJjKkLlMmOoPpQqRrSsTtUuVvWwXxYyZz" math.randomseed(os.time()) -- required! function...
  9. LucasFerraz

    PHP + MySQL = select + var

    Hello, how can I show this var? Error:
  10. LucasFerraz

    Lua getPlayerStamina(cid) and doPlayerAddStamina(cid, ???)

    How can I check if 1 hour and how can I remove 1 hour? I'm using it but always false EDIT (Solution)
  11. LucasFerraz

    Lua Talkaction PLAYER TARGET range

    !steal PLAYERTARGET will steal 0~20k from player. I should steal only nearby players (1x1 like exori). Can someone help? function onSay(cid, words, param, channel) if not param or param == '' then doPlayerSendCancel(cid, "Player target is offline or do not exist.") return...
  12. LucasFerraz

    Lua getThingFromPos TILE NOT FOUT

    function getTopItem(p) p.stackpos = 0 local v = getThingFromPos(p) repeat p.stackpos = p.stackpos + 1 v = getThingFromPos(p) until v.itemid == 0 p.stackpos = p.stackpos - 1 return getThingFromPos(p) end It is spamming TILE NOT FOUT. Can someone help to...
  13. LucasFerraz

    [SQL] I need help with SQL

    HI, I got this sql INSERT INTO gamecodes (gamecode, accountname, points, alreadyused) VALUES ('RANDOMCODE','PLAYERNAME',30,'N') I need a sql code that find account name in table ACCOUNTS using PLAYERNAME
  14. LucasFerraz

    Windows FORM Modern AAC

    Hello, I'm about to release a game code script for Modern AAC for free. The problem is: I writed a form but if I click on button(submit) an error appears The Text field is required. Can someone help?
  15. LucasFerraz

    Lua About Storages

    What is the smallest and largest number that I can use in Storages?
  16. LucasFerraz

    Solved Add description to player [HOW?]

    As title says :p
  17. LucasFerraz

    CreatureEvent Reset System [No Source Edit Needed]

    The most part of OTs reset because of players reaching higher levels. This way they will still have their power because of ML and skills intact. The unique disadvantage of reset to players will be level for using spells. But it will be a great advantage to your OT because it will create a new...
  18. LucasFerraz

    CreatureEvent Fix/Patch exploit of bot to crash/lag servers and clone items

    Hello, as some of you know there is an exploit using elfbot/magebot(...) to crash/lag server and possibiliting cloning. Elf Hotkey to lag server: auto 50 dropitemsxyzamount $posx [$posy+2] $posz 3590 1 |dropitemsxyzamount $posx [$posy+2] $posz 6569 1 |dropitemsxyzamount $posx [$posy+2]...
  19. LucasFerraz

    Action Action to Second Promotion

    As requested by killing Action item function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerLevel(cid) >= 20 then if getPlayerVocation(cid) == 5 then doPlayerSetPromotionLevel(cid, 2) doCreatureSay(cid, "You are now a Super Sorcerer!", TALKTYPE_ORANGE_1)...
  20. LucasFerraz

    NPC NPC (You need a storage to talk to him)

    As title says. Made by StreamSide, here. local keywordHandler = KeywordHandler:new()local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function...
Back
Top