• Vote in November Mapping Competition to select a winner!
  • 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!

Recent content by Evil Hero

  1. Evil Hero

    Lua Death Channel with diferent colors

    show us your current channels.xml and the lua script, or we can't help you.
  2. Evil Hero

    Lua Death Channel with diferent colors

    change all sendChannelMessage(9, ....... ) to sendChannelMessage(10, ..... )
  3. Evil Hero

    Lua Creature Script

    Just place all of this into a lua file into data/monster/ local creatureevent = CreatureEvent("xxx") -- *1 function creatureevent.onDeath(creature, corpse, killer, mostDamageKiller, lastHitUnjustified, mostDamageUnjustified) Game.createMonster("MonsterName", creature:getPosition(), false...
  4. Evil Hero

    TFS 1.X+ [TFS 1.3] Errors on console when opening server. I'm quite lost!

    Your file data/lib/compat/compat.lua seems to be messed up, you have to take the one from github master repo.
  5. Evil Hero

    TFS 1.x Ingame Account Manager [Searching Testers] UPDATED

    I havn't tried adding it at the latest master, but the code base should still be working just fine, if you encounter problems then let me know and I'll give this a full review.
  6. Evil Hero

    Lua [Lua Error] At login (TFS 0.4)

    It's not a classic error you get in a normal file, so I was pretty sure that it had to be a mod file causing this.
  7. Evil Hero

    Tibian - An OTServ List for 2020

    What I would really like to see is a sort by ping in ms option, so you directly see to which server you have the best connection.
  8. Evil Hero

    Lua [Lua Error] At login (TFS 0.4)

    It seems to be a mod file causing this, check the files in your mod folder.
  9. Evil Hero

    TFS 1.X+ onSpawn for one monster

    The spawning for lua monsters works exactly the same as for xml monsters, what he meant was, that you just have to edit the monsters.xml file for your rme and include the name of the monster there. That way you can place it normaly in rme and it'll be spawned just correct in your server.
  10. Evil Hero

    TFS 1.X+ onSpawn for one monster

    You don't, because that's how you create Monsters completly in lua instead of xml.
  11. Evil Hero

    TFS 1.X+ onSpawn for one monster

    onSpawn is an Event, so it cannot be bound to a single monster as a CreatureEvent. However you could use onCreatureAppear in this case which does exactly what you want. Take a look at data/monsters/lua/#example.lua to see what I mean.
  12. Evil Hero

    trying revscript doesnt work?

    Well you are missing to asign the onStatsChange to the creatureevent method creatureevent.onStatsChange = function(...) that's the step you're missing
  13. Evil Hero

    Lua All players that do damage gain storage (Function onKill)

    You can use onDeath(cid, corpse, deathList) deathList will give you exactly what you search for.
  14. Evil Hero

    TFS 1.X+ OnChangeOutfit + table, help!

    local login = CreatureEvent("CheckOutfit") login.onLogin = function(player) if player:hasOutfit(lookType, 3) then -- he has the outfit end return true end login:register()
  15. Evil Hero

    Lua [TFS 1.x] How to get player in onAddItem event?

    You can use Player:onItemMoved(item, count, fromPosition, toPosition, fromCylinder, toCylinder) or Player:onMoveItem(item, count, fromPosition, toPosition, fromCylinder, toCylinder) from Events.
Top