• 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. Unknown Soldier

    C++ Parcel without writing city name

    // Copyright 2022 The Forgotten Server Authors. All rights reserved. // Use of this source code is governed by the GPL-2.0 License that can be found in the LICENSE file. #include "otpch.h" #include "mailbox.h" #include "game.h" #include "iologindata.h" extern Game g_game; ReturnValue...
  2. Unknown Soldier

    Mapper dla zabawy [10.98+]

    Typie, dopiero co postawiles serwer, najpewniej cudzy z jakimiś własnymi wkładkami, rozreklamowales i bez zadnego info zamknąłeś. Szkoda czasu na Ciebie, sam nic nie umiesz zrobić, zerujesz na pracy innych, a nawet nie umiesz z tego skorzystać.
  3. Unknown Soldier

    Scammer highsanta aka idler aka matszur

    So you paid for something to release it for free? Are you brain damaged?
  4. Unknown Soldier

    Ascecion Project [Beta Development]

    Bot to heal, target, cast spells, to hunt, so why even play a game in the first place? 😒
  5. Unknown Soldier

    [TFS 1.4.2] Boss Reward Bag - onDeath (with DamageMap)

    Maybe try something like this: function creatureevent.onDeath(creature, corpse, killer, mostDamageKiller, unjustified, mostDamageUnjustified) if getCreatureName(creature):lower() == creatureName then local creaturePos = getCreaturePosition(creature) local processedPlayers =...
  6. Unknown Soldier

    [TFS 1.4.2] Boss Reward Bag - onDeath (with DamageMap)

    Wait. I don't get it. You wanted to have the possibility to choose the town, where the reward will go, so I made the talkaction that will allow it. How else you wanted to achieve it? Do you understand the script at all? If in game you type /setrewardtown thais your rewards will be sent to Thais...
  7. Unknown Soldier

    Uncover Map Talkaction

    It will spam the message Checked position (not teleporting): and just proceed to the next coordinates
  8. Unknown Soldier

    [TFS 1.4.2] Boss Reward Bag - onDeath (with DamageMap)

    The only solution i can think of for now is creating a talkaction, so the player can decide which town should be the town where the rewards will be sent. rewardTownStorage = 66667 function onSay(player, words, param) if param == "" then...
  9. Unknown Soldier

    [TFS 1.4.2] Boss Reward Bag - onDeath (with DamageMap)

    Change whole code from line: if player:addItemEx(bag) ~= RETURNVALUE_NOERROR then till the end of the script, or just paste whole script: local creatureName = "orshabaal" local timeCounterStorage = 66666 local delayTimer = 30 --in seconds local bagId = 1993 local mailboxPos = Position(1993...
  10. Unknown Soldier

    [TFS 1.4.2] Boss Reward Bag - onDeath (with DamageMap)

    Well, okay, then maybe local depot = player:getDepotChest(depot id) depot:addItemEx(bag) Cannot test it now though, seems too simple
  11. Unknown Soldier

    [TFS 1.4.2] Boss Reward Bag - onDeath (with DamageMap)

    Try changing: doSetItemText(label.uid, player:getName()) To doSetItemText(label.uid, player:getName() .. "\n" .. player:getTown()) Or doSetItemText(label.uid, player:getName() .. "\nThais") And no, I won't do version without a parcel as it cannot be done in lua in TFS 1.4.2, as far as I know.
  12. Unknown Soldier

    [TFS 1.4.2] Boss Reward Bag - onDeath (with DamageMap)

    Strange... Well, try placing the parcel directly into the players' inbox, like @Fjorda said, or just make sure, that the mailboxPos has the exact coordinates of mailbox on the map (Item id 2593 for example). For me, adding the bag directly info the mailbox didn't work, and I wish it would...
  13. Unknown Soldier

    [TFS 1.4.2] Boss Reward Bag - onDeath (with DamageMap)

    Hello everyone, I want to share a script that gives reward bag to all the players participating in fight against boss. The reward will be sent automatically as soon as boss dies, to players' inventory, or when no cap or space, will be sent to players' mailbox. It features: any player who has...
  14. Unknown Soldier

    TFS 1.X+ Training weapons used directly from players store inbox

    Thanks to you I was able to improve the script and basically solve ths issue that I had starting this thread :) local skills = { --shields [41860] = {id=SKILL_SHIELD,voc=4}, -- KNIGHT [41861] = {id=SKILL_SHIELD,voc=4}, -- KNIGHT [41862] = {id=SKILL_SHIELD,voc=4}, -- KNIGHT...
  15. Unknown Soldier

    TFS 1.X+ Training weapons used directly from players store inbox

    You rebuilded it completely, respect. Using from store inbox is working, but in my case the training now looks like this: Kinda funny ^^ It is rather a walkaround than a solution, you might try something like this to remove the wepons from store inbox: use with -> dustbin if...
  16. Unknown Soldier

    The Unknown | Mapping Thread

    Some of the recent works [297] [298] [299] [300] [301]
  17. Unknown Soldier

    TFS 1.X+ Training weapons used directly from players store inbox

    Hello, After few failed trials, I give up. I would want to change the exercise training script so that it would allow players to use the weapons BOTH from their store inbox right away, without a need of moving them into inventory first, and preserve the ability to use them from the backpack in...
  18. Unknown Soldier

    TFS 1.4.2 onMoveItem does not react?

    Haha, what the heck? 😅 Now, just pasting your script - it doesn't work for me, unless I remove -11 from brackets, then I cannot move the item on the ground, but I CAN take it into inventory (bag/backpack). Today I spent like 2 hours to find a way to prevent items from being taken into...
  19. Unknown Soldier

    TFS 1.4.2 onMoveItem does not react?

    One more thing you can try to do is writing the same or similar code in player.lua directly. function Player:onMoveItem(item, count, fromPosition, toPosition, fromCylinder, toCylinder) if item:getActionId() == 6000 then return RETURNVALUE_NOTPOSSIBLE end...
  20. Unknown Soldier

    TFS 1.4.2 onMoveItem does not react?

    And how your method onMoveItem in player.lua looks like? Can you paste it?
Back
Top