• 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!

Search results

  1. S

    Compiling Modal Window & Quest Feature dont work at the same time!

    Hello, I'm pretty new in editing the source files, so ive just tried it. I tried to build these two features into my source files but the modal windows feature doesnt work! However, if the features are alone, it works. As I said, I do not have much idea about it, but it would be nice if...
  2. S

    Lua Yellow skull on using an energy wall rune

    Hello everyone, I always get a yellow skull, when I create an energy wall (with the rune) and walk over it. The player recieves the message "you los X hitpoints due to an attack by PLAYERNAME" as well. So, the player gets damage by himself, which is not normal I guess. local combat =...
  3. S

    Changing the amount of experience needed for each level

    Hey, Acutally im not familiar with compiling and scripting in c++ but im really interested in changing the amount of experience needed for each level. I would like to have a server where you need e.g 1000 EXP for each level. Is it possible? Thank you I hope this is the right forum to post such...
  4. S

    Solved Remove an due to an event

    Hey! It's just a item that creates an item (id:289) if the ground tile is walkable. After this it shall be removed but nothing happens. function onUse(cid, item, fromPosition, itemEx, toPosition) if isWalkable(toPosition, false, true, true) then doCreateItem(289, 1, toPosition)...
  5. S

    Lua Convince Creatues does not consider enough room

    Hey, i created a simple spell to summon a monster: function onCastSpell(cid, var) local summons = getCreatureSummons(cid) if(table.maxn(summons) < 2) then bomb_health = ((getCreatureMaxHealth(cid) / 100) * 60 ) position = getCreaturePosition(cid) creature =...
  6. S

    Lua OnStatsChange overflows

    Hey, i made this script for an special monster. It's just extra damage onstatschange. function onStatsChange(cid, attacker, type, combat, value) if isPlayer(attacker) then if type == STATSCHANGE_HEALTHLOSS then if combat == COMBAT_PHYSICALDAMAGE then local value = value + 100...
  7. S

    Solved Fire Bomb, Help!

    Hey, i created a monster called Fire Bomb that executes this script. But when i spawn several Fire Bombs i get this error message: [23/04/2015 12:03:56] [Error - CreatureScript Interface] [23/04/2015 12:03:56] In a timer event called from: [23/04/2015 12:03:56]...
  8. S

    Modal Window

    Hello, I am looking for a way to insert a modalwindow in my server, but it does not know about this feature (0.3.6pl1). Which version do I need at least to be able to use this function and where can i get it? Many thanks!
  9. S

    Problem with "getItemAttribute"!!

    Hello, I'vea problem and found no solution in the forum. This line of my code causes error messages. function onEquip(cid, item, slot) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "This item has " .. getItemAttribute(item.uid,"armor") .. " armor.") return true end Error...
  10. S

    Function OnStatsChange Problem

    Hey, When I'm using this script, the player gains no damage and the script does not give the player mana! Why does it now work? function onStatsChange(cid, attacker, type, combat, value) if type == STATSCHANGE_HEALTHLOSS then if getPlayerStorageValue(cid, 849343) > 0 then...
  11. S

    Problem with onEquip/onDeEquip Item

    Hey Otland, I've a short problem. Can u tell me why it doesnt work? ;) (Using The Forgotten Server 0.3.5) In movements.xml <movevent event="Equip" itemid="2213" slot="ring" function="onEquipItem" script="elitespellbooks.lua" /> <movevent event="DeEquip" itemid="2215" slot="ring"...
  12. S

    Small Beginner Problem

    Hey. I'm using The Forgotten Server 0.3.5 and have no idea where the folder "source" can be found. In the old 7.6 servers, the "source" were still present in the normal server folder. I'm sure that this is a simple question, but i can not solve it :$ Hope you help me, Sytoxian ;)
  13. S

    Need a Quest (like Annihilator and/or Arena)

    HI all, im working on a quest which is similar to the annihilator quest. a player walks on a field with uid=40025. he gets teleported to x=2067, y=1021, z=10. at the same time, a npc called casimir is teleported from x=2066, y=1018, z=9 to x=2066, y=1018, z=10. now the player and casimir are in...
Back
Top