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

    TFS 1.X+ sendCreatureHealth issue with clients 11+

    Hello! Clients of version 11+ have an issue with ProtocolGame::sendCreatureHealth (TFS 1.3). it causes the name and health bar of killed monsters to still show after the last hit and before the corpse is created; name and health bar of gods using 'hide' (with setHiddenHealth) can still be seen...
  2. guiismiti

    One house per account - simple LUA, does not require DB modifications

    Hello! I wrote this today for my server, and I remember seeing some unanswered threads in OTLand asking for it. What it does is, it checks for other characters in the same account and then checks the houses table for an owner with that id. There are two advantages over using an extra...
  3. guiismiti

    TFS 1.X+ Interrupt corpse decay for skinning

    Hello! Today I decided to allow corpse owners (and his party members) to skin fresh corpses - the ones that take 10s to decay so other players won't steal the loot. The problem is - skinning will decay the corpse 1x, and 10s after the kill, the corpse will decay again. This rapid decaying means...
  4. guiismiti

    Lua Help with conditions param: CONDITION_PARAM_SUBID

    Hello! I know almost nothing about conditions. Usually, I try and check other scripts to learn, but the codes aren't making much sense to me, since they are too different from each other. I noticed there are conditions scripts that use 1, 2 or 3 parameters for player:getCondition and...
  5. guiismiti

    TFS 1.X+ How to make NPC say something in greetCallback(cid)

    Hello! I am using a modal window on greet for ship travelling. If the player is pz locked or doesn't have enough gold, the NPC needs to say it. Problem - if I use selfSay or npcHandler:say inside the greet function, a random NPC will say those messages, and not the NPC the player is talking to...
  6. guiismiti

    Requesting a tutorial / tips to upgrade TFS protocol

    Hello, A tutorial on how to upgrade the protocol of a server would be very useful for the community. since there is a lot of people trying to upgrade TFS to 11+. I know there are several things to be done, like dealing with packets, but I couldn't find any guidance on how to do so. Can anybody...
  7. guiismiti

    TFS 1.X+ Does CONDITION_PARAM_MANATICKS have a minimum value?

    Hello, I'm trying create a regen condition and set a tick value that is lower than 1000 ms. It is currently set at 10 ms, but the regen is still happening at 1000 ms: condition:setParameter(CONDITION_PARAM_MANATICKS, 10) Is 1000 ms the minimum value for the parameter? Thanks in advance.
  8. guiismiti

    Custom Global Map for less than 1 Gb RAM (Raspberry PI)

    Hello This is not meant to be an advertising thread. I am hosting a custom global map in a Raspberry PI 2 (has 1 Gb RAM). It is currently using around 600~700 Mb RAM. The thing is, I deleted more than half of the map and left most interesting areas. It currently weighs 39.7 Mb (full global map...
  9. guiismiti

    [Brazil] Fardos 10.95 - Auto Loot, War Realms, new content

    IP: fardosot.no-ip.org Port: 7171 Client: 10.95 (use the one from the website, has edited sprites and does not require IP changer) Uptime: 24/7 Hosted in: Brazil Website: Fardos OT Exp rate: 3000x Map: Custom RL (shrunken map, TP room with 50+ teleports) Runes: normal charges and price Loot...
  10. guiismiti

    Lua Update ML value on player:addOfflineTrainingTries()

    Hi, I'm using player:addOfflineTrainingTries(SKILL_MAGLEVEL, trainingTime * (manaGain / manaTicks)) However, the player has to logout and login again so the value of the magic level is updated in the skill list - or it will still show the old value. How can I update the value? I know...
  11. guiismiti

    10.90 bosses

    Hi, Does anybody know where I can get info about Ascending Ferumbras, Destabilized Ferumbras, Ferumbras Mortal Shell, Ferumbras Soul Splinter, Enthralled Demon and Rift Invader? I scripted this fight as it is in the original game, but none of the wikis I visited have the info about attacks and...
  12. guiismiti

    Lua NPCs mixing player requests

    Hello, I'm having a problem with an NPC. The original code is too long, so, I cut most of the generalConfig array and the entire addonItemsIds array. The code is working, but the value of config gets mixed when two players talk to the NPC. local generalConfig = { ["citizen"] = {...
  13. guiismiti

    [TFS 1.2] Tutorial - compile in Codeblocks

    Hello, Like the title says, I'm looking for a tutorial to compile the latest TFS in Codeblocks. I'm tired of visual studio. It is unnecessarily heavy, which makes it impractical and very annoying. Thanks in advance
  14. guiismiti

    RME - find and remove by item ID

    Hi, I tried a quick search and could not find this in the forum. A couple of years ago, I remember removing trash from the map with RME. I informed the ID of the item I wanted to remove and it cleared an area. I just can't remember if I had to select the area or if it removed from the entire...
  15. guiismiti

    onKill, modify userdata value target.uid

    Hello, I noticed that the onKill creature script for the killing in the name of ... quest may run multiple times when more than one player has killed the monster. This will add a kill for every player who runs the script, and I want to change that. The parameters of this function are player...
  16. guiismiti

    TFS 1.2 get player by guid

    Hi Is there a function for getting the player by guid in TFS 1.2? I found this in a 2011 post, but it does not exist anymore: getPlayerByGUID(guid) Thanks in advance.
  17. guiismiti

    True heart of the sea - change ID when boss spawned

    Hello I've been looking for a way to transform true heart of the sea (IDs 15638 and 15639) depending on a game storage value. Is there a way for the item to check the storage and transform itself? Something like onThink. Thanks in advance.
  18. guiismiti

    dat editor for 10.77+

    Hello again, I've been looking for a .dat editor for 10.77+ and could not find it. Is there one? Thanks in advance.
  19. guiismiti

    Tapestry of honour

    Hi, I am looking for the item IDs of the tapestries of honour (the ones created in the 15th anniversary). I've found the basic tapestries (from ID 16008 to 16013), but I haven't found the items in the wall. Does anybody know the IDs? I've been scrolling through my items.otb using RME but I...
  20. guiismiti

    removecharge on distance weapon

    Hi, I am editing a bow. I have added "removecharge" in weapons.xml and "charges", "showcharges" and "decayTo" in items.xml. Does removecharge only work for melee weapons? Is it possible to use something similar for a bow? (it can't be ammo in my case). Thanks in advance.
Back
Top