|
You last visited: Today at 23:29
Advertisement
[PYTHON]Color yang x'D
Discussion on [PYTHON]Color yang x'D within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
04/12/2015, 12:55
|
#16
|
elite*gold: 0
Join Date: Sep 2014
Posts: 37
Received Thanks: 12
|
vielen dank werde es verwenden
|
|
|
04/13/2015, 06:41
|
#17
|
elite*gold: 0
Join Date: May 2008
Posts: 390
Received Thanks: 168
|
bei mir ging dieser abschnitt nicht:
self.wndMoney.SetText( localeInfo.NumberToMoneyString(money))
syserror schrieb: global name 'localeInfo' is not defined
habe einfach
self.wndMoney.SetText( locale.NumberToMoneyString(money))
draus gemacht und funktionierte + doppelte abstände entfernt!
wer es brauchen sollte:
Code:
def RefreshStatus(self):
money = player.GetElk()
if money <= 100000000:
self.wndMoney.SetFontColor(1.0, 0.2, 0.2)
elif money >= 100000001 and money <= 1000000000:
self.wndMoney.SetFontColor(1.0, 0.6, 0.2)
elif money >= 1000000001 and money <= 1500000000:
self.wndMoney.SetFontColor(1.0, 1.0, 0.2)
elif money >= 1500000001:
self.wndMoney.SetFontColor(0.6, 1.0, 0.2)
self.wndMoney.SetText(locale.NumberToMoneyString(money))
|
|
|
04/13/2015, 09:03
|
#18
|
elite*gold: 50
Join Date: Mar 2013
Posts: 2,401
Received Thanks: 1,613
|
Quote:
Originally Posted by Syrael van G
bei mir ging dieser abschnitt nicht:
self.wndMoney.SetText( localeInfo.NumberToMoneyString(money))
syserror schrieb: global name 'localeInfo' is not defined
habe einfach
self.wndMoney.SetText( locale.NumberToMoneyString(money))
draus gemacht und funktionierte + doppelte abstände entfernt!
wer es brauchen sollte:
Code:
def RefreshStatus(self):
money = player.GetElk()
if money <= 100000000:
self.wndMoney.SetFontColor(1.0, 0.2, 0.2)
elif money >= 100000001 and money <= 1000000000:
self.wndMoney.SetFontColor(1.0, 0.6, 0.2)
elif money >= 1000000001 and money <= 1500000000:
self.wndMoney.SetFontColor(1.0, 1.0, 0.2)
elif money >= 1500000001:
self.wndMoney.SetFontColor(0.6, 1.0, 0.2)
self.wndMoney.SetText(locale.NumberToMoneyString(money))
|
localeInfo ist einfach in den neueren Clientbins vorhanden. Wer noch 34k (glaube ich) oder 2089 nutzt braucht locale
|
|
|
04/13/2015, 11:37
|
#19
|
elite*gold: 0
Join Date: Nov 2014
Posts: 260
Received Thanks: 163
|
klein aber fein , dankili <3
|
|
|
04/14/2015, 13:01
|
#20
|
elite*gold: 0
Join Date: Mar 2015
Posts: 119
Received Thanks: 29
|
Client crasht nach login.
0414 13:00:05216 :: Traceback (most recent call last):
0414 13:00:05216 :: File "ui.py", line 618, in OnSetFocus
0414 13:00:05216 :: AttributeError
0414 13:00:05216 :: :
0414 13:00:05216 :: 'module' object has no attribute 'EnableCaptureInput'
0414 13:00:05216 ::
0414 13:00:06073 :: Traceback (most recent call last):
0414 13:00:06073 :: File "ui.py", line 629, in OnKillFocus
0414 13:00:06073 :: AttributeError
0414 13:00:06073 :: :
0414 13:00:06073 :: 'module' object has no attribute 'DisableIME'
0414 13:00:06073 ::
0414 13:00:06074 :: Traceback (most recent call last):
0414 13:00:06074 :: File "ui.py", line 618, in OnSetFocus
0414 13:00:06074 :: AttributeError
0414 13:00:06074 :: :
0414 13:00:06074 :: 'module' object has no attribute 'EnableCaptureInput'
0414 13:00:06074 ::
0414 13:00:07129 :: Traceback (most recent call last):
0414 13:00:07129 :: File "ui.py", line 629, in OnKillFocus
0414 13:00:07129 :: AttributeError
0414 13:00:07129 :: :
0414 13:00:07129 :: 'module' object has no attribute 'DisableIME'
0414 13:00:07129 ::
0414 13:00:07739 :: Traceback (most recent call last):
0414 13:00:07739 :: File "ui.py", line 618, in OnSetFocus
0414 13:00:07739 :: AttributeError
0414 13:00:07739 :: :
0414 13:00:07739 :: 'module' object has no attribute 'EnableCaptureInput'
0414 13:00:07739 ::
0414 13:00:07740 :: Traceback (most recent call last):
0414 13:00:07740 :: File "ui.py", line 629, in OnKillFocus
0414 13:00:07740 :: AttributeError
0414 13:00:07740 :: :
0414 13:00:07740 :: 'module' object has no attribute 'DisableIME'
0414 13:00:07740 ::
0414 13:00:07740 :: Traceback (most recent call last):
0414 13:00:07740 :: File "ui.py", line 618, in OnSetFocus
0414 13:00:07740 :: AttributeError
0414 13:00:07740 :: :
0414 13:00:07740 :: 'module' object has no attribute 'EnableCaptureInput'
0414 13:00:07740 ::
0414 13:00:07740 :: Traceback (most recent call last):
0414 13:00:07740 :: File "ui.py", line 629, in OnKillFocus
0414 13:00:07740 :: AttributeError
0414 13:00:07740 :: :
0414 13:00:07740 :: 'module' object has no attribute 'DisableIME'
0414 13:00:07740 ::
0414 13:00:07904 :: Traceback (most recent call last):
0414 13:00:07904 :: File "ui.py", line 618, in OnSetFocus
0414 13:00:07904 :: AttributeError
0414 13:00:07904 :: :
0414 13:00:07904 :: 'module' object has no attribute 'EnableCaptureInput'
0414 13:00:07904 ::
0414 13:00:07904 :: Traceback (most recent call last):
0414 13:00:07904 :: File "ui.py", line 629, in OnKillFocus
0414 13:00:07904 :: AttributeError
0414 13:00:07904 :: :
0414 13:00:07904 :: 'module' object has no attribute 'DisableIME'
0414 13:00:07904 ::
0414 13:00:08590 ::
networkModule.py(line:194) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:28) ?
system.py(line:130) __pack_import
system.py(line:110) _process_result
interfaceModule.py(line:14) ?
system.py(line:130) __pack_import
networkModule.SetSelectCharacterPhase - exceptions.IndentationError:unindent does not match any outer indentation level (line 284)
0414 13:00:08590 :: ================================================== ================================================== ========
0414 13:00:08590 :: Abort!!!!
Danke im Vorraus.
Greets.
|
|
|
04/14/2015, 13:18
|
#21
|
elite*gold: 50
Join Date: Mar 2013
Posts: 2,401
Received Thanks: 1,613
|
Quote:
Originally Posted by MilkingCow
Client crasht nach login.
0414 13:00:05216 :: Traceback (most recent call last):
0414 13:00:05216 :: File "ui.py", line 618, in OnSetFocus
0414 13:00:05216 :: AttributeError
0414 13:00:05216 :: :
0414 13:00:05216 :: 'module' object has no attribute 'EnableCaptureInput'
0414 13:00:05216 ::
0414 13:00:06073 :: Traceback (most recent call last):
0414 13:00:06073 :: File "ui.py", line 629, in OnKillFocus
0414 13:00:06073 :: AttributeError
0414 13:00:06073 :: :
0414 13:00:06073 :: 'module' object has no attribute 'DisableIME'
0414 13:00:06073 ::
0414 13:00:06074 :: Traceback (most recent call last):
0414 13:00:06074 :: File "ui.py", line 618, in OnSetFocus
0414 13:00:06074 :: AttributeError
0414 13:00:06074 :: :
0414 13:00:06074 :: 'module' object has no attribute 'EnableCaptureInput'
0414 13:00:06074 ::
0414 13:00:07129 :: Traceback (most recent call last):
0414 13:00:07129 :: File "ui.py", line 629, in OnKillFocus
0414 13:00:07129 :: AttributeError
0414 13:00:07129 :: :
0414 13:00:07129 :: 'module' object has no attribute 'DisableIME'
0414 13:00:07129 ::
0414 13:00:07739 :: Traceback (most recent call last):
0414 13:00:07739 :: File "ui.py", line 618, in OnSetFocus
0414 13:00:07739 :: AttributeError
0414 13:00:07739 :: :
0414 13:00:07739 :: 'module' object has no attribute 'EnableCaptureInput'
0414 13:00:07739 ::
0414 13:00:07740 :: Traceback (most recent call last):
0414 13:00:07740 :: File "ui.py", line 629, in OnKillFocus
0414 13:00:07740 :: AttributeError
0414 13:00:07740 :: :
0414 13:00:07740 :: 'module' object has no attribute 'DisableIME'
0414 13:00:07740 ::
0414 13:00:07740 :: Traceback (most recent call last):
0414 13:00:07740 :: File "ui.py", line 618, in OnSetFocus
0414 13:00:07740 :: AttributeError
0414 13:00:07740 :: :
0414 13:00:07740 :: 'module' object has no attribute 'EnableCaptureInput'
0414 13:00:07740 ::
0414 13:00:07740 :: Traceback (most recent call last):
0414 13:00:07740 :: File "ui.py", line 629, in OnKillFocus
0414 13:00:07740 :: AttributeError
0414 13:00:07740 :: :
0414 13:00:07740 :: 'module' object has no attribute 'DisableIME'
0414 13:00:07740 ::
0414 13:00:07904 :: Traceback (most recent call last):
0414 13:00:07904 :: File "ui.py", line 618, in OnSetFocus
0414 13:00:07904 :: AttributeError
0414 13:00:07904 :: :
0414 13:00:07904 :: 'module' object has no attribute 'EnableCaptureInput'
0414 13:00:07904 ::
0414 13:00:07904 :: Traceback (most recent call last):
0414 13:00:07904 :: File "ui.py", line 629, in OnKillFocus
0414 13:00:07904 :: AttributeError
0414 13:00:07904 :: :
0414 13:00:07904 :: 'module' object has no attribute 'DisableIME'
0414 13:00:07904 ::
0414 13:00:08590 ::
networkModule.py(line:194) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:28) ?
system.py(line:130) __pack_import
system.py(line:110) _process_result
interfaceModule.py(line:14) ?
system.py(line:130) __pack_import
networkModule.SetSelectCharacterPhase - exceptions.IndentationError:unindent does not match any outer indentation level (line 284)
0414 13:00:08590 :: ================================================== ================================================== ========
0414 13:00:08590 :: Abort!!!!
Danke im Vorraus.
Greets.
|
Hast die Tabs irgendwo verschoben
Laut syserr hier: networkModule.SetSelectCharacterPhase()
|
|
|
04/14/2015, 13:22
|
#22
|
elite*gold: 0
Join Date: Mar 2015
Posts: 119
Received Thanks: 29
|
Quote:
Originally Posted by Lord Inya
Hast die Tabs irgendwo verschoben
Laut syserr hier: networkModule.SetSelectCharacterPhase()
|
Ne, habe gerade nochmal geschaut. Ist aber alles normal.
|
|
|
04/14/2015, 13:38
|
#23
|
elite*gold: 50
Join Date: Mar 2013
Posts: 2,401
Received Thanks: 1,613
|
Quote:
Originally Posted by MilkingCow
Ne, habe gerade nochmal geschaut. Ist aber alles normal.
|
Bitte die Datei in Pastebin und den link hier rein
|
|
|
 |
