1.Ich fügt sämtliche Sachen ein, die ihr im Anhang findet
2.Am besten alles an den Quests so lassen
3.Öffnet die game.py sucht nach
PHP Code:
def __ServerCommand_Build(self):
Schreib danach folgendes:
PHP Code:
"costume_icon" : self.CostumeMain,
"costume_hair" : self.CostumeHair,
4.Geht ans Ende der Game.py und schreibt folgendes dahin
PHP Code:
def CostumeMain(self, vnum):
if constInfo.COSTUME_SYSTEM_MAIN:
if constInfo.COSTUME_SYSTEM_MAIN_ICON == "icon/item/" + str(vnum) + ".tga":
constInfo.COSTUME_SYSTEM_MAIN = 0
constInfo.COSTUME_SYSTEM_MAIN_ICON = ""
constInfo.COSTUME_VNUM = 0
else:
constInfo.COSTUME_SYSTEM_MAIN_ICON = "icon/item/" + str(vnum) + ".tga"
constInfo.COSTUME_VNUM = vnum
return
else:
constInfo.COSTUME_SYSTEM_MAIN = 1
constInfo.COSTUME_SYSTEM_MAIN_ICON = "icon/item/" + str(vnum) + ".tga"
constInfo.COSTUME_VNUM = vnum
def CostumeHair(self, vnum):
if constInfo.COSTUME_SYSTEM_HAIR:
if constInfo.COSTUME_SYSTEM_HAIR_ICON == "icon/item/" + str(vnum) + ".tga":
constInfo.COSTUME_SYSTEM_HAIR = 0
constInfo.COSTUME_SYSTEM_HAIR_ICON = ""
constInfo.COSTUME_VNUM_HAIR = 0
else:
constInfo.COSTUME_SYSTEM_HAIR_ICON = "icon/item/" + str(vnum) + ".tga"
constInfo.COSTUME_VNUM_HAIR = vnum
return
else:
constInfo.COSTUME_SYSTEM_HAIR = 1
constInfo.COSTUME_SYSTEM_HAIR_ICON = "icon/item/" + str(vnum) + ".tga"
constInfo.COSTUME_VNUM_HAIR = vnum
5. Öffnet die constInfo.py und schreib folgendes rein
PHP Code:
Costume_Index = 0
Costume_hair_Index = 0
COSTUME_VNUM = 0
COSTUME_VNUM_HAIR = 0
COSTUME_SYSTEM_MAIN = 0
COSTUME_SYSTEM_HAIR = 0
COSTUME_SYSTEM_MAIN_ICON = ""
COSTUME_SYSTEM_HAIR_ICON = ""
6. Öffnet die interfacemodule.py und sucht nacht
PHP Code:
def BINARY_RecvQuest(self, index, name, iconType, iconName):
schreibt darunter
PHP Code:
if name == "costume_lite":
import constInfo
constInfo.Costume_Index = index
return
if name == "costume_lite_hair":
import constInfo
constInfo.Costume_hair_Index = index
return
7.Such in der Game.py nach
PHP Code:
def Close(self):
Schreibt dadrunter
PHP Code:
constInfo.COSTUME_SYSTEM_MAIN = 0
constInfo.COSTUME_SYSTEM_HAIR = 0
constInfo.COSTUME_SYSTEM_MAIN_ICON = ""
constInfo.COSTUME_SYSTEM_HAIR_ICON = ""
constInfo.COSTUME_VNUM = 0
constInfo.COSTUME_VNUM_HAIR = 0