• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. pepe

    TFS 1.0 Monster death bug

    yep, i've tested it, post the issue at https://github.com/otland/forgottenserver/issues
  2. pepe

    [SOLVED] [CreatureScripts] Show New Spells on Advance! [1.0]

    Lua metatables to represent classes Creature Monster NPC Player Group Guild House Item Container ItemType ModalWindow NetworkMessage Position Town Tile Vocation You can find more info at the TFS sources on the luascript.cpp https://github.com/otland/forgottenserver/
  3. pepe

    Solved Monster Portal

    It's working for me, did you registered the event? login.lua > player:registerEvent("asdasdasd")
  4. pepe

    [SOLVED] [Chatchannels] Only for Vocation, like Rook [1.0]

    function canJoin(cid) local player = Player(cid) if player == nil then return false end return isInArray({1, 2, 3, 4}, player:getVocation():getId()) or player:getAccountType() >= ACCOUNT_TYPE_SENIORTUTOR end
  5. pepe

    [SOLVED] [CreatureScripts] Show New Spells on Advance! [1.0]

    I'd recommend to start using the lua metatables that comes with tfs 1.0. :P
  6. pepe

    TFS 1.0 - Using potions on players and not working antidote potion

    the lastest version on github that you have to compile... that's the lastest tfs version.
  7. pepe

    Lua 'setWorldType' equivalent in TFS 1.0

    ... change: lua_register(m_luaState, "setWorldType", LuaScriptInterface::luaSetType); to: lua_register(m_luaState, "setWorldType", LuaScriptInterface::luaSetWorldType); you were supposed to try to fix it by yourself :/
  8. pepe

    Lua 'setWorldType' equivalent in TFS 1.0

    You could add the function by your own... go to luascript.h and add: static int32_t luaSetWorldType(lua_State* L); now on luascript.cpp search: lua_register(m_luaState, "getWorldType", LuaScriptInterface::luaGetWorldType); add after: //setWorldType(type) lua_register(m_luaState...
  9. pepe

    Lua How to make 1.0 not serversave?

    on data/globalevents/serversave.lua change the line: local shutdownAtServerSave = true to false
  10. pepe

    [Caynez] I'm a cool guy, really

    amazing work... wish I could make sth like that xD keep going :P
  11. pepe

    Spells in orange text for TFS 1.0?

    woot, my bad. :P
  12. pepe

    Clones

    No, it's not.
  13. pepe

    Lua TFS 1.0 Modal Window

    creaturescripts: return true is missing... function onModalWindow(cid, modalWindowId, buttonId, choiceId) if modalWindowId == 1 then print("You've selected the choice #" .. choiceId) end return true end talkaction: is ModalWindow() and ModalWindow:addChoice(id, text)...
  14. pepe

    Time to make Otland shine again?

    @Flatlander what features do you mean? the ones that u asked on github? I've added 'em to my server, but I don't know if i should make a pull request...
  15. pepe

    Compiling doSendChannelDialog

    OFFTOPIC: this could be easily made with the new tfs... with Modal table and onModalWindow creaturescript... function onSay(cid, words, param) local player = Player(cid) local modal = Modal(1, "Modal Title", "Make your choice:") modal.addChoice(1, "I want to live")...
  16. pepe

    TwifySoft

    Great news :D
  17. pepe

    Lua not working rebirth description

    the only thing i did was fix your login script that was fuck*d up. Does something appears when you look somebody?
  18. pepe

    Lua not working rebirth description

    Please... INDENT your code properly... Try this: local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) accountManager = "Account Manager" managerCounter...
  19. pepe

    Lua math.random (1.9) almost always returns me 7, this may be a bug?

    http://codepad.org/PCFMak41 from 1000000 iterations, 110945...
  20. pepe

    Client preference (OTClient vs. Latest)

    I would put a message telling my players that they'll have a better experience by using OTC, but they could still play the server with the Tibia client.
Back
Top