• 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. Evil Hero

    Lua Xikini's Free Scripting Service TFS 1.4.2

    next time I'll write a poem, I swear
  2. Evil Hero

    Lua Xikini's Free Scripting Service TFS 1.4.2

    I don't know what to write here just helping a man who doesn't want to have his posts always merged because it's a terrible feature.
  3. Evil Hero

    TFS 1.X+ TFS crash

    Check if the lib folder exists inside data/scripts/ if not create it.
  4. Evil Hero

    TFS 1.X+ [SOLVED] Can you make a spawned NPC stay in an owned house after restart?

    position = self:getPosition() has to be position = {x = self:getPosition().x, y = self:getPosition().y, z = self:getPosition().z}
  5. Evil Hero

    Lua Countdown til' time

    There might be a better or easier solution to this (this just came to my mind) local test = os.time{year = os.date("%Y"), month = os.date("%m"), day = os.date("%d"), hour = 20, min = 30, sec = 0} print(os.date("%X", test - os.time())) this will print time remaining like "12:30:20". If you...
  6. Evil Hero

    helpme with links to add eventcallback to my sources

    Here is a list of commits Pull requests · otland/forgottenserver (https://github.com/otland/forgottenserver/pulls?q=is%3Apr+is%3Amerged+eventcallback+in%3Atitle) which include all PR's related to eventcallbacks
  7. Evil Hero

    helpme with links to add eventcallback to my sources

    It doesn't require any source edits, you just have to change pretty much all .lua files in your events folder and include forgottenserver/event_callbacks.lua at master · otland/forgottenserver (https://github.com/otland/forgottenserver/blob/master/data/scripts/lib/event_callbacks.lua) which also...
  8. Evil Hero

    TFS 1.X+ movements.xml/weapons.xml attribute items, question/possible ?

    not entirely but you have to think about some way to blacklist all the itemids from movements.xml or you'll end up having errors on startup that you tried to register an itemid twice
  9. Evil Hero

    TFS 1.X+ movements.xml/weapons.xml attribute items, question/possible ?

    You could make an easy parser for items via revscriptsys and register them like gesior mentioned, the only problem I see is that you would have to remove all the movements inside movements.xml or add some kind of blacklist (so we don't double register itemid's) example: local range = 65000 --...
  10. Evil Hero

    Lua Include extra text in an item description

    local oldDescription = deliver.item:getAttribute("description") == "" and ItemType(itemId):getDescription() or deliver.item:getAttribute("description") local newDescription = oldDescription .." (Bought by ".. playerName ..")" deliver.item:setAttribute('description', newDescription) if an item...
  11. Evil Hero

    TFS 1.x Ingame Account Manager [Searching Testers] UPDATED

    feel free to hit me up on discord if you need a guiding hand Evil Hero#8530
  12. Evil Hero

    Don't Work With (Adversario#4615) and (Carcoo#2914)

    I guess I need a new pairs of eyes if this is just "similar" you copy pasted the whole thing even with line commentary... Instead of saying "hey, sorry I took your code as base and made a complete mess out of it" you still claim it to be a coincidence, not sure what's worse right now, your...
  13. Evil Hero

    Don't Work With (Adversario#4615) and (Carcoo#2914)

    I'm normaly not involving myself into such topics, because I couldn't care less who scammed who. However it angers me to see people selling stuff which is basicly not done by themselves, don't get me wrong it's not about the money, it's about the disrespect people held towards the person who...
  14. Evil Hero

    How to deal with items clone

    Player A throws item on ground (doesn't logout) Player B picks up the item and relogs, now you let the server crash and both players have the item, it's as easy as that.
  15. Evil Hero

    FerumbrasBOT - Development thread

    I really like this idea, but you kinda misunderstood what the intention is behind the lua api. Instead of letting your bot connect directly to the tfs server it should connect to the self hosted api of the server (which acts as the middle man) and verifies all traffic going in and out. That way...
  16. Evil Hero

    TFS 1.X+ request to tfs contributor/moderator/owner

    Can you maybe try another github account and see if problem still persists?
  17. Evil Hero

    TFS 1.X+ request to tfs contributor/moderator/owner

    Are you trying to push changes directly onto the tfs repo or what's the matter?
  18. Evil Hero

    [WIP] Lua API

    For those who are interested and want to test https://github.com/otland/forgottenserver/pull/3461
  19. Evil Hero

    TFS 1.X+ Problem with droploot

    show us your data/talkactions/scripts/reload.lua
  20. Evil Hero

    Write scripts on mobile?

    I guess you could use sublime, it's available for android (if that's even your question)
Back
Top