[Python+Lua]Rad des Schicksals

06/25/2015 15:04 .Kibito#16
sheesh der boy ist einfach das wheel am droppen
06/25/2015 16:10 iYoshix3#17
Quote:
Originally Posted by .Callous View Post
Hab nur diesen Fehler hier:


Komme nicht weiter als Ladebalken.
Poste doch einmal bitte den ganzen Inhalt deiner syserr.txt

Quote:
Originally Posted by naosou View Post
Do we need to add something to mysql?
No, the items are in an array in the spin.lua questfile.

Mfg,
Yoshix3
06/25/2015 16:58 [iControL]#18
top ^^
06/25/2015 17:24 naosou#19
So how can I use this?
06/25/2015 17:33 Forcetraeger#20
Wenn ich "drehen" will kommt immer: Das System wird noch geladen.

Syserr:
06/25/2015 17:55 naosou#21
Code:
0625 16:52:08999 ::   File "game.py", line 2017, in BINARY_ServerCommand_Run

0625 16:52:08999 ::   File "stringCommander.py", line 63, in Run

0625 16:52:08999 ::   File "stringCommander.py", line 31, in __call__

0625 16:52:09000 ::   File "stringCommander.py", line 20, in __call__

0625 16:52:09000 ::   File "game.py", line 2361, in SpinInfo

0625 16:52:09000 ::   File "game.py", line 2357, in SpinItem

0625 16:52:09000 :: AttributeError
0625 16:52:09000 :: : 
0625 16:52:09000 :: 'Interface' object has no attribute 'ItemSpin'
0625 16:52:09000 :: 

0625 16:52:09000 :: Unknown Server Command SpinInfo 7500#0#142 | SpinInfo
06/25/2015 18:47 iYoshix3#22
Quote:
Originally Posted by Forcetraeger View Post
Wenn ich "drehen" will kommt immer: Das System wird noch geladen.

Syserr:
Sieht aus als ob Ihr die Funktionen garnicht oder am Ende der interfacemodule.py eingetragen habt.
Die Funktionen müssen vor
Code:
if __name__ == "__main__":
eingetragen werden.

Quote:
Originally Posted by naosou View Post
Code:
0625 16:52:08999 ::   File "game.py", line 2017, in BINARY_ServerCommand_Run

0625 16:52:08999 ::   File "stringCommander.py", line 63, in Run

0625 16:52:08999 ::   File "stringCommander.py", line 31, in __call__

0625 16:52:09000 ::   File "stringCommander.py", line 20, in __call__

0625 16:52:09000 ::   File "game.py", line 2361, in SpinInfo

0625 16:52:09000 ::   File "game.py", line 2357, in SpinItem

0625 16:52:09000 :: AttributeError
0625 16:52:09000 :: : 
0625 16:52:09000 :: 'Interface' object has no attribute 'ItemSpin'
0625 16:52:09000 :: 

0625 16:52:09000 :: Unknown Server Command SpinInfo 7500#0#142 | SpinInfo

Looks like the functions aren't in the right lines.
Put the interfacemodule.py functions before this code:
Code:
if __name__ == "__main__":
Mfg,
Yoshix3
06/25/2015 18:52 DreamT™#23
Sehr schönes Release. Danke fürs teilen :)
06/25/2015 19:04 Chizuro#24
Sehr schönes Release, gute Idee und gut umgesetzt. Dankeschön ;)
06/25/2015 19:14 naosou#25
Code:
0625 18:13:45615 ::   File "game.py", line 2017, in BINARY_ServerCommand_Run

0625 18:13:45615 ::   File "stringCommander.py", line 63, in Run

0625 18:13:45615 ::   File "stringCommander.py", line 31, in __call__

0625 18:13:45616 ::   File "stringCommander.py", line 20, in __call__

0625 18:13:45616 ::   File "game.py", line 2362, in SpinInfo

0625 18:13:45616 ::   File "interfaceModule.py", line 1474, in SetCost

0625 18:13:45616 ::   File "uiWheel.py", line 134, in SetCost

0625 18:13:45617 :: AttributeError
0625 18:13:45617 :: : 
0625 18:13:45617 :: 'module' object has no attribute 'NumberToMoneyString'
0625 18:13:45617 :: 

0625 18:13:45617 :: Unknown Server Command SpinInfo 7500#0#142 | SpinInfo
06/25/2015 19:45 iYoshix3#26
Quote:
Originally Posted by naosou View Post
Code:
0625 18:13:45615 ::   File "game.py", line 2017, in BINARY_ServerCommand_Run

0625 18:13:45615 ::   File "stringCommander.py", line 63, in Run

0625 18:13:45615 ::   File "stringCommander.py", line 31, in __call__

0625 18:13:45616 ::   File "stringCommander.py", line 20, in __call__

0625 18:13:45616 ::   File "game.py", line 2362, in SpinInfo

0625 18:13:45616 ::   File "interfaceModule.py", line 1474, in SetCost

0625 18:13:45616 ::   File "uiWheel.py", line 134, in SetCost

0625 18:13:45617 :: AttributeError
0625 18:13:45617 :: : 
0625 18:13:45617 :: 'module' object has no attribute 'NumberToMoneyString'
0625 18:13:45617 :: 

0625 18:13:45617 :: Unknown Server Command SpinInfo 7500#0#142 | SpinInfo
For 2014 Client you have to change locale to localeInfo in uiwheel.py.
06/25/2015 19:53 naosou#27
Quote:
Originally Posted by iYoshix3 View Post
For 2014 Client you have to change locale to localeInfo in uiwheel.py.
You're right I forgot that.
One last question, how can I use/open this?
06/25/2015 21:03 iYoshix3#28
Quote:
Originally Posted by naosou View Post
You're right I forgot that.
One last question, how can I use/open this?
With the self.OnOpenWheel() function.
06/25/2015 22:01 Radiatos#29
Hallo zusammen,

ich bekomm nur diese Fehlermeldung:

Code:
0625 21:49:24917 :: Traceback (most recent call last):

0625 21:49:24917 ::   File "networkModule.py", line 247, in SetGamePhase

0625 21:49:24918 ::   File "game.py", line 123, in __init__

0625 21:49:24918 ::   File "interfaceModule.py", line 296, in MakeInterface

0625 21:49:24918 :: AttributeError
0625 21:49:24918 :: : 
0625 21:49:24918 :: 'Interface' object has no attribute 'tooltipItem'
0625 21:49:24918 ::
kann wer helfen?
06/25/2015 22:54 iYoshix3#30
Quote:
Originally Posted by Radiatos View Post
Hallo zusammen,

ich bekomm nur diese Fehlermeldung:

Code:
0625 21:49:24917 :: Traceback (most recent call last):

0625 21:49:24917 ::   File "networkModule.py", line 247, in SetGamePhase

0625 21:49:24918 ::   File "game.py", line 123, in __init__

0625 21:49:24918 ::   File "interfaceModule.py", line 296, in MakeInterface

0625 21:49:24918 :: AttributeError
0625 21:49:24918 :: : 
0625 21:49:24918 :: 'Interface' object has no attribute 'tooltipItem'
0625 21:49:24918 ::
kann wer helfen?
Wo bei der Beschreibung #vorhanden steht, müsst ihr nach der Funktion suchen und nur die eine zeile (in diesem Beispiel von dir)
Code:
self.uiWheel.SetItemToolTip(self.tooltipItem)
hinzufügen.

Mfg,
Yoshix3