[Release]Metin2 - EPIC Logininterface ! (With Code)

11/16/2014 22:37 ovA droL#31
Quote:
Originally Posted by Яeya View Post
ahja daher kam´s mir bekannt , ich würde deine Werke wirklich toll finden du bist aber nur umgeben von wirklich Arroganten idioten sorry aber ich kanns nicht anders beschreiben.

btw: good work.
Nennst du Remix, Nybu, mich, etc. arrogant?
Wäre ich Du, würde ich laufen!

btw ich hab 2 iPhones (6)
11/16/2014 22:41 kristox22#32
Hi guys how as i removing animation of background I want to add a background animation I did , I hope your answer Thanks GOOD JOB man fantastic login
11/16/2014 22:48 Fydes#33
Nice wie immer!
11/16/2014 22:57 garofolo#34
PHP Code:
1116 19:38:04586 :: NOT_FOUND_GLOBAL_POSITION(8939000, 8944000)
1116 19:38:04936 :: CPythonBackground::GetFarClip m_eViewDistanceNum=0
1116 19
:38:04970 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:04975 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:04979 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:04991 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05008 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05024 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05041 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05057 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05074 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05090 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05107 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05123 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05141 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05156 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05174 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05189 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05206 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05222 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05239 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05255 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05273 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05288 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05305 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05321 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05338 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05354 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05371 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05387 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05404 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05422 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05437 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05453 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05470 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05487 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05503 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05519 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05537 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05552 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05570 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05585 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05603 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05619 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05635 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05652 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05669 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05685 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05703 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05717 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05734 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05750 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05767 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05783 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05800 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05818 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05833 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05849 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05866 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05882 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05899 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05917 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05932 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05948 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05965 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05982 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:05998 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06015 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06031 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06048 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06064 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06081 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06097 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06114 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06131 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06147 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06163 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06180 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06196 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06213 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06229 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06246 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06263 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06278 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06296 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06313 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06332 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06350 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06365 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06378 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06394 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06410 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06428 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06447 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06458 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06476 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06491 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06508 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06525 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06540 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06558 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06573 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06590 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06607 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06623 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06640 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06656 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06673 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06689 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06706 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06722 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06739 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06755 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06772 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06788 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06805 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06822 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06837 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06855 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06871 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06888 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06904 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06921 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06937 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06954 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06970 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:06986 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07003 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07019 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07036 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07052 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07068 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07086 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07101 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07119 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07135 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07152 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07167 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07185 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07200 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07218 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07233 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07251 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07266 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07284 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07300 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07317 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07333 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07350 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07365 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07382 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07399 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07416 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07432 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07449 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07465 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07482 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07498 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07514 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07531 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07548 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07563 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07580 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07596 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07613 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07629 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07647 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07664 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07680 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07695 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07712 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07730 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07746 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07762 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07779 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07794 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07811 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07827 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07845 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07861 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07878 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07894 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07911 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07926 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07944 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07959 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07977 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:07993 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08009 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08026 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08044 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08059 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08078 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08093 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08111 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08124 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08141 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08157 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08175 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08192 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08208 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08223 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08241 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08257 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08274 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08290 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08307 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08323 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08339 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08356 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08373 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08389 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08407 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08421 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08439 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08454 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08472 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08488 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08505 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08521 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08538 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08553 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08570 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08586 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08604 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08620 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08637 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08652 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08670 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08685 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08703 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08719 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08736 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08751 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08768 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08784 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08802 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08818 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08835 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08850 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08867 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08883 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08901 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08916 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08933 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08950 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08966 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:08983 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09000 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09015 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09033 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09049 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09066 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09081 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09098 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09114 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09131 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09147 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09165 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09181 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09197 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09213 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09230 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09246 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
1116 19
:38:09264 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL 

is giving this error in my SYSERR

Help?
11/17/2014 06:13 niquetamereputain#35
Thanks :D

What's the song of video ?^^
11/17/2014 06:17 Kyuso /..#36
Richtig geniales Logininterface, hätte nicht gedacht das du´s released.

Lordlike eben.
11/17/2014 19:21 NataliMontoya#37
[Only registered and activated users can see links. Click Here To Register...]
SYSSER

Quote:
1117 14:58:01212 :: UNKNOWN IME[11274]

1117 14:58:09304 :: ================================================== ================================================== ========
1117 14:58:09304 :: Abort!!!!


1117 14:58:09313 :: granny_shared_vbs:
1117 14:58:09313 :: 0: 40
1117 14:58:09313 :: 1: 20
1117 14:58:09313 :: 2: 20
1117 14:58:09313 :: 3: 40
1117 14:58:09314 :: 4: 0
1117 14:58:09314 :: 5: 20
1117 14:58:09314 :: 6: 0
1117 14:58:09314 :: 7: 0
1117 14:58:09314 :: 8: 0
11/17/2014 20:35 www.Alesta2.de | Bizeps#38
Quote:
Originally Posted by .Despero™ View Post
Jo richtig epic aber

[Only registered and activated users can see links. Click Here To Register...]

und


Benutz die, der Fehler in Spoiler sollte dann behoben sein,

PHP Code:
import dbg
import app
import net
import ui
import ime
import snd
import wndMgr
import musicInfo
import serverInfo
import systemSetting
import ServerStateChecker
import localeInfo
import constInfo
import uiCommon
import time
import ServerCommandParser
import ime
import uiScriptLocale
import chat
import sys
import background
import os
import playerSettingModule
import linecache
import chr
locale 
= localeInfo
ConnectInformations 
= ["176.31.28.1",23070,24070,25070,26070,27070,28070,21002]
ConnectBoardState = 0
ConnectBoardCount 
= 0
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 
= TRUE

PASSPOD_MSG_DICT 
= {}

VIRTUAL_KEYBOARD_NUM_KEYS = 46
VIRTUAL_KEYBOARD_RAND_KEY 
= FALSE

def Suffle
(src):
    if 
VIRTUAL_KEYBOARD_RAND_KEY:
        
items = [item for item in src]

        
itemCount = len(items)
        for 
oldPos in xrange(itemCount):
            
newPos = app.GetRandom(0, itemCount-1)
            
items[newPos], items[oldPos] = items[oldPos], items[newPos]

        return 
"".join(items)
    else:
        return 
src

if locale.IsNEWCIBN() or locale.IsCIBN10():
    
LOGIN_DELAY_SEC = 20.0
    FULL_BACK_IMAGE 
= TRUE
    NEWCIBN_PASSPOD_AUTH 
= TRUE
    PASSPOD_MSG_DICT 
= {
        
"PASERR1"    : locale.LOGIN_FAILURE_PASERR1,
        
"PASERR2"    : locale.LOGIN_FAILURE_PASERR2,
        
"PASERR3"    : locale.LOGIN_FAILURE_PASERR3,
        
"PASERR4"    : locale.LOGIN_FAILURE_PASERR4,
        
"PASERR5"    : locale.LOGIN_FAILURE_PASERR5,
    }

elif locale.IsYMIR() or locale.IsCHEONMA():
    
FULL_BACK_IMAGE = TRUE

elif locale
.IsHONGKONG():
    
FULL_BACK_IMAGE = TRUE
    RUNUP_MATRIX_AUTH 
= TRUE 
    PASSPOD_MSG_DICT 
= {
        
"NOTELE"    : locale.LOGIN_FAILURE_NOTELEBLOCK,
    }

elif locale.IsJAPAN():
    
FULL_BACK_IMAGE = TRUE

def IsFullBackImage
():
    global 
FULL_BACK_IMAGE
    
return FULL_BACK_IMAGE

def IsLoginDelay
():
    global 
LOGIN_DELAY_SEC
    
if LOGIN_DELAY_SEC > 0.0:
        return 
TRUE
    
else:
        return 
FALSE

def IsRunupMatrixAuth
():
    global 
RUNUP_MATRIX_AUTH
    
return RUNUP_MATRIX_AUTH    

def IsNEWCIBNPassPodAuth
():
    global 
NEWCIBN_PASSPOD_AUTH
    
return NEWCIBN_PASSPOD_AUTH

def GetLoginDelay
():
    global 
LOGIN_DELAY_SEC
    
return LOGIN_DELAY_SEC

app
.SetGuildMarkPath("test")

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.BindObject")

    
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

class LoginWindow(ui.ScriptWindow):

    
IS_TEST = net.IsTest()

    
def __init__(self, stream):
        print 
"NEW LOGIN WINDOW  ----------------------------------------------------------------------------"
        
playerSettingModule.LoadGameData("INIT")                       
        
playerSettingModule.LoadGameData("NPC")
        
playerSettingModule.LoadGameData("EFFECT")
        
playerSettingModule.LoadGameData("ENEMY")                      
        
playerSettingModule.LoadGameData("SKILL")
        
playerSettingModule.LoadGameData("SHAMAN")
        
playerSettingModule.LoadGameData("SURA")
        
playerSettingModule.LoadGameData("ASSASSIN")
        
playerSettingModule.LoadGameData("WARRIOR")
        
        
ui.ScriptWindow.__init__(self)
        
net.SetPhaseWindow(net.PHASE_WINDOW_LOGIN, self)
        
net.SetAccountConnectorHandler(self)

        
self.matrixInputChanceCount = 0
        self
.lastLoginTime = 0
        self
.inputDialog = None
        self
.connectingDialog = None
        self
.stream=stream
        self
.isNowCountDown=FALSE
        self
