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

    Lua Killboss - add storage.

    It just need to add an if statement in a loop in login.lua in creaturescripts. for i = 91009, 91013 do if getPlayerStorageValue(cid, i) == -1 then setPlayerStorageValue(cid, i, 999) end end I also changed the bosse's storage to make it more comfortable. The range from 91009 to 91013. Do the...
  2. J

    RevScripts onKill

    Add "return true" in both "if" statements inside the loop
  3. J

    TFS 1.X+ problem in walls tfs 1.5 nekiro 7.72

    I don't see the whole file. Where the piece came from?
  4. J

    TFS 1.X+ problem in walls tfs 1.5 nekiro 7.72

    Try to change this line if (player->getPosition().y + 1 == tile->getPosition().y) For this one if ((player->getPosition().y + 1 || player->getPosition().y - 1) == tile->getPosition().y) Compile, test it and let us know if it helps
  5. J

    RevScripts 2nd Level System (no rebirth)

    You used the old function's declaration: function mining.onUse(cid, item, fromPosition, itemEx, toPosition) This is a new one: function onUse(player, item, fromPosition, target, toPosition, isHotkey) So cid = player and itemEx = target Change for the new one and it should work.
  6. J

    RevScripts 2nd Level System (no rebirth)

    I'm too fast and you used string.format in the bad way, now I can see. if thing:isCreature() then if thing:isPlayer() then description = string.format("%s\nLevel: [%d]", description, thing:getStorageValue(100000)) end end 1660248660 And now I...
  7. J

    RevScripts 2nd Level System (no rebirth)

    I do not know how to search items in backpacks or at a ground coz I use 0.3.6 and you 1.3. There's better functions to make it work. So I'm out. As for the second, you use a local variable in another script and you get an error. Try this: if thing:isCreature() then if...
  8. J

    RevScripts 2nd Level System (no rebirth)

    Without source edit not, addExperience function always will be adding you exp to the main voc.
  9. J

    TFS 1.X+ stopEvent wont execute

    This tries to stop the table stopEvent(firstEvent) Change it everywhere for this stopEvent(firstEvent[player:getId()]) firstEvent[player:getId()] = nil In the first statement and the second too
  10. J

    Import obd (object builder files) into 1098 object builder

    They have additional attributes. The way to solve it is compile files to 10.98 version and then export as obd files and import to yours
  11. J

    TFS 0.X spell that use health to cure mana

    Change the function: doCreatureAddHealth(cid, -(currentMaxHp * (config.removeHealth / 100))) For: doCreatureAddHealth(cid, -(currentMaxHp * (config.removeHealth / 100)), 255, 0, true)
  12. J

    C++ Map Tracker 8.60

    You must have the same items.otb what the tracked map come from. If you get that result, forget about the map. They have made some changes in items' id.
  13. J

    TFS 1.X+ Wrong Item id found

    There can't be many chests with the same UID.... One only...
  14. J

    How can i broadcast message if someone kills monster with name X

    If it is registered in the monster, it should send the message although any statements. Remove all lines except broadcastMessage. Already set the message to something as you said "dick is dead" etc without these functions inside.
  15. J

    AddEvent issue

    In the function doSendDistanceShoot you miss a parameter. Should be getThingPos(cid) instead getThingPos
  16. J

    outfit w itemku

    Działa jak należy, klikasz i zapisuje aktualny outfit w storage i po ponownym kliknieciu przywraca Ci poprzedni outfit. local config = { outfitStor = { lookType = 39696, lookHead = 39697, lookBody = 39698, lookLegs = 39699, lookFeet = 39700...
  17. J

    TFS 0.X Add onPrepareDeath in player class

    Hello homies, I need your advices and pointments. I use 0.3.6 8.6 source, but can be for any. GOAL: Add a prepareDeath method to source like onDeath/death is. Why?: I have a script in creaturescripts, but it acts very weird. Not like it will suppouse to be. Question: Is it possible to declare...
  18. J

    🇺🇦 Sprite Set - Donate or run fundraiser, get these sprites.

    O yeah how much gold will be good (I know it depends on everyones budget)
  19. J

    🇺🇦 Sprite Set - Donate or run fundraiser, get these sprites.

    Yeah this is an amazing and beautiful gesture. I'm from Poland and the situation is so tragic. If you accept a bank transaction in PLN, can donate.
  20. J

    Lua [TFS 0.X] Reputation System

    A command to check your rep points: <talkaction words="/rep" event="buffer" value="doPlayerSendTextMessage(cid, 19, 'Rep points: '..getPlayerStorageValue(cid, 144712)..'.')"/> A simple way to reduces rep points - if the player is being killed with white, red or black skull then points won't be...
Back
Top