llReonas 29 Posted October 10, 2015 Share Posted October 10, 2015 (edited) Hi, metin2dev. Open uiminimap.py Add: import os,re,threading,app,timeClass: class MiniMap(ui.ScriptWindow): Find: def __init__(self): Add: self.reonasobject = ui.TextLine() self.reonasobject.SetFontName("Arial:17") self.reonasobject.SetPosition(0,87) self.reonasobject.SetWindowHorizontalAlignCenter() self.reonasobject.SetHorizontalAlignCenter() self.reonasobject.SetFeather() self.reonasobject.SetOutline() Find: locale name locale_is_turkey or locale or localeInfo with use locale_is_turkey self.observerCount.SetText(localeInfo.MINIMAP_OBSERVER_COUNT % observerCount) Add under: kl = "" bgk = None """"Author: Reonas DateTime: 10.10.15 Skype: wizzucpp""" from threading import Timer def reonasfpsormonthordayyearwritingintegral(): global bgk bgk=int(re.findall("[0-9][0-9]",str(os.popen("%WINDIR%/system32/ping -n 1 google.com").readlines()[-1]))[0])#ping Timer(5,reonasfpsormonthordayyearwritingintegral).start() Find: def OnUpdate(self): Add: import time,app global bgk nRenderFPS=app.GetRenderFPS() fps="FPS:%3d"%(nRenderFPS) gc=time.strftime("%d") aycek=time.strftime("%B") yilx=time.strftime("%Y") gun=time.strftime("%A") b=" " ti=" - " yazifps="FPS:" st=time.strftime("%H:%M:%S") text="Link Quality: " if bgk<=30 and bgk>0:kl="Excellent!" elif bgk<=50 and bgk>35:kl="Good" elif bgk<= 100 and bgk>50:kl="Middle" elif bgk>= 100:kl="Bad" else:kl="" xxxxxxxxxxxxxxxxxxxxx=b+gc+b+aycek+b+yilx+b+gun+b+st+ti+text+kl+ti+fps self.reonasobject.SetText(xxxxxxxxxxxxxxxxxxxxx) self.reonasobject.Show() note:Threading time setting 5 seconds :-----------seconds-------------Timer(5,reonasfpsormonthordayyearwritingintegral).start() Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal 1 1 5 Link to comment Share on other sites More sharing options...
xBBBay 0 Posted October 10, 2015 Share Posted October 10, 2015 1010 08:38:21522 :: File "uiMiniMap.py", line 138, in OnUpdate 1010 08:38:21523 :: NameError 1010 08:38:21523 :: : 1010 08:38:21523 :: global name 'bgk' is not defined 1010 08:38:21523 :: def OnUpdate(self): import time,app global bgk nRenderFPS=app.GetRenderFPS() fps="FPS:%3d"%(nRenderFPS) gc=time.strftime("%d") aycek=time.strftime("%B") yilx=time.strftime("%Y") gun=time.strftime("%A") b=" " ti=" - " yazifps="FPS:" st=time.strftime("%H:%M:%S") text="Jakosc: " if bgk<=30 and bgk>0:kl="Doskonala!" elif bgk<=50 and bgk>35:kl="Dobra" elif bgk<= 100 and bgk>50:kl="Srednia" elif bgk>= 100:kl="Zla" bagla=b+gc+b+aycek+b+yilx+b+gun+b+st+ti+text+kl+ti+fps self.reonasobject.SetText(bagla) self.reonasobject.Show() Link to comment Share on other sites More sharing options...
llReonas 29 Posted October 10, 2015 Author Share Posted October 10, 2015 1010 08:38:21522 :: File "uiMiniMap.py", line 138, in OnUpdate 1010 08:38:21523 :: NameError 1010 08:38:21523 :: : 1010 08:38:21523 :: global name 'bgk' is not defined 1010 08:38:21523 :: def OnUpdate(self): import time,app global bgk nRenderFPS=app.GetRenderFPS() fps="FPS:%3d"%(nRenderFPS) gc=time.strftime("%d") aycek=time.strftime("%B") yilx=time.strftime("%Y") gun=time.strftime("%A") b=" " ti=" - " yazifps="FPS:" st=time.strftime("%H:%M:%S") text="Jakosc: " if bgk<=30 and bgk>0:kl="Doskonala!" elif bgk<=50 and bgk>35:kl="Dobra" elif bgk<= 100 and bgk>50:kl="Srednia" elif bgk>= 100:kl="Zla" bagla=b+gc+b+aycek+b+yilx+b+gun+b+st+ti+text+kl+ti+fps self.reonasobject.SetText(bagla) self.reonasobject.Show() See Inbox. Link to comment Share on other sites More sharing options...
morion 59 Posted October 10, 2015 Share Posted October 10, 2015 1010 08:38:21522 :: File "uiMiniMap.py", line 138, in OnUpdate 1010 08:38:21523 :: NameError 1010 08:38:21523 :: : 1010 08:38:21523 :: global name 'bgk' is not defined 1010 08:38:21523 :: def OnUpdate(self): import time,app global bgk nRenderFPS=app.GetRenderFPS() fps="FPS:%3d"%(nRenderFPS) gc=time.strftime("%d") aycek=time.strftime("%B") yilx=time.strftime("%Y") gun=time.strftime("%A") b=" " ti=" - " yazifps="FPS:" st=time.strftime("%H:%M:%S") text="Jakosc: " if bgk<=30 and bgk>0:kl="Doskonala!" elif bgk<=50 and bgk>35:kl="Dobra" elif bgk<= 100 and bgk>50:kl="Srednia" elif bgk>= 100:kl="Zla" bagla=b+gc+b+aycek+b+yilx+b+gun+b+st+ti+text+kl+ti+fps self.reonasobject.SetText(bagla) self.reonasobject.Show() same problem Link to comment Share on other sites More sharing options...
Ken.Kaneki 46 Posted October 10, 2015 Share Posted October 10, 2015 (edited) Hi, metin2dev. Open uiminimap.pyClass: class MiniMap(ui.ScriptWindow): Find: def __init__(self): Add: self.reonasobject = ui.TextLine() self.reonasobject.SetFontName("Arial:17") self.reonasobject.SetPosition(0,87) self.reonasobject.SetWindowHorizontalAlignCenter() self.reonasobject.SetHorizontalAlignCenter() self.reonasobject.SetFeather() self.reonasobject.SetOutline() Find: locale name locale_is_turkey or locale or localeInfo with use locale_is_turkey self.observerCount.SetText(localeInfo.MINIMAP_OBSERVER_COUNT % observerCount) Add under: kl = "" bgk = None """"Author: Reonas DateTime: 10.10.15 Skype: wizzucpp""" from threading import Timer def reonasfpsormonthordayyearwritingintegral(): global bgk bgk=int(re.findall("[0-9][0-9]",str(os.popen("%WINDIR%/system32/ping -n 1 google.com").readlines()[-1]))[0])#ping Timer(5,reonasfpsormonthordayyearwritingintegral).start() Find: def OnUpdate(self): Add: import time,app global bgk nRenderFPS=app.GetRenderFPS() fps="FPS:%3d"%(nRenderFPS) gc=time.strftime("%d") aycek=time.strftime("%B") yilx=time.strftime("%Y") gun=time.strftime("%A") b=" " ti=" - " yazifps="FPS:" st=time.strftime("%H:%M:%S") text="Link Quality: " if bgk<=30 and bgk>0:kl="Excellent!" elif bgk<=50 and bgk>35:kl="Good" elif bgk<= 100 and bgk>50:kl="Middle" elif bgk>= 100:kl="Bad" else:kl="" #aylar={"January":"Ocak","February":"Şubat","March":"Mart","April":"Nisan","May":"Mayıs","June":"Haziran","July":"Temmuz","August":"Ağustos","September":"Eylül","October":"Ekim","November":"Kasım","December":"Aralık"} #ayx=aylar[aycek] #gunler={"Monday":"Pazartesi","Tuesday":"Salı","Wednesday":"Çarşamba","Thursday":"Perşembe","Friday":"Cuma","Saturday":"Cumartesi","Sunday":"Pazar"} #g=gunler[gun] bagla=b+gc+b+aycek+b+yilx+b+gun+b+st+ti+text+kl+ti+fps self.reonasobject.SetText(bagla) self.reonasobject.Show() note:Threading time setting 5 seconds :-----------seconds-------------Timer(5,reonasfpsormonthordayyearwritingintegral).start() Thanks my friend, Good job (seamless system) Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Active Member Koray 2002 Posted October 10, 2015 Active Member Share Posted October 10, 2015 xDDDD bagla=b+gc+b+aycek+b+yilx+b+gun+b+st+ti+text+kl+ti+fps WTF? 2 Link to comment Share on other sites More sharing options...
llReonas 29 Posted October 10, 2015 Author Share Posted October 10, 2015 (edited) xDDDD bagla=b+gc+b+aycek+b+yilx+b+gun+b+st+ti+text+kl+ti+fps WTF? xDDDD bagla=b+gc+b+aycek+b+yilx+b+gun+b+st+ti+text+kl+ti+fps WTF? mapyaziduzelt = {"metin2_map_b1": "|cffffcc00|Hemp|h(Joan)|h|r", "metin2_map_c1": "|cff007fff|Hemp|h(Pyungmoo)|h|r", "metin2_map_a1": "|cffff0000|Hemp|h(Youngan)|h|r", "metin2_map_greenmont": "|cff00CC00|Hemp|h(Greenmont)|h|r", "gm_guild_build": "|cff00ff00|H|h(Ada)|h|r", "map_n_snowm_01": "|cff33CCCC|H|h(Sohan Bolgesi1)|h|r", "map_a2": "|cff009933|H|h(Seungryong Vadisi Bolge1)|h|r", "metin2_map_b3": "|cffFDD017|H|h(Bokjung)|h|r", "metin2_map_c3": "|cFF0080FF|H|h(Bakra)|h|r", "metin2_map_monkeydungeon": "|cffCC9933|H|h(Maymun Zindani Baslangic)|h|r", "metin2_map_monkeydungeon_02": "|cffCC9933|H|h(Maymun Zindani Orta)|h|r", "metin2_map_milgyo": "|cff009933|H|h(Hwang Tapinagi Bolgesi1)|h|r", "metin2_map_spiderdungeon": "|cffFDD017|H|h(Orumcek Zindani Baslangic)|h|r", "map_b2": "|cffFDD017|H|h(Orumcek Zindani Baslangic)|h|r", "metin2_map_a3": "|cFFFF0000|H|h(Jayang)|h|r", "metin2_map_deviltower1": "|cff666633|H|h(Seytan Kulesi)|h|r", "metin2_map_spiderdungeon_02": "|cffFDD017|H|h(Orumcek Zindani Orta)|h|r", "metin2_map_n_desert_01": "|cffCC9966|H|h(Yongbi Cölü Bolgesi1)|h|r", "metin2_map_n_flame_01": "|cff990000|H|h(Doyum Paper Bolgesi1)|h|r", "metin2_map_spiderdungeon_02": "|cffFDD017|H|h(Orumcek Zindani Uzman)|h|r", "metin2_map_t1": "|cff33CCCC|H|h(Saphira)|h|r", "metin2_map_t2": "|cff6600CC|H|h(Lonca Arenasi)|h|r", "metin2_map_t3": "|cff6600CC|H|h(Lonca Arenasi)|h|r", "metin2_map_t4": "|cff6600CC|H|h(Lonca Arenasi)|h|r", "metin2_map_t5": "|cff6600CC|H|h(Lonca Arenasi)|h|r", "metin2_map_monkeydungeon_03": "|cffCC9933|H|h(Maymun Zindani Uzman)|h|r", "metin2_map_wedding_01": "|cffCC33CC|H|h(Evlilik Alani <3)|h|r", "metin2_map_guild_01": "|cffCC9900|H|h(Jungrang)|h|r", "metin2_map_guild_02": "|cffCC9900|H|h(Waryong)|h|r", "metin2_map_guild_03": "|cffCC9900|H|h(Imha)|h|r", "metin2_map_trent": "|cff6600FF|H|h(Lungsam)|h|r", "metin2_map_trent02": "|cff6600FF|H|h(Lungsam Kirmizi Orman)|h|r", "metin2_map_duel": "|cff990000|H|h(Duello Arenasi)|h|r", "season1/metin2_map_WL_01": "|cff009933|H|h(Yilan Vadisi)|h|r", "season1/metin2_map_nusluck01": "|cff33CC99|H|h(Devler Diyari)|h|r", "season1/metin2_map_oxevent": "|cffFDD017|H|h(Sans Yarismasi)|h|r", "season1/metin2_map_sungzi": "|cff33CCCC|H|h(Sungzi Bolgesi1)|h|r", "season1/metin2_map_sungzi_flame_hill_01": "|cff33CCCC|H|h(Sungzi Bolgesi2)|h|r", "season1/metin2_map_sungzi_flame_hill_02": "|cff33CCCC|H|h(Sungzi Bolgesi3)|h|r", "season1/metin2_map_sungzi_flame_hill_03": "|cff33CCCC|H|h(Sungzi Bolgesi4)|h|r", "season1/metin2_map_sungzi_snow": "|cff33CCCC|H|h(Sungzi Kar Bolgesi)|h|r", "season1/metin2_map_sungzi_snow_pass01": "|cff33CCCC|H|h(Sungzi Kar Bolgesi2)|h|r", "season1/metin2_map_sungzi_snow_pass02": "|cff33CCCC|H|h(Sungzi Kar Bolgesi3)|h|r", "season1/metin2_map_sungzi_snow_pass03": "|cff33CCCC|H|h(Sungzi Kar Bolgesi4)|h|r", "metin2_map_sungzi_desert_01": "|cffCC9966|H|h(Sungzi Cöl Bolgesi)|h|r", "season1/metin2_map_sungzi_desert_hill_01": "|cffCC9966|H|h(Sungzi Cöl Tepe Bolgesi1)|h|r", "season1/metin2_map_sungzi_desert_hill_02": "|cffCC9966|H|h(Sungzi Cöl Tepe Bolgesi2)|h|r", "season1/metin2_map_sungzi_desert_hill_03": "|cffCC9966|H|h(Sungzi Cöl Tepe Bolgesi3)|h|r", "season1/metin2_map_sungzi_milgyo": "|cff009933|H|h(Sungzi Bolgesi Tapinagi)|h|r", "season1/metin2_map_sungzi_milgyo_pass01": "|cff009933|H|h(Sungzi Bolgesi Gecis Tapinagi1)|h|r", "season1/metin2_map_sungzi_milgyo_pass02": "|cff009933|H|h(Sungzi Bolgesi Gecis Tapinagi2)|h|r", "season1/metin2_map_sungzi_milgyo_pass03": "|cff009933|H|h(Sungzi Bolgesi Gecis Tapinagi3)|h|r", "season1/metin2_map_ew02": "|cff9966CC|H|h(Longju Haritasi)|h|r", "season2/metin2_map_empirewar01": "|cff990000|H|h(Imparatorluk Savasi Bolgesi1)|h|r", "season2/metin2_map_empirewar02": "|cff990000|H|h(Imparatorluk Savasi Bolgesi2)|h|r", "season2/metin2_map_empirewar03": "|cff990000|H|h(Imparatorluk Savasi Bolgesi3)|h|r", "season2/map_n_snowm_02": "|cff33CCCC|H|h(Sohan Bolgesi2)|h|r", "season2/metin2_map_milgyo_a": "|cff009933|H|h(Hwang Tapinagi Bolgesi2)|h|r", "season2/metin2_map_n_desert_02": "|cffCC9966|H|h(Yongbi Cölü Bolgesi2)|h|r", "season2/metin2_map_n_flame_02": "|cff990000|H|h(Doyum Paper Bolgesi2)|h|r", "season2/metin2_map_a2_1": "|cff009933|H|h(Seungryong Vadisi Bolge2)|h|r", "season2/metin2_map_trent_a": "|cffCC6633|H|h(Trent Bolgesi1)|h|r", "season2/metin2_map_trent02_a": "|cffCC6633|H|h(Trent Bolgesi2)|h|r", "season2/metin2_map_skipia_dungeon_01": "|cff3300FF|H|h(Surgun Magarasi Bolgesi1)|h|r", "metin2_map_skipia_dungeon_02": "|cff3300FF|H|h(Surgun Magarasi Bolgesi2)|h|r", "season2/metin2_map_skipia_dungeon_01": "|cff3300FF|H|h(Surgun Magarasi Bolgesi1)|h|r", "metin2_map_skipia_dungeon_boss": "|cff0033FF|H|h(Beran-Setaou Odasi)|h|r", "metin2_map_skipia_dungeon_boss2": "|cff0033FF|H|h(Beran-Setaou Odasi)|h|r", "metin2_map_devilsCatacomb": "|cff663366|H|h(Devils Catacomb)|h|r", "metin2_map_spiderdungeon_03": "|cffFDD017|H|h(Orumcek Zindani Son Bolge)|h|r", "metin2_guild_village_01": "|cff99CC99|H|h(Lonca Bolgesi1)|h|r", "metin2_guild_village_02": "|cff99CC99|H|h(Lonca Bolgesi2)|h|r", "metin2_guild_village_03": "|cff99CC99|H|h(Lonca Bolgesi3)|h|r", "metin2_map_n_flame_dungeon_01": "|cff990000|H|h(Alevli Araf)|h|r" } self.__SendChatPacket(boslukcekbro+msgkanka+playerinnamesinicekkanka+pmicingerekli+pmifadecek+bagirmasbro+boslukcekbro+tirecekkardesim+boslukcekbro+jobs+boslukcekbro+tirecekkardesim+boslukcekbro+lvyazisicekbro+levelimizilutfenunutmakanka+boslukcekbro+mapduzelt+boslukcekbro+sikayetmsg+playerName+constInfo.bosluk+sktir+constInfo.bosluk+text+pmicingerekli+sikayetxicektir+bagirmasbro+ikinoktaustusteverenk+boslukcekbro+texticekerizbirde, chat.CHAT_TYPE_SHOUT) nonsense degree: hard Edited October 10, 2015 by llReonas 1 Link to comment Share on other sites More sharing options...
Active Member Koray 2002 Posted October 10, 2015 Active Member Share Posted October 10, 2015 why not? self.__SendChatPacket(" |Hmsg: %s|h(#)|h|r - |cffCC6633|H|hSavaşçı|h|r - Lv.%d %s |Hdasdsasadxd;%s : %s|h(x)|h|r|h|r : text[1:]" % (player.GetName(), player.GetStatus(player.LEVEL), mapyaziduzelt[mapadicek], player.GetName(), text), chat.CHAT_TYPE_SHOUT)) Link to comment Share on other sites More sharing options...
llReonas 29 Posted October 10, 2015 Author Share Posted October 10, 2015 why not? self.__SendChatPacket(" |Hmsg: %s|h(#)|h|r - |cffCC6633|H|hSavaşçı|h|r - Lv.%d %s |Hdasdsasadxd;%s : %s|h(x)|h|r|h|r : text[1:]" % (player.GetName(), player.GetStatus(player.LEVEL), mapyaziduzelt[mapadicek], player.GetName(), text), chat.CHAT_TYPE_SHOUT)) I remember. When unpack? Link to comment Share on other sites More sharing options...
Ken.Kaneki 46 Posted October 10, 2015 Share Posted October 10, 2015 (edited) Find. Code: import background Add. Code: import re import os uiMinimap.py + Lib (locale ~ localeInfo) This is the hidden content, please Sign In or Sign Up Edited October 10, 2015 by Ken.Kaneki 9 1 1 3 Link to comment Share on other sites More sharing options...
Premium MrLibya 554 Posted October 10, 2015 Premium Share Posted October 10, 2015 leave python alone 1 If you're going to do something, then do it right. Link to comment Share on other sites More sharing options...
Ken 904 Posted October 10, 2015 Share Posted October 10, 2015 (edited) Edited August 26, 2022 by Metin2 Dev Core X - External 2 Internal Do not be sorry, be better. Link to comment Share on other sites More sharing options...
Chris 0 Posted October 10, 2015 Share Posted October 10, 2015 wtf turkish codes deleting go to ->google translate Link to comment Share on other sites More sharing options...
Honorable Member Mali 41888 Posted October 11, 2015 Honorable Member Share Posted October 11, 2015 good job men up↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ Link to comment Share on other sites More sharing options...
Frajkx 0 Posted October 11, 2015 Share Posted October 11, 2015 To change the name of the month and days of the week , for example, German ? Link to comment Share on other sites More sharing options...
llReonas 29 Posted October 11, 2015 Author Share Posted October 11, 2015 To change the name of the month and days of the week , for example, German ? See Inbox. Link to comment Share on other sites More sharing options...
Frajkx 0 Posted October 11, 2015 Share Posted October 11, 2015 To change the name of the month and days of the week , for example, German ? See Inbox. Clear. Link to comment Share on other sites More sharing options...
marek38 1 Posted October 13, 2015 Share Posted October 13, 2015 Thanks Link to comment Share on other sites More sharing options...
Eigenartig 7 Posted December 6, 2015 Share Posted December 6, 2015 just use '%' man or quit coding Link to comment Share on other sites More sharing options...
AlCapone 67 Posted February 24, 2016 Share Posted February 24, 2016 god Link to comment Share on other sites More sharing options...
Finch 16 Posted June 7, 2016 Share Posted June 7, 2016 no i cant see Link to comment Share on other sites More sharing options...
mehmetdogan 0 Posted October 11, 2017 Share Posted October 11, 2017 networkModule.py(line:209) SetSelectCharacterPhase system.py(line:130) __pack_import system.py(line:110) _process_result introSelect.py(line:30) <module> system.py(line:130) __pack_import system.py(line:110) _process_result interfaceModule.py(line:12) <module> system.py(line:130) __pack_import system.py(line:110) _process_result uiInventory.py(line:23) <module> system.py(line:130) __pack_import system.py(line:110) _process_result interfacemodule.py(line:30) <module> system.py(line:130) __pack_import networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:unexpected indent (uiMiniMap.py, line 458) ??? Link to comment Share on other sites More sharing options...
Denis 1474 Posted October 12, 2017 Share Posted October 12, 2017 On 11/10/2017 at 8:24 PM, mehmetdogan said: networkModule.py(line:209) SetSelectCharacterPhase system.py(line:130) __pack_import system.py(line:110) _process_result introSelect.py(line:30) <module> system.py(line:130) __pack_import system.py(line:110) _process_result interfaceModule.py(line:12) <module> system.py(line:130) __pack_import system.py(line:110) _process_result uiInventory.py(line:23) <module> system.py(line:130) __pack_import system.py(line:110) _process_result interfacemodule.py(line:30) <module> system.py(line:130) __pack_import networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:unexpected indent (uiMiniMap.py, line 458) ??? Check your tabs at 458 line at uiminimap Link to comment Share on other sites More sharing options...
Viello 54 Posted February 4, 2023 Share Posted February 4, 2023 some lib files are missing Link to comment Share on other sites More sharing options...
Recommended Posts