Link quality,day,month,year,Fps

10/10/2015 04:19 .Lyhn#1
Hi, Epvp

[Only registered and activated users can see links. Click Here To Register...]

Open uiminimap.py
Class:
Add: import os,re,threading,app,time
Code:
class MiniMap(ui.ScriptWindow):
Find:

Code:
def __init__(self):
Add:

Code:
		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

Code:
self.observerCount.SetText(localeInfo.MINIMAP_OBSERVER_COUNT % observerCount)
Add under:

Code:
	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:

Code:
def OnUpdate(self):
Add:

Code:
		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()
10/10/2015 12:43 rollback#2
Why do you import time and app with every frame?
10/10/2015 12:46 .Lyhn#3
Quote:
Originally Posted by Seחsi View Post
Why do you import time and app with every frame?
import os,re,threading,app,time
I did not understand.
10/10/2015 12:50 xP3NG3Rx#4
He does not understand what are you trying to ask Sensi :D
I+think+he+is+learning+python+right+now.
10/10/2015 15:04 Psikx#5
To change the name of the month and days of the week , for example, German ?
10/10/2015 17:30 Psikx#6
[ENG] To change the name of the month and days of the week , for example, German ?
[TUR] Nasıl Alman Örneğin haftanın tarihleri ​​, gün ve ay dilini değiştirmek için ?
[DEU] Wie , um die Sprache für Datum, Wochentag und Monat auf dem deutschen Beispiel zu ändern?
10/10/2015 21:41 Drαεth#7
You dont wrote that System....
The originial is on *********....<.<
10/10/2015 22:00 MQTT.#8
write in english or german, not in turkish ffs.
10/11/2015 16:34 Psikx#9
[ENG] To change the name of the month and days of the week , for example, German ?
[TUR] Nasıl Alman Örneğin haftanın tarihleri ​​, gün ve ay dilini değiştirmek için ?
[DEU] Wie , um die Sprache für Datum, Wochentag und Monat auf dem deutschen Beispiel zu ändern?
10/18/2015 17:46 Aze /..#10
PHP Code:
networkModule.SetSelectCharacterPhase exceptions.ImportError:No module named threading

1018 17
:45:05232 :: ============================================================================================================
1018 17:45:05232 :: Abort!!!! 
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

Der Import ist vorhanden, ka wieso er meckert.