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

    Protod3 - Tool to extract .proto files from the Tibia client

    Hello! I had some trouble generating .proto files from the Tibia client using sysdream/Protod. I ended up making some changes myself to make it work and thought I'd share those here. I was also able to get the running time down from ~20 seconds to 0.4 seconds on my machine which is nice 😄 My...
  2. kokokoko

    Gaming Thronar Screenshots!

    Share your screenshots from Thronar here! After what feels like around 50 deaths, level 36: Apprentice->Veteran Weapon forger took me around 400 iron ores and a LOT of patience. Veteran->Master? :cool:
  3. kokokoko

    Players pos goes 0 when they die

    When a player in my server dies, his x, y and z positions goes '0'. Does anyone know how or why this happens? I've tried fixing it by doing this: function onDeath(cid, corpse, lastHitKiller, mostDamageKiller) if isPlayer(cid) then db.executeQuery("UPDATE `players` SET `posx` = 1000...
  4. kokokoko

    doItemSetAttribute()

    Could anyone post all attributes that you can use with this function? I'm particulary interested in the "write text in a book" attribute, since it doesn't seem to work with the parameter "text", and dosetItemText() seems to redirect to doItemSetAttribute(uid, "text", var). Thanks in...
  5. kokokoko

    getItemAttribute()

    It doesn't seem to be working for me. It returns nil when I use it :huh: getItemAttribute(itemEx.uid, "armor") Am I doing something wrong, or is there something wrong with the function itself? I use TFS 0.3.6 Thanks in advance!
  6. kokokoko

    Full HP and MP when level up

    --------------------FOR TFS 0.3.5------------------- ---If you want it for 0.3.4, check the post by JBD on page 2--- When you get a level advance, your HP and MP gets full. It's very simple, but still cool :p creaturescripts/scripts, name the file levelUp.lua Paste this: function...
  7. kokokoko

    CreatureEvent Players quitting because of early death

    !NOT TESTED! Note: This only works on servers that has doPlayerSetLossPercent(). The latest TFS(and some older versions of it) has it. I have seen this in alot of servers i have played. Someone logs in, plays some and thinks the OT is ok. A minute later they die, and go "#¤¤%(¤%( I QUITZ!"...
  8. kokokoko

    Resetting the XAMPP password?

    A few months ago, a friend of mine set up a database. Now, he wants to start making a server, but he can't remember his password for 127.0.0.1/phpmyadmin. Now to my question: Is there some way to reset that password? Thanks in advance, //Kokokoko
  9. kokokoko

    Making players gain exp by killing other players?

    I want players to get EXP by killing other players, but they don't. What could be wrong? config.lua: worldType = "pvp-enforced" experienceByKillingPlayers = "yes" Do i need to do anything else? I use TFS 0.3.4 Thanks in advance, //Kokokoko
  10. kokokoko

    Hotkeys?

    I have 2 tibia clients, 8.40 and 8.42 When i start the 8.42 client, the hotkeys on 8.40 gets reset. I wonder where the hotkeys are saved, and if i can prevent this from happening. Thanks in advance, //Kokokoko
  11. kokokoko

    Opening a secret passage using 2 torches

    I want it to do this: When you click on a wall torch with either actionid 2501 or 2502, it checks if the transformed torch will be the same as the other one(they have to match after being clicked). If they do match, open the path(transform the secret wall to a door). Errors: 0 Problem: The...
  12. kokokoko

    onRemoveItem()?

    I'm trying to make my quest chests unmoveable(How the heck can all these nub ots have this when i can't figure out how to do it? :() There's no errors in the console. This is what i got: function onRemoveItem(item, tile, pos) oldPos = getThingPos(item.uid) if item.actionid > 0 then...
  13. kokokoko

    Teleport players in area

    What i want it to do: When the creature Tormented Soul is killed, teleport all players in the area specified to the coordinates specified. I get no errors in the console. Problem: The player(s) standing in that area does not get teleported. local config = { bossname = "Tormented...
  14. kokokoko

    Creating a teleport for X seconds

    I tried creating a teleport that should disappear after 5 seconds, but i get this error: Lua Script Error: [TalkAction Interface] in a timer event called from: data/talkactions/scripts/teleport_town.lua:onSay luaDoRemoveItem(). Item not found Here's my script: function onSay(cid...
  15. kokokoko

    Get a storage value in C++?

    I was browsing the C++ codes, and i found this: http://otland.net/f35/level-ranks-23463/ I'm wondering how to check a storage value of a player in C++ (Like getPlayerStorageValue()) So, instead of checking the level of the player i want it to check a storage value. Thanks in...
  16. kokokoko

    Kill vampire, start addEvent

    This doesn't work, have no idea why(gheheh forgot to write this lol) creaturescripts.xml <event type="login" name="login" script="login.lua" /> <event type="kill" name="kill1" script="kill1.lua"/> kill1.lua function onKill(cid, target) pos = getPlayerPosition(cid) if...
  17. kokokoko

    It's Warm Here!

    Response to Aburrios; "It's Cold Here!" random screenies from the TLW map :p NEW: Thanks to ImageShack for Free Image Hosting Please comment :thumbup:
  18. kokokoko

    Weird bug..

    Problem's bolded. The npc wont reply when i say 'yes' after finishing the first quest and asking for quest again. Looks like my quest2_start = 1 is bugged, but can a variable be bugged? :confused: Code: local keywordHandler = KeywordHandler:new() local npcHandler =...
  19. kokokoko

    Mountain + Waterfall = ?

    Haven't been mapping for a while ;p Edit; Auups, didn't see the "latest work" thread :(
Back
Top