brauche Hilfe beim einfügen von Drachenroulette.

How to:
PHP Code:
In Game.py oben
import uiRoulette
class GameWindow(ui.ScriptWindow): hier das rein
self.Roulette = uiRoulette.RouletteWindow()
if constInfo.ROULETTE_OPEN == 1:
self.Roulette.SetKugelPositions() klatch das iwo in def onupdate
"SendRouletteQID" : self.SetRouletteQID,
"SendKugelCount" : self.SetKugelCount,
Zu Server Commands
und am ende deiner game.py
def __OpenRouletteWindow(self):
self.Roulette.Show()
def SetRouletteQID(self, qid):
constInfo.ROULETTE_QID = int(qid)
def SetKugelCount(self, count):
constInfo.KUGEL_COUNT = int(count)
#Hab alles eingefügt, jedoch funktioniert die Funktion nicht...






