Jump to content
×
×
  • Create New...
  • 0

Reich aus der Auswahl entfernen | Delete kingdom


Monkey Dungeon

Question

First : im english is rly bad.. sry

 

de:

Ja leute, da auf epvp keiner so nett ist und helfen möchte, hätte ich da mal ne Frage.

Wie entferne ich ein Reich, aus der Char auswahl?

Also wirklich nur aus der Auswahl.

Sprich sobald man ein Char erstellt, sollen nur 2 Reiche zur auswahl stehen!#

 

en :

i need help to delete a kingdom on the kingdom pick window xD

can some help me? i tried the how2 by .Lol, but it dosnt work :/8uDAe.jpg

 

so das man nur 2 reiche anklicken kann ._.

Link to comment
Share on other sites

19 answers to this question

Recommended Posts

  • 0
introempire.py
 
a/1 - shinsoo
b/2 - chunjoo
c/3 - jinno
 
 
net.EMPIRE_A : uiScriptLocale.EMPIREDESC_A,
 
self.empireAreaCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }
 
self.empireArea[net.EMPIRE_A]    = GetObject("EmpireArea_A")
 
 
 
def ClickLeftButton(self):
self.empireID-=1
if self.empireID<1:
self.empireID=3 ### 2 
 
self.OnSelectEmpire(self.empireID)
 
def ClickRightButton(self):
self.empireID+=1
if self.empireID>3: ### 2
self.empireID=1
 
self.empireID=app.GetRandom(1, 3) # 3 change for 2
 
uiscript/selectempirewindow.py
 
"name" : "EmpireFlag_B",
 
delete all line as the reich you want to delete
 
  • Love 1
Link to comment
Share on other sites

  • 0

Paste your introEmpire.py

its the orginal, not changed

import ui

import net

import wndMgr

import dbg

import app

import event

import _weakref

import locale

import uiScriptLocale

LOCALE_PATH = "uiscript/"+uiScriptLocale.CODEPAGE+"_"

