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

    TFS 1.X+ [1.3] can't send item to store inbox from store

    Hello, I'm trying to send the item to the store inbox. I'm either accessing the store inbox with this script wrong, or something in sources, but i don't know because i don't get any errors. NOTE: i can move items freely to the store inbox( i did this to make sure it wasn't some equip error ), i...
  2. Cornwallis

    TFS 1.X+ [TFS 1.3] is there a way to use subid's with addDamageCondition

    I'm trying to set the creatureId as the subId, trying to make it so each player can put a condition on someone, but i'm not succeeding. Is there a built in way that I can do this?
  3. Cornwallis

    C++ [1.3] critical doesn't update until relog

    hello, I'm trying to use a storage value to add extra crit chance but it's not updating until relog. can i get around this? is there a function i can send in LUA after i set a new storage value? protocolgame.cpp int32_t storage = player->getStorageValue(15504, value)...
  4. Cornwallis

    OTClient Auto fishing script

    I'm using otclientv8 and i'm trying to make an auto fishing script but it's not working. here's there error: attempt to index local tile ( a nil value ) and the script: macro(250, "Auto fish", function() local position = player:getPosition() local positions = {z = position.z}...
  5. Cornwallis

    Compiling spdlog/spdlog.h no such file

    I think I'm missing a library but I'm not sure how to get that library or which it belongs to. Error C1083 Cannot open include file: 'spdlog/spdlog.h': No such file or directory
  6. Cornwallis

    TFS 1.X+ Missing key.pem file

    Hello, I'm not sure where to put the RSA key.
  7. Cornwallis

    Making second weapon slot

    Hello, i want to make a second slot for weapons, like 2 sets of left and right hands, is this possible? i was looking at the coordinates and they seem predisposed. here's what i did in the game_inventory module: inventory.lua: InventorySlotStyles = { [InventorySlotHead] = "HeadSlot"...
  8. Cornwallis

    TFS 1.X+ [C++] Crash when i unequip weapon with custom item attackspeed system

    Hello, so I tried to make a workaround because at first it would crash everytime I used my fist, but now it only happens whenever I attack with a weapon and then unequip the weapon to hit with fist. Oddly though, if I switch between weapons with different attack speeds it acts accordingly...
  9. Cornwallis

    TFS 1.X+ [C++] item attack speed (attr key not recognized)

    Hello, so I'm trying to have attack speed on each weapon. No errors on compiling, only this error in console: [Warning - Items::parseItemNode] Unknown key value: attackspeed It also doesn't work if it's attackSpeed. Here's what I've done: items.cpp } else if (tmpStrValue == "attack")...
  10. Cornwallis

    [USA] Xilux-OTS EVO (8.6)

    Welcome! Xilux-OTS is open to new players. Many monsters have kept their original name but not their original damage so tread carefully! The progression from one zone to another is a core part of Xilux and if done out of line may be lethal! There are many features here and some of which include...
  11. Cornwallis

    Lua [1.2] Adding skull to monster

    Hello, so I'm trying to add a skull to different monsters with little luck. I've tried doing skull="white", skull="3", skull="SKULL_WHITE", flag_skull="SKULL_WHITE", etc,. and basically nothing in the monsters .xml file will work for me, so if someone knows how that'd be great. I looked in the...
  12. Cornwallis

    Lua [1.2] having trouble accessing subid with getCondition

    I'm trying to make it so that I can access the sub-id part of this function, but it's not seeming to work. creature:getCondition(conditionType[, conditionId = CONDITIONID_COMBAT[, subId = 0]]) This is what mine looks like: player:getCondition(CONDITION_ATTRIBUTES, CONDITIONID_DEFAULT, 1) Am...
  13. Cornwallis

    Compiling [TFS 1.2] Using sub-id's to remove old conditions

    Hello, I'm trying to make it so that when you cast a spell that adds a condition, it checks the sub-id of the old condition and the sub-id of the new, and if the new condition has a sub-id that's >= the old sub-id then it adds then new condition, and otherwise returns false. Am I on the right...
  14. Cornwallis

    Compiling [TFS 1.2] Resist Condition

    Hello, I'm trying to add a resist condition that can be applied by spells and such. All I want to do is reference the param of the condition, like whether the character is recieving 10% resistance, or 20% resistance, and so on. I'm trying to put something like this in game.cpp: if...
  15. Cornwallis

    Compiling What's secondary damage?

    I'm trying to make a condition that alters the damage someone takes when they have the condition, but I don't understand secondary damage. EDIT: Nevermind, it would appear primary is base damage, and secondary damage is elemental damage.
  16. Cornwallis

    Compiling [TFS 1.2] condition to abosrb damage

    Hello, I want to make a condition to absorb damage -- and absorb less damage, but I don't know where all I should be looking. I'm thinking I should edit this to check if the condition is true, and if so then add it to the absorbPercent, which would be simple, and I know I have to add it in...
  17. Cornwallis

    Compiling [1.2] Soul Regen

    Hello, I'm trying to add 5 soul regen to every character when they eat food similar to the health and mana regeneration. I also couldn't find the original soul regeneration system in the sources, could someone direct me? Here's what I've done: players.cpp...
  18. Cornwallis

    Lua [1.2] Problem with movement script

    I think it has to do with the storage value. Currently I have the storage set as 15000 value 15000 and it teleports me through the 15001 action id, but won't let me through 15000. local t = { [{15000, {x = 988, y = 1005, z = 8}}] = "", [{15001, {x = 1152, y = 988, z = 10}}] = "" } function...
  19. Cornwallis

    Lua [TFS 1.1] addEvent help

    I've been searching for how to properly use addEvent but i couldn't find any recent results. The while loop may be the problem too. So what it's supposed to do is divide the players soul by 10+ (3*party memebers) so if there's 2 party members then soul = 16, which if i have 100 soul then 100/16...
  20. Cornwallis

    Compiling [TFS 1.1] Constant health/mana regeneration

    Hello, all I'm trying to accomplish is constant regeneration. I've previously had something similar, but if I remember right I used level and it wouldn't update whenever I advanced levels, which I imagine if this would have worked, which it won't, it would've done the same thing but I'm just...
Back
Top