• 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

    My friend can log in, i cant(on my own server)

    Did your public ip change during the night? since you said it was all fine a day ago. Do you use no-ip or something like that? send your public ip to your friend once again and also compare ip set in config.lua, and change it if thay dont match
  2. Mummrik

    My friend can log in, i cant(on my own server)

    Is you ISP Comhem? that is a problem i have encounter while on Comhem, i always have to connect as a localhost on all my network stuff if the server is located in my own network also make sure your ports are open in your router (7171)
  3. Mummrik

    OTClient Vertical Progress Bar

    I think he meant that you do this change function UIVerticalProgressBar:setPercent(percent) self:setValue(percent, 0, 100) end to function UIVerticalProgressBar:setPercent(percent) self:setValue(percent, 100, 0) end its a quick hack but its better to redo the functions to calculate it...
  4. Mummrik

    NPC Reward for each vocation

    Nope that is a lua function, you should just restart the server. You might be able to reload the lua libs during runtime, test the /reload command
  5. Mummrik

    NPC Reward for each vocation

    you could add isCrusader() to your server add this, just remember to change 4 and 8 to the vocation ids you use for you crusader vocation data\lib\031-vocations.lua function isCrusader(cid) return isInArray({4, 8}, getPlayerVocation(cid)) end
  6. Mummrik

    Door receive a message help

    Depends on what script you used, the first one will always print the msg. The other one will check if a storageID is lower then 1 if that is the case then it will print the msg else nothing will happen. You should change it to the storage id you get when you loot the quest chest in the room...
  7. Mummrik

    Door receive a message help

    If you can enter the door whit the regular door script, you could use a movement script. This example is quite bad since it would print the text all the time. but you can always modify it to only print the text unless the player looted the chest in the room data\movements\scripts\TextDoor.lua...
  8. Mummrik

    Lua OTX2 runes npc

    Well i didn't make a full script just an example how to implement in to your script. I did a sample for you where you should be able to buy sudden death runes local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler)...
  9. Mummrik

    Lua OTX2 runes npc

    Do you have a sample script that you can post? You could use this function when you hand the item to the player doPlayerAddItem(cid, itemid, count) Im not sure if that will add the charges to the rune. If you use the npc system you posted you could do something like this if msgcontains(msg...
  10. Mummrik

    tfs 1.2 script request

    Then you want to use a actionid on the tile you want this to work on, this will work for any item you remove from the tile. Unless you make a check for a special itemid in the if statement. moveitemexample.lua function onRemoveItem(item, tile, position) local tilePosition =...
  11. Mummrik

    tfs 1.2 script request

    It should be possible, but instead of counting tiles you should just compare the distance. Where the center tile should be the items position(fromPosition)or player position if you throw it from your backpack. and the target position should just be the position you throw the item to (toPosition)...
  12. Mummrik

    Fluid Destroying wall script

    FYI you could just type Game.sendMagicEffect({x = 32170, y = 32146, z = 11}, 3) Game.removeItemOnMap({x = 32170, y = 32146, z = 11}, 1270) like this instead Game.sendMagicEffect(toPosition, 3) Game.removeItemOnMap(toPosition, 1270)
  13. Mummrik

    Fluid Destroying wall script

    What does your fluids.lua script look like? Something like this should work if you make a new simple script. Just remember to put the actionid on the wall object you want to destory to 1337 or change it to something else. But you might want to include it inside the fluids.lua script file so it...
  14. Mummrik

    [Help] Position on storage

    at line 33 change Player.savePosition(self, storage) -- < --- command to save position to player:savePosition(storage) -- < --- command to save position atleast thats how i understand it by the example code how to load the position
  15. Mummrik

    A problem with npc

    local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local Topic = {} -- Stores all the topics in a table local config = { minLevel = 350, pos = {x = 1007, y = 1160, z = 7}, } function...
  16. Mummrik

    A problem with npc

    You can add "topics" to the npc script and if you dont have the right topic id then the npc would ignore the msg here is an example how i use to do it, whit some comments to explain it roughly. The rest is up to you to design you npc, you can add as many topic ids as you like I didnt remove...
  17. Mummrik

    Droploot and Twist of Fate

    Oh i didnt even account for that, im sure you wont drop anything if you are red or black skull and got the twist of fate blessing. but its a quick and easy fix change this line if player:hasBlessing(TWIST_OF_FATE) then to this and you should drop your items whit red/black skull if...
  18. Mummrik

    Droploot and Twist of Fate

    You should be able to do it if you check if the player has twist of fate blessing and if the killer is a player, and then just return true whitout adding items to the body. give me some time and ill try to come up whit some code... hopefully :p like the script check if the player has the...
  19. Mummrik

    Droploot and Twist of Fate

    Thats is how its suposed to work, Twist of fate is just to keep your regular blessings when you die to pvp. If you dont have any regular blessings then there is nothing that prevents the player from droping items.
  20. Mummrik

    7.6 Help to remember map

    Thats the bug i was referring to :D You are correct on how it was done, its so long time ago i forgot the right technique :p
Back
Top