class SelectEmpireWindow(ui.ScriptWindow):

    EMPIRE_DESCRIPTION_TEXT_FILE_NAME = {    

        net.EMPIRE_A : uiScriptLocale.EMPIREDESC_A,

        net.EMPIRE_B : uiScriptLocale.EMPIREDESC_B,

        net.EMPIRE_C : uiScriptLocale.EMPIREDESC_C, }

    class EmpireButton(ui.Window):

        def __init__(self, owner, arg):

            ui.Window.__init__(self)

            self.owner = owner

            self.arg = arg

        def OnMouseOverIn(self):

            self.owner.OnOverInEmpire(self.arg)

        def OnMouseOverOut(self):

            self.owner.OnOverOutEmpire(self.arg)

        def OnMouseLeftButtonDown(self):

            if self.owner.empireID != self.arg:

                self.owner.OnSelectEmpire(self.arg)

    class DescriptionBox(ui.Window):

        def __init__(self):

            ui.Window.__init__(self)

            self.descIndex = 0

        def __del__(self):

            ui.Window.__del__(self)

        def SetIndex(self, index):

            self.descIndex = index

        def OnRender(self):

            event.RenderEventSet(self.descIndex)

    def __init__(self, stream):

        print "NEW EMPIRE WINDOW  ----------------------------------------------------------------------------"

        ui.ScriptWindow.__init__(self)

        net.SetPhaseWindow(net.PHASE_WINDOW_EMPIRE, self)

        self.stream=stream

        self.empireID=app.GetRandom(1, 3)

        self.descIndex=0

        self.empireArea = {}

        self.empireAreaFlag = {}

        self.empireFlag = {}

        self.empireAreaButton = {}

        self.empireAreaCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }

        self.empireAreaDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }

        self.empireAreaFlagCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }

        self.empireAreaFlagDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }

        self.empireFlagCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }

        self.empireFlagDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }

    def __del__(self):

        ui.ScriptWindow.__del__(self)

        net.SetPhaseWindow(net.PHASE_WINDOW_EMPIRE, 0)

        print "---------------------------------------------------------------------------- DELETE EMPIRE WINDOW"

    def Close(self):

        print "---------------------------------------------------------------------------- CLOSE EMPIRE WINDOW"        

        self.ClearDictionary()

        self.leftButton = None

        self.rightButton = None

        self.selectButton = None

        self.exitButton = None

        self.textBoard = None

        self.descriptionBox = None

        self.empireArea = None

        self.empireAreaButton = None

        self.KillFocus()

        self.Hide()

        app.HideCursor()

        event.Destroy()

    def Open(self):

        print "OPEN EMPIRE WINDOW ----------------------------------------------------------------------------"

        self.SetSize(wndMgr.GetScreenWidth(), wndMgr.GetScreenHeight())

        self.SetWindowName("SelectEmpireWindow")

        self.Show()    

        if not self.__LoadScript(uiScriptLocale.LOCALE_UISCRIPT_PATH + "SelectEmpireWindow.py"):

            dbg.TraceError("SelectEmpireWindow.Open - __LoadScript Error")

            return

        self.OnSelectEmpire(self.empireID)

        self.__CreateButtons()

        self.__CreateDescriptionBox()

        app.ShowCursor()

    def __CreateButtons(self):

        for key, img in self.empireArea.items():

            img.SetAlpha(0.0)

            (x, y) = img.GetGlobalPosition()

            btn = self.EmpireButton(_weakref.proxy(self), key)

            btn.SetParent(self)

            btn.SetPosition(x, y)

            btn.SetSize(img.GetWidth(), img.GetHeight())

            btn.Show()

            self.empireAreaButton[key] = btn

    def __CreateDescriptionBox(self):

        self.descriptionBox = self.DescriptionBox()

        self.descriptionBox.Show()

    def OnOverInEmpire(self, arg):

        self.empireAreaDestAlpha[arg] = 1.0

    def OnOverOutEmpire(self, arg):

        if arg != self.empireID:

            self.empireAreaDestAlpha[arg] = 0.0

    def OnSelectEmpire(self, arg):

        for key in self.empireArea.keys():

            self.empireAreaDestAlpha[key] = 0.0

            self.empireAreaFlagDestAlpha[key] = 0.0

            self.empireFlagDestAlpha[key] = 0.0

        self.empireAreaDestAlpha[arg] = 1.0

        self.empireAreaFlagDestAlpha[arg] = 1.0

        self.empireFlagDestAlpha[arg] = 1.0

        self.empireID = arg

        

        event.ClearEventSet(self.descIndex)

        if self.EMPIRE_DESCRIPTION_TEXT_FILE_NAME.has_key(arg):

            self.descIndex = event.RegisterEventSet(self.EMPIRE_DESCRIPTION_TEXT_FILE_NAME[arg])

            if locale.IsARABIC():

                event.SetEventSetWidth(self.descIndex, 170)

            else:

                event.SetRestrictedCount(self.descIndex, 35)

    def PrevDescriptionPage(self):

        if TRUE == event.IsWait(self.descIndex):

            if event.GetVisibleStartLine(self.descIndex)-5 >= 0:

                event.SetVisibleStartLine(self.descIndex, event.GetVisibleStartLine(self.descIndex)-5)

                event.Skip(self.descIndex)

        else:

            event.Skip(self.descIndex)

    def NextDescriptionPage(self):

        if TRUE == event.IsWait(self.descIndex):

            event.SetVisibleStartLine(self.descIndex, event.GetVisibleStartLine(self.descIndex)+5)

            event.Skip(self.descIndex)

        else:

            event.Skip(self.descIndex)

    def __LoadScript(self, fileName):

        try:

            pyScrLoader = ui.PythonScriptLoader()

            pyScrLoader.LoadScriptFile(self, fileName)    

        except:

            import exception

            exception.Abort("SelectEmpireWindow.__LoadScript.LoadObject")

        try:

            GetObject=self.GetChild

            self.leftButton        = GetObject("left_button")

            self.rightButton    = GetObject("right_button")

            self.selectButton    = GetObject("select_button")

            self.exitButton        = GetObject("exit_button")

            self.textBoard        = GetObject("text_board")

            self.empireArea[net.EMPIRE_A]    = GetObject("EmpireArea_A")

            self.empireArea[net.EMPIRE_B]    = GetObject("EmpireArea_B")

            self.empireArea[net.EMPIRE_C]    = GetObject("EmpireArea_C")

            self.empireAreaFlag[net.EMPIRE_A]    = GetObject("EmpireAreaFlag_A")

            self.empireAreaFlag[net.EMPIRE_B]    = GetObject("EmpireAreaFlag_B")

            self.empireAreaFlag[net.EMPIRE_C]    = GetObject("EmpireAreaFlag_C")

            self.empireFlag[net.EMPIRE_A]    = GetObject("EmpireFlag_A")

            self.empireFlag[net.EMPIRE_B]    = GetObject("EmpireFlag_B")

            self.empireFlag[net.EMPIRE_C]    = GetObject("EmpireFlag_C")

            GetObject("prev_text_button").SetEvent(ui.__mem_func__(self.PrevDescriptionPage))

            GetObject("next_text_button").SetEvent(ui.__mem_func__(self.NextDescriptionPage))

        except:

            import exception

            exception.Abort("SelectEmpireWindow.__LoadScript.BindObject")                    

        self.selectButton.SetEvent(ui.__mem_func__(self.ClickSelectButton))

        self.exitButton.SetEvent(ui.__mem_func__(self.ClickExitButton))

        self.leftButton.SetEvent(ui.__mem_func__(self.ClickLeftButton))

        self.rightButton.SetEvent(ui.__mem_func__(self.ClickRightButton))

        for flag in self.empireAreaFlag.values():

            flag.SetAlpha(0.0)

        for flag in self.empireFlag.values():

            flag.SetAlpha(0.0)

        return 1

    def ClickLeftButton(self):

        self.empireID-=1

        if self.empireID<1:

            self.empireID=3

        self.OnSelectEmpire(self.empireID)

    def ClickRightButton(self):

        self.empireID+=1

        if self.empireID>3:

            self.empireID=1

        self.OnSelectEmpire(self.empireID)

    def ClickSelectButton(self):

        net.SendSelectEmpirePacket(self.empireID)

        self.stream.SetSelectCharacterPhase()

    def ClickExitButton(self):

        self.stream.SetLoginPhase()

    def OnUpdate(self):

        (xposEventSet, yposEventSet) = self.textBoard.GetGlobalPosition()

        event.UpdateEventSet(self.descIndex, xposEventSet+7, -(yposEventSet+7))

        self.descriptionBox.SetIndex(self.descIndex)

        self.__UpdateAlpha(self.empireArea, self.empireAreaCurAlpha, self.empireAreaDestAlpha)

        self.__UpdateAlpha(self.empireAreaFlag, self.empireAreaFlagCurAlpha, self.empireAreaFlagDestAlpha)

        self.__UpdateAlpha(self.empireFlag, self.empireFlagCurAlpha, self.empireFlagDestAlpha)

    def __UpdateAlpha(self, dict, curAlphaDict, destAlphaDict):

        for key, img in dict.items():

            curAlpha = curAlphaDict[key]

            destAlpha = destAlphaDict[key]

            if abs(destAlpha - curAlpha) / 10 > 0.0001:

                curAlpha += (destAlpha - curAlpha) / 7

            else:

                curAlpha = destAlpha

            curAlphaDict[key] = curAlpha

            img.SetAlpha(curAlpha)

    def OnPressEscapeKey(self):

        self.ClickExitButton()

        return TRUE

