Jump to content
metin2dev

Search the Community

Showing results for tags 'app'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community
    • Announcements
    • Feedback
  • Metin2
    • General
    • Questions and Answers
    • Guides & HowTo
    • Design
    • Private Servers
    • Services
    • Videos
  • Releases
    • General
    • Tools
    • Programming / Scripts
    • Quests
    • Binaries & Clients/Serverfiles
    • 3D Models
    • 2D Graphics
    • Operating Systems
  • Safe Zone
    • Offtopic
    • Games Talk
    • Music/Videos/Art

Categories

There are no results to display.

There are no results to display.


Found 1 result

  1. 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()
×