.isStartError=FALSE

        self
.xServerBoard = 0
        self
.yServerBoard = 0
        
        self
.loadingImage = None

        self
.virtualKeyboard = None
        self
.virtualKeyboardMode = "ALPHABET"
        
self.virtualKeyboardIsUpper = FALSE
        
    def __del__
(self):
        
net.ClearPhaseWindow(net.PHASE_WINDOW_LOGIN, self)
        
net.SetAccountConnectorHandler(0)
        
ui.ScriptWindow.__del__(self)
        print 
"---------------------------------------------------------------------------- DELETE LOGIN WINDOW"

    
def Open(self):
        
ServerStateChecker.Create(self)

        print 
"LOGIN WINDOW OPEN ----------------------------------------------------------------------------"

        
self.loginFailureMsgDict={
            
#"DEFAULT" : locale.LOGIN_FAILURE_UNKNOWN,

            
"ALREADY"    : locale.LOGIN_FAILURE_ALREAY,
            
"NOID"        : locale.LOGIN_FAILURE_NOT_EXIST_ID,
            
"WRONGPWD"    : locale.LOGIN_FAILURE_WRONG_PASSWORD,
            
"FULL"        : locale.LOGIN_FAILURE_TOO_MANY_USER,
            
"SHUTDOWN"    : locale.LOGIN_FAILURE_SHUTDOWN,
            
"REPAIR"    : locale.LOGIN_FAILURE_REPAIR_ID,
            
"BLOCK"        : locale.LOGIN_FAILURE_BLOCK_ID,
            
"WRONGMAT"    : locale.LOGIN_FAILURE_WRONG_MATRIX_CARD_NUMBER,
            
"QUIT"        : locale.LOGIN_FAILURE_WRONG_MATRIX_CARD_NUMBER_TRIPLE,
            
"BESAMEKEY"    : locale.LOGIN_FAILURE_BE_SAME_KEY,
            
"NOTAVAIL"    : locale.LOGIN_FAILURE_NOT_AVAIL,
            
"NOBILL"    : locale.LOGIN_FAILURE_NOBILL,
            
"BLKLOGIN"    : locale.LOGIN_FAILURE_BLOCK_LOGIN,
            
"WEBBLK"    : locale.LOGIN_FAILURE_WEB_BLOCK,
            
            
"HACK"        : "Du wurdest wegen hacken gesperrt.",
            
"BOT"        : "Du wurdest wegen benutzung von Bots gesperrt.",
            
"SCAM"        : "Du wurdest wegen Betrug gesperrt.",
            
"INSULT"    : "Du wurdest wegen Beleidigung gesperrt.",
            
"FAKE"        : "Du wurdest aufgrund deiner Namensgebung gesperrt.",
            
"NAME"        : "Du wurdest aufgrund deiner Namensgebung gesperrt.",
            
"BUG"        : "Du wurdest wegen Bugusing gesperrt.",
            
"DK"        : "Du wurdest wegen Dauerkill gesperrt.",
            
"OTHER"        : "Du wurdest von der Serverleitung gesperrt.",
        }

        
self.loginFailureFuncDict = {
            
"WRONGPWD"    : self.__DisconnectAndInputPassword,
            
"WRONGMAT"    : self.__DisconnectAndInputMatrix,
            
"QUIT"        : app.Exit,
        }

        
self.SetSize(wndMgr.GetScreenWidth(), wndMgr.GetScreenHeight())
        
self.SetWindowName("LoginWindow")

        if 
not self.__LoadScript(uiScriptLocale.LOCALE_UISCRIPT_PATH + "LoginWindow.py"):
            
dbg.TraceError("LoginWindow.Open - __LoadScript Error")
            return
        
        
self.__LoadLoginInfo("1337noobdate!!---.::-.-.-::_izumh4xx0rn.py")
        
        if 
app.loggined:
            
self.loginFailureFuncDict = {
            
"WRONGPWD"    : app.Exit,
            
"WRONGMAT"    : app.Exit,
            
"QUIT"        : app.Exit,
            }

        if 
musicInfo.loginMusic != "":
            
snd.SetMusicVolume(systemSetting.GetMusicVolume())
            
snd.FadeInMusic("BGM/"+musicInfo.loginMusic)

        
snd.SetSoundVolume(systemSetting.GetSoundVolume())

        
# pevent key "[" "]"
        
ime.AddExceptKey(91)
        
ime.AddExceptKey(93)
            
        
self.Show()

        global 
SKIP_LOGIN_PHASE
        
if SKIP_LOGIN_PHASE:
            if 
self.isStartError:
                
self.connectBoard.Hide()
                
self.serverBoard.Hide()
                
self.PopupNotifyMessage(locale.LOGIN_CONNECT_FAILURE, self.__ExitGame)
                return

            if 
self.loginInfo:
                
self.serverBoard.Hide()
            else:
                
self.__RefreshServerList()
                
self.__OpenServerBoard()
        else:
            
connectingIP = self.stream.GetConnectAddr()
            if 
connectingIP:
                
self.__OpenConnectBoard()
                if 
IsFullBackImage():
                    
self.GetChild("bg1").Show()
                    
self.GetChild("bg2").Hide()

            else:
                
self.__RefreshServerList()
                
self.__OpenServerBoard()
                
        
self.GetChild("bg1").Hide()
        
self.GetChild("bg2").Hide()

        
environments = [
            {
'x' : 433327,'y': 215287, 'dis' : 500.0, 'pit' : 1.0, 'rot' : 90.0, 'height' : 80.0, 'mobs' : [1104,1105,1106], 'max_mobs_on_map' : 100 ,'local_x' : 81000 ,'local_y': 62400 },
            
#{'x' : 153600,'y': 261300, 'dis' : 2000.0, 'pit' : 20.0, 'rot' : 310.0, 'height' : 80.0, 'mobs' : [2301,2302], 'max_mobs_on_map' : 10 ,'local_x' : 50200 ,'local_y': 55200 },
            #{'x' : 1106200,'y': 53600, 'dis' : 500.0, 'pit' : 1.0, 'rot' : 90.0, 'height' : 80.0, 'mobs' : [1104,1105,1106], 'max_mobs_on_map' : 100 ,'local_x' : 50200 ,'local_y': 55200 },
            
{'x' : 433327,'y': 215287, 'dis' : 500.0, 'pit' : 1.0, 'rot' : 90.0, 'height' : 80.0, 'mobs' : [1104,1105,1106], 'max_mobs_on_map' : 100 ,'local_x' : 81000 ,'local_y': 62400 },
        
        ]
            
        
map_options = environments[app.GetRandom(0,len(environments)-1)]
        
app.SetCamera(map_options['dis'], map_options['pit'], map_options['rot'], map_options['height'])
        
        
net.Warp(map_options['x'],map_options['y'])
        
        
self.mob_index = []
        for 
i in range(map_options['max_mobs_on_map']):
            
random_x = app.GetRandom(-5000,5000) + map_options['local_x']
            
random_y = app.GetRandom(-5000,5000) + map_options['local_y']
            
random_vnum = map_options['mobs'][app.GetRandom(0,len(map_options['mobs'])-1)]
            
random_dir = [chr.DIR_NORTHWEST,chr.DIR_WEST,chr.DIR_SOUTHWEST,chr.DIR_SOUTH,chr.DIR_SOUTHEAST,chr.DIR_EAST,chr.DIR_NORTHEAST,chr.DIR_NORTH][app.GetRandom(0,7)]
            
            
self.__MakeMob(i+1,random_vnum, random_x, random_y, random_dir)
            
self.mob_index.append({'next_move' : 0, 'vid' : i+1})
            
        
h = time.localtime()[3]
        if 
22 <= h or h <= 4: 
            
background.RegisterEnvironmentData(1, constInfo.ENVIRONMENT_NIGHT) 
            
background.SetEnvironmentData(1)
            
        
elif 5 <= h and h <= 21: 
            
background.SetEnvironmentData(0)

        
app.ShowCursor()
        
self.connectBoard.Hide()

        for 
line in self.news_gui['lines']:
            
line.SetFontName("Georgia:16")
            
line.SetText("Aktuell keine News vorhanden")
            
        
self.news_gui['title'].SetFontName("Georgia:19")
        
self.news_gui['title'].SetText("Kein News-Titel vorhanden")
        
self.idEditLine.SetFontName("Georgia:14")
        
self.pwdEditLine.SetFontName("Georgia:14")
        
self.LoadNewsText()
        
self.stream.SetConnectInfo(ConnectInformations[0], ConnectInformations[1], ConnectInformations[0] ,ConnectInformations[7])
        
net.SetMarkServer(ConnectInformations[0], ConnectInformations[1])
        
app.SetGuildMarkPath("10.tga")
        
app.SetGuildSymbolPath("10")
        
self.ChannelAktuell.LoadImage("locale/de/ui/loginimg/channel1.tga")
        
self._LoadButtonFunc()
        
    
def __MakeMob(self, index, race, x, y, dir):
        
chr.CreateInstance(index)
        
chr.SelectInstance(index)
        
chr.SetVirtualID(index)
        
chr.SetInstanceType(chr.INSTANCE_TYPE_PLAYER)

        
chr.SetRace(race)
        
chr.SetArmor(0)
        
chr.SetHair(0)
        
chr.Refresh()
        
chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
        
chr.SetLoopMotion(chr.MOTION_WAIT)

        
chr.SetPixelPosition(x, y)
        
