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

    ERROR EVENT TIME

    check the values of those parameters in doPlayerAddItem before calling if something is not null. rewardId is an index in table ? If ure using tfs 1.3 use player:addItem(itemId[, count = 1[, canDropOnMap = true[, subType = 1[, slot = CONST_SLOT_WHEREEVER]]]]) rather than old compat method.
  2. J

    TFS 1.X+ ModalWindow not executing functions

    I uncommented what u said there was compilation error, because of that i found out that function void ProtocolGame::parseModalWindowAnswer(NetworkMessage& msg) was commented out so i uncommented the function recompiled and now its working. Thanks for the help mate ;) I really appreciate it
  3. J

    TFS 1.X+ ModalWindow not executing functions

    Yes i get the modal window buttons options everything as u just nothing happened. function onWaypointsModal(player, modalWindowId, buttonId, choiceId) wont be executed tried to print text at first line of the function and nothing. Today i also tried pulling the latest 772 branch, uncommented...
  4. J

    TFS 1.X+ only 1 vocation pass in teleport tfs 1.5

    check the vocation id. player:getVocation():getId() should return a player voc id. So add check if player voc id matches the voc id of druid or elder druid
  5. J

    Error revert Lever and Create MagicWall TFS 1.3+

    Try to teleport a player/monster from the position before creating item. Use Tile(doorPosition):getTopCreature() to get creature/player and teleport it one SQM away (doorPosition with ypos + 1 for example) something like this if carrotItem then creature =...
  6. J

    Import obd (object builder files) into 1098 object builder

    Additional flags, im exporting stuff as image from 1098 and importing manually to 76 as image settings flags, animation etc. Maybe look into that
  7. J

    TFS 1.X+ ModalWindow not executing functions

    Not working either ;( i tried several examples of modals. You're using same nekiro's 772 downgrade right ?
  8. J

    TFS 1.X+ ModalWindow not executing functions

    alright thanks im using otclient so its fine. 1651064912 just did the same. But its not working for me 😭 void Game::playerAnswerModalWindow(uint32_t playerId, uint32_t modalWindowId, uint8_t button, uint8_t choice) { Player* player = getPlayerByID(playerId); if (!player) {...
  9. J

    TFS 1.X+ ModalWindow not executing functions

    weird :D the commented part is just the offline training and the for loop is there that's executing modal window. @Nekiro please could u check the problem ?
  10. J

    TFS 1.X+ ModalWindow not executing functions

    void Game::playerAnswerModalWindow(uint32_t playerId, uint32_t modalWindowId, uint8_t button, uint8_t choice) { Player* player = getPlayerByID(playerId); if (!player) { return; } if (!player->hasModalWindowOpen(modalWindowId)) { return; }...
  11. J

    TFS 1.X+ ModalWindow not executing functions

    I was checking the sources and there are parts of code that contains modal window and event for creaturescript. creatureevent.cpp Also function void CreatureEvent::executeModalWindow(Player* player, uint32_t modalWindowId, uint8_t buttonId, uint8_t choiceId) Modal functions also in game.cpp...
  12. J

    TFS 1.X+ ModalWindow not executing functions

    Glad im not alone :D
  13. J

    TFS 1.X+ ModalWindow not executing functions

    Hi, Im using Nekiro's latest tfs 7.72 downgrade and im trying out modal windows. I have ModalWindowHelper i tried several code examples that i could find here but it just wont works. Modal window will show up but when i click on the button nothing happens. Tested with otclientv8 and otclient...
  14. J

    RevScripts Server wont load lua scripts with revscript spell (Nekiro's TFS 1.5 7.72 downgrade)

    Hi im trying to use LUA to make spells and monsters instead of XML. Monsters are working fine but i cant figure out how to run the spell. So i tried the default example from repo in data/scripts/spells/example.lua But server wont start it just get stuck for few seconds on Loading lua scripts...
  15. J

    TFS 1.X+ Most of GM commands not Working (TFS 1.5 Nekiro's 772 Downgrade)

    Ok its working i had to also set account type to 6 instead of 5. I was looking to a player table for problem. My bad. Thanks @0x666
  16. J

    TFS 1.X+ Most of GM commands not Working (TFS 1.5 Nekiro's 772 Downgrade)

    Hi, just want to ask if someone is experiencing similar ingame behaviour. I have GM character with group_id set to 6, game shows player as God but the commands that actually works are: goto, up, down, /a Others commands are simply not working - no output to game chat or server console. I want...
  17. J

    TFS 1.X+ TFS 1.3 Item Description (abilities) not showing

    I pulled your item-abilities-updated branch and its working. I had to add premdays and lastday to accounts/players table because i wasnt able to login bcs of missing columns. 12:54 You see a magic sword (Atk:48, Def:35 +3, sword fighting +5, critical hit chance +50%, protection physical +10%...
  18. J

    TFS 1.X+ TFS 1.3 Item Description (abilities) not showing

    Ye thought of that. Ill try it, hopefully today
Back
Top