Problema system 3 2 1 GO Subiect este rezolvat

Aici găsiţi problemele rezolvate.
Deconectat
Avatar utilizator
R3ktMeight
Nivel 1
Nivel 1
Mesaje: 111
Membru din: 14 Mai 2016
Status: Fac server sau macar incerc.. :(
Regat: Shinsoo
Mulțumiri acordate: 8
Mulțumiri primite: 0

Problema system 3 2 1 GO  Subiect este rezolvat

Mesajde R3ktMeight » 05 Oct 2016, 08:48

Daca fac din client ( Trebuie să fii logat sau înregistrat pentru a vedea acest link. ) ramane blocat la bara de loading si imi da in syserr asta:

Cod: Selectaţi tot

1005 09:26:00010 :: import marshal # builtin

1005 09:26:00010 :: import imp # builtin

1005 09:26:00029 :: ui.py: inconsistent use of tabs and spaces in indentation

1005 09:26:00046 :: import _weakref # builtin

1005 09:26:00306 :: # trying .\os.pyd

1005 09:26:00306 :: # trying .\os.py

1005 09:26:00306 :: # trying .\os.pyw

1005 09:26:00306 :: # trying .\os.pyc

1005 09:26:00306 :: # trying lib\os.pyd

1005 09:26:00306 :: # trying lib\os.py

1005 09:26:00306 :: # lib\os.pyc has bad magic

1005 09:26:00311 :: import os # from lib\os.py

1005 09:26:00311 :: import nt # builtin

1005 09:26:00312 :: # trying .\ntpath.pyd

1005 09:26:00312 :: # trying .\ntpath.py

1005 09:26:00312 :: # trying .\ntpath.pyw

1005 09:26:00312 :: # trying .\ntpath.pyc

1005 09:26:00312 :: # trying lib\ntpath.pyd

1005 09:26:00312 :: # trying lib\ntpath.py

1005 09:26:00312 :: # lib\ntpath.pyc has bad magic

1005 09:26:00315 :: import ntpath # from lib\ntpath.py

1005 09:26:00315 :: # trying .\stat.pyd

1005 09:26:00315 :: # trying .\stat.py

1005 09:26:00315 :: # trying .\stat.pyw

1005 09:26:00315 :: # trying .\stat.pyc

1005 09:26:00315 :: # trying lib\stat.pyd

1005 09:26:00315 :: # trying lib\stat.py

1005 09:26:00315 :: # lib\stat.pyc has bad magic

1005 09:26:00316 :: import stat # from lib\stat.py

1005 09:26:00316 :: # trying .\UserDict.pyd

1005 09:26:00316 :: # trying .\UserDict.py

1005 09:26:00316 :: # trying .\UserDict.pyw

1005 09:26:00316 :: # trying .\UserDict.pyc

1005 09:26:00316 :: # trying lib\UserDict.pyd

1005 09:26:00316 :: # trying lib\UserDict.py

1005 09:26:00316 :: # lib\UserDict.pyc has bad magic

1005 09:26:00317 :: import UserDict # from lib\UserDict.py

1005 09:26:00317 :: # trying .\copy_reg.pyd

1005 09:26:00317 :: # trying .\copy_reg.py

1005 09:26:00317 :: # trying .\copy_reg.pyw

1005 09:26:00317 :: # trying .\copy_reg.pyc

1005 09:26:00317 :: # trying lib\copy_reg.pyd

1005 09:26:00317 :: # trying lib\copy_reg.py

1005 09:26:00317 :: # lib\copy_reg.pyc has bad magic

1005 09:26:00318 :: import copy_reg # from lib\copy_reg.py

1005 09:26:00318 :: # trying .\types.pyd

1005 09:26:00318 :: # trying .\types.py

1005 09:26:00318 :: # trying .\types.pyw

1005 09:26:00318 :: # trying .\types.pyc

1005 09:26:00318 :: # trying lib\types.pyd

1005 09:26:00318 :: # trying lib\types.py

1005 09:26:00318 :: # lib\types.pyc has bad magic

1005 09:26:00319 :: import types # from lib\types.py

1005 09:26:00319 :: # trying .\__future__.pyd

1005 09:26:00319 :: # trying .\__future__.py

1005 09:26:00319 :: # trying .\__future__.pyw

1005 09:26:00319 :: # trying .\__future__.pyc

1005 09:26:00319 :: # trying lib\__future__.pyd

1005 09:26:00319 :: # trying lib\__future__.py

1005 09:26:00319 :: # lib\__future__.pyc has bad magic

1005 09:26:00320 :: import __future__ # from lib\__future__.py

1005 09:26:00320 :: import errno # builtin

1005 09:26:00408 :: import time # builtin

1005 09:26:08516 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=137) - Strange Skill Need Weapon(CLAW)
1005 09:26:08516 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=139) - Strange Skill Need Weapon(CLAW)
1005 09:26:08521 :: import math # builtin

1005 09:26:08565 :: uiTaskBar.py: inconsistent use of tabs and spaces in indentation

1005 09:26:08586 :: uiDragonSoul.py: inconsistent use of tabs and spaces in indentation

1005 09:26:08616 :: uiSystem.py: inconsistent use of tabs and spaces in indentation

1005 09:26:08653 :: uiQuest.py: inconsistent use of tabs and spaces in indentation

1005 09:26:18403 :: game.py: inconsistent use of tabs and spaces in indentation

