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

    TFS 1.X+ Get a value by showTextDialog

    Does anyone know how to tell me the correct way to get the text value typed by the player inside the showTextDialog? I know that the function is structured in the following way: showTextDialog(id, text, canWrite, length), but I couldn't do it at all. local function processValue(cid) local...
  2. aqubjukr

    Lua [TFS 1.3] Being able to "select" a player through a talkaction param.

    I have the following problem: When using a talkaction with param, it always returns "nil" if the player is offline. (If the player is online everything goes well) Example: If I type: "/player Maker" (when he is offline), it will be printed on the console: nil. I was wondering if there is a...
  3. aqubjukr

    Lua [TFS1.3] Time Guardian Spell

    I have a script from the boss time guardian (to change the phases), and I wanted to know what the reason for the error would be, since the "index" was set in top as a random number between 1 and 2. If you have a possible way to fix it, I would be grateful. Console: Lua Script Error: [Spell...
  4. aqubjukr

    PHP Get item name in gesior

    Would anyone have the feature of showing the name of the item when leaving the mouse over it in the gesior? I was trying to find some post / github but I wasn't successful. If anyone has a base for management, I would appreciate it. (I was trying to adapt myacc, but I couldn't).
  5. aqubjukr

    Lua [TFS 1.3] Teleport to a new floor

    I'm trying to get all monsters / players to be teleported to a floor below. (the current z =12 and I want them to be teleported to 11) local function changeGroundDown() local monsters = Game.getSpectators(Position(31724, 31556, 11), false, false, 20, 20, 20, 20) for _, monster in...
  6. aqubjukr

    TFS 1.X+ Monster attack damages other monsters

    I was wondering if can put in a spell, that a specific creature take damage with the players Ps: The boss doesn't need to "go attack the monster", I just want the magic given to the player to also remove the monster's health local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE...
  7. aqubjukr

    C++ [TFS 1.3] Add a storagevalue in weapons.cpp

    I'm trying to set a storagevalue to cancel the removecount for as long as the player has storage, but i didn't got. Interval to be modifie: case WEAPONACTION_REMOVECOUNT: if (g_config.getBoolean(ConfigManager::REMOVE_WEAPON_AMMO)) { Weapon::decrementItemCount(item)...
  8. aqubjukr

    TFS 1.X+ Don't waste ammunition in a sqm

    I'm trying to create an area where the player doesn't lose his ammo when attacking. Facilitating the training of paladins. Someone could help with a script that already has this function and can I adapt to achieve this. Ideas on how to make the script are welcome. :)
  9. aqubjukr

    TFS 1.X+ Boss Room

    Anyone know how to limit the spawn of only one creature? In my script spawns the same quantity of players in lever's SQMs. if item.itemid == 1945 and item.actionid == 50456 then for x = 33520, 33524 do local playerTile = Tile(Position(x, 31465, 15)):getTopCreature() if playerTile and...
  10. aqubjukr

    TFS 1.X+ Wrap Bug

    When using the "wrap" or "unwrap" system a problem occurs. The item unwarp correctly. When I wrap again, the item gets an AID equal ID of decoration kit. When try to unwrap the item again, it doesn't work and remove the description of the packed item. Anyone knows here i need change to solve...
  11. aqubjukr

    TFS 1.X+ Block push

    I want to block push if player if player has a storage, on sources. I tried many times, but still, i didn't get. Storage: 9362905 == 1 GAME.CPP (playerMoveCreature): void Game::playerMoveCreature(Player* player, Creature* movingCreature, const Position& movingCreatureOrigPos, Tile* toTile)...
  12. aqubjukr

    TFS 1.X+ Remove all "specified" monseter in an area

    I want to remove all creatures (demon berserk) in an area where global storage has been achieved. Code who i was workin: if Game.getStorageValue(GlobalStorage.Custom.Demons) >= 8 then local monsters = Game.getSpectators(Position(23392, 14273, 14), false, false, 20, 20, 20, 20) for _...
  13. aqubjukr

    Lua Lady tenebris ultimate

    Can someone help me make the monster, when using the spell, stand still until it casts the spell (2.5 sec). Monster position = 32912, 31599, 14 local vocation = {1, 2, 3, 4, 5, 6, 7, 8, 10} area = { {0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0...
  14. aqubjukr

    TFS 1.X+ Boosted Creature System

    Anyone have a script who changes the experience and loot of a monster randomly? I've tried to adapt many scripts but i didn't got. I'm using tfs 1.3.
  15. aqubjukr

    TFS 1.X+ Talkaction !serverinfo

    I'm using a global server (tfs 1.3) and I would like to know if there is how to adapt the script to quote the current stage (ML and SKILL). Example: If the player has a certain skill between 3 ~ 10 appears 2x and if between 11 ~ 30 appears 1x. Serverinfo.lua: local serverInfo =...
  16. aqubjukr

    TFS 1.X+ Skill Stages Error

    I'm trying to implement a skill stages system on my server. It even works, however, when I use any spell with a player, the following error appears on my console: TFS1.3 Lua Script Error: [Event Interface] data/events/scripts/player.lua:Player@onGainSkillTries...
  17. aqubjukr

    [TFS1.3] Stage Skills Error

    I'm trying to implement a skill stages system on my server. It even works, however, when I use any spell with a player, the following error appears on my console: Lua Script Error: [Event Interface] data/events/scripts/player.lua:Player@onGainSkillTries data/events/scripts/player.lua:896: bad...
  18. aqubjukr

    TFS 1.X+ Exeta res

    Hello, I was wondering if you can remove the flag of a monster temporarily? In this case, change the runonhealth flag to 0 for 6 seconds and then return to normal? (I'm trying to make exeta res the same as global, but I'm not getting it at all) OPTION: If n to change runonhealth, another...
Back
Top