*Problemă: Nu merge sa pornesc clientul
Tipologie server: PVM
*Resursă folosită: -
*ServerFiles utilizat: Trinity
*Syserr: -
Poză: -
*Detalii suplimentare: Am adaugat dungeon-urile in client si imi da aceasta eroare dupa ce intru pe caracter si m-i se inchide clientul: networkModule.SetLoadingPhase - <type 'exceptions.AttributeError'>:'module' object has no attribute 'DUNGEON_LIST_TIME'
Am incercat sa adaug in locale_inc.h #define DUNGEON_LIST_TIME dar tot nu merge.
Problema Dungeon
PythonApplicationModule.cpp
#ifdef DUNGEON_LIST_TIME PyModule_AddIntConstant(poModule, "DUNGEON_LIST_TIME", 1); #else PyModule_AddIntConstant(poModule, "DUNGEON_LIST_TIME", 0); #endiflocale_inc.h
#define DUNGEON_LIST_TIME
- Pentru acest mesaj, amvenitsavadcv for the post:
- reprezint1
Imi da erorile astea dupa ce adaug ce ai spus:amvenitsavadcv scrie: ↑01 Ian 2021, 20:19 PythonApplicationModule.cpp#ifdef DUNGEON_LIST_TIME PyModule_AddIntConstant(poModule, "DUNGEON_LIST_TIME", 1); #else PyModule_AddIntConstant(poModule, "DUNGEON_LIST_TIME", 0); #endiflocale_inc.h#define DUNGEON_LIST_TIME
Error 1 error C2065: 'poModule' : undeclared identifier C:\Users\Kase\Desktop\Sursa Launch Client\source\UserInterface\PythonApplicationModule.cpp 323 1 UserInterface
Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Users\Kase\Desktop\Sursa Launch Client\source\UserInterface\PythonApplicationModule.cpp 323 1 UserInterface
Error 3 error C2365: 'PyModule_AddIntConstant' : redefinition; previous definition was 'function' C:\Users\Kase\Desktop\Sursa Launch Client\source\UserInterface\PythonApplicationModule.cpp 323 1 UserInterface
Error 4 error C2078: too many initializers C:\Users\Kase\Desktop\Sursa Launch Client\source\UserInterface\PythonApplicationModule.cpp 323 1 UserInterface
5 IntelliSense: this declaration has no storage class or type specifier c:\Users\Kase\Desktop\Sursa Launch Client\source\UserInterface\PythonApplicationModule.cpp 323 2 UserInterface
6 IntelliSense: identifier "poModule" is undefined c:\Users\Kase\Desktop\Sursa Launch Client\source\UserInterface\PythonApplicationModule.cpp 323 26 UserInterface
7 IntelliSense: expected a ')' c:\Users\Kase\Desktop\Sursa Launch Client\source\UserInterface\PythonApplicationModule.cpp 323 34 UserInterfaceLasă-mi PythonApplicationModule.cpp aici
- Pentru acest mesaj, amvenitsavadcv for the post:
- reprezint1
Gata, am reusit sa adaug, nu le pusesem unde trebuie. Dar acum imi da alte erori in log in loc de aia... Si tot nu porneste dupa ce intru pe caracter, se blocheaza la 100% si nu ma baga.
Erori:
0101 20:36:01318 :: SYSERR: Traceback (most recent call last): 0101 20:36:01318 :: SYSERR: File "networkModule.py", line 238, in SetGamePhase 0101 20:36:01318 :: SYSERR: File "system.py", line 136, in __pack_import 0101 20:36:01318 :: SYSERR: File " 0101 20:36:01318 :: SYSERR: game.py 0101 20:36:01318 :: SYSERR: ", line 0101 20:36:01318 :: SYSERR: 133 0101 20:36:01318 :: SYSERR: 0101 20:36:01318 :: SYSERR: 0101 20:36:01319 :: SYSERR: import uiTimerWindow 0101 20:36:01319 :: SYSERR: 0101 20:36:01319 :: SYSERR: 0101 20:36:01319 :: SYSERR: 0101 20:36:01319 :: SYSERR: 0101 20:36:01319 :: SYSERR: 0101 20:36:01319 :: SYSERR: 0101 20:36:01319 :: SYSERR: ^ 0101 20:36:01319 :: SYSERR: IndentationError 0101 20:36:01319 :: SYSERR: : 0101 20:36:01319 :: SYSERR: expected an indented block 0101 20:36:01319 :: SYSERR:
Iti lipseste un tab prin game.py pe la linia 133
- Pentru acest mesaj, amvenitsavadcv for the post:
- reprezint1
Gata, am rezolvat am adaugat Tab-ul, dar acum imi da erorile astea:
0101 20:43:18903 :: SYSERR: Traceback (most recent call last): 0101 20:43:18903 :: SYSERR: File "networkModule.py", line 238, in SetGamePhase 0101 20:43:18904 :: SYSERR: File "system.py", line 136, in __pack_import 0101 20:43:18904 :: SYSERR: File "system.py", line 116, in _process_result 0101 20:43:18904 :: SYSERR: File "game.py", line 134, in <module> 0101 20:43:18904 :: SYSERR: File "system.py", line 136, in __pack_import 0101 20:43:18904 :: SYSERR: File "system.py", line 116, in _process_result 0101 20:43:18905 :: SYSERR: File "uiNewTimer.py", line 13, in <module> 0101 20:43:18905 :: SYSERR: File "uiNewTimer.py", line 26, in TimerWindow 0101 20:43:18905 :: SYSERR: AttributeError 0101 20:43:18905 :: SYSERR: : 0101 20:43:18905 :: SYSERR: 'module' object has no attribute 'QUEST_TIMER_BIOLOG' 0101 20:43:18905 :: SYSERR:
Lasa mi uiNewTimer.py sa ma uit
Daca tot ai erori, lasa si fisieru.
Daca tot ai erori, lasa si fisieru.
uiNewTimer.py:amvenitsavadcv scrie: ↑01 Ian 2021, 20:49 Lasa mi uiNewTimer.py sa ma uit
Daca tot ai erori, lasa si fisieru.
- Petrinel
-

- Mesaje: 539
- Membru din: 31 Mar 2018, 00:58
- Server: Fara
- Regat: Jinno
- Aprecieri: 319
- Mulţumiri: 101
- Discord: Copiază ID
adauga QUEST_TIMER_BIOLOG in locale_game sau locale_interface din locale.
exemplu: QUEST_TIMER_BIOLOG test
exemplu: QUEST_TIMER_BIOLOG test
- Pentru acest mesaj, Petrinel for the post:
- reprezint1
Răspunsuri
7 Vizualizări
1772
7 Vizualizări
1772
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Bing [Bot] și 41 vizitatori


