• 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

    AAC Gesior whoisonline limits.

    I was thinking of this aswell but wasnt sure if it was possible to check if the value is equal or greater. And then got side tracked by something else, so i have to apologize to OP.
  2. Mummrik

    AAC Gesior whoisonline limits.

    you did add the other code aswell? That is just where you can change what level to show, so if you just added that line it wont work you have to replace the whole code whit the one i provided
  3. Mummrik

    Compiled server don't have GUI menu

    I did search about your problem and this is what i did find. Bad compile?
  4. Mummrik

    AAC Gesior whoisonline limits.

    Test this one, it should list all players above level 50. You can change the levels to be shown by editing "$showPlayerAboveLvl = 50;" at line 10 <?php if(!defined('INITIALIZED')) exit; $cache_sec = 1; $info = array( 0 => array($config['server']['location'], date("d/m/Y")), 1 =>...
  5. Mummrik

    Lua onLook, how to get target cid?

    well since you only want the text to show if there is a player then you should check if its a player first and then make the calculations because if its not a player then there is no reason to calculate/assign values, and it will throw the error since the functions require a player uid/cid. Im...
  6. Mummrik

    Lua onLook, how to get target cid?

    I did test this script and it did work. function onLook(cid, thing, position, lookDistance) local target = getTopCreature(position).uid if isPlayer(target) then local info = "" local health = (getCreatureHealth(target) / 1000) local maxhealth =...
  7. Mummrik

    Lua onLook, how to get target cid?

    you have to change the getCreatureHealth(target) to getCreatureHealth(stats.target) and all the other aswell. so the functions know where the variable/table is located example: local stats = { info = "", target = (getTopCreature(position).uid), health =...
  8. Mummrik

    Lua onLook, how to get target cid?

    add this to the script and then change "thing.uid" to "target" local target = getTopCreature(position) Edit: test this script function onLook(cid, thing, position, lookDistance) local target = getTopCreature(position) if isPlayer(target) then local info = "" local health...
  9. Mummrik

    Problem with Script and engine

    Ok, you are using TFS 0.3.6 this is an onKill event, notice its named kill and not onKill in the xml file <event type="kill" name="svargrondArena" event="script" value="svargrondArena.lua"/> Edit: After alot of searching for the error, it seems like there was an mod named "guild_wars" that...
  10. Mummrik

    Problem with Script and engine

    What TFS version are you using? Take a look in your data/creaturescripts/creaturescripts.xml and see what onKill event might be the reason for this. Also use the code tag when posting error's or code next time [code]<yourcodehere>[./code] Remove the "." to use the code tags
  11. Mummrik

    TFS 0.X Vial doesn't handle subtype

    I would say the liquid system is some what bugged on the old TFS, I had some problems whit vials on 0.3.6, mainly whit npc's selling vials and other containers whit different fluids. I did manage to get it to work whit some source edits. Do you mind share more specific what your problem is, i...
  12. Mummrik

    [0.3.6] lua function doCreatureAddCurse(cid, minDmgValue, maxTicks, dmgDelay)

    This is my method to replicate the curse system, since i didnt find it on my server. defalut useage = doCreatureAddCurse(cid, 1, 36, 4000) that means you cant use lower values than the ones i show, unless you modify the function. but it is however possible to use higher values minDmgValue =...
  13. Mummrik

    TFS 1.X+ Items in houses disapear

    Alright, did you get it to work?
  14. Mummrik

    TFS 1.X+ Items in houses disapear

    Do you save your server when you close it? Else use /save on a god character before you close your server, since the houses wont save if you just close the server.
  15. Mummrik

    Hidden equips

    I would have done something like this if(!$player->isHidden()) { $itemsList = $player->getItems(); $main_content .= '<td align=center><table with=100% style="border: solid 1px #888888;" CELLSPACING="1"><TR>'; $list =...
  16. Mummrik

    Solved NPCs buy from EQ Slots bug. (clost it)

    If you still want to use 0.3.6 or if someone else want to update doPlayerRemoveItem(cid, itemid, count[, subtype[, ignoreEquipped = false]]) to include the ignoreEquipped You have to edit the source and recompile luascript.cpp change int32_t LuaScriptInterface::luaDoPlayerRemoveItem(lua_State*...
  17. Mummrik

    Hidden equips

    you put the code inside this if(!$player->isHidden()) { *code to display equipment* } Edit: Updated from "!$player->getHideChar()" to "!$player->isHidden()"
  18. Mummrik

    Hidden equips

    Seems like your characters.php is missing some code? it should contain something like this $itemsList = $player->getItems(); $main_content .= '<td align=center><table with=100% style="border: solid 1px #888888;" CELLSPACING="1"><TR>'; $list =...
  19. Mummrik

    display houses gesior acc

    What do you mean can you show me an example?
  20. Mummrik

    Solved transfer bank npc

    well the script i provided is for TFS 0.3.6 and you use TFS 1.x so thats why it doesnt work you have to use your old script but you need to change one part so i can see if the function playerExists() work
Back
Top