monarchis2 13 Posted May 30, 2017 Share Posted May 30, 2017 (edited) Hey for some reason... Every time i login the help button appears... doesn't matter if the character is new or old.. Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
monarchis2 13 Posted May 30, 2017 Author Share Posted May 30, 2017 Up Link to comment Share on other sites More sharing options...
monarchis2 13 Posted May 31, 2017 Author Share Posted May 31, 2017 Up Link to comment Share on other sites More sharing options...
monarchis2 13 Posted June 4, 2017 Author Share Posted June 4, 2017 Up Link to comment Share on other sites More sharing options...
[007]DawisHU 278 Posted June 7, 2017 Share Posted June 7, 2017 (edited) Hello,Client source problem? why no kill help buttom? On 2017. 05. 30. at 2:39 PM, monarchis2 said: Hey for some reason... Every time i login the help button appears... doesn't matter if the character is new or old.. Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
monarchis2 13 Posted June 9, 2017 Author Share Posted June 9, 2017 I dont know xD Link to comment Share on other sites More sharing options...
monarchis2 13 Posted June 10, 2017 Author Share Posted June 10, 2017 Up Link to comment Share on other sites More sharing options...
monarchis2 13 Posted June 10, 2017 Author Share Posted June 10, 2017 Up Link to comment Share on other sites More sharing options...
monarchis2 13 Posted June 12, 2017 Author Share Posted June 12, 2017 Up Link to comment Share on other sites More sharing options...
monarchis2 13 Posted June 13, 2017 Author Share Posted June 13, 2017 Up Link to comment Share on other sites More sharing options...
monarchis2 13 Posted June 13, 2017 Author Share Posted June 13, 2017 Up ^^ Link to comment Share on other sites More sharing options...
monarchis2 13 Posted June 15, 2017 Author Share Posted June 15, 2017 Up Link to comment Share on other sites More sharing options...
monarchis2 13 Posted June 17, 2017 Author Share Posted June 17, 2017 Up Link to comment Share on other sites More sharing options...
monarchis2 13 Posted June 18, 2017 Author Share Posted June 18, 2017 Up important Link to comment Share on other sites More sharing options...
PeaceMaker 121 Posted June 18, 2017 Share Posted June 18, 2017 Just remove the button if its too important for you xD Link to comment Share on other sites More sharing options...
monarchis2 13 Posted June 18, 2017 Author Share Posted June 18, 2017 2 hours ago, PeaceMaker said: Just remove the button if its too important for you xD xD you are right but i want to make clean source!! Link to comment Share on other sites More sharing options...
Thrall 182 Posted January 3, 2021 Share Posted January 3, 2021 (edited) up i have the same problem instead even auto-atack reset its self, any help ?:( EDIT: Found a solution... for me it should do it... info: i think auto-atack resseting problem was from some files i have put into the autopatcher as i noticed some .inf were there so i deleted them and now it seems to be ok for the help button i decided to hide it as i changed the character windows and i assume its from there the problem root/uigamebutton.py #search if 0 == player.GetPlayTime(): helpButton.Hide() else: helpButton.Show() #change to if 0 == player.GetPlayTime(): helpButton.Hide() else: helpButton.Hide() Edited January 3, 2021 by dv2axonn Solution found and explenation of atack-button Link to comment Share on other sites More sharing options...
Active Member Mind Rapist 188 Posted November 30, 2023 Active Member Share Posted November 30, 2023 I know I'm bumping an old issue but someone may actually need a solution and after finding the needle in the haystack I'm willing to share it: The code is self-explanatory: if 0 == player.GetPlayTime(): helpButton.Show() else: helpButton.Hide() which means that if you see the button the player has no play time. The fix? There should be 2 instances of SetPlayTime(number of minutes) in your root python files. interfaceModule.py: def __OnClickHelpButton(self): player.SetPlayTime(1) self.CheckGameButton() self.OpenHelpWindow() introSelect.py: This was my thing. I installed the new character/empire select/create system and I was missing this part of the code. In def OnUpdate(self) find this (should be at the bottom of the def): if -1 != self.startIndex: and make sure that it ends like this: if -1 != self.startIndex: if app.GetTime() - self.startReservingTime > 3.0: if False == self.openLoadingFlag: chrSlot = self.stream.GetCharacterSlot() net.DirectEnter(chrSlot) self.openLoadingFlag = True # Start of Help button fix (assigning play time to the character) playTime = net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_PLAYTIME) import player player.SetPlayTime(playTime) # End of Help button fix import chat chat.Clear() That's it! The problem was that the selected player was never assigned play time and now they have with player.SetPlayTime(playTime) just like in the original introSelect. 1 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