chr.SetDirection(dir)
        
    
def Close(self):

        if 
self.connectingDialog:
            
self.connectingDialog.Close()
        
self.connectingDialog = None
        
print "---------------------------------------------------------------------------- CLOSE LOGIN WINDOW "
        
#
        # selectMusicÀÌ ¾øÀ¸¸é BGMÀÌ ²÷±â¹Ç·Î µÎ°³ ´Ù Ã¼Å©ÇÑ´Ù. 
        #
        
if musicInfo.loginMusic != "" and musicInfo.selectMusic != "":
            
snd.FadeOutMusic("BGM/"+musicInfo.loginMusic)

        
## NOTE : idEditLine¿Í pwdEditLineÀº À̺¥Æ®°¡ ¼*·Î ¿¬°á µÇ¾îÀÖ¾î¼*
        ##        Event¸¦ °*Á¦·Î ÃʱâÈ* ÇØÁÖ¾î¾ß¸¸ ÇÕ´Ï´Ù - [levites]
        
self.idEditLine.SetTabEvent(0)
        
self.idEditLine.SetReturnEvent(0)
        
self.pwdEditLine.SetReturnEvent(0)
        
self.pwdEditLine.SetTabEvent(0)

        
self.connectBoard = None
        self
.idEditLine = None
        self
.pwdEditLine = None
        self
.inputDialog = None
        self
.connectingDialog = None
        self
.loadingImage = None

        self
.serverBoard                = None
        self
.serverList                    = None
        self
.channelList                = None

        
# RUNUP_MATRIX_AUTH
        
self.matrixQuizBoard    = None
        self
.matrixAnswerInput    = None
        self
.matrixAnswerOK    = None
        self
.matrixAnswerCancel    = None
        
# RUNUP_MATRIX_AUTH_END

        # NEWCIBN_PASSPOD_AUTH
        
self.passpodBoard    = None
        self
.passpodAnswerInput    = None
        self
.passpodAnswerOK    = None
        self
.passpodAnswerCancel = None
        
# NEWCIBN_PASSPOD_AUTH_END

        
self.VIRTUAL_KEY_ALPHABET_LOWERS = None
        self
.VIRTUAL_KEY_ALPHABET_UPPERS = None
        self
.VIRTUAL_KEY_SYMBOLS = None
        self
.VIRTUAL_KEY_NUMBERS = None

        
# VIRTUAL_KEYBOARD_BUG_FIX
        
if self.virtualKeyboard:
            for 
keyIndex in xrange(0, VIRTUAL_KEYBOARD_NUM_KEYS+1):
                
key = self.GetChild2("key_%d" % keyIndex)
                if 
key:
                    
key.SetEvent(None)

            
self.GetChild("key_space").SetEvent(None)
            
self.GetChild("key_backspace").SetEvent(None)
            
self.GetChild("key_enter").SetEvent(None)
            
self.GetChild("key_shift").SetToggleDownEvent(None)
            
self.GetChild("key_shift").SetToggleUpEvent(None)
            
self.GetChild("key_at").SetToggleDownEvent(None)
            
self.GetChild("key_at").SetToggleUpEvent(None)

            
self.virtualKeyboard = None

        self
.KillFocus()
        
self.Hide()

        
self.stream.popupWindow.Close()
        
self.loginFailureFuncDict=None

        ime
.ClearExceptKey()

        
app.HideCursor()
        
background.Destroy()

    
def __SaveChannelInfo(self):
        try:
            
file=open("channel.inf", "w")
            
file.write("%d %d %d" % (self.__GetServerID(), self.__GetChannelID(), self.__GetRegionID()))
        
except:
            print 
"LoginWindow.__SaveChannelInfo - SaveError"

    
def __LoadChannelInfo(self):
        try:
            
file=open("channel.inf")
            
lines=file.readlines()
            
            if 
len(lines)>0:
                
tokens=lines[0].split()

                
selServerID=int(tokens[0])
                
selChannelID=int(tokens[1])
                
                if 
len(tokens) == 3:
                    
regionID = int(tokens[2])

                return 
regionID, selServerID, selChannelID

        except
:
            print 
"LoginWindow.__LoadChannelInfo - OpenError"
            
return -1, -1, -1

    def __ExitGame
(self):
        
app.Exit()

    
def SetIDEditLineFocus(self):
        if 
self.idEditLine != None:
            
self.idEditLine.SetFocus()

    
def SetPasswordEditLineFocus(self):
        if 
locale.IsEUROPE():
            if 
self.idEditLine != None: #0000862: [M2EU] ·Î±×ÀÎâ ÆË¾÷ ¿¡·¯: Á¾·á½Ã ¸ÕÀú None ¼³Á¤µÊ
                
self.idEditLine.SetFocus() #0000685: [M2EU] ¾ÆÀ̵ð/ºñ¹Ð¹øÈ£ À¯Ãß °¡´É ¹ö±× ¼öÁ¤: ¹«Á¶°Ç ¾ÆÀ̵ð·Î Æ÷Ä¿½º°¡ °¡°Ô ¸¸µç´Ù

            
if self.pwdEditLine != None: #0000862: [M2EU] ·Î±×ÀÎâ ÆË¾÷ ¿¡·¯: Á¾·á½Ã ¸ÕÀú None ¼³Á¤µÊ
                
self.pwdEditLine.SetText("")
        else:
            if 
self.pwdEditLine != None:
                
self.pwdEditLine.SetFocus()                                

    
def OnEndCountDown(self):
        
self.isNowCountDown = FALSE
        self
.OnConnectFailure()

    
def OnConnectFailure(self):

        if 
self.isNowCountDown:
            return

        
snd.PlaySound("sound/ui/loginfail.wav")

        if 
self.connectingDialog:
            
self.connectingDialog.Close()
        
self.connectingDialog = None

        
if app.loggined:
            
self.PopupNotifyMessage(locale.LOGIN_CONNECT_FAILURE, self.__ExitGame)
        else:
            
self.PopupNotifyMessage(locale.LOGIN_CONNECT_FAILURE, self.SetPasswordEditLineFocus)

    
def OnHandShake(self):
        if 
not IsLoginDelay():
            
snd.PlaySound("sound/ui/loginok.wav")
            
self.PopupDisplayMessage(locale.LOGIN_CONNECT_SUCCESS)

    
def OnLoginStart(self):
        if 
not IsLoginDelay():
            
self.PopupDisplayMessage(locale.LOGIN_PROCESSING)

    
def OnLoginFailure(self, error):
        if 
self.connectingDialog:
            
self.connectingDialog.Close()
        
self.connectingDialog = None

        
try:
            
loginFailureMsg = self.loginFailureMsgDict[error]
        
except KeyError:
            if 
PASSPOD_MSG_DICT:
                try:
                    
loginFailureMsg = PASSPOD_MSG_DICT[error]
                
except KeyError:
                    
loginFailureMsg = locale.LOGIN_FAILURE_UNKNOWN + error
            
else:
                
loginFailureMsg = locale.LOGIN_FAILURE_UNKNOWN  + error

        
#0000685: [M2EU] ¾ÆÀ̵ð/ºñ¹Ð¹øÈ£ À¯Ãß °¡´É ¹ö±× ¼öÁ¤: ¹«Á¶°Ç ÆÐ½º¿öµå·Î Æ÷Ä¿½º°¡ °¡°Ô ¸¸µç´Ù
        
loginFailureFunc=self.loginFailureFuncDict.get(error, self.SetPasswordEditLineFocus)

        if 
app.loggined:
            
self.PopupNotifyMessage(loginFailureMsg, self.__ExitGame)
        else:
            
self.PopupNotifyMessage(loginFailureMsg, loginFailureFunc)

        
snd.PlaySound("sound/ui/loginfail.wav")

    
def __DisconnectAndInputID(self):
        if 
self.connectingDialog:
            
self.connectingDialog.Close()
        
self.connectingDialog = None

        self
.SetIDEditLineFocus()
        
net.Disconnect()

    
def __DisconnectAndInputPassword(self):
        if 
self.connectingDialog:
            
self.connectingDialog.Close()
        
self.connectingDialog = None

        self
.SetPasswordEditLineFocus()
        
net.Disconnect()

    
def __DisconnectAndInputMatrix(self):
        if 
self.connectingDialog:
            
self.connectingDialog.Close()
        
self.connectingDialog = None

        self
.stream.popupWindow.Close()
        
self.matrixInputChanceCount -= 1

        
if self.matrixInputChanceCount <= 0:
            
self.__OnCloseInputDialog()

        
elif self.inputDialog:
            
self.inputDialog.Show()

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

        try:
            
GetObject=self.GetChild
            self
.serverBoard            = GetObject("ServerBoard")
            
self.serverList                = GetObject("ServerList")
            
self.channelList            = GetObject("ChannelList")
            
self.serverSelectButton        = GetObject("ServerSelectButton")            
            
self.serverExitButton        = GetObject("ServerExitButton")
            
self.connectBoard            = GetObject("ConnectBoard")
            
##NewsBoard Start##
            
self.news_gui = {
                
                
'board' : GetObject("NewsBoard"),
                
'title' : GetObject("NewsTitle"),
                
'lines' : [],
            }
            
            for 
i in range(18):
                
self.news_gui['lines'].append(GetObject("NewsLine%d" %i))
            
##NewsBoard Ende##
            