1005 09:26:18568 :: Traceback (most recent call last):

1005 09:26:18568 ::   File "networkModule.py", line 239, in SetGamePhase

1005 09:26:18568 ::   File "game.py", line 107, in __init__

1005 09:26:18569 ::   File "uiTarget.py", line 104, in __init__

1005 09:26:18569 :: NameError
1005 09:26:18569 :: :
1005 09:26:18569 :: global name 'localeinfo' is not defined
1005 09:26:18569 ::

1005 09:27:01320 :: # clear __builtin__._

1005 09:27:01320 :: # clear sys.path

1005 09:27:01320 :: # clear sys.argv

1005 09:27:01320 :: # clear sys.ps1

1005 09:27:01320 :: # clear sys.ps2

1005 09:27:01320 :: # clear sys.exitfunc

1005 09:27:01320 :: # clear sys.exc_type

1005 09:27:01320 :: # clear sys.exc_value

1005 09:27:01320 :: # clear sys.exc_traceback

1005 09:27:01320 :: # clear sys.last_type

1005 09:27:01320 :: # clear sys.last_value

1005 09:27:01320 :: # clear sys.last_traceback

1005 09:27:01320 :: # clear sys.path_hooks

1005 09:27:01320 :: # clear sys.path_importer_cache

1005 09:27:01320 :: # clear sys.meta_path

1005 09:27:01320 :: # clear sys.flags

1005 09:27:01320 :: # clear sys.float_info

1005 09:27:01320 :: # restore sys.stdin

1005 09:27:01320 :: # restore sys.stdout

1005 09:27:01320 :: # restore sys.stderr

 


Daca fac din sursa ( sursa/susrsa-t45212-20.html V1.1 Powered By VegaS™)

Cod: Selectaţi tot

pvp.cpp: In function 'long int start_duel_efect(LPEVENT, long int)':
pvp.cpp:224: error: 'struct start_duel_efect_info' has no member named 'pvp_even t'
pvp.cpp: In member function 'void CPVPManager::Insert(CHARACTER*, CHARACTER*)':
pvp.cpp:245: warning: suggest parentheses around assignment used as truth value
pvp.cpp: At global scope:
pvp.cpp:299: error: expected unqualified-id before '{' token

Conectat
Avatar utilizator
stilledanger
Mister Just4Metin
Mister Just4Metin
Mesaje: 730
Membru din: 31 Ian 2014
Localitate: /usr/xsag/thw2/
Reputație: Fost dezvoltator la Zearth2 si ThunderWorld2
Status: http://survive-on-mars.com
Server Metin2: survive-on-mars.com
Mulțumiri acordate: 13
Mulțumiri primite: 48
Contact:

Re: Problema system 3 2 1 GO

Mesajde stilledanger » 05 Oct 2016, 10:00

Metoda lui vegas merge daca sti oleaca de c++ . Iti lipseste o paranteza...

[ Postat de pe Android ] Imagine
Administrator la Trebuie să fii logat sau înregistrat pentru a vedea acest link.
Fost dezvoltator şi administrator la ThunderWorld2
Tutoriale C++ in curs de dezvoltare Trebuie să fii logat sau înregistrat pentru a vedea acest link.

Deconectat
Avatar utilizator
[Flavius]
Mister Just4Metin
Mister Just4Metin
Mesaje: 118
Membru din: 28 Oct 2014
Localitate: ZCWAVE_SysEnter
Status: Plictisealaway
Server Metin2: Niciunul.
Regat: Jinno
Mulțumiri acordate: 0
Mulțumiri primite: 13

Re: Problema system 3 2 1 GO

Mesajde [Flavius] » 05 Oct 2016, 20:53

La metoda clientului: Tu nu ai 40k, dar ai modificat in uitarget.py:

self.buttonDict[locale.TARGET_BUTTON_FIGHT].SetEvent(ui.__mem_func__(self.OnPVP))
self.buttonDict[locale.TARGET_BUTTON_ACCEPT_FIGHT].SetEvent(ui.__mem_func__(self.OnPVP))
self.buttonDict[locale.TARGET_BUTTON_AVENGE].SetEvent(ui.__mem_func__(self.OnPVP))


cu:

#DEMIRGAME & TURKMMO [P-NEW] PVP SYSTEM
self.buttonDict[localeinfo.TARGET_BUTTON_FIGHT].SetEvent(ui.__mem_func__(self.demirwsgame))
self.buttonDict[localeinfo.TARGET_BUTTON_ACCEPT_FIGHT].SetEvent(ui.__mem_func__(self.demirgogame))
self.buttonDict[localeinfo.TARGET_BUTTON_AVENGE].SetEvent(ui.__mem_func__(self.demirgogame))
#DEMIRGAME & TURKMMO [P-NEW] PVP SYSTEM


Inlocuieste cele 3 "localeinfo" cu "locale".
Imagine

Deconectat
Avatar utilizator
R3ktMeight
Nivel 1
Nivel 1
Mesaje: 111
Membru din: 14 Mai 2016
Status: Fac server sau macar incerc.. :(
Regat: Shinsoo
Mulțumiri acordate: 8
Mulțumiri primite: 0

Re: Problema system 3 2 1 GO

Mesajde R3ktMeight » 06 Oct 2016, 14:29

Am 40k

[ Postat de pe Samsung Galaxy Note 3 ] Imagine


Înapoi la “Probleme rezolvate”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 8 vizitatori