• 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. K

    Error with npc system. ShopModule.onBuy

    This is the error msg that comes in console. [Warning - Markwin] NpcSystem: ShopModule.onBuy - Item not found on shopItems list I find this error msg confusing, since the npc doesn't sell anything as you can see from these scripts. <?xml version="1.0" encoding="UTF-8"?> <npc...
  2. K

    Windows PHP mySQL updating playstorage from gesior aac

    Hello everyone. I've made an offline trading system for players on my ot. The thing is basically: You 'give' the item to a NPC The NPC update the database with the new item Other players can now buy the item from my website Money is taken from their bank account and the seller recieve the...
  3. K

    Solved Enchanted weapons decays after one hit.

    When i enchant a weapon it just decays back to a normal weapon after one hit. I've searched around and haven't gotten any answers to what's wrong. Here is my script. local config = { [2429] = {2429, 7778, 7749, 7859, 7874}, --Barbarian Axe [7406] = {7406, 7766, 7747, 7857, 7872}...
  4. K

    Monsters field spells doesn't decay

    Hello again. I have a problem, when monster casts say fire bombs or fire fields, the fires doesn't decay. I have been searching for the last two days for a solution for my problem. But I just can't find any. Is there anywhere i can choose which field itemid the monsters shall use? I use...
  5. K

    [LUA] StorageValue question.

    function onLogin(cid) -- Register events. registerCreatureEvent(cid, "PlayerDeath") registerCreatureEvent(cid, "killarena") -- First Items if getPlayerStorageValue(cid,30001) == -1 then if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 5 then doPlayerAddItem(cid,2190,1)...
  6. K

    [LUA]isCreature(cid). Return monsters or npcs?

    Is it possible for this function to return only if there is a monster or a npc, like isMonster and isNpc does? I use TFS 0.2.8 and i can't seem to get it to work. Thank you :)
  7. K

    Quest rewards trouble

    Hello. I have a problem, when people finnish quests they dont get any rewards. All chests have Action ID 2000 and different unique IDs. All quests are listed in action.lua and are scripted. But instead of giving players rewards when they use the chest, the chest opens instead of giving them...
  8. K

    [HELP] Error with a NPC script

    local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid)...
Back
Top