Register for your free account! | Forgot your password?

You last visited: Today at 22:11

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



hilfe

Discussion on hilfe within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2013
Posts: 145
Received Thanks: 1
hilfe

kann mir jemand sagen wo ich das einfügen muss

class ConnectingDialog(ui.ScriptWindow):

def __init__(self):
ui.ScriptWindow.__init__(self)
self.__LoadDialog()
self.eventTimeOver = lambda *arg: None
self.eventExit = lambda *arg: None

def __del__(self):
ui.ScriptWindow.__del__(self)

def __LoadDialog(self):
try:
PythonScriptLoader = ui.PythonScriptLoader()
PythonScriptLoader.LoadScriptFile(self, "UIScript/ConnectingDialog.py")

self.board = self.GetChild("board")
self.message = self.GetChild("message")
self.countdownMessage = self.GetChild("countdown_message")

except:
import exception
exception.Abort("ConnectingDialog.LoadDialog.BindO bject")

def Open(self, waitTime):
curTime = time.clock()
self.endTime = curTime + waitTime

self.Lock()
self.SetCenterPosition()
self.SetTop()
self.Show()

def Close(self):
self.Unlock()
self.Hide()

def Destroy(self):
self.Hide()
self.ClearDictionary()

def SetText(self, text):
self.message.SetText(text)

def SetCountDownMessage(self, waitTime):
self.countdownMessage.SetText("%.0f%s" % (waitTime, locale.SECOND))

def SAFE_SetTimeOverEvent(self, event):
self.eventTimeOver = ui.__mem_func__(event)

def SAFE_SetExitEvent(self, event):
self.eventExit = ui.__mem_func__(event)

def OnUpdate(self):
lastTime = max(0, self.endTime - time.clock())
if 0 == lastTime:
self.Close()
self.eventTimeOver()
else:
self.SetCountDownMessage(self.endTime - time.clock())

def OnPressExitKey(self):
#self.eventExit()
return TRUE

constInfo.SLOT = int(s)

intrologin:
-------------
import dbg
import app
import net
import ui
import ime
import snd
import wndMgr
import musicInfo
import serverInfo
import systemSetting
import ServerStateChecker
import locale
import constInfo
import uiCommon
import linecache
import os
import time
import ServerCommandParser
import ime
import uiScriptLocale

JAPAN_LOGIN = None
RUNUP_MATRIX_AUTH = FALSE
NEWCIBN_PASSPOD_AUTH = FALSE

LOGIN_DELAY_SEC = 0.0
SKIP_LOGIN_PHASE = FALSE
SKIP_LOGIN_PHASE_SUPPORT_CHANNEL = FALSE
FULL_BACK_IMAGE = FALSE

PASSPOD_MSG_DICT = {}

VIRTUAL_KEYBOARD_NUM_KEYS = 46
VIRTUAL_KEYBOARD_RAND_KEY = TRUE

if os.path.exists("pack/standard.cfg"):
s = linecache.getline("pack/standard.cfg", 1)
else:
s = 0

SLOT = int(s)
Antara-mt2 is offline  
Old 02/06/2014, 16:54   #2

 
iFrost.'s Avatar
 
elite*gold: 8
Join Date: Apr 2013
Posts: 498
Received Thanks: 54
Für was soll das den überhaupt sein ..
iFrost. is offline  
Old 02/06/2014, 16:59   #3
 
elite*gold: 0
Join Date: Aug 2013
Posts: 145
Received Thanks: 1
für

Quote:
Originally Posted by D0N' View Post
Für was soll das den überhaupt sein ..
Charselect+Aion
Antara-mt2 is offline  
Reply




All times are GMT +1. The time now is 22:12.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.