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

    MYSQL, Storages and Values in Alfanumeric

    Hello OtLand Community!! I was questioning myself what would happen if I use letters as storages and values in players_storage. Then, I made a NPC and set storage as "rex" and value as 1. During my interaction with that NPC I could find out that the storage "rex" and value "1" were...
  2. V

    Lua Outfits and exhaustion.set

    Hello there everybody! I'm trying to make my Santa Claus NPC work with exhaustion.set(), the NPC work just perfect. My problem is that it also use the same storage to christmas outfit. When I do manually set this storage to 1, player can use christimas outfit, if this value is greater...
  3. V

    Solved Problem with website showing StorageValue "value" as Array

    I'm trying to show on website the current time a player have defeated a monster using by referrence the "value" of a StorageValue. But when I do the query, page displays only "Array". I can't number each iten of the list beacause it should be 'endless', as the player would fight the...
  4. V

    Lua Help with "getAccountVipTime(accountName)" function.

    I'm using this function on my actual server ( The Forgotten Server - Version 0.2.13 (Mystic Spirit). 9.51), I had it in a 8.51 working just perfect, but it just won't work on my actual server. I'm trying to adapt the script that goes on global.lua This is the main function: function...
  5. V

    Lua Free Blessing Stone Problem.

    I'm using the script of Blessing Stone from this thread http://otland.net/f16/free-blessing-stone-165759/. It wasn't working at all for bad formatation at "7" part. I did change it, now it loads properly, but when I do click the item I set up to give you the blessing console returns this...
  6. V

    Lua Some questions about Quests.xml

    There's any way of making line break on Questlogs ? <quest name="Disgracing Their Forstress!!" startstorageid="6001" startstoragevalue="1"> <mission name="Help Liutenant Muriel in his duty!!" storageid="6001" startvalue="1" endvalue="51"> <missionstate id="51" description="You have...
  7. V

    Lua Bad Script Structure

    I'm making a quest where you kill X creature for Y times. As you kill more creatures your storage value is going up. When you have killed enough creatures you come back to npc and it will reward you. The whole thing works quite well, but when I complete the quest and kill random creatures...
  8. V

    Lua CreatureScript Interface "deathList" problem.

    I'm using The Forgotten Server - Version 0.2.13 (Mystic Spirit). and I set up to test a script of quest. It's a quest of the type you kill X creature and return for reward. NPC loads fine, everything seems to load fine. When I get quest, and I start to kill the creature I see this error in...
  9. V

    Windows Webpage for The Forgotten Server - Version 0.2.13 (Mystic Spirit). 9.54

    I'm using , and I would like to know what are the webpages system compatible with this version? I would like to say I'm using php version 3.4.5 wich seems to be problematic with an old Gesior AAC I used by late 2009 with Tibia layout (it was for a 8.50/54 distro), when I load the page I have a...
  10. V

    Windows Help with /ban parameters 9.54.

    Hello everyone! I'm using [08/08/2012 20:37:44] The Forgotten Server - Version 0.2.13 (Mystic Spirit).] [08/08/2012 20:37:44] Compilied on Jul 8 2012 02:31:50 for arch x86] 9.54 And I'm testing the /ban command and I cannot figure it out how it works. When I type /ban name I...
  11. V

    Lua Help to make npc interact with DB

    Hello there, I'm working on a banker npc that interact with player's 'balance' on table accounts in distro "9.31 - The Forgotten Server - Version 0.2.11.2 (Mystic Spirit) - R4". But I got no clue on how to do that, first of all, is that possible without adding any new function? There is a...
  12. V

    Lua SOLVED Banker won't work =S

    Hello there! I'm having a strange issue with my bank npc, I'm using this script: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local Topic, count, transfer = {}, {}, {} function...
  13. V

    Lua SOLVED on How to: Make a NPC script that send random messages on hi / hello?

    I have a lot o sailors on docks and them all say always the same. I want to make a script with random speechs when someone say hi, I may put a lot of speechs on this script so I could have a small database of speechs to all sailors in question, it doesn't matter if they repeat speechs...
  14. V

    Lua Help With: When Vip Ends Players Send to Town X

    Alright, I want a script that everytime a character logs in, server checks "onLogin" if Account is Vip, and it had ended, then it teleports player to town X and set it as its new town. First, the script I'm using: function onLogin(cid) local freeTownId = 5 local templePos = {x = 834, y...
  15. V

    Lua Need Help "End Premium, player sent to town id X" Dont work

    Ok, I found this script: function onLogin(cid) local templePos = {x = 834, y = 185, z = 6} local freetownid = 5 if isPremium(cid) == FALSE and getPlayerStorageValue(cid, 1234) == TRUE then setPlayerStorageValue(cid, 1234, -1) doTeleportThing(cid, templePos) doPlayerSetTown(cid...
  16. V

    Lua NPC Girlfriend/Boyfriend Could it be done?

    Could it be done? The basically idea it's to make a NPC that will set same storage value to all people. And there, randomically, it will choose one of it's players and set storage 2. When NPC talks to all people that have not, storage set to 2 it only say a normal message. Then when...
  17. V

    Solved What to do to make quest chests not moveable?

    I'm having problems with players moving quest chests. What could I do to prevent it, like in global Tibia? Waiting for suggestions. I think it will help a lot and not only me. =)
  18. V

    Action Door+Item to add VIP Compatible with Azi's VIP Sytem for Account

    FIXED 2 SMALL BUGS: 1 - Door now say when you're not VIP 2 - Item dislay correctly the days of VIP you're receiving. (Not more automatic, so you'll need to change it from 30 to days you'll use) Okay, to all people using this system (...
  19. V

    Solved Help to make item wich add vip days and a VIP door using Account VIP System

    Okay, I see many people trying but none having succes, in making a door/tile and item wich adds vip days using the vip system http://otland.net/f163/best-vip-system-functions-vip-account-30286/ made by Azi. I could finish it...
  20. V

    Solved Help to fix script of /addvip of Azi - The best vip system (vip for account)

    The tittle is self-explain. When I use this script: function onSay(cid, words, param) if(words == "/vip")then accountName = getPlayerAccount(cid) if(isVip(accountName))then time = getAccountVipTime(accountName) if(time > 0)then...
Back
Top