class ReselectEmpireWindow(SelectEmpireWindow):

    def ClickSelectButton(self):

        net.SendSelectEmpirePacket(self.empireID)

        self.stream.SetCreateCharacterPhase()

    def ClickExitButton(self):

        self.stream.SetSelectCharacterPhase()

 

You will need to make changes to the game binary and server binary, or else anyone can use their own client and create a character to the blocked kingdom

 

u mean, change the pong ?

Link to comment
Share on other sites

  • 0
  • Premium

Which kingdom do you want deleted? I will edit your introEmpire

 

Yes someone who uses another client can still choose the deleted kingdom but I don't see that as a real problem.

  • Love 1

 

 

Link to comment
Share on other sites

  • 0

Which kingdom do you want deleted? I will edit your introEmpire

 

Yes someone who uses another client can still choose the deleted kingdom but I don't see that as a real problem.

 

Hmm, yes and as a serverside fix a simple quest can prevent anyone to login who from the yellow empire ;)

  • Love 2
Link to comment
Share on other sites

  • 0

 

introempire.py
 
a/1 - shinsoo
b/2 - chunjoo
c/3 - jinno
 
 
net.EMPIRE_A : uiScriptLocale.EMPIREDESC_A,
 
self.empireAreaCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }
 
self.empireArea[net.EMPIRE_A]    = GetObject("EmpireArea_A")
 
 
 
