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

  1. N

    Lua Extra Loot script not dropping second item.

    bump 1602422248 The script has been edited but it still not working correctly, it will drop the first item in the list but not the second. local extra_loot = { {hasName = "dragon", items = { {id = 26448, count = 1, chance = 100000, storage = 1, aid = 1}, -- 100% chance...
  2. N

    Lua Extra Loot script not dropping second item.

    @Ralumbi Unfortunately that did not work. It doesn't seem to like the container value
  3. N

    CreatureEvent [TFS 1.1] Extra loot system

    I did it in the drop portion by changing it up a bit. Try a format like this: if math.random(0, 100000) <= t.items[i].chance then -- Common Recipe Formula local rndm = math.random(50501, 50506) local rndm1 = math.random(101, 110) local rndm2 =...
  4. N

    Lua Extra Loot script not dropping second item.

    Hey folks, So my extra loot script won't drop the second item in the table. Here is my code: local extra_loot = { {hasName = "odibrand", items = { {id = 26448, count = 10, chance = 100000, storage = 1, aid = 1}, -- 100% chance }}, {items = { {id =...
  5. N

    Lua Adding values to loot drops

    Now im getting this error. It doesnt like the setAttribute value 1599703094 Here is the entirety of the code. local extra_loot = { {hasName = "dragon", items = { {id = 26384, count = 1, chance = 100000}, -- 100% chance }}, {items = { {id = 26382...
  6. N

    Lua Adding values to loot drops

    Hey folks, Im trying to add additional values to select items via a global looting system. Having an issue trying to get it to work properly though. Here is what I have: function Container:addExtraLoot(c, t) if t.hasName then local cn = c:getName():lower() local cm =...
  7. N

    Lua Global Loot tfs 1.3

    That was actually perfect thank you! Now i just need to figure out how to get it to add actionids and custom text lol.
  8. N

    Lua Global Loot tfs 1.3

    Hey folks, I'm trying to build a script that will set a global loot function to all creatures in the game. I am also trying to set a custom loot setting for boss monsters. As for the global loot this is what I have. Registered in creaturescripts function onKill(cid, target, lastHit) local...
  9. N

    Lua Item returning unexpected value

    It jsut started working for some reason... not entirely sure how. Didn't change a thing lol.
  10. N

    Lua Item returning unexpected value

    @Xikini i tried adding the print messages but Im not getting any values printed to the server
  11. N

    Lua Item returning unexpected value

    Okay thats what I thought as well. At work at work right now so I will try that when I get home.
  12. N

    Lua Item returning unexpected value

    Hey folks, I'm trying to get my recipe system working in crafting, but for some reason, some recipes are coming up as "You have already learned this". Although it does not appear in my Crafting MW. TFS 1.3 Here is what I have: function Player.isProfession(self, storage) if...
  13. N

    [TFS 1.x] Crafting System

    So I'm testing the recipes, but I am having a problem. No errors in the console log, but when I click on the recipe it tells me I've already learned the recipe. When I check on the anvil, it doesnt appear in the window. Thoughts?
Back
Top