• 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!

Recent content by Xikini

  1. Xikini

    RevScripts upgrade weapon 1.5

    You gutted the function updateStatBonus(playerId) and expected it to give you buffs?
  2. Xikini

    Lua Xikini's Free Scripting Service TFS 1.4.2

    If no boss spawned, lever cannot be activated. If players enter the boss chamber, and do not interact with the boss for 5 minutes, they will be kicked out. When boss dies, a portal appears to exit. If players refuse to leave, they will automatically be kicked out 10 seconds before the next Boss...
  3. Xikini

    Lua Shovel

    local groundIds = {354, 355} -- pick usable ground local lava = { Position(2023, 2078, 11), Position(2024, 2078, 11), Position(2028, 2075, 11) } local pick_whitelist = {2016, 2017, 2018, 2019, 2020, 2021, 2025, 2026, 2027, 2028, 2029, 2030} -- itemIds that will be ignored, and pick...
  4. Xikini

    RevScripts Modal window using aid?

    uhh, can you try a super simple test script, like.. below, to see that it works? Cuz I'm not seeing anything obvious in the code that would account for that error local test = Action() function test.onUse(player, item, fromPosition, target, toPosition, isHotkey) print("actionId trigger is...
  5. Xikini

    RevScripts Modal window using aid?

    adding on, there is a slightly outdated wiki page for revscripts, which shows 99% of the stuff you can register https://github.com/otland/forgottenserver/wiki/Revscriptsys Can you add a print into the first line of onUse, to verify it's being triggered?
  6. Xikini

    Lua Xikini's Free Scripting Service TFS 1.4.2

    The original idea as far as I can remember, was to have hidden evolutions for weapons for the players to find. It was a very rpg server. But yes, it's built that only a single transformation can take place, per item.
  7. Xikini

    Lua Xikini's Free Scripting Service TFS 1.4.2

    correct.
  8. Xikini

    Lua Xikini's Free Scripting Service TFS 1.4.2

    That would be tough, since each weapon can evolve in multiple different ways, depending on the monsters you are hunting.. mm alright, I think got something cooking. Untested. Put into same file. local talkaction = TalkAction("!checkEvolution") function talkaction.onSay(player, words, param...
  9. Xikini

    Lua GlobalStorage dont save

    show current script you're testing it with
  10. Xikini

    Lua Xikini's Free Scripting Service TFS 1.4.2

    change (x2 in script) if attacker:isMonster() then to if attacker and attacker:isMonster() then or just go and recopy script from above. I edited it with the fix.
  11. Xikini

    Lua Xikini's Free Scripting Service TFS 1.4.2

    The onHealthChange is only registered to players (via onLogin), so creature in this instance can only ever be the player. xP
  12. Xikini

    Lua GlobalStorage dont save

    You actually have to use the function for it to work. lol anywhere you are using Game.getStorageValue or Game.setStorageValue you'd have to replace with getGlobalStorageValue or setGlobalStorageValue
  13. Xikini

    Lua Xikini's Free Scripting Service TFS 1.4.2

    Good point. Should do onManaChange as well, since there is magical attacks, and mana shield. lol Technically yes.. But what monsters are casting healing onto players?
  14. Xikini

    Lua Xikini's Free Scripting Service TFS 1.4.2

    Put it into data/scripts local critical_monsters = { ["dragon"] = {multiplier = 2.0, chance = 5}, -- 2x dmg, 5% chance ["make sure the monster names are lowercase"] = {multiplier = 2.0, chance = 5} } local healthChange = CreatureEvent("onHealthChange_Critical_Monsters") function...
  15. Xikini

    Lua Xikini's Free Scripting Service TFS 1.4.2

    Can you be more specific?
Back
Top