def ClickLeftButton(self):
self.empireID-=1
if self.empireID<1:
self.empireID=3 ### 2 
 
self.OnSelectEmpire(self.empireID)
 
def ClickRightButton(self):
self.empireID+=1
if self.empireID>3: ### 2
self.empireID=1
 
self.empireID=app.GetRandom(1, 3) # 3 change for 2
 
uiscript/selectempirewindow.py
 
"name" : "EmpireFlag_B",
 
delete all line as the reich you want to delete

 

 

I have make this, but i can click on the yellow kindom always(its only not to see, that i picked the yellow one)

 

i can click on the Red one :

8yMu6.jpg

 

if i click on the blue :

8yMws.jpg

no flag and the blue kindom is not like the red

 

and yellow :

8yMAm.jpg

cant click it, but i can create a char on this kindom :

8yMCW.jpg

 

:// help D:

 

@ Shogun : Want to delete the Yellow kindom

 

Link to comment
Share on other sites

  • 0

Testi it this:

import ui
import net
import wndMgr
import dbg
import app
import event
import _weakref
import locale
import uiScriptLocale

LOCALE_PATH = "uiscript/"+uiScriptLocale.CODEPAGE+"_"

class SelectEmpireWindow(ui.ScriptWindow):

    EMPIRE_DESCRIPTION_TEXT_FILE_NAME = {    
        net.EMPIRE_A : uiScriptLocale.EMPIREDESC_A,
        net.EMPIRE_B : uiScriptLocale.EMPIREDESC_B,
        net.EMPIRE_C : uiScriptLocale.EMPIREDESC_C, }

    class EmpireButton(ui.Window):
        def __init__(self, owner, arg):
            ui.Window.__init__(self)
            self.owner = owner
            self.arg = arg
        def OnMouseOverIn(self):
            self.owner.OnOverInEmpire(self.arg)
        def OnMouseOverOut(self):
            self.owner.OnOverOutEmpire(self.arg)
        def OnMouseLeftButtonDown(self):
            if self.owner.empireID != self.arg:
                self.owner.OnSelectEmpire(self.arg)

    class DescriptionBox(ui.Window):
        def __init__(self):
            ui.Window.__init__(self)
            self.descIndex = 0
        def __del__(self):
            ui.Window.__del__(self)
        def SetIndex(self, index):
            self.descIndex = index
        def OnRender(self):
            event.RenderEventSet(self.descIndex)

    def __init__(self, stream):
        print "NEW EMPIRE WINDOW  ----------------------------------------------------------------------------"
        ui.ScriptWindow.__init__(self)
        net.SetPhaseWindow(net.PHASE_WINDOW_EMPIRE, self)

        self.stream=stream
        self.empireID=app.GetRandom(1, 3)
        self.descIndex=0
        self.empireArea = {}
        self.empireAreaFlag = {}
        self.empireFlag = {}
        self.empireAreaButton = {}
        self.empireAreaCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }
        self.empireAreaDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }
        self.empireAreaFlagCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }
        self.empireAreaFlagDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }
        self.empireFlagCurAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }
        self.empireFlagDestAlpha = { net.EMPIRE_A:0.0, net.EMPIRE_B:0.0, net.EMPIRE_C:0.0 }

    def __del__(self):
        ui.ScriptWindow.__del__(self)
        net.SetPhaseWindow(net.PHASE_WINDOW_EMPIRE, 0)
        print "---------------------------------------------------------------------------- DELETE EMPIRE WINDOW"

    def Close(self):
        print "---------------------------------------------------------------------------- CLOSE EMPIRE WINDOW"        

        self.ClearDictionary()
        self.leftButton = None
        self.rightButton = None
        self.selectButton = None
        self.exitButton = None
        self.textBoard = None
        self.descriptionBox = None
        self.empireArea = None
        self.empireAreaButton = None

        self.KillFocus()
        self.Hide()

        app.HideCursor()
        event.Destroy()

    def Open(self):
        print "OPEN EMPIRE WINDOW ----------------------------------------------------------------------------"

        self.SetSize(wndMgr.GetScreenWidth(), wndMgr.GetScreenHeight())
        self.SetWindowName("SelectEmpireWindow")
        self.Show()    

        if not self.__LoadScript(uiScriptLocale.LOCALE_UISCRIPT_PATH + "SelectEmpireWindow.py"):
            dbg.TraceError("SelectEmpireWindow.Open - __LoadScript Error")
            return

        self.OnSelectEmpire(self.empireID)
        self.__CreateButtons()
        self.__CreateDescriptionBox()
        app.ShowCursor()

    def __CreateButtons(self):
        for key, img in self.empireArea.items():

            img.SetAlpha(0.0)

            (x, y) = img.GetGlobalPosition()
            btn = self.EmpireButton(_weakref.proxy(self), key)
            btn.SetParent(self)
            btn.SetPosition(x, y)
            btn.SetSize(img.GetWidth(), img.GetHeight())
            btn.Show()
            self.empireAreaButton[key] = btn

    def __CreateDescriptionBox(self):
        self.descriptionBox = self.DescriptionBox()
        self.descriptionBox.Show()

    def OnOverInEmpire(self, arg):
        self.empireAreaDestAlpha[arg] = 1.0

    def OnOverOutEmpire(self, arg):
        if arg != self.empireID:
            self.empireAreaDestAlpha[arg] = 0.0

    def OnSelectEmpire(self, arg):
		if arg == 2:
			return
        for key in self.empireArea.keys():
            self.empireAreaDestAlpha[key] = 0.0
            self.empireAreaFlagDestAlpha[key] = 0.0
            self.empireFlagDestAlpha[key] = 0.0
        self.empireAreaDestAlpha[arg] = 1.0
        self.empireAreaFlagDestAlpha[arg] = 1.0
        self.empireFlagDestAlpha[arg] = 1.0
        self.empireID = arg
        
        event.ClearEventSet(self.descIndex)
        if self.EMPIRE_DESCRIPTION_TEXT_FILE_NAME.has_key(arg):
            self.descIndex = event.RegisterEventSet(self.EMPIRE_DESCRIPTION_TEXT_FILE_NAME[arg])

            if locale.IsARABIC():
                event.SetEventSetWidth(self.descIndex, 170)
            else:
                event.SetRestrictedCount(self.descIndex, 35)

    def PrevDescriptionPage(self):
        if TRUE == event.IsWait(self.descIndex):
            if event.GetVisibleStartLine(self.descIndex)-5 >= 0:
                event.SetVisibleStartLine(self.descIndex, event.GetVisibleStartLine(self.descIndex)-5)
                event.Skip(self.descIndex)
        else:
            event.Skip(self.descIndex)

    def NextDescriptionPage(self):
        if TRUE == event.IsWait(self.descIndex):
            event.SetVisibleStartLine(self.descIndex, event.GetVisibleStartLine(self.descIndex)+5)
            event.Skip(self.descIndex)
        else:
            event.Skip(self.descIndex)

    def __LoadScript(self, fileName):
        try:
            pyScrLoader = ui.PythonScriptLoader()
            pyScrLoader.LoadScriptFile(self, fileName)    
        except:
            import exception
            exception.Abort("SelectEmpireWindow.__LoadScript.LoadObject")

        try:
            GetObject=self.GetChild
            self.leftButton        = GetObject("left_button")
            self.rightButton    = GetObject("right_button")
            self.selectButton    = GetObject("select_button")
            self.exitButton        = GetObject("exit_button")
            self.textBoard        = GetObject("text_board")
            self.empireArea[net.EMPIRE_A]    = GetObject("EmpireArea_A")
            self.empireArea[net.EMPIRE_B]    = GetObject("EmpireArea_B")
            self.empireArea[net.EMPIRE_C]    = GetObject("EmpireArea_C")
            self.empireAreaFlag[net.EMPIRE_A]    = GetObject("EmpireAreaFlag_A")
            self.empireAreaFlag[net.EMPIRE_B]    = GetObject("EmpireAreaFlag_B")
            self.empireAreaFlag[net.EMPIRE_C]    = GetObject("EmpireAreaFlag_C")
            self.empireFlag[net.EMPIRE_A]    = GetObject("EmpireFlag_A")
            self.empireFlag[net.EMPIRE_B]    = GetObject("EmpireFlag_B")
            self.empireFlag[net.EMPIRE_C]    = GetObject("EmpireFlag_C")
            GetObject("prev_text_button").SetEvent(ui.__mem_func__(self.PrevDescriptionPage))
            GetObject("next_text_button").SetEvent(ui.__mem_func__(self.NextDescriptionPage))
        except:
            import exception
            exception.Abort("SelectEmpireWindow.__LoadScript.BindObject")                    

        self.selectButton.SetEvent(ui.__mem_func__(self.ClickSelectButton))
        self.exitButton.SetEvent(ui.__mem_func__(self.ClickExitButton))
        self.leftButton.SetEvent(ui.__mem_func__(self.ClickLeftButton))
        self.rightButton.SetEvent(ui.__mem_func__(self.ClickRightButton))
        for flag in self.empireAreaFlag.values():
            flag.SetAlpha(0.0)
        for flag in self.empireFlag.values():
            flag.SetAlpha(0.0)

        return 1

    def ClickLeftButton(self):
        self.empireID-=1
        if self.empireID<1:
            self.empireID=3

        self.OnSelectEmpire(self.empireID)

    def ClickRightButton(self):
        self.empireID+=1
        if self.empireID>3:
            self.empireID=1

        self.OnSelectEmpire(self.empireID)

    def ClickSelectButton(self):
        net.SendSelectEmpirePacket(self.empireID)
        self.stream.SetSelectCharacterPhase()

    def ClickExitButton(self):
        self.stream.SetLoginPhase()

    def OnUpdate(self):
        (xposEventSet, yposEventSet) = self.textBoard.GetGlobalPosition()
        event.UpdateEventSet(self.descIndex, xposEventSet+7, -(yposEventSet+7))
        self.descriptionBox.SetIndex(self.descIndex)

        self.__UpdateAlpha(self.empireArea, self.empireAreaCurAlpha, self.empireAreaDestAlpha)
        self.__UpdateAlpha(self.empireAreaFlag, self.empireAreaFlagCurAlpha, self.empireAreaFlagDestAlpha)
        self.__UpdateAlpha(self.empireFlag, self.empireFlagCurAlpha, self.empireFlagDestAlpha)

    def __UpdateAlpha(self, dict, curAlphaDict, destAlphaDict):
        for key, img in dict.items():

            curAlpha = curAlphaDict[key]
            destAlpha = destAlphaDict[key]

            if abs(destAlpha - curAlpha) / 10 > 0.0001:
                curAlpha += (destAlpha - curAlpha) / 7
            else:
                curAlpha = destAlpha

            curAlphaDict[key] = curAlpha
            img.SetAlpha(curAlpha)

    def OnPressEscapeKey(self):
        self.ClickExitButton()
        return TRUE