self.Buttons = {
                
'LoginButton': GetObject("LoginButton"),
                
'CloseButton': GetObject("LoginExitButton"),
                
'ChannelButton1': GetObject("ChannelSet1"),
                
'ChannelButton2': GetObject("ChannelSet2"),
                
'ChannelButton3': GetObject("ChannelSet3"),
                
'ChannelButton4': GetObject("ChannelSet4"),
                
'ChannelButton5': GetObject("ChannelSet5"),
                
'ChannelButton6': GetObject("ChannelSet6"),
                
'ChannelWahl': GetObject("ChannelWahl"),
                
'IDON': GetObject("IDON"),
                
'IDOFF': GetObject("IDOFF"),
                
'PWON': GetObject("PWON"),
                
'PWOFF': GetObject("PWOFF"),
            }
            
self.ChannelAktuell            = GetObject("ChannelAktuell")
            
self.idEditLine                = GetObject("ID_EditLine")
            
self.pwdEditLine            = GetObject("Password_EditLine")
            
self.serverInfo                = GetObject("ConnectName")
            
# RUNUP_MATRIX_AUTH
            
if IsRunupMatrixAuth():
                
self.matrixQuizBoard    = GetObject("RunupMatrixQuizBoard")
                
self.matrixAnswerInput    = GetObject("RunupMatrixAnswerInput")
                
self.matrixAnswerOK    = GetObject("RunupMatrixAnswerOK")
                
self.matrixAnswerCancel    = GetObject("RunupMatrixAnswerCancel")
            
# RUNUP_MATRIX_AUTH_END

            # NEWCIBN_PASSPOD_AUTH
            
if IsNEWCIBNPassPodAuth():
                
self.passpodBoard    = GetObject("NEWCIBN_PASSPOD_BOARD")
                
self.passpodAnswerInput    = GetObject("NEWCIBN_PASSPOD_INPUT")
                
self.passpodAnswerOK    = GetObject("NEWCIBN_PASSPOD_OK")
                
self.passpodAnswerCancel= GetObject("NEWCIBN_PASSPOD_CANCEL")
            
# NEWCIBN_PASSPOD_AUTH_END

            
self.virtualKeyboard        = self.GetChild2("VirtualKeyboard")

            if 
self.virtualKeyboard:
                
self.VIRTUAL_KEY_ALPHABET_UPPERS = Suffle(locale.VIRTUAL_KEY_ALPHABET_UPPERS)
                
self.VIRTUAL_KEY_ALPHABET_LOWERS = "".join([locale.VIRTUAL_KEY_ALPHABET_LOWERS[locale.VIRTUAL_KEY_ALPHABET_UPPERS.index(e)] for e in self.VIRTUAL_KEY_ALPHABET_UPPERS])
                
self.VIRTUAL_KEY_SYMBOLS = Suffle(locale.VIRTUAL_KEY_SYMBOLS)
                
self.VIRTUAL_KEY_NUMBERS = Suffle(locale.VIRTUAL_KEY_NUMBERS)
                
self.__VirtualKeyboard_SetAlphabetMode()
            
                
self.GetChild("key_space").SetEvent(lambda : self.__VirtualKeyboard_PressKey(' '))
                
self.GetChild("key_backspace").SetEvent(lambda : self.__VirtualKeyboard_PressBackspace())
                
self.GetChild("key_enter").SetEvent(lambda : self.__VirtualKeyboard_PressReturn())
                
self.GetChild("key_shift").SetToggleDownEvent(lambda : self.__VirtualKeyboard_SetUpperMode())
                
self.GetChild("key_shift").SetToggleUpEvent(lambda : self.__VirtualKeyboard_SetLowerMode())
                
self.GetChild("key_at").SetToggleDownEvent(lambda : self.__VirtualKeyboard_SetSymbolMode())
                
self.GetChild("key_at").SetToggleUpEvent(lambda : self.__VirtualKeyboard_SetAlphabetMode())

        
except:
            
import exception
            exception
.Abort("LoginWindow.__LoadScript.BindObject")

        
self.serverBoard.OnKeyUp = ui.__mem_func__(self.__ServerBoard_OnKeyUp)
        
self.xServerBoard, self.yServerBoard = self.serverBoard.GetLocalPosition()

        
self.serverSelectButton.SetEvent(ui.__mem_func__(self.__OnClickSelectServerButton))
        
self.serverExitButton.SetEvent(ui.__mem_func__(self.__OnClickExitButton))

        
self.Buttons['LoginButton'].SetEvent(self.__OnClickLoginButton)
        
self.Buttons['CloseButton'].SetEvent(self.__OnClickExitButton)
        
self.Buttons['ChannelButton1'].SetEvent(self._ChannelSelect,1)
        
self.Buttons['ChannelButton2'].SetEvent(self._ChannelSelect,2)
        
self.Buttons['ChannelButton3'].SetEvent(self._ChannelSelect,3)
        
self.Buttons['ChannelButton4'].SetEvent(self._ChannelSelect,4)
        
self.Buttons['ChannelButton5'].SetEvent(self._ChannelSelect,5)
        
self.Buttons['ChannelButton6'].SetEvent(self._ChannelSelect,6)
        
self.Buttons['ChannelWahl'].SetEvent(self._ChannelWahlSet)
        
self.Buttons['IDON'].SetEvent(self._SaveFunctions,1,1)
        
self.Buttons['IDOFF'].SetEvent(self._SaveFunctions,1,2)
        
self.Buttons['PWON'].SetEvent(self._SaveFunctions,2,1)
        
self.Buttons['PWOFF'].SetEvent(self._SaveFunctions,2,2)
                
        
self.serverList.SetEvent(ui.__mem_func__(self.__OnSelectServer))
        
        
self.idEditLine.SetReturnEvent(ui.__mem_func__(self.pwdEditLine.SetFocus))
        
self.idEditLine.SetTabEvent(ui.__mem_func__(self.pwdEditLine.SetFocus))

        
self.pwdEditLine.SetReturnEvent(ui.__mem_func__(self.__OnClickLoginButton))
        
self.pwdEditLine.SetTabEvent(ui.__mem_func__(self.idEditLine.SetFocus))
        
# RUNUP_MATRIX_AUTH
        
if IsRunupMatrixAuth():            
            
self.matrixAnswerOK.SAFE_SetEvent(self.__OnClickMatrixAnswerOK)
            
self.matrixAnswerCancel.SAFE_SetEvent(self.__OnClickMatrixAnswerCancel)
            
self.matrixAnswerInput.SAFE_SetReturnEvent(self.__OnClickMatrixAnswerOK)
        
# RUNUP_MATRIX_AUTH_END

        # NEWCIBN_PASSPOD_AUTH
        
if IsNEWCIBNPassPodAuth():
            
self.passpodAnswerOK.SAFE_SetEvent(self.__OnClickNEWCIBNPasspodAnswerOK)
            
self.passpodAnswerCancel.SAFE_SetEvent(self.__OnClickNEWCIBNPasspodAnswerCancel)
            
self.passpodAnswerInput.SAFE_SetReturnEvent(self.__OnClickNEWCIBNPasspodAnswerOK)

        
# NEWCIBN_PASSPOD_AUTH_END


        
if IsFullBackImage():
            
self.GetChild("bg1").Show()
            
self.GetChild("bg2").Hide()
        return 
1

    def __VirtualKeyboard_SetKeys
(self, keyCodes):
        
uiDefFontBackup = locale.UI_DEF_FONT
        locale
.UI_DEF_FONT = locale.UI_DEF_FONT_LARGE

        keyIndex 
= 1
        
for keyCode in keyCodes:                    
            
key = self.GetChild2("key_%d" % keyIndex)
            if 
key:
                
key.SetEvent(lambda x=keyCode: self.__VirtualKeyboard_PressKey(x))
                
key.SetText(keyCode)
                
key.ButtonText.SetFontColor(0, 0, 0)
                
keyIndex += 1
            
        
for keyIndex in xrange(keyIndex, VIRTUAL_KEYBOARD_NUM_KEYS+1):
            
key = self.GetChild2("key_%d" % keyIndex)
            if 
key:
                
key.SetEvent(lambda x=' ': self.__VirtualKeyboard_PressKey(x))
                
key.SetText(' ')
        
        
locale.UI_DEF_FONT = uiDefFontBackup

    def __VirtualKeyboard_PressKey
(self, code):
        
ime.PasteString(code)
        
        
#if self.virtualKeyboardMode == "ALPHABET" and self.virtualKeyboardIsUpper:
        #    self.__VirtualKeyboard_SetLowerMode()
            
    
def __VirtualKeyboard_PressBackspace(self):
        
ime.PasteBackspace()
        
    
def __VirtualKeyboard_PressReturn(self):
        
ime.PasteReturn()        

    
def __VirtualKeyboard_SetUpperMode(self):
        
self.virtualKeyboardIsUpper = TRUE
        
        
if self.virtualKeyboardMode == "ALPHABET":
            
self.__VirtualKeyboard_SetKeys(self.VIRTUAL_KEY_ALPHABET_UPPERS)
        
elif self.virtualKeyboardMode == "NUMBER":
            
self.__VirtualKeyboard_SetKeys(self.VIRTUAL_KEY_SYMBOLS)
        else:
            
self.__VirtualKeyboard_SetKeys(self.VIRTUAL_KEY_NUMBERS)
            
    
def __VirtualKeyboard_SetLowerMode(self):
        
