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

    I use the OTClient and modal windows work perfectly with my 0.3.6pl1 server. Even if I use the changed questlog feature I get no problems. The problem arises only when I have both features in my server.
  2. 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...
  3. 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 =...
  4. S

    Feature Simple passive monsters

    Hm, I dont understand how to install the patch. Could someone explain to me again but simplified? Do I need the source files?
  5. 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...
  6. S

    Solved Remove an due to an event

    ok, done it works fine! thank you For all who are interested: function reCreate() tnt = getTileItemById(toPosition, 289) if tnt.itemid == 289 then doRemoveItem(tnt.uid,1) end return TRUE end addEvent(reCreate,1 *1000)
  7. S

    Solved Remove an due to an event

    Hm, when I use addEvent(doRemoveItem, 1 * 1000, getTileItemById(toPosition, 289).uid) instead of addEvent(reCreate, 1 * 1000) it causes the same error (item not found)
  8. S

    Solved Remove an due to an event

    Ok the problem is still not solved. function onUse(cid, item, fromPosition, itemEx, toPosition) function tileChecker(pos) local myTable = {} if (type(pos) == 'table') then for i = 1, 5 do pos.stackpos = i local thisID = getThingFromPos(pos).itemid if thisID > 1 then...
  9. S

    Solved Remove an due to an event

    Solved by using the code of this thread: https://otland.net/threads/doremoveitem.37853/
  10. S

    Solved Remove an due to an event

    It caused this error: [14/08/2015 15:41:19] [Error - Action Interface] [14/08/2015 15:41:19] In a timer event called from: [14/08/2015 15:41:19] data/actions/scripts/dynamite.lua:onUse [14/08/2015 15:41:19] Description: [14/08/2015 15:41:19] (luaDoRemoveItem) Item not found actually its the...
  11. 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)...
  12. S

    Lua Convince Creatues does not consider enough room

    Why i can not spawn a creature while the player is surrounded by magic fields?
  13. 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 =...
  14. S

    Solved Fire Bomb, Help!

    But the monster does no damage excluding this function. Will the player get 100% of xp? And if not, is there a way to do?
  15. S

    Solved Fire Bomb, Help!

    Alright but this creature is summoned. Will the Master (Player) still get XP?
  16. 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...
  17. S

    Solved Fire Bomb, Help!

    Thanks a lot Limos! function calculatedmg(monster, damage, pos) if isWalkable(pos, false, true, true) and isCreature(monster) then if doCreatureAddHealth(monster, (-damage)) ~= LUA_ERROR then doSendAnimatedText(pos, ""..damage.."", 144) return true end return true...
Back
Top