class ReselectEmpireWindow(SelectEmpireWindow):
    def ClickSelectButton(self):
        net.SendSelectEmpirePacket(self.empireID)
        self.stream.SetCreateCharacterPhase()

    def ClickExitButton(self):
        self.stream.SetSelectCharacterPhase()
Link to comment
Share on other sites

  • 0

0504 15:57:15418 ::
networkModule.py(line:185) SetReselectEmpirePhase
system.py(line:130) __pack_import

networkModule.SetReselectEmpirePhase - exceptions.SyntaxError:invalid syntax (line 258)

0504 15:57:15418 :: ============================================================================================================
0504 15:57:15418 :: Abort!!!!

 

Link to comment
Share on other sites

  • 0

Das Problem mit dem Clientside fix ist der, dass wenn man in die Reichsauswahl kommt das Gelbe (das entfernt werden soll) Reich ausgewählt sein könnte, das zu fixxen ist leicht, wie schon jemand auf der ersten Seite gesagt hat, mit einer Quest, die dich weg portet & das Reich automatisch wechseln lässt, der schönste Weg ist es tzd. nicht.

 

en;

The problem with the client side fix is if someone comes into the kingdom selection and the yellow kingdom is  randomly selected.

However  this can be fixxed easily with a quest that teleports you out of the yellow kingdom and changed your kingdom to red/blue kingdom.

I know its not the prettiest way, but it works.^^

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.