• 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

    What is the lua function to create a monster?

    local monster = Monster(MonsterType(monster_name)) Not true. Deprecated and does not answer the question.
  2. Lordfire

    A question about Bonebeast Island (Ramoa) and hunting there

    Bonebeasts are amazing to hunt as a paladin, as they are very weak from distance and have low resistance to holy attacks. I used to hunt them in Helheim for the tasks with a level 50 RP with 85 distance and pretty much the same equipment you have, just with a Demon Shield instead. I usually got...
  3. Lordfire

    Solved [TFS 1.2] Creaturescript onThink interval ignored

    os.clock is not reliable for you as it represents the CPU time for the program, not the system time value. This means that if you set a player's storage 3 hours after the server start, after restarting the server the event will only start to trigger roughly 3 hours later, when the CPU time...
  4. Lordfire

    Feature True dual wielding for TFS 1.x

    I'll have a look at that! Code was updated to match recent updates on TFS, redownload the patch if you updated and can not apply it :) Don't forget to drop a star at https://github.com/ranisalt/forgottenserver
  5. Lordfire

    Solved [TFS 1.2] Creaturescript onThink interval ignored

    I suggest you rename "cid" to "player" as it is not the creature ID anymore.
  6. Lordfire

    Solved anti mc exception list

    IP address is not a string, it is a 32 bit integer where each 8 bits (1 byte) represent each field of the IP address. For 127.0.0.1 you would use 0x7F000001 instead, or 2130706433 if you prefer base 10. For other values, you can use this tool...
  7. Lordfire

    Solved anti mc exception list

    What distribution? Also you don't need to add 1 to max, you can just compare with >.
  8. Lordfire

    Creature attacking player

  9. Lordfire

    making non movable items in RME

    Just set an action ID (any will do) on your starlight and the item becomes unmovable.
  10. Lordfire

    Solved [TFS 1.2] Creaturescript onThink interval ignored

    The interval parameter is not the interval you configured (it would be useless anyway), it is the interval from the last execution. You can store it with a storage value and check like this: delay = player:getStorageValue(storage) if delay >= 5000 then do something...
  11. Lordfire

    Compiling Need Libboots Ubuntu 14.04.

    Easy! Install it.
  12. Lordfire

    Feature True dual wielding for TFS 1.x

    A special storage for what? Yes! That goes for CentOS, Red Hat and Fedora < 22 too.
  13. Lordfire

    mysql error

    @thatmichaelguy that was because your guess was far away from the answer. I'm still used to forums where people comment just to hunt for likes :P sorry for my rudeness
  14. Lordfire

    mysql error

    I have just debugged and I found that C++ was casting the Z axis to a char instead of keeping it as a number. As a result, when you were trying to insert the 7 character (BEL) instead of the plain number 7. A solution is to upcast 8-bit integers to 16-bit ones that don't get transformed to...
  15. Lordfire

    Solved Empty flask's not Stacking

    Check your items.otb to see if the empty flask is stackable.
  16. Lordfire

    Solved Storage in C++

    It's not CC+, it's C++; You didn't explain what you are trying to achieve; You didn't post the error, you posted where it is; Please fix the above because your question is unanswerable
  17. Lordfire

    sourcecode Creature::getStepDuration()

    No, you can not. It is an unsigned integer.
  18. Lordfire

    Linux Few system does not work on linux (website)

    Yes, I do have some experience with PHP and AACs. I personally have used 5.4 and 5.5 without problems. Can you be more specific of what doesn't work? How was it supposed to work and what is different from expected.
  19. Lordfire

    sourcecode Creature::getStepDuration()

    There's one more place you need to remove extra diagonal cost that I found: https://github.com/ranisalt/forgottenserver/blob/master/src/creature.cpp#L505-L508
  20. Lordfire

    Lua God onlook problem tfs 1.2

    Try that: local itemType = Item(thing):getType()
Back
Top