Register for your free account! | Forgot your password?

You last visited: Today at 09:37

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

Advertisement



Pythonfrage

Discussion on Pythonfrage within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
CoTzRaiZ-PaiNx's Avatar
 
elite*gold: 30
Join Date: Oct 2012
Posts: 1,388
Received Thanks: 243
Pythonfrage

Hi,
Es geht um den Ingame Eq viewer. Ich habe herausgefunden, dass er mit dem Chatbefehl /"view_equip" + str(self.vid) geöffnet wird. Was ist in dem Fall str und (self.vid) ?
CoTzRaiZ-PaiNx is offline  
Old 09/22/2013, 13:57   #2
 
Yiv's Avatar
 
elite*gold: 47
Join Date: Feb 2012
Posts: 2,282
Received Thanks: 2,579
str weiss ich nicht, aber self.vid sollte die ID des Players sein...

Bin mir nicht sicher, könnte aber sein.

MfG
Yiv is offline  
Old 09/22/2013, 14:00   #3
 
elite*gold: 5
Join Date: Mar 2013
Posts: 1,986
Received Thanks: 2,254
str(input) = Setzt den input in String ( str(1) == "1")

self.vid musst du schauen das wurde iwo definiert aber das sollte eine Abfrage der VID des markierten Players sein.
xGr33n is offline  
Old 09/22/2013, 14:23   #4
 
CoTzRaiZ-PaiNx's Avatar
 
elite*gold: 30
Join Date: Oct 2012
Posts: 1,388
Received Thanks: 243
Wenn ich in den Chat /view_equip ID eingebe passiert nichts.
CoTzRaiZ-PaiNx is offline  
Old 09/22/2013, 14:25   #5
 
elite*gold: 5
Join Date: Mar 2013
Posts: 1,986
Received Thanks: 2,254
Die Vid ist ja jedes mal anders.
xGr33n is offline  
Old 09/22/2013, 14:28   #6
 
CoTzRaiZ-PaiNx's Avatar
 
elite*gold: 30
Join Date: Oct 2012
Posts: 1,388
Received Thanks: 243
Ist Vid also nicht die PlayerId in der Db?
CoTzRaiZ-PaiNx is offline  
Reply


Similar Threads Similar Threads
[Pythonfrage]CharacterRenderer
09/23/2013 - Metin2 Private Server - 24 Replies
Hallo, mich würde mal interessieren ob, und wenn möglich, wie man den Character z.B. in ein erstelltes Board rendern kann. Ich habe mir die introselect.py (Charauswahl) etwas genauer angesehen und mir ist aufgefallen, das es dort über den Charakterslot läuft: race=net.GetAccountCharacterSlotDataInteger(se lf.slot, net.ACCOUNT_CHARACTER_SLOT_RACE) name=net.GetAccountCharacterSlotDataString(sel f.slot, net.ACCOUNT_CHARACTER_SLOT_NAME)...
[Pythonfrage]Vnum des markierten Monsters bekommen?
08/27/2013 - Metin2 Private Server - 9 Replies
Hi, ich bastel gerade etwas, aber ich weiß nicht wie ich die VNUM vom markierten Monster bekommen kann... Ist es möglich? Wenn ja wie? Wäre echt nett wenn mir das jemand erläutern könnte. :o Danke
Pythonfrage VID
04/26/2012 - Metin2 Private Server - 3 Replies
Wie bekomme ich per Python die VID der Person "Hallo". Es müsste über den Namen laufen eine andere Variante wäre player.GetTargetVID() , aber dies möchte ich nicht deshalb suche ich nach der Lösung per Name. lg



All times are GMT +1. The time now is 09:38.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.