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

    TFS 0.X Exiva only in PKs (find person)

    What do i need to do to add this condition: if(getCreatureSkullType(cid) ~= SKULL_YELLOW and getCreatureSkullType(cid) ~= SKULL_WHITE and getCreatureSkullType(cid) ~= SKULL_RED and getCreatureSkullType(cid) ~= SKULL_BLACK ) then doPlayerSendCancel(cid, "You can not locate players with no...
  2. M

    TFS 0.X luaDoCreatureSetTarget not creating red square

    I want to create a spell that make a player atk other player, like exeta res to pvp It looks like work, it is opeing PK, but it is not creating the red square... Why? What do i doing wrong? spell: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)...
  3. M

    Lua Guild cleaner

    I have an idea but idk if it is possible and how to do... There is a problem in all server that have a lot of guilds, it never clean, it can have a total inactive guild, but it still there on the list... My idea of Guild Cleaner i request is: when player logout, if he have a guild store in...
  4. M

    This part of RL map

    RL map wont run here, maybe its cause my computer is bad... But i want a part of global map, the cave at this part of this video: Is anyone could cut to me? thanks
  5. M

    Lua How to show how many tiles there is in the house on look the door

    How to show how many tiles there is in the house on look the door, just like in this img: With some help from people from this forum i changed: void House::updateDoorDescription(std::string _name/* = ""*/) From: Fir3element/3777 (https://github.com/Fir3element/3777/blob/master/src/house.cpp)...
  6. M

    TFS 0.X How to show how many tiles there is in the house on look the door

    How to show how many tiles there is in the house on look the door, just like in this img: The only where i found to change is on: Fir3element/3777 (https://github.com/Fir3element/3777/blob/master/src/house.cpp) void House::updateDoorDescription(std::string _name/* = ""*/) Some people here...
  7. M

    TFS 0.X Exercise Dummie to 8.6

    Exercise dummies are a new funny way to train in servers 11x but there isnt such a thing in 8.6 servers, even that this not need change nothing on graphics But i'm not good enoght to do it alone, so i need some help to make it work and if others servers want to use be free to use I was thinking...
  8. M

    TFS 0.X Shows how many tiles have in the house

    How to make house shows how many tiles have onlook the door like this img? my house.cpp: Fir3element/3777 (https://github.com/Fir3element/3777/blob/master/src/house.cpp) I think it's here: void House::updateDoorDescription(std::string _name/* = ""*/) { std::string tmp = "house"...
  9. M

    TFS 0.X Shows how many tiles have in the house

    How to make house shows how many tiles have onlook the door like this img? my house.cpp: Fir3element/3777 (https://github.com/Fir3element/3777/blob/master/src/house.cpp) I think it's here: void House::updateDoorDescription(std::string _name/* = ""*/) { std::string tmp = "house"...
  10. M

    TFS 0.X Who cast the field/wall

    I saw a server that shows who call fire fields, energy field, poison field, magic wall, wild grow onLook Like on this IMG: Did someone know how to do it? What can i change on spells.lua to monsters and players, could you guys gave me a base in one spell?
  11. M

    TFS 0.X Who call the field OnLook

    I used to play a server who shows who call fire fields, energy field, poison field, magic wall, wild grow onLook Like on this IMG: How to do it?
  12. M

    Linux libmysqlclient.so.20: cannot open shared object file: No such file or directory

    I trying to open my compiled server, but got this error: ./tfs ./tfs: error while loading shared libraries: libmysqlclient.so.20: cannot open shared object file: No such file or directory How to fix?
  13. M

    Compiling Problem compile onMonsterSpawn

    I've tried to use this in my 0.4 sources: Feature - [CreatureEvent] OnSpawn(cid) But it's not compiling... Showing me this errors: creatureevent.cpp: In member function ‘uint32_t CreatureEvent::executeOnSpawn(Creature*)’: creatureevent.cpp:2045:7: error: could not convert...
  14. M

    Lua Need use with Shovel/Pick not only use!

    I have this scripts working, but i need conditional change to: OnUse with shovel function onUse(cid, item, frompos, item2, topos) local storage = 51006 if item.uid == 7662 then queststatus = getPlayerStorageValue(cid,storage) if queststatus == -1 then...
  15. M

    Lua How to show bounty hunt list in NPC?

    I want show list from this system: https://otland.net/threads/znoteaac-bounty-hunter-system.243753/ When players say "list" to npc doShowTextDialog(cid, 2175, table.concat(wantedlist)) Somebody could help me? Script local keywordHandler = KeywordHandler:new() local npcHandler =...
  16. M

    Lua Help me to this ground id's

    I need a ground shovel like it: 05:30 You see a loose stone pile. ItemID: [468]. To put in tiles like: 05:31 You see grass. ItemID: [106]. Whats id i need?
  17. M

    Compiling Why sometimes server freeze after i added it

    Why sometimes when a guy die in my server freeze after i added it on my sources to increase skills losses ondeath? I'm using 0.4 sources I just added a * 5 in player.cpp lostMana = (uint64_t)std::ceil(sumMana * ((double)(percent * 5 * lossPercent[LOSS_MANA]) / 100.)); lostSkillTries...
  18. M

    Lua Get position item used actionid

    Someone help me to get door position to set player there To change this 1,2,3 to door position local storage = 55565 local open_door function onUse(cid, item, frompos, item2, toPosition) if(getPlayerStorageValue(cid, storage)) ~= -1 then if(item.uid == 1225) then -- north / south...
  19. M

    Lua Function percent

    Someone could help me.. I need a percent function to make this function onUse(cid, item, fromPosition, itemEx, toPosition) doRemoveItem(item.uid) light magic missile runes,2287,50% intense healing rune,2265,30% heavy magic missile runes,2311,10% great fireball runes,2304,5%...
  20. M

    Lua bow giging magic level

    What next step i need to do to when mages equip this bow, get magic level On 0.4 <item id="8856" article="a" name="mage bow"> <attribute key="weight" value="1500" /> <attribute key="slotType" value="two-handed" /> <attribute key="weaponType" value="distance" /> <attribute...
Top