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

    Compiling YATC Compile

    Have been trying to compile YATC with CodeBlocks. Well I can rebuild it and compile it. But when I try to log in to my server i get this error message. (Works with a normal Tibia client or YATC already built from website so nothing wrong with the server.) Error Message: There was a...
  2. H

    Feature Random Attributes

    INFORMATION This code will give you the option to make a attribute randomized each time a item is created. IMPLEMENTATION Find this in Item.cpp: setDefaultDuration(); if(it.isFluidContainer() || it.isSplash()) setFluidType(amount); else if(it.stackable && amount) count = amount...
  3. H

    Cast a spell on hit

    So I have been working with a attribute for items that will give you a certen % of chance to cast a spell. It look like this in the items.xml: <item id="2380" article="a" name="hand axe"> <attribute key="weight" value="1800" /> <attribute key="spellOnHit" value="Light" chance="50" />...
  4. H

    Free Sprites

    Here is some sprites I edited. Feel free to use in your projects or change something on them. If anyone else want to give/make free sprites you can post them here.
  5. H

    Random Attributes

    So I have been trying to make so that every item that is created can have a random armor,attack,... value. What I tried with was to do that when you read the attributes from the xml file it become random: else if(tmpStrValue == "armor") { if(readXMLInteger(itemAttributesNode, "random_min"...
  6. H

    Problem with pointers

    I get error on this code: void Player::drainHealth(Creature* attacker, CombatType_t combatType, int32_t damage) { Creature::drainHealth(attacker, combatType, damage); sendStats(); char buffer[150]; //HEAL WHEN HITTED int32_t rnd = random_range(0, 100); if(rnd <=...
  7. H

    Help with race combat problem

    Okey so I have added new sex to the server so there is: Male Female Orc Orc(female) Elf Elf(female) They work great. But the problem is when I want to add so other races dont need to turn on the secure thing to attack another races. But if they are in the same race they need to turn it on. -...
  8. H

    [Dat Editor] Stacking

    When I open the gold coin the DAT Editor they have: X Div: 4 Y Div: 2 Wich will result in 8 images. But what if i want 100 images? What shall X Div and Y Div have for values? (I have already treid with X Div: 1, Y Div 100 and Y Div 1, X Div 100 and X Div 50, Y Div 2) When I try it in the...
  9. H

    House Problem

    I can't remove some houses in the map editor. I right click on it but there is no (Select House) option. And ingame I can't walk there it says "you are not invited". Here is a picture: I have already tried with removeing Houses.xml and Housestore.xml but it wount help. How to remove them...
  10. H

    Compiling G++ error

    When I try to compile I get a error message like this: Title on error: "mingw32-c++.exe" Swe: "Det finns ingen disk i enheten. Sätt in en disk i enhet D:." Eng: "There is no disc in the unit. Please insert disc in unit D:." What todo now?
  11. H

    [Request] New item options

    Could anyone make these options to items: - Increased EXP/AttackSpeed rate - Increased Max HP, MP - Increased HP, MP Regeneration - Increased Cap - Increase the loot chance. -- So its easyer to loot stuff from monsters. - Reduce the damage take by <value> - On attack/attacked there is % chance...
  12. H

    [Request] Lua Functions

    I have a request on some Lua Functions. 1: Increase/DecreaseItemAttackDamage(uid,attack) --Like i would be able to increase/decrease attack damage to a particular item. EX: Club 7+1,7 2: Increase/DecreaseItemDefence(uid,defence) 3: CreateItem(Pos,ID) --This should work everywhere even...
  13. H

    [Request] Lua Function

    [Wrong Section please remove]
  14. H

    Tile not found Error

    My code works but when there is no tile under it will give a very annoying error message is there anyway to get rid of it? the code works after all ERROR MESSAGE: [[ [20/04/2009 14:26:32] Lua Script Error: [Action Interface] [20/04/2009 14:26:32]...
  15. H

    Global IP problem

    My Global IP leads to my router's start page (192.168.1.254) I dont know why but it dose. So when I try to access my acc page it will lead everyone to my router. I have started a ot millions of times before and i never had this problem before. Everyone can enter the otserver but not the acc...
  16. H

    Lua & mysql

    --------------------- Code: local Name = "" local Pic = 0 local ATK1 = 0 local ATK2 = 0 local ATK3 = 0 local ATK4 = 0 local res = db.storeQuery("SELECT * FROM zz;") if(res:getID() ~= -1) then repeat Name = res:getDataString("NAME") Pic =...
Back
Top