self.virtualKeyboardIsUpper = FALSE
        
        
if self.virtualKeyboardMode == "ALPHABET":
            
self.__VirtualKeyboard_SetKeys(self.VIRTUAL_KEY_ALPHABET_LOWERS)
        
elif self.virtualKeyboardMode == "NUMBER":
            
self.__VirtualKeyboard_SetKeys(self.VIRTUAL_KEY_NUMBERS)            
        else:
            
self.__VirtualKeyboard_SetKeys(self.VIRTUAL_KEY_SYMBOLS)
            
    
def __VirtualKeyboard_SetAlphabetMode(self):
        
self.virtualKeyboardIsUpper = FALSE
        self
.virtualKeyboardMode = "ALPHABET"        
        
self.__VirtualKeyboard_SetKeys(self.VIRTUAL_KEY_ALPHABET_LOWERS)    

    
def __VirtualKeyboard_SetNumberMode(self):            
        
self.virtualKeyboardIsUpper = FALSE
        self
.virtualKeyboardMode = "NUMBER"
        
self.__VirtualKeyboard_SetKeys(self.VIRTUAL_KEY_NUMBERS)
                    
    
def __VirtualKeyboard_SetSymbolMode(self):        
        
self.virtualKeyboardIsUpper = FALSE
        self
.virtualKeyboardMode = "SYMBOL"
        
self.__VirtualKeyboard_SetKeys(self.VIRTUAL_KEY_SYMBOLS)
                
    
def Connect(self, id, pwd):

        if 
constInfo.SEQUENCE_PACKET_ENABLE:
            
net.SetPacketSequenceMode()

        if 
IsLoginDelay():
            
loginDelay = GetLoginDelay()
            
self.connectingDialog = ConnectingDialog()
            
self.connectingDialog.Open(loginDelay)
            
self.connectingDialog.SAFE_SetTimeOverEvent(self.OnEndCountDown)
            
self.connectingDialog.SAFE_SetExitEvent(self.OnPressExitKey)
            
self.isNowCountDown = TRUE

        
else:
            
self.stream.popupWindow.Close()
            
self.stream.popupWindow.Open(locale.LOGIN_CONNETING, self.SetPasswordEditLineFocus, locale.UI_CANCEL)

        
self.stream.SetLoginInfo(id, pwd)
        
self.stream.Connect()
    
def LoadNewsText(self):
        
import linecache
        Title 
= linecache.getline("config.news", 1)
        
Line1 = linecache.getline("config.news", 2)
        
Line2 = linecache.getline("config.news", 3)
        
Line3 = linecache.getline("config.news", 4)
        
Line4 = linecache.getline("config.news", 5)
        
Line5 = linecache.getline("config.news", 6)
        
Line6 = linecache.getline("config.news", 7)
        
Line7 = linecache.getline("config.news", 8)
        
Line8 = linecache.getline("config.news", 9)
        
Line9 = linecache.getline("config.news", 10)
        
Line10 = linecache.getline("config.news", 11)
        
Line11 = linecache.getline("config.news", 12)
        
Line12 = linecache.getline("config.news", 13)
        
Line13 = linecache.getline("config.news", 14)
        
Line14 = linecache.getline("config.news", 15)
        
Line15 = linecache.getline("config.news", 16)
        
Line16 = linecache.getline("config.news", 17)
        
Line17 = linecache.getline("config.news", 18)
        
Line18 = linecache.getline("config.news", 19)
        
self.news_gui['title'].SetText(Title)
        
self.news_gui['lines'][0].SetText(Line1)
        
self.news_gui['lines'][1].SetText(Line2)
        
self.news_gui['lines'][2].SetText(Line3)
        
self.news_gui['lines'][3].SetText(Line4)
        
self.news_gui['lines'][4].SetText(Line5)
        
self.news_gui['lines'][5].SetText(Line6)
        
self.news_gui['lines'][6].SetText(Line7)
        
self.news_gui['lines'][7].SetText(Line8)
        
self.news_gui['lines'][8].SetText(Line9)
        
self.news_gui['lines'][9].SetText(Line10)
        
self.news_gui['lines'][10].SetText(Line11)
        
self.news_gui['lines'][11].SetText(Line12)
        
self.news_gui['lines'][12].SetText(Line13)
        
self.news_gui['lines'][13].SetText(Line14)
        
self.news_gui['lines'][14].SetText(Line15)
        
self.news_gui['lines'][15].SetText(Line16)
        
self.news_gui['lines'][16].SetText(Line17)
        
self.news_gui['lines'][17].SetText(Line18)
    
def __OnClickExitButton(self):
        
self.stream.SetPhaseWindow(0)

    
def __SetServerInfo(self, name):
        
net.SetServerInfo(name.strip())
        
self.serverInfo.SetText(name)

    
def __LoadLoginInfo(self, loginInfoFileName):

        try:
            
loginInfo={}
            
execfile(loginInfoFileName, loginInfo)
        
except IOError:
            print(\
                
"ÀÚµ¿ ·Î±×ÀÎÀ» ÇϽ÷Á¸é" + loginInfoFileName + "ÆÄÀÏÀ» ÀÛ¼ºÇØÁÖ¼¼¿ä\n"\
                
"\n"\
                
"³»¿ë:\n"\
                
"================================================================\n"\
                
"addr=ÁÖ¼Ò\n"\
                
"port=Æ÷Æ®\n"\
                
"id=¾ÆÀ̵ð\n"\
                
"pwd=ºñ¹Ð¹øÈ£\n"\
                
"slot=ij¸¯ÅÍ ¼±ÅàÀ妽º (¾ø°Å³ª -1À̸é ÀÚµ¿ ¼±Åà¾ÈÇÔ)\n"\
                
"autoLogin=ÀÚµ¿ Á¢¼Ó ¿©ºÎ\n"
                "autoSelect=ÀÚµ¿ Á¢¼Ó ¿©ºÎ\n"
                "locale=(ymir) LC_Ymir Àϰæ¿ì ymir·Î ÀÛµ¿. ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é korea·Î ÀÛµ¿\n"
            
);

        
id=loginInfo.get("id", "")
        
pwd=loginInfo.get("pwd", "")

        if 
self.IS_TEST:
            try:
                
addr=loginInfo["addr"]
                
port=loginInfo["port"]
                
account_addr=addr
                account_port
=port

                net
.SetMarkServer(addr, port)
                
self.__SetServerInfo(locale.CHANNEL_TEST_SERVER_ADDR % (addr, port))
            
except:
                try:
                    
addr=serverInfo.TESTADDR["ip"]
                    
port=serverInfo.TESTADDR["tcp_port"]

                    
net.SetMarkServer(addr, port)
                    
self.__SetServerInfo(locale.CHANNEL_TEST_SERVER)
                
except:
                    
import exception
                    exception
.Abort("LoginWindow.__LoadLoginInfo - Å×½ºÆ®¼*¹ö ÁÖ¼Ò°¡ ¾ø½À´Ï´Ù")

        else:
            
addr=loginInfo.get("addr", "")
            
port=loginInfo.get("port", 0)
            
account_addr=loginInfo.get("account_addr", addr)
            
account_port=loginInfo.get("account_port", port)

            
locale = loginInfo.get("locale", "")

            if 
addr and port:
                
net.SetMarkServer(addr, port)

                if 
locale == "ymir" :
                    
net.SetServerInfo("õ¸¶ ¼*¹ö")
                    
self.serverInfo.SetText("Y:"+addr+":"+str(port))
                else:
                    
net.SetServerInfo(addr+":"+str(port))
                    
self.serverInfo.SetText("K:"+addr+":"+str(port))

        
slot=loginInfo.get("slot", 0)
        
isAutoLogin=loginInfo.get("auto", 0)
        
isAutoLogin=loginInfo.get("autoLogin", 0)
        
isAutoSelect=loginInfo.get("autoSelect", 0)

        
self.stream.SetCharacterSlot(slot)
        
self.stream.SetConnectInfo(addr, port, account_addr, account_port)
        
self.stream.isAutoLogin=isAutoLogin
        self
.stream.isAutoSelect=isAutoSelect

        self
.id = None
        self
.pwd = None        
        self
.loginnedServer = None
        self
.loginnedChannel = None            
        app
.loggined = FALSE

        self
.loginInfo = loginInfo

        
if self.id and self.pwd:
            
app.loggined = TRUE

        
if isAutoLogin:
            
self.Connect(id, pwd)
            
            print 
"=================================================================================="
            
print "ÀÚµ¿ ·Î±×ÀÎ: %s - %s:%d %s" % (loginInfoFileName, addr, port, id)
            print 
"=================================================================================="

        
    
def PopupDisplayMessage(self, msg):
        
self.stream.popupWindow.Close()
        
self.stream.popupWindow.Open(msg)

    
def PopupNotifyMessage(self, msg, func=0):
        if 
not func:
            
func=self.EmptyFunc

        self
.stream.popupWindow.Close()
        
self.stream.popupWindow.Open(msg, func, locale.UI_OK)

    
# RUNUP_MATRIX_AUTH
    
def BINARY_OnRunupMatrixQuiz(self, quiz):
        if 
not IsRunupMatrixAuth():
            return

        
id        = self.GetChild("RunupMatrixID")
        
id.SetText(self.idEditLine.GetText())
        
        
code    = self.GetChild("RunupMatrixCode")
        
        
code.SetText("".join(["[%c,%c]" % (quiz[i], quiz[i+1]) for i in xrange(0, len(quiz), 2)]))

        
self.stream.popupWindow.Close()
        
