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

    TFS 1.1 - Possible bug with Guild Rank?

    Please update the patch, I found some null pointer issues with that previous attempt. https://github.com/ranisalt/forgottenserver/tree/fix-player-guild This branch is now safer :P
  2. Lordfire

    Free promotion for premium

    I think you can just register all players with promotion straight away. They temporarily switch to the non-promoted class when premium time expires, and become promoted again when premium time is reactivated.
  3. Lordfire

    Can not loggin my own ot

    To log in to YOUR OWN SERVER, running in YOUR OWN MACHINE, you have to use any of the local IP addresses (127.0.0.1 or localhost). The other address you can get online is for external players, not playing in the same computer as the server.
  4. Lordfire

    Compiling Monster walk above corpse

    Well why did you throw your source code out? This is a source code problem from what I understand and you can not simple patch it with a bunch of Lua scripts.
  5. Lordfire

    Compiling Monster walk above corpse

    How come you can not change your source? Just download it and make the changes.
  6. Lordfire

    Feature True dual wielding for TFS 1.x

    Hahahah Done that. Just stick dualwield="no" anywhere on your vocations that can not dual wield ;)
  7. Lordfire

    Feature True dual wielding for TFS 1.x

    At the same time, no. The weapons secondary damage switches with them :P e.g. if you wield a serpent sword and a fire sword, the extra earth damages comes with the serpent sword hit, the extra fire damage comes next with the fire sword. Okay, I will make a switch to disable or enable it for...
  8. Lordfire

    Feature True dual wielding for TFS 1.x

    Well, you actually don't. As bows and crossbows are two handed, they can not be dual-wielded. There is no point in using dual-wielded spears/stars, as bows/crossbows can be stronger and you lose the shield defense anyways. So, paladins don't benefit from the ability. The same for mages: they...
  9. Lordfire

    [C++] Get all items on tile

    No. getItemList() is what you want, it returns the only reference to all items on a tile that exists.
  10. Lordfire

    Talkactions from TFS doesn't works on OTServ.

    Of course they don't, they are incompatible at major points. Why don't you use TFS instead? To use real map, you need the 64 bit version of the server, just like the message says. Search for it where you downloaded.
  11. Lordfire

    how to make vocations have stages of experience

    In data/events/scripts/player.lua, edit the function Player : onGainSkillTries, usually the last one around line 175: function Player:onGainSkillTries(skill, tries) if self:getVocation() == 0 and self:getLevel() >= 8 then return 0 end (...) end Where (...) means the rest of the...
  12. Lordfire

    Feature True dual wielding for TFS 1.x

    I have seen a few dual wielding systems in the past but none of them was complete and simple to use. I started one from scratch that intends to be both simple, work out of the box and be easy to configure. As I am developing my own server, I want to share some of my patches with the community...
  13. Lordfire

    Solved Attempt to call global 'getCreatureStorage' (a nil value)

    No, you are using deprecated and obsolete code. It should be: if Player(cid):getStorageValue(places.placeStorage) == 1 then For that line, I guess 27.
  14. Lordfire

    Solved Attempt to call global 'getCreatureStorage' (a nil value)

    Replace that with: Player(cid):getStorage(places.placeStorage) == 1
  15. Lordfire

    (Question) setCreatureStorage in TFS 1.1

    Yes, they do. It's possible to move the storage value logic to monsters, but that isn't available in Forgotten.
  16. Lordfire

    How to: remove itens from house of deleted players ?

    Please do backup before trying. I could not test it: DELETE FROM `tile_store` WHERE `tile_store`.`house_id` NOT IN ( SELECT `houses`.`id` FROM `houses` WHERE `houses`.`owner` NOT IN ( SELECT `players`.`id` FROM `players` WHERE `players`.`id` = `houses`.`owner` ) );
  17. Lordfire

    high usage cpu otx server

    Maybe it can also be your NPCs. NPCs on TFS (from which OTX is forked, IIRC) do not idle while there are no spectators and can be a major haggle. Try applying this pull request to see if it helps.
  18. Lordfire

    Search for item inside a house, binary map map_store

    No, not really. Blob columns are meant to be manipulated solely by applications, not the database.
  19. Lordfire

    Lua onKill players on party sharing xp to get task counted

    Get the current player party, iterate over members and reward every one with 1 kill.
  20. Lordfire

    Solved TFS 1.1 corpse, bag, depot not closing till 3 tiles away

    You were probably using a broken version, NOT TFS itself, since this line has never existed in player.cpp. Since the very beginning, the template parameters were 1, 1 and 0: This is the first commit adding code to the repository.
Back
Top