• 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

    display houses gesior acc

    at line 41 insert this $house = $SQL->query( 'SELECT `houses`.`name`, `houses`.`town_id`, `houses`.`paid` FROM `houses` WHERE `houses`.`owner` = '.$player->getId().';' )->fetch(); if (!empty($house)) { $bgcolor = (($number_of_rows++ % 2 == 1) ...
  2. Mummrik

    Solved transfer bank npc

    This one was made/generated for 0.3.6 -- File generated by Npc Converter v0.5 local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local Topic = {} local Price = {} local Transfer = {} local Price = {} local Amount...
  3. Mummrik

    About heal spell couple thinks

    To remove the msg to default chat using your method, change the onCastSpell() to this function onCastSpell(cid, var) doCombat(cid, combat, var) return false end That healing value text seems to be coded inside the source, atleast i cant understand how that show up in this script. I mean...
  4. Mummrik

    Lua Soul ring, dont work [tfs 0.3.6]

    So you got it to work, well it should print msg's to your server consol, you must miss something then. Did you set "local debugScript = true -- true/false, just for testing" to true? well keep an eye on the script and test it well to make sure it work 100%, it might bug if player got the...
  5. Mummrik

    Lua Soul ring, dont work [tfs 0.3.6]

    replace for this in movements.xml <movevent type="Equip" itemid="2125" slot="necklace" event="script" value="souls.lua"/> <movevent type="DeEquip" itemid="2125" slot="necklace" event="script" value="souls.lua"/> then restart the server and then you put the amulet in the necklace slot Edit...
  6. Mummrik

    Lua Soul ring, dont work [tfs 0.3.6]

    Test this one instead -- Soul ring script by Mummrik @otland.net local delay = 5 -- in seconds local soul = 1 -- amount of souls each tick local soulRing = {} local function addSoul(cid) if not isPlayer(cid) then return true end if isPremium(cid) and getPlayerSoul(cid) <...
  7. Mummrik

    About spells.xml functions

    Alright! Im not sure if the addMana() counts towards the magic level training aswell, i mean so the spell will give 2x mana spent instead of 1x as intended. You have to test it to make sure it works 100% as intended (im not so familiar in spells)
  8. Mummrik

    About spells.xml functions

    change (this means the player need to have 100% mana to cast the spell) manapercent="100" to mana="1" Then use this lua script function onCastSpell(creature, variant) local amount = creature:getMana() creature:addManaSpent(amount) creature:addMana(-amount)...
  9. Mummrik

    About spells.xml functions

    First you have to change function="Power Down" to something like this script="custom/power_down.lua" Then you have to make a lua script inside the custom folder named power_down.lua inside that file you make your spell and that error should be gone. Since there is no "Power Down" function in the...
  10. Mummrik

    Private server

    You can find server distributions here Distributions And tutorials how to setup a server here Basic
  11. Mummrik

    Rune targeting crosshair

    Are the kaspar letswar client the same tibia version as the .pic file you try to replace? Im no expert in client editing so i dont rly have a clue what the error is about but it seems strange for a pic file Edit: I just saw you did try to edit the .pic file for the client. You should test...
  12. Mummrik

    Rune targeting crosshair

    I've never tested this pic editor, but im sure it would do the job. Elime's Pic Editor
  13. Mummrik

    Lua Magic wall problem

    for i = 1, #illegal do if isInRange(p, illegal[i][1], illegal[i][2]) then doPlayerSendCancel(cid, 'You cannot use this rune here.') return false end end This loop is missing some position from a table that doesnt exist "illegal". Im sure this was...
  14. Mummrik

    [TFS] Classic source's 0.2 - 0.3.7-pre

    I did come across this pack on github sometime ago, and would like to share it whit you all. It does contain sources of all the classic TFS versions from 0.2 to 0.3.7-pre This pack contains the following TFS sources 0.2pl11 -> 0.2pl23 0.2.1 0.2.2 0.2.3 0.2.4 0.2.5 0.2.7 0.2.8 0.2.9 0.2.10...
  15. Mummrik

    Save map to a non-binary format

    One method, atleast for older map versions, is to open the map whit an old simones mapeditor and then save the map in .otx format.
  16. Mummrik

    Lua Gesior ACC temple position

    You can just change the position of the rook sample character inside the database. Since all the newly created characters does copy that character, exept for some colums that will be edited like the character name and what account it belong to etc... Edit: I didnt read your post properly, you...
  17. Mummrik

    Lua doubt about reward for killing monters not npc

    I dont know if TFS 1.0 default storage value is -1 if so then you could add this to the code aswell if player:getStorageValue(Storage.MonsterCounter) < 0 or player:getStorageValue(Storage.MonsterCounter) == nil then player:setStorageValue(Storage.MonsterCounter, 0) end
  18. Mummrik

    Difference between "build" "compile"

    Im not an expert in this subject, but i think you just have to compile TFS. If you are unsure what to do just build the project, it doesn't matter if you already made changes to the code. Trial and error is a good way of learning how things work :)
  19. Mummrik

    Difference between "build" "compile"

    Here you can read some about it Build or compile You can always build it the first time and then you compile it when you make changes to the code. it seems like the difference isnt that big between the two options, but compiling is quicker.
  20. Mummrik

    Lua NPC travel by storage not working

    I like that you explain what was wrong and hopefully teach people how to code/script :) Edit: I should follow your lead :D
Back
Top