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

    Compiling TFS 1.3 vcpkg windows

    Cryptopp lib, and another lib's missing problem, happens when you try to compile with the wrong version of vcpkg. Always remember to set to release and x32 or x64. Still, if you can't compile even with the right options, try to set the lib manually as I described with the LuaJIT.
  2. Piquenoelmal

    Compiling TFS 1.3 vcpkg windows

    Yeah, I really don't like to use VS. I tried with the CLion IDE, but it didn't work at all. I'm pretty sure that the SDK, Version and VCPKG(x32 or x64) matters. Also, the problem that you post here, the alloc problem, was fixed in my case setting SKD v10.0.18362.0 and the toolset v141. The...
  3. Piquenoelmal

    Compiling TFS 1.3 vcpkg windows

    Yeah, I did. I used the SKD v10.0.18362.0 and the toolset v141. After that, I had to include some files from the tfs-sdk manually and installed the vcpkg using the git bash tool. Server up and running. Edit: If you need help with windows, just PM me.
  4. Piquenoelmal

    Feature Auto Loot [TFS 1.3]

    The difference is the "&&" instead of the "and". I'm not that good in C++, but I think that the Boolean operator that represents "AND" is "&&", as the "OR" is "||". Thanks, @Vulcan_ . It worked! :)
  5. Piquenoelmal

    TFS 1.X+ Problem with autoloot

    Hello, friends. I'm trying to use this Auto Loot system. I could fix the problems during compiling, but I have a problem with the talks action. This is the error in console: As the console returns, the problem is with the method getAutoLootList, but I can't find why it's returning a nil value...
  6. Piquenoelmal

    Feature Auto Loot [TFS 1.3]

    Ok, the way to adjust the function is to add this lines in the luascript.h: static int luaPlayerAddAutoLootItem(lua_State* L); static int luaPlayerRemoveAutoLootItem(lua_State* L); static int luaPlayerGetAutoLootItem(lua_State* L); static int...
  7. Piquenoelmal

    Feature True dual wielding for TFS 1.x

    Heym that's great. Happy that worked for you! :) This weapon in ammo slot is because the classicEquipmentSlots = true. It's normal to be in that way. I think you have to make some "ifs" inside the code to limit this feature. I'll look into it later and give you an answer.
  8. Piquenoelmal

    Feature True dual wielding for TFS 1.x

    There is something wrong in your player.h Pretty sure that is some "{" or "}" that you forgot to close. Also, what is "SpecialSkill"? Is something that you add? If you want something like that, you have to declare like this: specialSKill_t lastspecialskill =VALUE; You can change the name...
  9. Piquenoelmal

    Feature True dual wielding for TFS 1.x

    The image is sooo tiny, can you reupload, please? Probably was because I already made changes in my .src, but I'll look at it.
  10. Piquenoelmal

    Feature True dual wielding for TFS 1.x

    Here it is, all tested and working in TFS 1.3. Configmanager.cpp, Configmanager.h, luascript.cpp, player.cpp, player.h, tools.cpp, vocations.cpp, weapons.cpp Probably, your error is in some part of weapons.cpp, I think.
  11. Piquenoelmal

    Feature True dual wielding for TFS 1.x

    Did you change the Config.lua with the tags? If you want, I can post my .src for you too try to use in your server. I'm pretty sure I did some changes around then, but maybe can help you.
  12. Piquenoelmal

    Feature True dual wielding for TFS 1.x

    Yes. I have to eliminate this line inside the main if: player->addSkillAdvance(skillType, skillPoint); Then, I insert this one: /* Advance one point for every single-wielding hit OR one point for every two hit for each hand */ if (!player->isDualWielding() ||...
  13. Piquenoelmal

    Feature True dual wielding for TFS 1.x

    @lazarus321 try to implements using this code. After a while, I succeed in making the dual wielding. Also, both weapons hit and the skill goes up as well. The main problem in my code was just a part where I forgot to set bool dualWield = true; in vocations.h
  14. Piquenoelmal

    Feature True dual wielding for TFS 1.x

    The right hand is equipping all right, but just one weapon at the same time.
  15. Piquenoelmal

    Feature True dual wielding for TFS 1.x

    @lazarus321, your problem is the same as mine. The equipment are being equipped in the back due the classicEquipmentSlots = true.
  16. Piquenoelmal

    Feature True dual wielding for TFS 1.x

    Thanks again. Already set it, my player.cpp and player.h is pretty much the same thing. I'll try to find, but the problem is in the right hand. Pretty much you are setting the wrong position for the equipment be equipped. I think the problem is in the player.cpp, but I'm not sure. I'll look at it.
  17. Piquenoelmal

    Feature True dual wielding for TFS 1.x

    Thanks for the help, @Togu . The script are pretty much the same and even compile, but no way that the "shield_hand" equip a sword, club or axe... Pretty sure the problem is in lastAttackHand = HAND_LEFT. When I declare it inside Player::Player(ProtocolGame_ptr p) , it asked me for a type, but...
  18. Piquenoelmal

    Feature True dual wielding for TFS 1.x

    Hey, friend. Could you post your player.cpp, so I can see where my problem is? It's returning me that some of my functions are illegal. Maybe because they are set as local? I'm trying to resolve this, but a help would be nice. :) Thanks!
  19. Piquenoelmal

    Feature [TFS 1.3] Monster Levels

    You have to change this piece of code: float ConfigManager::getGlobalFloat(lua_State* L, const char* identifier, const float defaultValue = 0.0f) For this one: float ConfigManager::getGlobalFloat(lua_State* L, const char* identifier, const float defaultValue) The function is already receiving...
  20. Piquenoelmal

    TFS 1.X+ Attributes on Armor/Weapon

    Hello, Xikini. Thanks for the help, again. :D Also, I found out some information about the attackspeed. I'll leave here so if anyone needs, they can use as well. Lua Function - [TFS 1.2/1.3] player:setAttackSpeed(ms) | player:getAttackSpeed()
Back
Top