Datheft15 5 Posted August 27, 2020 Share Posted August 27, 2020 Hey ! I have an idea and need help to implementation What if the alignment give bonus for example Alignment (1) > 1000 then 10k HP Alignment (1) > 4000 then 30k HP .. I found one topic on dev but this not work for me. Somebody can help me ? Thanks for reply ! Link to comment Share on other sites More sharing options...
Asentrix 153 Posted August 27, 2020 Share Posted August 27, 2020 I checked the code in that thread, actually it should work but since you'll add it in void CInputLogin::Entergame so it will be applied when you sign out and log in again so bonuses are applied. Link to comment Share on other sites More sharing options...
Datheft15 5 Posted August 27, 2020 Author Share Posted August 27, 2020 Okay, but I edited this : if (GetRealAlignment() == NAME_ALIGNMENT_1) to if (GetRealAlignment() > 1000 && GetRealAlignment() < 2000 ) server is down recently. if (GetRealAlignment() < NAME_ALIGNMENT_1 ) { blabla } if (GetRealAlignment() > NAME_ALIGNMENT_1) { blabla } or this isn't work Link to comment Share on other sites More sharing options...
Honorable Member Solution Owsap 8246 Posted August 27, 2020 Honorable Member Solution Share Posted August 27, 2020 (edited) GitHub Repository: This is the hidden content, please Sign In or Sign Up Preview: https://metin2.download/picture/3m27cf351hv67tz592fY1akdHlKKN5Zs/.gif Edited August 27, 2022 by Metin2 Dev Core X - External 2 Internal 66 1 1 10 44 https://owsap.dev/ / https://osf.owsap.dev/ Link to comment Share on other sites More sharing options...
Datheft15 5 Posted August 28, 2020 Author Share Posted August 28, 2020 Thank you Owsap SOLVED THEME Link to comment Share on other sites More sharing options...
PandiCore 9 Posted June 27, 2023 Share Posted June 27, 2023 On 8/28/2020 at 1:39 AM, Owsap said: GitHub Repository: This is the hidden content, please Sign In or Sign Up Preview: https://metin2.download/picture/3m27cf351hv67tz592fY1akdHlKKN5Zs/.gif Hi one question how to add more bonus? on this { ALIGNMENT_LEVEL2 /* 8000 */, POINT_MAX_HP, 1500 }, i nedd 1,5k and 15 monster cand u help me? 3 Link to comment Share on other sites More sharing options...
spectrum 7 Posted December 6, 2023 Share Posted December 6, 2023 (edited) On 6/27/2023 at 9:23 PM, PandiCore said: Hi one question how to add more bonus? on this { ALIGNMENT_LEVEL2 /* 8000 */, POINT_MAX_HP, 1500 }, i nedd 1,5k and 15 monster cand u help me? example : int iAlignmentBonus[MAX_ALIGNMENT_LEVEL][31] = { { ALIGNMENT_LEVEL1 /* 12000 */, POINT_MAX_HP, 2000 }, { ALIGNMENT_LEVEL2 /* 8000 */, POINT_MAX_HP, 1500 }, { ALIGNMENT_LEVEL3 /* 4000 */, POINT_MAX_HP, 1000 }, { ALIGNMENT_LEVEL4 /* 1000 */, POINT_POISON_PCT, 10 }, { ALIGNMENT_LEVEL5 /* 1000 */, POINT_CRITICAL_PCT, 10 }, { ALIGNMENT_LEVEL6 /* 1000 */, POINT_PENETRATE_PCT, 10 }, { ALIGNMENT_LEVEL7 /* 1000 */, POINT_ATTBONUS_HUMAN, 10 }, { ALIGNMENT_LEVEL8 /* 1000 */, POINT_ATTBONUS_ANIMAL, 10 }, { ALIGNMENT_LEVEL9 /* 1000 */, POINT_ATTBONUS_ORC, 10 }, { ALIGNMENT_LEVEL10 /* 1000 */, POINT_ATTBONUS_MILGYO, 10 }, { ALIGNMENT_LEVEL11 /* 1000 */, POINT_ATTBONUS_UNDEAD, 10 }, { ALIGNMENT_LEVEL12 /* 1000 */, POINT_ATTBONUS_DEVIL, 10 }, { ALIGNMENT_LEVEL13 /* 1000 */, POINT_ATTBONUS_INSECT, 10 }, { ALIGNMENT_LEVEL14 /* 1000 */, POINT_ATTBONUS_FIRE, 10 }, { ALIGNMENT_LEVEL15 /* 1000 */, POINT_ATTBONUS_ICE, 10 }, { ALIGNMENT_LEVEL16 /* 1000 */, POINT_ATTBONUS_MONSTER, 10 }, { ALIGNMENT_LEVEL17 /* 1000 */, POINT_ATTBONUS_WARRIOR, 10 }, { ALIGNMENT_LEVEL18 /* 1000 */, POINT_ATTBONUS_ASSASSIN, 10 }, { ALIGNMENT_LEVEL19 /* 1000 */, POINT_ATTBONUS_SURA, 10 }, { ALIGNMENT_LEVEL20 /* 1000 */, POINT_ATTBONUS_SHAMAN, 10 }, { ALIGNMENT_LEVEL21 /* 1000 */, POINT_RESIST_WARRIOR, 10 }, { ALIGNMENT_LEVEL22 /* 1000 */, POINT_RESIST_ASSASSIN, 10 }, { ALIGNMENT_LEVEL23 /* 1000 */, POINT_RESIST_SURA, 10 }, { ALIGNMENT_LEVEL24 /* 1000 */, POINT_RESIST_SHAMAN, 10 }, { ALIGNMENT_LEVEL25 /* 1000 */, POINT_RESIST_SWORD, 10 }, { ALIGNMENT_LEVEL26 /* 1000 */, POINT_RESIST_TWOHAND, 10 }, { ALIGNMENT_LEVEL27 /* 1000 */, POINT_RESIST_DAGGER, 10 }, { ALIGNMENT_LEVEL28 /* 1000 */, POINT_RESIST_BELL, 10 }, { ALIGNMENT_LEVEL29 /* 1000 */, POINT_RESIST_BOW, 10 }, { ALIGNMENT_LEVEL30 /* 1000 */, POINT_ATTBONUS_STONE, 10 }, { ALIGNMENT_LEVEL31 /* 1000 */, POINT_ATTBONUS_BOSS, 10 }, { ALIGNMENT_LEVEL32 /* 4000 */, POINT_MAX_HP, 2500 }, }; On 8/28/2020 at 12:39 AM, Owsap said: GitHub Repository: Hidden Content Give reaction to this post to see the hidden content. Preview: https://metin2.download/picture/3m27cf351hv67tz592fY1akdHlKKN5Zs/.gif https://metin2.download/picture/HK4OkEOniNM30DBxnYYylZMz7TZtQPMK/.png up here where it shows you +10, I would like it to show me what bonus there is, can you help me somehow? ( Penetration/Critic +10) Edited December 6, 2023 by Metin2 Dev International Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Gkovacs32 0 Posted June 3 Share Posted June 3 (edited) I also installed this system, but I received this syserr. Does anyone have a solution? //I'm a beginner// 0603 11:30:03769 :: networkmodule.py(line:202) SetSelectCharacterPhase system.py(line:179) __hybrid_import system.py(line:147) _process_result introselect.py(line:25) <module> system.py(line:179) __hybrid_import system.py(line:147) _process_result uiaffectshower.py(line:572) <module> uiaffectshower.py(line:660) AffectShower networkmodule.SetSelectCharacterPhase - <type 'exceptions.NameError'>:name 'localeInfo' is not defined 0603 11:30:03769 :: ============================================================================================================ 0603 11:30:03769 :: Abort!!!! Edited June 3 by Gkovacs32 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