self.serverBoard.Hide()
        
self.connectBoard.Hide()
        
self.matrixQuizBoard.Show()
        
self.matrixAnswerInput.SetFocus()

    
def __OnClickMatrixAnswerOK(self):
        
answer = self.matrixAnswerInput.GetText()

        print 
"matrix_quiz.ok"
        
net.SendRunupMatrixCardPacket(answer)
        
self.matrixQuizBoard.Hide()    

        
self.stream.popupWindow.Close()
        
self.stream.popupWindow.Open("WAITING FOR MATRIX AUTHENTICATION", 
            
self.__OnClickMatrixAnswerCancel, 
            
locale.UI_CANCEL)

    
def __OnClickMatrixAnswerCancel(self):
        print 
"matrix_quiz.cancel"

        
if self.matrixQuizBoard:
            
self.matrixQuizBoard.Hide()    

        if 
self.connectBoard:
            
self.connectBoard.Show()

    
# RUNUP_MATRIX_AUTH_END

    # NEWCIBN_PASSPOD_AUTH
    
def BINARY_OnNEWCIBNPasspodRequest(self):
        if 
not IsNEWCIBNPassPodAuth():
            return

        if 
self.connectingDialog:
            
self.connectingDialog.Close()
        
self.connectingDialog = None

        self
.stream.popupWindow.Close()
        
self.serverBoard.Hide()
        
self.connectBoard.Hide()
        
self.passpodBoard.Show()
        
self.passpodAnswerInput.SetFocus()

    
def BINARY_OnNEWCIBNPasspodFailure(self):
        if 
not IsNEWCIBNPassPodAuth():
            return

    
def __OnClickNEWCIBNPasspodAnswerOK(self):
        
answer = self.passpodAnswerInput.GetText()

        print 
"passpod.ok"
        
net.SendNEWCIBNPasspodAnswerPacket(answer)
        
self.passpodAnswerInput.SetText("")
        
self.passpodBoard.Hide()    

        
self.stream.popupWindow.Close()
        
self.stream.popupWindow.Open(locale.WAIT_FOR_PASSPOD, 
            
self.__OnClickNEWCIBNPasspodAnswerCancel, 
            
locale.UI_CANCEL)

    
def __OnClickNEWCIBNPasspodAnswerCancel(self):
        print 
"passpod.cancel"

        
if self.passpodBoard:
            
self.passpodBoard.Hide()    

        if 
self.connectBoard:
            
self.connectBoard.Show()
    
# NEWCIBN_PASSPOD_AUTH_END


    
def OnMatrixCard(self, row1, row2, row3, row4, col1, col2, col3, col4):

        if 
self.connectingDialog:
            
self.connectingDialog.Close()
        
self.connectingDialog = None

        self
.matrixInputChanceCount = 3

        self
.stream.popupWindow.Close()

        
# CHINA_MATRIX_CARD_BUG_FIX
        ## A~Z ±îÁö 26 À̳»ÀÇ °ªÀÌ µé¾îÀÖ¾î¾ß¸¸ ÇÑ´Ù.
        ## Python Exception Log ¿¡¼* ±× ÀÌ»óÀÇ °ªÀÌ µé¾îÀÖ¾î¼* ¿¡·¯ ¹æÁö
        ## Çåµ¥ ¿Ö Çѱ¹ÂÊ ·Î±×¿¡¼* À̰ԠȰ¿ëµÇ´ÂÁö´Â ¸ð¸£°ÚÀ½
        
row1 = min(30, row1)
        
row2 = min(30, row2)
        
row3 = min(30, row3)
        
row4 = min(30, row4)
        
# END_OF_CHINA_MATRIX_CARD_BUG_FIX

        
row1 = chr(row1 + ord('A'))
        
row2 = chr(row2 + ord('A'))
        
row3 = chr(row3 + ord('A'))
        
row4 = chr(row4 + ord('A'))
        
col1 = col1 + 1
        col2 
= col2 + 1
        col3 
= col3 + 1
        col4 
= col4 + 1

        inputDialog 
= uiCommon.InputDialogWithDescription2()
        
inputDialog.SetMaxLength(8)
        
inputDialog.SetAcceptEvent(ui.__mem_func__(self.__OnAcceptMatrixCardData))
        
inputDialog.SetCancelEvent(ui.__mem_func__(self.__OnCancelMatrixCardData))
        
inputDialog.SetTitle(locale.INPUT_MATRIX_CARD_TITLE)
        
inputDialog.SetDescription1(locale.INPUT_MATRIX_CARD_NUMBER)
        
inputDialog.SetDescription2("%c%d %c%d %c%d %c%d" % (row1, col1,
                                                            
row2, col2,
                                                            
row3, col3,
                                                            
row4, col4))

        
inputDialog.Open()
        
self.inputDialog = inputDialog

    def __OnAcceptMatrixCardData
(self):
        
text = self.inputDialog.GetText()
        
net.SendChinaMatrixCardPacket(text)
        if 
self.inputDialog:
            
self.inputDialog.Hide()
        
self.PopupNotifyMessage(locale.LOGIN_PROCESSING)
        return 
TRUE

    def __OnCancelMatrixCardData
(self):
        
self.SetPasswordEditLineFocus()
        
self.__OnCloseInputDialog()
        
self.__DisconnectAndInputPassword()
        return 
TRUE

    def __OnCloseInputDialog
(self):
        if 
self.inputDialog:
            
self.inputDialog.Close()
        
self.inputDialog = None
        
return TRUE

    def OnPressExitKey
(self):
        
self.stream.popupWindow.Close()
        
self.stream.SetPhaseWindow(0)
        return 
TRUE

    def OnExit
(self):
        
self.stream.popupWindow.Close()
        
self.stream.popupWindow.Open(locale.LOGIN_FAILURE_WRONG_MATRIX_CARD_NUMBER_TRIPLE, app.Exit, locale.UI_OK)

    
def OnUpdate(self):
        
app.UpdateGame()
        
ServerStateChecker.Update()
        
## mob movement
        
global ConnectBoardState
        
global ConnectBoardCount
        
if ConnectBoardState == 1:
                (
x,y) = self.connectBoard.GetGlobalPosition()
                
self.connectBoard.SetPosition(x,y-5)
                (
q,p) = self.Buttons['LoginButton'].GetGlobalPosition()
                
self.Buttons['LoginButton'].SetPosition(q,p-5)
                
ConnectBoardCount +=1
                
if ConnectBoardCount == 53:
                    
ConnectBoardState = 0
                    ConnectBoardCount 
= 0
        
if ConnectBoardState == 2:
                (
m,n) = self.connectBoard.GetGlobalPosition()
                
self.connectBoard.SetPosition(m,n+5)
                (
a,b) = self.Buttons['LoginButton'].GetGlobalPosition()
                
self.Buttons['LoginButton'].SetPosition(a,b+5)
                
ConnectBoardCount +=1
                
if ConnectBoardCount == 53:
                    
ConnectBoardState = 0
                    ConnectBoardCount 
= 0
        
if self.mob_index:
            for 
i in range(len(self.mob_index)):
                if 
time.clock() >= self.mob_index[i]['next_move']:

                    
self.mob_index[i]['next_move'] = time.clock() + app.GetRandom(5,15)

                    
x,y,z = chr.GetPixelPosition(self.mob_index[i]['vid'])
                    
                    
new_move_x = app.GetRandom(-1000,1000) + x
                    new_move_y 
= app.GetRandom(-1000,1000) + y
                    
                    chr
.MoveToDestPosition(self.mob_index[i]['vid'], new_move_x, new_move_y)
                    
                    
# print('mob_vid: %d move x:%d y:%d // ' % (self.mob_index[i]['vid'],new_move_x, new_move_y))
                    
    
def OnRender(self):
        
app.RenderGame()
        
import grp
        grp
.PopState()
        
grp.SetInterfaceRenderState()

    
def EmptyFunc(self):
        
pass

    
#####################################################################################

    
def __ServerBoard_OnKeyUp(self, key):
        if 
self.serverBoard.IsShow():
            if 
app.DIK_RETURN==key:
                
self.__OnClickSelectServerButton()
        return 
TRUE

    def __GetRegionID
(self):
        return 
0

    def __GetServerID
(self):
        return 
self.serverList.GetSelectedItem()

    
def __GetChannelID(self):
        return 
self.channelList.GetSelectedItem()

    
# SEVER_LIST_BUG_FIX
    
def __ServerIDToServerIndex(self, regionID, targetServerID):
        try:
            
regionDict = serverInfo.REGION_DICT[regionID]
        
except KeyError:
            return -
1

        retServerIndex 
= 0
        
for eachServerID, regionDataDict in regionDict.items():
            if 
eachServerID == targetServerID:
                return 
retServerIndex

            retServerIndex 
+= 1        
        
        
return -1

    def __ChannelIDToChannelIndex
(self, channelID):
        return 
channelID - 1
    
# END_OF_SEVER_LIST_BUG_FIX

    
def __OpenServerBoard(self):
        
# RUNUP_MATRIX_AUTH
        
if IsRunupMatrixAuth():
            
self.matrixQuizBoard.Hide()
        
# RUNUP_MATRIX_AUTH_END

        # NEWCIBN_PASSPOD_AUTH
        
