silvabl 1 Posted October 3, 2023 Share Posted October 3, 2023 Hello everyone! I'm looking for a solution what to change on game's source to unlock using guild skills not only at guild war. Maybe I'm blind but I can't find anything in source thats why I need some help Link to comment Share on other sites More sharing options...
silvabl 1 Posted October 4, 2023 Author Share Posted October 4, 2023 Okay I have made some progress... Now I can use skill, animation works but still I receive no bonuses and game sends me messeage on the chat that I can use this skill only during a guild war. Link to comment Share on other sites More sharing options...
silvabl 1 Posted October 5, 2023 Author Share Posted October 5, 2023 F5 Link to comment Share on other sites More sharing options...
silvabl 1 Posted October 12, 2023 Author Share Posted October 12, 2023 F5 Link to comment Share on other sites More sharing options...
Kansan 6 Posted October 14, 2023 Share Posted October 14, 2023 Up Link to comment Share on other sites More sharing options...
silvabl 1 Posted October 20, 2023 Author Share Posted October 20, 2023 F5 Link to comment Share on other sites More sharing options...
silvabl 1 Posted November 7, 2023 Author Share Posted November 7, 2023 Anyone? Link to comment Share on other sites More sharing options...
Vasto187 1 Posted November 8, 2023 Share Posted November 8, 2023 (edited) On 10/4/2023 at 9:52 AM, silvabl said: Okay I have made some progress... Now I can use skill, animation works but still I receive no bonuses and game sends me messeage on the chat that I can use this skill only during a guild war. guild.cpp - game/src void CGuild::UseSkill(DWORD dwVnum, LPCHARACTER ch, DWORD pid) remove / comment this: if (!UnderAnyWar()) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±ćµĺ> ±ćµĺ ˝şĹłŔş ±ćµĺŔü Áßżˇ¸¸ »çżëÇŇ Ľö ŔÖ˝Ŕ´Ď´Ů.")); return; } you can also try to edit this in skilldesc - guild skills: ONLY_FOR_GUILD_WAR to STANDING_SKILL or STANDING_SKILL|CAN_USE_FOR_ME for affects - game/src - char_affect.cpp search: function: void CHARACTER::ComputeAffect if (!GetGuild()->UnderAnyWar()) return; function: int CHARACTER::ProcessAffect() if (!GetGuild() || !GetGuild()->UnderAnyWar()) bEnd = true; you need to remove or comment this i think. " !GetGuild()->UnderAnyWar() " // not tested this is propably a function to check if guild is under war guild.h: bool UnderWar(DWORD guild_id); DWORD UnderAnyWar(BYTE bType = GUILD_WAR_TYPE_MAX_NUM); Edited November 8, 2023 by Vasto187 Link to comment Share on other sites More sharing options...
silvabl 1 Posted November 9, 2023 Author Share Posted November 9, 2023 22 hours ago, Vasto187 said: guild.cpp - game/src void CGuild::UseSkill(DWORD dwVnum, LPCHARACTER ch, DWORD pid) remove / comment this: if (!UnderAnyWar()) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±ćµĺ> ±ćµĺ ˝şĹłŔş ±ćµĺŔü Áßżˇ¸¸ »çżëÇŇ Ľö ŔÖ˝Ŕ´Ď´Ů.")); return; } you can also try to edit this in skilldesc - guild skills: ONLY_FOR_GUILD_WAR to STANDING_SKILL or STANDING_SKILL|CAN_USE_FOR_ME for affects - game/src - char_affect.cpp search: function: void CHARACTER::ComputeAffect if (!GetGuild()->UnderAnyWar()) return; function: int CHARACTER::ProcessAffect() if (!GetGuild() || !GetGuild()->UnderAnyWar()) bEnd = true; you need to remove or comment this i think. " !GetGuild()->UnderAnyWar() " // not tested this is propably a function to check if guild is under war guild.h: bool UnderWar(DWORD guild_id); DWORD UnderAnyWar(BYTE bType = GUILD_WAR_TYPE_MAX_NUM); Okay so after testing your suggestions here's what came out. I can use skill and I get bonus from this spell but just for a second and then it disappears. I've been trying to solve this but I don't know how does skill work. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now