|
Similar Threads
|
[UNDETECTED]Tool Yang Infinitymetin (Python)
11/01/2014 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 19 Replies
I'm releasing this python that makes you earn many yang on InfinityMetin.
The code of the gui and controls are the old ones of Anihilat0r
I leave you with the download and the video.
Note:It will buy Weapons +0 and will upgrade them from +0 to +9 , then you gonna sell all the weapons +9 to npc and you just did 50kk!
Update
Submitted new features, which going by the merchant, you will swap all weapons +9 in one click.
Now you can up to the second page of the inventory.
|
[Showcase] Hearthstone Python Color Bot
08/02/2014 - Hearthstone - 11 Replies
Original thread link
I did not make this bot, nor made this post all credits go to ???
This is a Hearthstone color bot that takes screenshots of the game window and uses computer vision (sift and color masking) to find playable cards, use the character ability, and to attack with minions.
Download: https://mega.co.nz/#!7kYBzJ5A!-lhmxmHv9j23DO6iYjTX d-oNEwQqHKIGouGc-kdAHTg
How to use:
-Make custom decks that the bot can use and note their number in the list (1-9)
-Start Battle.net or...
|
[Fun-Release]Crazy Rainbow text color[python]
03/13/2013 - Metin2 PServer Guides & Strategies - 7 Replies
Hi, this is no great release is this for fun, maybe this is easy work, now i share this
Video:
Crazy rainbow color - YouTube
now, in any py file with contain visible text (ABC = ui.TextLine() , etc, etc)
search
def __Initialize(self):
ok, now below:
def __Initialize(self):
paste:
self.RainbowMode = 0
|
[Source] Move mouse to specific color on screen (color aimbot)
11/20/2012 - .NET Languages - 0 Replies
I was initially calling GetPixel in a loop to scan a screenshot for a specific RBG which caused a 2-3 delay before finding the color until I realized it's much faster to use LockBits and UnlockBits instead.
Anyway, here's my source for finding a specific RBG color on your screen and then automatically moving the mouse to that color which is good for browser shooting games and what not.
Compiled in vs2010.
Imports System.Drawing.Imaging
Imports System.Runtime.InteropServices
|
All times are GMT +1. The time now is 23:29.
|
|