Register for your free account! | Forgot your password?

You last visited: Today at 13:55

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

Advertisement



Python if abfrage

Discussion on Python if abfrage within the Metin2 Private Server forum part of the Metin2 category.

Closed Thread
 
Old   #1
 
.Chuck's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 3,353
Received Thanks: 4,535
Python if abfrage

Guten Morgen Elitepvpers.

Ich habe eine kleine Frage, zwar habe ich ein Problem mit meiner if abfrage.
Jedes Mal wenn ich die if abfrage einfüge, kommt folgender Fehler.

Hier die Abfrage:
PHP Code:
Md5Hash GetMD5('MSS32.DLL')
if(
Md5Hash == '764CDFE0393B980F0094316591837657'):
    
RunApp() 
else:
 
dbg.LogBox(Md5Hash
Hier der Fehler:


Ich hoffe ihr könnt mir helfen.
.Chuck is offline  
Old 11/06/2012, 07:48   #2
 
elite*gold: 200
Join Date: Oct 2012
Posts: 318
Received Thanks: 594
Hab ka von Python aber probiers mal so:
Quote:
Md5Hash = GetMD5('MSS32.DLL')
if Md5Hash == '764CDFE0393B980F0094316591837657':
RunApp()
else:
dbg.LogBox(Md5Hash)
Prσfizσckєr94 is offline  
Old 11/06/2012, 08:43   #3
 
.Chuck's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 3,353
Received Thanks: 4,535
Konnte nun das Problem durch beheben.

Wie Prσfizσckєr94 bereits erwähnt hat, liegt es daran dass man keine Klammern benutzen soll.

Sollte dann mit Tab's und allem so aussehen:

PHP Code:
Md5Hash GetMD5('MSS32.DLL')
if 
Md5Hash == '764CDFE0393B980F0094316591837657':
    
RunApp() 
else:
 
dbg.LogBox(Md5Hash 
Danke viel Mal's euch beiden da ihr mir geholfen habt.
.Chuck is offline  
Thanks
2 Users
Closed Thread


Similar Threads Similar Threads
[Python-Modul]EXP-Donator (kompatibel mit Python Loader)
11/23/2013 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 27 Replies
Moin, da man mich danach gefragt hat und ich sowieso mal ein Beispiel für die Benutzung meines Python Loaders veröffentlichen wollte, habe ich die Gelegenheit genutzt und euch eben einen EXP-Spendebot geschrieben. Man kann ihn einfach mit dem oben verlinkten Python Module Loader laden und ihn mit F5 aktivieren/deaktivieren. Sobald ihr mehr als 99 Erfahrungspunkte habt (man kann nur in 100er Schritten spenden), werden alle Erfahrungspunkte an eure Gilde gespendet. Wer Lust hat und...
Metin2 - Python - Wie Python Hacks verschlüsseln und Server überprüfen (GF/PServe)
09/23/2012 - Metin2 - 2 Replies
Ich wollte fragen, wie man Python Hacks am besten Verschlüsselt ? und wie man feststellen kann ob man auf einem GF / Pserver spielt. ?
Python + Eric Python IDE installieren ?!
07/05/2011 - General Coding - 0 Replies
hat sich erledigt.
Abfrage in dec?
12/02/2010 - General Coding - 7 Replies
Hallo Leute, ich habe mir hier schnell ein kleines Programm zum üben geschrieben und hab nun eine Frage. Der Code sieht so aus: /* Autor: ****** E-mail: ****** Datum: 28.11.2010 Programm: Check if letter is uppercase or not
If abfrage
12/29/2009 - AutoIt - 8 Replies
Hallo leute. Wollt ma fragen ob mir jemand sagen könnte wie ich abfragen kan ob in einer input box z.b steht xD und dan in der if abfrage so abfragen könnte wen dort xD steht das er z.b das script schliest weis das einer?



All times are GMT +1. The time now is 13:57.


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.