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

    TFS 1.X+ [Forge System] Item Synthesis

    This can be easily done with modal windows. As Mike said you can look up for similar systems and adapt one that suits your specs.
  2. Westwol

    Can't add prey rerolls

    Line 275: elseif offer.type == GameStore.OfferTypes.OFFER_TYPE_PREYBONUS then GameStore.processPreyBonusReroll(nil, offer.count) The problem is above, you are passing the first argument as nil and your function expects player userdata, that's why you got that error, it should be this way...
  3. Westwol

    Can't add prey rerolls

    Post your data/modules/scripts/gamestore/init.lua
  4. Westwol

    Azleh/Shaqz is a scammer!

    I don't really know any of you guys, but Ezzz and I have a friend in common which has been working with him for more than 4 years and counting without any complaints also I've seen he's one of the most qualified developers out here. Just to clarify, my position remains neutral.
  5. Westwol

    Allow regeneration in save zone

    Delete these three consecutive lines: https://github.com/otland/forgottenserver/blob/master/src/condition.cpp#L745
  6. Westwol

    Put all your ricardo memes here

    https://www.facebook.com/watch/?v=2232786863627394
  7. Westwol

    Custom PT Shared

    self:getLeader() returns nil somehow Test: function Party:onShareExperience(exp) local extraExperienceMultiplier = 1.00 -- Members size bonus local partyMembersCount = #self:getMembers() if (partyMembersCount > 0 and partyMembersCount < 6) then extraExperienceMultiplier =...
  8. Westwol

    Custom PT Shared

    Post your party.lua
  9. Westwol

    Custom PT Shared

    Thx, literally I was searching on Google whether the operator existed, lol.
  10. Westwol

    Custom PT Shared

    Not tested. function Party:onShareExperience(exp) local extraExperienceMultiplier = 1.00 -- Guild to compare local leaderGuild = self:getLeader():getGuild():getId() -- Members size bonus local partyMembersCount = #self:getMembers() if (partyMembersCount > 0 and...
  11. Westwol

    Question about mounts/addons

    Considering: static constexpr int32_t PSTRG_RESERVED_RANGE_START = 10000000; static constexpr int32_t PSTRG_MOUNTS_RANGE_START = (PSTRG_RESERVED_RANGE_START + 2001); mountId - storage key 1 - 10002001 2- 10002002 and so on..
  12. Westwol

    Question about mounts/addons

    That information is stored in reserved storage keys. otland/forgottenserver (https://github.com/otland/forgottenserver/blob/master/src/const.h#L559) Storage data is stored in the database, when the server opens all the storage data is loaded, and from there, SQL queries are no longer required...
  13. Westwol

    How to cancel a started event?

    You might be able to figure out yourself with this quick explanation on how events work. -- Declaring variable that will store eventId local eventId = nil -- Example function local function example() print("Event has been called") end -- Calling event -- This line stores eventId on the...
  14. Westwol

    How to cancel a started event?

    Each event gets an ID once they are declared, so you have to point to the ID in order to stop the event. This script will only kick the player that uses the lever, though. local function kickbois(cid) local player = Player(cid) if player then...
  15. Westwol

    Skull Random In monsters

    How many arguments are you passing through the function? Post the line. Anyways you could always do: skull = uniform_random(0, 5);
  16. Westwol

    Help - OVH Hosting

    You do not need to set up firewall rules at all. Please double check the "ip" you have in config.lua.
  17. Westwol

    OTClient and Cast System

    This would be awesome. If this is possible, I think server load will be significantly less than using regular cast systems out there.
  18. Westwol

    C++ Making loot analyzer

    I would start off with opcodes, I ain't very familiar with OTC tho. This thread might be helpful, it's all client sided. https://otland.net/threads/otclient-mod-loot-stats.259075/
  19. Westwol

    Skull Random In monsters

    Replace this line: otland/forgottenserver (https://github.com/otland/forgottenserver/blob/ba0be848318923edd28f8f8bbfd39ed0c405c34f/src/monster.cpp#L50) with this: skull = uniform_random(SKULL_NONE, SKULL_ORANGE); Not tested.
  20. Westwol

    Scripter [TFS 1.x ONLY] Scripting Service

    Thanks for the feedback.
Back
Top