if IsNEWCIBNPassPodAuth():
            
self.passpodBoard.Hide()
        
# NEWCIBN_PASSPOD_AUTH_END

        
self.serverBoard.SetPosition(self.xServerBoard, wndMgr.GetScreenHeight())
        
self.serverBoard.Hide()

        if 
self.virtualKeyboard:
            
self.virtualKeyboard.Hide()

        if 
app.loggined:
            
self.Connect(self.id, self.pwd)
            
self.connectBoard.Hide()
        
elif not self.stream.isAutoLogin:
            
self.connectBoard.Show()

        
## if users have the login infomation, then don't initialize.2005.9 haho
        
if self.pwdEditLine == None:
            
self.pwdEditLine.SetText("")

        
self.idEditLine.SetFocus()

        global 
SKIP_LOGIN_PHASE
        
if SKIP_LOGIN_PHASE:
            if 
not self.loginInfo:
                
self.connectBoard.Hide()

    
def __OpenConnectBoard(self):
        print 
"XMAS_SNOW ON"
        
background.EnableSnow(1)
            
        
self.serverExitButton.SetEvent(ui.__mem_func__(self.__OnClickExitServerButton))
        
self.serverExitButton.SetText(locale.UI_CLOSE)

        
# RUNUP_MATRIX_AUTH
        
if IsRunupMatrixAuth():
            
self.matrixQuizBoard.Hide()
        
# RUNUP_MATRIX_AUTH_END

        # NEWCIBN_PASSPOD_AUTH
        
if IsNEWCIBNPassPodAuth():
            
self.passpodBoard.Hide()
        
# NEWCIBN_PASSPOD_AUTH_END

        
self.serverBoard.SetPosition(self.xServerBoard, wndMgr.GetScreenHeight())
        
self.serverBoard.Hide()

        if 
self.virtualKeyboard:
            
self.virtualKeyboard.Hide()

        if 
app.loggined:
            
self.Connect(self.id, self.pwd)
            
self.connectBoard.Hide()
        
elif not self.stream.isAutoLogin:
            
self.connectBoard.Show()

        
## if users have the login infomation, then don't initialize.2005.9 haho
        
if self.pwdEditLine == None:
            
self.pwdEditLine.SetText("")

        
self.idEditLine.SetFocus()

        global 
SKIP_LOGIN_PHASE
        
if SKIP_LOGIN_PHASE:
            if 
not self.loginInfo:
                
self.connectBoard.Hide()

    
def __OnSelectRegionGroup(self):
        
self.__RefreshServerList()

    
def __OnSelectSettlementArea(self):
        
# SEVER_LIST_BUG_FIX
        
regionID = self.__GetRegionID()
        
serverID = self.serverListOnRegionBoard.GetSelectedItem()

        
serverIndex = self.__ServerIDToServerIndex(regionID, serverID)
        
self.serverList.SelectItem(serverIndex)
        
# END_OF_SEVER_LIST_BUG_FIX
        
        
self.__OnSelectServer()

    
def __RefreshServerList(self):
        
regionID = self.__GetRegionID()
        
        if 
not serverInfo.REGION_DICT.has_key(regionID):
            return

        
self.serverList.ClearItem()

        
regionDict = serverInfo.REGION_DICT[regionID]

        
# SEVER_LIST_BUG_FIX
        
visible_index = 1
        
for id, regionDataDict in regionDict.items():
            
name = regionDataDict.get("name", "noname")
            if 
locale.IsBRAZIL() or locale.IsCANADA():
                
self.serverList.InsertItem(id, "%s" % (name))
            else:
                if 
locale.IsCIBN10():            
                    if 
name[0] == "#":
                        
self.serverList.InsertItem(-1, "  %s" % (name[1:]))
                    else:
                        
self.serverList.InsertItem(id, "  %s" % (name))
                        
visible_index += 1
                
else:
                    
self.serverList.InsertItem(id, "  %02d. %s" % (visible_index, name))
                    
                    
visible_index += 1
        
        
# END_OF_SEVER_LIST_BUG_FIX

    
def __OnSelectServer(self):
        
self.__OnCloseInputDialog()
        
self.__RequestServerStateList()
        
self.__RefreshServerStateList()

    
def __RequestServerStateList(self):
        
regionID = self.__GetRegionID()
        
serverID = self.__GetServerID()

        try:
            
channelDict = serverInfo.REGION_DICT[regionID][serverID]["channel"]
        
except:
            print 
" __RequestServerStateList - serverInfo.REGION_DICT(%d, %d)" % (regionID, serverID)
            return

        for 
id, channelDataDict in channelDict.items():
            
key=channelDataDict["key"]
            
ip=channelDataDict["ip"]
            
udp_port=channelDataDict["udp_port"]
            
ServerStateChecker.Request(key, ip, udp_port)

    
def __RefreshServerStateList(self):

        
regionID = self.__GetRegionID()
        
serverID = self.__GetServerID()
        
bakChannelID = self.channelList.GetSelectedItem()

        
self.channelList.ClearItem()

        try:
            
channelDict = serverInfo.REGION_DICT[regionID][serverID]["channel"]
        
except:
            print 
" __RequestServerStateList - serverInfo.REGION_DICT(%d, %d)" % (regionID, serverID)
            return

        for 
channelID, channelDataDict in channelDict.items():
            
channelName = channelDataDict["name"]
            
channelState = channelDataDict["state"]
            
self.channelList.InsertItem(channelID, " %s %s" % (channelName, channelState))

        
self.channelList.SelectItem(bakChannelID-1)

    
def __GetChannelName(self, regionID, selServerID, selChannelID):
        try:
            return 
serverInfo.REGION_DICT[regionID][selServerID]["channel"][selChannelID]["name"]
        
except KeyError:
            if 
9==selChannelID:
                return 
locale.CHANNEL_PVP
            
else:
                return 
locale.CHANNEL_NORMAL % (selChannelID)

    
def NotifyChannelState(self, addrKey, state):
        try:
            
stateName=serverInfo.STATE_DICT[state]
        
except:
            
stateName=serverInfo.STATE_NONE

        regionID
=int(addrKey/1000)
        
serverID=int(addrKey/10) % 100
        channelID
=addrKey%10

        
try:
            
serverInfo.REGION_DICT[regionID][serverID]["channel"][channelID]["state"] = stateName
            self
.__RefreshServerStateList()

        
except:
            
import exception
            exception
.Abort(locale.CHANNEL_NOT_FIND_INFO)

    
def __OnClickExitServerButton(self):
        print 
"exit server"
        
self.__OpenConnectBoard()            

        if 
IsFullBackImage():
            
self.GetChild("bg1").Hide()
            
self.GetChild("bg2").Show()
            

    
def __OnClickSelectRegionButton(self):
        
regionID = self.__GetRegionID()
        
serverID = self.__GetServerID()

        if (
not serverInfo.REGION_DICT.has_key(regionID)):
            
self.PopupNotifyMessage(locale.CHANNEL_SELECT_REGION)
            return

        if (
not serverInfo.REGION_DICT[regionID].has_key(serverID)):
            
self.PopupNotifyMessage(locale.CHANNEL_SELECT_SERVER)
            return        

        
self.__SaveChannelInfo()

        
self.serverExitButton.SetEvent(ui.__mem_func__(self.__OnClickExitServerButton))
        
self.serverExitButton.SetText(locale.UI_CLOSE)

        
self.__RefreshServerList()
        
self.__OpenServerBoard()

    
def __OnClickSelectServerButton(self):
        if 
IsFullBackImage():
            
self.GetChild("bg1").Show()
            
self.GetChild("bg2").Hide()

        
regionID = self.__GetRegionID()
        
serverID = self.__GetServerID()
        
channelID = self.__GetChannelID()

        if (
not serverInfo.REGION_DICT.has_key(regionID)):
            
self.PopupNotifyMessage(locale.CHANNEL_SELECT_REGION)
            return

        if (
not serverInfo.REGION_DICT[regionID].has_key(serverID)):
            
self.PopupNotifyMessage(locale.CHANNEL_SELECT_SERVER)
            return

        try:
            
channelDict = serverInfo.REGION_DICT[regionID][serverID]["channel"]
        
except KeyError:
            return

        try:
            
state = channelDict[channelID]["state"]
        
except KeyError:
            
self.PopupNotifyMessage(locale.CHANNEL_SELECT_CHANNEL)
            return

        
# »óŰ¡ FULL °ú °°À¸¸é ÁøÀÔ ±ÝÁö
        
if state == serverInfo.STATE_DICT[3]: 
            
self.PopupNotifyMessage(locale.CHANNEL_NOTIFY_FULL)
            return

        
self.__SaveChannelInfo()

        try:
            
serverName = serverInfo.REGION_DICT[regionID][serverID]["name"]
            
channelName = serverInfo.REGION_DICT[regionID][serverID]["channel"][channelID]["name"]
            
addrKey = serverInfo.REGION_DICT[regionID][serverID]["channel"][channelID]["key"]
        
except:
            print 
" ERROR __OnClickSelectServerButton(%d, %d, %d)" % (regionID, serverID, channelID)
            
serverName = locale.CHANNEL_EMPTY_SERVER
            channelName 
= locale.CHANNEL_NORMAL % channelID

        self
.__SetServerInfo("%s, %s " % (serverName, channelName))

        try:
            
ip = serverInfo.REGION_DICT[regionID][serverID]["channel"][channelID]["ip"]
            
