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

    Multi Conditions?

    You have to make sure you change all the conditions for it to work Take a look here where i highlight the different conditions And that is basicly the only thing i changed from the script you provided :)
  2. Mummrik

    Multi Conditions?

    What about this script? local poisonbow = 5108 local firebow = 5109 local conditionpoison = createConditionObject(CONDITION_POISON) addDamageCondition(conditionpoison, 10, 2000, -15) setConditionParam(conditionpoison, CONDITION_PARAM_DELAYED, true) local conditionfire =...
  3. Mummrik

    Wesnoth

    I did also find it on steam and did test it out, it reminds me abit of heroes of might and magic III. But more barebone, i did have some problems when trying out the multiplayer/online aspect of the game i never got in to a game. But sure is a fun game when you just want to play a relaxing game :)
  4. Mummrik

    [8.1] EldinWorld [XML]

    You attatche it on otland, thats the best way. Then you wont need to reupload it when the filehosting site time limit expires ;)
  5. Mummrik

    Lua, creaturescripts - Broadcast when player got storage

    well reseting the storage would make it possible for the player to do the quest again? Anyway would be better to set the storage to 101 when the msg has been broadcasted setPlayerStorageValue (cid, storage, value+1)
  6. Mummrik

    Lua Remove conditions

    Im glad you figured it out ;) but im still not sure what you are trying to do, since whats the point in adding 10 axe skill and then remove it straight away. I might not see the whole script, but whit the code you provided thats what it looks like to me.
  7. Mummrik

    Lua Remove conditions

    I dont really understand what you want to be done whit the script but if you change setConditionParam(condition, CONDITION_PARAM_SKILL_AXE, 10) for setConditionParam(condition, CONDITION_PARAM_SKILL_AXE, -10) that would remove 10 axe skills i think edit: not sure if this is the way to remove...
  8. Mummrik

    TFS 0.X Problem on upgrade system

    This sure is more advanced than im used to, but i think the "self:" is pointing towards the specified item that we want to modify (like item.uid). Then again im learning by trial and error at this point, so dont quote me on that . :p But im not even testing the system on my own, wich i should do...
  9. Mummrik

    TFS 0.X Problem on upgrade system

    Test this one, not sure if it still will bug though since im not to familiar whit this gsub function --PERFECT UPGRADE SYSTEM UpgradeHandler = { nameLv = { [1] = "rare", [2] = "perfect", [3] = "godlike" }, levels = { [1] = {50, false, false}...
  10. Mummrik

    Lua Item with own title

    inside items.xml add this to the item, if you dont already have it <attribute key="showduration" value="1"/>
  11. Mummrik

    TFS 0.X Problem on upgrade system

    I was afraid this would happen when i did Edit the script, since i did remove som gsub function that would be the part where it sort the added names and replace/remove it. I’ll take a look when i got time edit: I did some changes to the script test whit a new item to see if it work correctly...
  12. Mummrik

    TFS 0.X Put different chance rate in this script

    Something like this should do it local config = { bosses = { --["monster_name"] = {name = "boss", chance = 100} ["Dragon Lord"] = {name = "Demondras", chance = 15}, ["Juggernaut"] = {name = "Massacre", chance = 3} }, } function onSpawn(cid) if isMonster(cid)...
  13. Mummrik

    Lua Stop NPC from moving

    I believe there is one ported to 7.72 you have to search or have a look in this section Distributions
  14. Mummrik

    Lua Stop NPC from moving

    Avesta is not the same as theforgottenserver (tfs), i think avesta is based of the orginal otserv 0.6.3 dont quote me on that though. Well since you did have the function to make creatures not move, all you need to do is to find a solution to find the Npc's id. Im not to familiar whit Avesta or...
  15. Mummrik

    Lua Stop NPC from moving

    What tfs version are you using? edit: what if you change it to getNpcCid() instead of getNpcId() seems like 1.x+ servers use that instead
  16. Mummrik

    Lua Stop NPC from moving

    what if you try to add this when npc add focus doCreatureSetNoMove(getNpcId(), true) -- Stop npc movement and when you release focus you use this doCreatureSetNoMove(getNpcId(), false) -- Start npc movement Note: this could be used on older tfs versions (0.x) not sure if it work on newer...
  17. Mummrik

    TFS 0.X NPC sell someitens for gold some items for another coin

    You are missing some parts in your script. i could see you are missing local Topic = {} Study the script i did provide for you and try to copy paste and im sure you would get your script to work, and also get a better understanding how to make npc scripts :)
  18. Mummrik

    Lua Movements script with Event

    What if you update the script alittle? local runningEvents = {} local function gainHpAndMana(cid) local player = Player(cid) if not player then return end player:addMana(100) player:addHealth(150) runningEvents[cid] = addEvent(gainHpAndMana, 2000, player:getId())...
  19. Mummrik

    TFS 0.X Change item name

    You have to either live whit that, or redo the system to take care of the article instead of the weapon name. Edit: Im not sure if the weapon name will change correct when you level up the item to next level you have to test that aswell
  20. Mummrik

    TFS 0.X NPC sell someitens for gold some items for another coin

    I did try to implement that aswell but might have done something wrong, ill take a look in default.lua what line im missing post your default.lua
Back
Top