Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 16:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Ping Anzeige Ingame ?

Discussion on Ping Anzeige Ingame ? within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1

 
elite*gold: 83
Join Date: Nov 2013
Posts: 2,891
Received Thanks: 2,764
Ping Anzeige Ingame ?

Könnte man eine Ping Anzeige (wie bei LoL) machen ? (ohne eine Sicherheitslücke auf zu machen)
rollback is offline  
Old 03/30/2014, 07:06   #2
 
ebert.tonna's Avatar
 
elite*gold: 50
Join Date: Nov 2009
Posts: 865
Received Thanks: 1,229
Ich glaube du solltest dich mal auf hochbegabt testen lassen.
Du hast echt tolle Ideen.
ebert.tonna is offline  
Old 03/30/2014, 07:48   #3
 
H.A.Z.E's Avatar
 
elite*gold: 11
Join Date: Sep 2012
Posts: 3,005
Received Thanks: 375
Quote:
Originally Posted by ebert.tonna View Post
Ich glaube du solltest dich mal auf hochbegabt testen lassen.
Du hast echt tolle Ideen.
Unterlass Spam wenn du nichts zu sagen hast.
Rein theoretisch ist es möglich aber Metin2 braucht so etwas einfach nicht, da der Internetverbrauch auch deutlich niedriger ist.
H.A.Z.E is offline  
Old 03/30/2014, 10:13   #4


 
MrTherzon's Avatar
 
elite*gold: 170
The Black Market: 179/0/1
Join Date: Dec 2012
Posts: 9,372
Received Thanks: 2,726
Ist eigentlich Möglich, vielleicht ich mal paar Freunde Fragen ob wir es nicht mal versuchen wollen.

MfG MrTherzon
MrTherzon is offline  
Old 03/30/2014, 10:13   #5
 
Poccix's Avatar
 
elite*gold: 44
Join Date: Dec 2009
Posts: 1,696
Received Thanks: 3,835
Code:
import subprocess
# execute the code and pipe the result to a string
test = "ping ***.***.***.***"
process = subprocess.Popen(test, shell=True, stdout=subprocess.PIPE)
# give it time to respond
process.wait()
# optional check (0 --> success)
print process.returncode  
# read the result to a string
result_str = process.stdout.read()
# test it ...
print result_str
Falls subprocess.py fehlt:

Versuch es mal so, ist aus einem Python Forum.
Habs nicht getestet, liege noch im Bett.
Gruß
Poccix is offline  
Thanks
3 Users
Old 03/30/2014, 13:04   #6
 
.Inya's Avatar
 
elite*gold: 50
Join Date: Mar 2013
Posts: 2,401
Received Thanks: 1,613
Quote:
Originally Posted by Lord Poccix View Post
Code:
import subprocess
# execute the code and pipe the result to a string
test = "ping ***.***.***.***"
process = subprocess.Popen(test, shell=True, stdout=subprocess.PIPE)
# give it time to respond
process.wait()
# optional check (0 --> success)
print process.returncode  
# read the result to a string
result_str = process.stdout.read()
# test it ...
print result_str
Falls subprocess.py fehlt:

Versuch es mal so, ist aus einem Python Forum.
Habs nicht getestet, liege noch im Bett.
Gruß
Soweit ich weiß würde process.wait() den Clienten kurz einfrieren lassen
.Inya is offline  
Thanks
1 User
Old 03/30/2014, 13:06   #7

 
elite*gold: 83
Join Date: Nov 2013
Posts: 2,891
Received Thanks: 2,764
Quote:
Originally Posted by H.A.Z.E View Post
Unterlass Spam wenn du nichts zu sagen hast.
Rein theoretisch ist es möglich aber Metin2 braucht so etwas einfach nicht, da der Internetverbrauch auch deutlich niedriger ist.
Wieso unnötig? Erstmal würde der Spieler wissen ob es sich z.B. lohnt zu Switchen (weil bei hohem Ping z.B. bei Serverangriffen alles überswitcht wird) und ausserdem könnte man neben der Ping anzeige evtl. in den Ingame-Switchbot einbauen dass die Switchzeit immer Ping + 100ms beträgt.
Quote:
Originally Posted by Lord Poccix View Post
Code:
import subprocess
# execute the code and pipe the result to a string
test = "ping xxx.xxx.xxx.xxx"
process = subprocess.Popen(test, shell=True, stdout=subprocess.PIPE)
# give it time to respond
process.wait()
# optional check (0 --> success)
print process.returncode  
# read the result to a string
result_str = process.stdout.read()
# test it ...
print result_str
Falls subprocess.py fehlt:

Versuch es mal so, ist aus einem Python Forum.
Habs nicht getestet, liege noch im Bett.
Gruß
Danke werde es testen
rollback is offline  
Reply


Similar Threads Similar Threads
Ingame Fenster bug bei Charackter anzeige
07/03/2012 - Metin2 Private Server - 4 Replies
ich halte es kurz und bündig ich hab dieses problem http://img163.imageshack.us/img163/825/0702155136. jpg Uploaded with ImageShack.us
Ingame TS3 Anzeige
05/25/2011 - World of Warcraft - 9 Replies
Huhu , ich weiß eig wär es eine Add-On frage aber da ich mir unsicher bin ob es überhaupt ein solches addon gibt , frage ich hier ! Ich suche ein Addon was anzeigt wer Gerade im TS redet usw... darf gern auch ein TS plugin sein
Ingame Dmg/Tp anzeige ect
05/24/2011 - Metin2 Private Server - 5 Replies
Hi, habe ein problem unzwar wenn man mops killt sieh man die tp wieviel schaden man anrichtet und ect ingame an welcher quest liegt das möchte diese gerne löschen
extremer ingame ping / unspielbar o.O
06/26/2010 - Diablo 2 - 120 Replies
moin mal ne frage - hab seit paar stunden ne ziemlich - sagen wir bescheidene verbindung zu den d2 servern weiss nich wie ich den ping messe aber z.b. beim teleportieren bringt mich so jeder siebte / achte cast ein paar centimeter nach vorn ping zu google / heise is normal (~60ms) bzw hab an firewall und router nix verändert jemand ne idee woran das liegen könnte / wie ich es beheben könnte?
Ingame ZP Anzeige immer Waiting
05/15/2010 - CrossFire - 11 Replies
Bei meiner ZP Anzeige ingame steht immer Waiting und kann mir so nichts kaufen, weiß wer tipps?



All times are GMT +2. The time now is 16:25.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.