tcp_port = serverInfo.REGION_DICT[regionID][serverID]["channel"][channelID]["tcp_port"]
        
except:
            
import exception
            exception
.Abort("LoginWindow.__OnClickSelectServerButton - ¼*¹ö ¼±Åà½ÇÆÐ")

        try:
            
account_ip = serverInfo.REGION_AUTH_SERVER_DICT[regionID][serverID]["ip"]
            
account_port = serverInfo.REGION_AUTH_SERVER_DICT[regionID][serverID]["port"]
        
except:
            
account_ip = 0
            account_port 
= 0

        
try:
            
markKey = regionID*1000 + serverID*10
            markAddrValue
=serverInfo.MARKADDR_DICT[markKey]
            
net.SetMarkServer(markAddrValue["ip"], markAddrValue["tcp_port"])
            
app.SetGuildMarkPath(markAddrValue["mark"])
            
# GUILD_SYMBOL
            
app.SetGuildSymbolPath(markAddrValue["symbol_path"])
            
# END_OF_GUILD_SYMBOL

        
except:
            
import exception
            exception
.Abort("LoginWindow.__OnClickSelectServerButton - ¸¶Å© Á¤º¸ ¾øÀ½")

        
self.stream.SetConnectInfo(ip, tcp_port, account_ip, account_port)

        
self.__OpenConnectBoard()
    
def _ChannelSelect(self, channelnmbr):
        global 
ConnectBoardState
        self
.stream.SetConnectInfo(ConnectInformations[0], ConnectInformations[channelnmbr], ConnectInformations[0] ,ConnectInformations[7])
        
net.SetMarkServer(ConnectInformations[0], ConnectInformations[channelnmbr])
        
app.SetGuildMarkPath("10.tga")
        
app.SetGuildSymbolPath("10")
        
imagenmbr = str(channelnmbr)
        
self.ChannelAktuell.LoadImage("locale/de/ui/loginimg/channel"+ imagenmbr + ".tga")
        
ConnectBoardState = 1
    def _LoadButtonFunc
(self):
        
SAVEID = linecache.getline("login.cfg", 1)
        
SAVEPW = linecache.getline("login.cfg", 2)
        
SAVEID = SAVEID[0:(len(SAVEID)-1)]
        
SAVEPW = SAVEPW[0:(len(SAVEPW)-1)]
        if 
SAVEID == "0":
            
self.Buttons['IDOFF'].Show()
            
self.Buttons['IDON'].Hide()
        
elif SAVEID == "1":
            
self.Buttons['IDOFF'].Hide()
            
self.Buttons['IDON'].Show()
        
elif SAVEPW == "0":
            
self.Buttons['PWOFF'].Show()
            
self.Buttons['PWON'].Hide()
        
elif SAVEPW == "1":
            
self.Buttons['PWOFF'].Hide()
            
self.Buttons['PWON'].Show()
            
self.PopupDisplayMessage("PWON")
    
def _SaveFunctions(self, buttontype, value):
        
# IDLine = linecache.getline("login.cfg", 1)
        # PWLine = linecache.getline("login.cfg", 2)
        
SAVEID = linecache.getline("login.cfg", 1)
        
SAVEPW = linecache.getline("login.cfg", 2)
        
# IDLine = IDLine[0:(len(IDLine)-1)]
        # PWLine = PWLine[0:(len(PWLine)-1)]
        
SAVEID = SAVEID[0:(len(SAVEID)-1)]
        
SAVEPW = SAVEPW[0:(len(SAVEPW)-1)]
        
# self.IDLine = str(IDLine)
        # self.PWLine = str(PWLine)
        
self.SAVEID = SAVEID
        self
.SAVEPW = SAVEPW
        
if buttontype == 1:
            if 
value == 1:
                
self.Buttons['IDOFF'].Show()
                
self.Buttons['IDON'].Hide()
                
self.SAVEID = "0"
                
ID2 = open("login.cfg", "w")
                
ID2.write(self.SAVEID + "\n" + self.SAVEPW + "\n")
                
ID2.close()
            
elif value == 2:
                
self.Buttons['IDOFF'].Hide()
                
self.Buttons['IDON'].Show()
                
self.SAVEID = "1"
                
ID = open("login.cfg", "w")
                
ID.write(self.SAVEID + "\n" + self.SAVEPW + "\n")
                
ID.close()
        if 
buttontype == 2:
            if 
value == 1:
                
self.Buttons['PWOFF'].Show()
                
self.Buttons['PWON'].Hide()
                
self.SAVEPW = "0"
                
PW = open("login.cfg", "w")
                
PW.write(self.SAVEID + "\n" + self.SAVEPW + "\n")
                
PW.close()
            
elif value == 2:
                
self.Buttons['PWOFF'].Hide()
                
self.Buttons['PWON'].Show()
                
self.SAVEPW = "1"
                
PW2 = open("login.cfg", "w")
                
PW2.write(self.SAVEID + "\n" + self.SAVEPW + "\n")
                
PW2.close()

    
def LoadFunction(self):
        
SAVEID = linecache.getline("login.cfg",3)
        
SAVEPW = linecache.getline("login.cfg",4)
        
SAVEID = SAVEID[0:(len(SAVEID)-1)]
        
SAVEPW = SAVEPW[0:(len(SAVEPW)-1)]
        if 
SAVEID == "1":
            
self.LoadEditLines()
        if 
SAVEPW == "1":
            
self.LoadEditLines()

    
def LoadEditLines(self):
        
IDLine = linecache.getline("login.cfg",1)
        
PWLine = linecache.getline("login.cfg",2)
        
IDLine = IDLine[0:(len(IDLine)-1)]
        
PWLine = PWLine[0:(len(PWLine)-1)]
        
self.idEditLine.SetText(IDLine)
        
self.pwdEditLine.SetText(PWLine)
    
    
def _ChannelWahlSet(self):
        global 
ConnectBoardState
        ConnectBoardState 
= 2
    def __OnClickLoginButton
(self):
        global 
ConnectBoardState
        
# IDLine = linecache.getline("login.cfg",1)
        # PWLine = linecache.getline("login.cfg",2)
        
SAVEID = linecache.getline("login.cfg",3)
        
SAVEPW = linecache.getline("login.cfg",4)
        
SAVEID = SAVEID[0:(len(SAVEID)-1)]
        
SAVEPW = SAVEPW[0:(len(SAVEPW)-1)]
        if 
self.news_gui['board'].IsShow():
            
self.news_gui['board'].Hide()
            
ConnectBoardState = 1
            
# self.connectBoard.SetPosition(wndMgr.GetScreenWidth() / 2 - 237, 29 - 267)
            # self.Buttons['LoginButton'].SetPosition(wndMgr.GetScreenWidth() / 2 - 160, 29 + 473 + 80 - 267)
            
self.connectBoard.Show()
            
# self.LoadFunction()

        
else:
            
id = self.idEditLine.GetText()
            
pwd = self.pwdEditLine.GetText()
            if 
SAVEID == "1" and SAVEPW == "1":
                
ID = open("login.cfg", "w")
                
ID.write (str(id) + "\n" + str(pwd) + "\n" + str(SAVEID) + "\n" + str(SAVEPW))
                
ID.close()
            
elif SAVEID == "1" and SAVEPW == "0":
                
ID = open("login.cfg", "w")
                
ID.write (str(id) + "\n" + "" + "\n" + str(SAVEID) + "\n" + str(SAVEPW))
                
ID.close()
            
elif SAVEID == "0" and SAVEPW == "1":
                
ID = open("login.cfg", "w")
                
ID.write ("" + "\n" + str(pwd) + "\n" + str(SAVEID) + "\n" + str(SAVEPW))
                
ID.close()
            if 
len(id)==0:
                
self.PopupNotifyMessage(locale.LOGIN_INPUT_ID, self.SetIDEditLineFocus)
                return

            if  
len(pwd)==0:
                
self.PopupNotifyMessage(locale.LOGIN_INPUT_PASSWORD, self.SetPasswordEditLineFocus)
                return

            
self.Connect(id, pwd) 
11/17/2014 20:43 .Despero™#39
hmm nope immer noch da

[Only registered and activated users can see links. Click Here To Register...]
11/17/2014 21:18 .iRyan#40
thx auf jeden fall für die Mühe! :)
11/17/2014 21:30 www.Alesta2.de | Bizeps#41
Quote:
Originally Posted by .Despero™ View Post
hmm nope immer noch da

[Only registered and activated users can see links. Click Here To Register...]


Ich meinte damit den schwarzen Login Hintergrund der so gebuggt hat..^^
11/17/2014 21:44 Zynko™#42
Danke mega geil
11/18/2014 17:31 zєкαу..♥™#43
Poccix wegen dir hab ich mir schon wieder in die hose gejizzt ._.
11/18/2014 22:01 Akiao#44
Grad durch Zufall mal wieder durch die MT2 Sektion gegangen muss sagen gute Arbeit kann nur leider nix mehr mit anfangen das Spiel kann mich auf gut Deutsch mal am A**** lecken
11/19/2014 06:51 Poccix#45
Quote:
Originally Posted by Akiao View Post
Grad durch Zufall mal wieder durch die MT2 Sektion gegangen muss sagen gute Arbeit kann nur leider nix mehr mit anfangen das Spiel kann mich auf gut Deutsch mal am A**** lecken
Eine durchaus gesunde Einstellung !
Danke euch :)