*Problemă/Întrebare: Am incercat sa bag sistemul ala "cumpara cu iteme" sau ce nume are el,ala de poti cumpara ceva de la npc cu scoici panze etc.. obiecte pe obiecte si am o eroare cand incerc sa intru in client.
Tipologie server(PvM / PvP): PVM
*Resursă folosită: *Link exclusiv J4M* htt ps:// just4meti n.ro/sursa/buy-with-items-t83097.html
*ServerFiles utilizat: cartof v2
*Syserr:
Poză:
*Detalii suplimentare:
EROAREA : locale/tr/locale_game.txt : line(846) : SHOP_NOT_ENOUGHT_ITEM Iteme insuficiente , dupa ce dau ok mai apare
Traceback: Error "module" object has no attribute 'error'
problema
- Kazuhiri
-

- Mesaje: 2088
- Membru din: 26 Mar 2017, 19:14
- Server: Demetris
- Regat: Shinsoo
- Aprecieri: 396
- Mulţumiri: 3227
- Rezolvări prob.: 2
- Discord: Copiază ID
1221 06:10:00012 :: import marshal # builtin
1221 06:10:00012 :: import imp # builtin
1221 06:10:00029 :: ui.py: inconsistent use of tabs and spaces in indentation
1221 06:10:00047 :: import _weakref # builtin
1221 06:10:00406 :: # trying .\os.pyd
1221 06:10:00406 :: # trying .\os.py
1221 06:10:00406 :: # trying .\os.pyw
1221 06:10:00406 :: # trying .\os.pyc
1221 06:10:00406 :: # trying lib\os.pyd
1221 06:10:00406 :: # trying lib\os.py
1221 06:10:00406 :: # lib\os.pyc has bad magic
1221 06:10:00411 :: import os # from lib\os.py
1221 06:10:00411 :: import nt # builtin
1221 06:10:00412 :: # trying .\ntpath.pyd
1221 06:10:00412 :: # trying .\ntpath.py
1221 06:10:00412 :: # trying .\ntpath.pyw
1221 06:10:00412 :: # trying .\ntpath.pyc
1221 06:10:00412 :: # trying lib\ntpath.pyd
1221 06:10:00412 :: # trying lib\ntpath.py
1221 06:10:00413 :: # lib\ntpath.pyc has bad magic
1221 06:10:00416 :: import ntpath # from lib\ntpath.py
1221 06:10:00416 :: # trying .\stat.pyd
1221 06:10:00416 :: # trying .\stat.py
1221 06:10:00416 :: # trying .\stat.pyw
1221 06:10:00416 :: # trying .\stat.pyc
1221 06:10:00416 :: # trying lib\stat.pyd
1221 06:10:00416 :: # trying lib\stat.py
1221 06:10:00417 :: # lib\stat.pyc has bad magic
1221 06:10:00417 :: import stat # from lib\stat.py
1221 06:10:00418 :: # trying .\UserDict.pyd
1221 06:10:00418 :: # trying .\UserDict.py
1221 06:10:00418 :: # trying .\UserDict.pyw
1221 06:10:00418 :: # trying .\UserDict.pyc
1221 06:10:00418 :: # trying lib\UserDict.pyd
1221 06:10:00419 :: # trying lib\UserDict.py
1221 06:10:00420 :: # lib\UserDict.pyc has bad magic
1221 06:10:00420 :: import UserDict # from lib\UserDict.py
1221 06:10:00421 :: # trying .\copy_reg.pyd
1221 06:10:00421 :: # trying .\copy_reg.py
1221 06:10:00421 :: # trying .\copy_reg.pyw
1221 06:10:00421 :: # trying .\copy_reg.pyc
1221 06:10:00421 :: # trying lib\copy_reg.pyd
1221 06:10:00421 :: # trying lib\copy_reg.py
1221 06:10:00421 :: # lib\copy_reg.pyc has bad magic
1221 06:10:00422 :: import copy_reg # from lib\copy_reg.py
1221 06:10:00423 :: # trying .\types.pyd
1221 06:10:00423 :: # trying .\types.py
1221 06:10:00423 :: # trying .\types.pyw
1221 06:10:00423 :: # trying .\types.pyc
1221 06:10:00423 :: # trying lib\types.pyd
1221 06:10:00423 :: # trying lib\types.py
1221 06:10:00423 :: # lib\types.pyc has bad magic
1221 06:10:00424 :: import types # from lib\types.py
1221 06:10:00424 :: # trying .\__future__.pyd
1221 06:10:00424 :: # trying .\__future__.py
1221 06:10:00424 :: # trying .\__future__.pyw
1221 06:10:00424 :: # trying .\__future__.pyc
1221 06:10:00424 :: # trying lib\__future__.pyd
1221 06:10:00424 :: # trying lib\__future__.py
1221 06:10:00425 :: # lib\__future__.pyc has bad magic
1221 06:10:00425 :: import __future__ # from lib\__future__.py
1221 06:10:00426 :: import errno # builtin
1221 06:10:00579 :: import time # builtin
1221 06:10:06504 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=137) - Strange Skill Need Weapon(CLAW)
1221 06:10:06504 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=139) - Strange Skill Need Weapon(CLAW)
1221 06:10:06511 :: import math # builtin
1221 06:10:06564 :: uiTaskBar.py: inconsistent use of tabs and spaces in indentation
1221 06:10:06586 :: uiDragonSoul.py: inconsistent use of tabs and spaces in indentation
1221 06:10:06616 :: uiSystem.py: inconsistent use of tabs and spaces in indentation
1221 06:10:06669 :: uiQuest.py: inconsistent use of tabs and spaces in indentation
1221 06:10:17240 :: game.py: inconsistent use of tabs and spaces in indentation
1221 06:10:17282 :: Traceback (most recent call last):
1221 06:10:17282 :: File "networkModule.py", line 237, in SetGamePhase
1221 06:10:17282 :: File "system.py", line 130, in __pack_import
1221 06:10:17282 :: File "system.py", line 110, in _process_result
1221 06:10:17282 :: File "game.py", line 53, in <module>
1221 06:10:17282 :: File "system.py", line 130, in __pack_import
1221 06:10:17282 :: File "system.py", line 110, in _process_result
1221 06:10:17282 :: File "switchbot.py", line 6, in <module>
1221 06:10:17282 :: File "system.py", line 130, in __pack_import
1221 06:10:17282 :: File "system.py", line 110, in _process_result
1221 06:10:17283 :: File "localeinfo.py", line 619, in <module>
1221 06:10:17283 :: NameError
1221 06:10:17283 :: :
1221 06:10:17283 :: name 'SHOP_NOT_ENOUGH_ITEM' is not defined
1221 06:10:17283 ::
de la client cred ca te referi.
Eu in sursa server nu am bagat nimic, dar nu cred ca imi bloc logarea,,presupun doar ca nu ar merge sistemu..
1221 06:10:00012 :: import imp # builtin
1221 06:10:00029 :: ui.py: inconsistent use of tabs and spaces in indentation
1221 06:10:00047 :: import _weakref # builtin
1221 06:10:00406 :: # trying .\os.pyd
1221 06:10:00406 :: # trying .\os.py
1221 06:10:00406 :: # trying .\os.pyw
1221 06:10:00406 :: # trying .\os.pyc
1221 06:10:00406 :: # trying lib\os.pyd
1221 06:10:00406 :: # trying lib\os.py
1221 06:10:00406 :: # lib\os.pyc has bad magic
1221 06:10:00411 :: import os # from lib\os.py
1221 06:10:00411 :: import nt # builtin
1221 06:10:00412 :: # trying .\ntpath.pyd
1221 06:10:00412 :: # trying .\ntpath.py
1221 06:10:00412 :: # trying .\ntpath.pyw
1221 06:10:00412 :: # trying .\ntpath.pyc
1221 06:10:00412 :: # trying lib\ntpath.pyd
1221 06:10:00412 :: # trying lib\ntpath.py
1221 06:10:00413 :: # lib\ntpath.pyc has bad magic
1221 06:10:00416 :: import ntpath # from lib\ntpath.py
1221 06:10:00416 :: # trying .\stat.pyd
1221 06:10:00416 :: # trying .\stat.py
1221 06:10:00416 :: # trying .\stat.pyw
1221 06:10:00416 :: # trying .\stat.pyc
1221 06:10:00416 :: # trying lib\stat.pyd
1221 06:10:00416 :: # trying lib\stat.py
1221 06:10:00417 :: # lib\stat.pyc has bad magic
1221 06:10:00417 :: import stat # from lib\stat.py
1221 06:10:00418 :: # trying .\UserDict.pyd
1221 06:10:00418 :: # trying .\UserDict.py
1221 06:10:00418 :: # trying .\UserDict.pyw
1221 06:10:00418 :: # trying .\UserDict.pyc
1221 06:10:00418 :: # trying lib\UserDict.pyd
1221 06:10:00419 :: # trying lib\UserDict.py
1221 06:10:00420 :: # lib\UserDict.pyc has bad magic
1221 06:10:00420 :: import UserDict # from lib\UserDict.py
1221 06:10:00421 :: # trying .\copy_reg.pyd
1221 06:10:00421 :: # trying .\copy_reg.py
1221 06:10:00421 :: # trying .\copy_reg.pyw
1221 06:10:00421 :: # trying .\copy_reg.pyc
1221 06:10:00421 :: # trying lib\copy_reg.pyd
1221 06:10:00421 :: # trying lib\copy_reg.py
1221 06:10:00421 :: # lib\copy_reg.pyc has bad magic
1221 06:10:00422 :: import copy_reg # from lib\copy_reg.py
1221 06:10:00423 :: # trying .\types.pyd
1221 06:10:00423 :: # trying .\types.py
1221 06:10:00423 :: # trying .\types.pyw
1221 06:10:00423 :: # trying .\types.pyc
1221 06:10:00423 :: # trying lib\types.pyd
1221 06:10:00423 :: # trying lib\types.py
1221 06:10:00423 :: # lib\types.pyc has bad magic
1221 06:10:00424 :: import types # from lib\types.py
1221 06:10:00424 :: # trying .\__future__.pyd
1221 06:10:00424 :: # trying .\__future__.py
1221 06:10:00424 :: # trying .\__future__.pyw
1221 06:10:00424 :: # trying .\__future__.pyc
1221 06:10:00424 :: # trying lib\__future__.pyd
1221 06:10:00424 :: # trying lib\__future__.py
1221 06:10:00425 :: # lib\__future__.pyc has bad magic
1221 06:10:00425 :: import __future__ # from lib\__future__.py
1221 06:10:00426 :: import errno # builtin
1221 06:10:00579 :: import time # builtin
1221 06:10:06504 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=137) - Strange Skill Need Weapon(CLAW)
1221 06:10:06504 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=139) - Strange Skill Need Weapon(CLAW)
1221 06:10:06511 :: import math # builtin
1221 06:10:06564 :: uiTaskBar.py: inconsistent use of tabs and spaces in indentation
1221 06:10:06586 :: uiDragonSoul.py: inconsistent use of tabs and spaces in indentation
1221 06:10:06616 :: uiSystem.py: inconsistent use of tabs and spaces in indentation
1221 06:10:06669 :: uiQuest.py: inconsistent use of tabs and spaces in indentation
1221 06:10:17240 :: game.py: inconsistent use of tabs and spaces in indentation
1221 06:10:17282 :: Traceback (most recent call last):
1221 06:10:17282 :: File "networkModule.py", line 237, in SetGamePhase
1221 06:10:17282 :: File "system.py", line 130, in __pack_import
1221 06:10:17282 :: File "system.py", line 110, in _process_result
1221 06:10:17282 :: File "game.py", line 53, in <module>
1221 06:10:17282 :: File "system.py", line 130, in __pack_import
1221 06:10:17282 :: File "system.py", line 110, in _process_result
1221 06:10:17282 :: File "switchbot.py", line 6, in <module>
1221 06:10:17282 :: File "system.py", line 130, in __pack_import
1221 06:10:17282 :: File "system.py", line 110, in _process_result
1221 06:10:17283 :: File "localeinfo.py", line 619, in <module>
1221 06:10:17283 :: NameError
1221 06:10:17283 :: :
1221 06:10:17283 :: name 'SHOP_NOT_ENOUGH_ITEM' is not defined
1221 06:10:17283 ::
de la client cred ca te referi.
Eu in sursa server nu am bagat nimic, dar nu cred ca imi bloc logarea,,presupun doar ca nu ar merge sistemu..
Introdu SHOP_NOT_ENOUGH_ITEM în locale_game sau locale_interface cu TAB, etc.
Vezi ce mai primeşti după.
Ex:
SHOP_NOT_ENOUGH_ITEM TAB Nu ai suficient iteme.
- cred că la asta se referă. Nu am lucrat cu sistemul.
Vezi ce mai primeşti după.
Ex:
SHOP_NOT_ENOUGH_ITEM TAB Nu ai suficient iteme.
- cred că la asta se referă. Nu am lucrat cu sistemul.
nu tot eroare aia e..folosesc sublime si daca dau select all
este
SHOP_ITEM----Text aici
si la unele este SHOP_ITEM****Text aici,adica cand dau tab sau cand pun space,este problema la cele cu **** in loc de -----
este
SHOP_ITEM----Text aici
si la unele este SHOP_ITEM****Text aici,adica cand dau tab sau cand pun space,este problema la cele cu **** in loc de -----
am rezolvat dar la compilare sursa sf am erorile astea..fara sistemul ala se compila ok acum nu..
shop.cpp:265: error: 'item' was not declared in this scope
shop.cpp:267: error: 'item' was not declared in this scope
shop.cpp:269: error: 'item' was not declared in this scope
shop.cpp:277: error: 'item' was not declared in this scope
shop.cpp:285: error: 'item' was not declared in this scope
shop.cpp:298: error: 'item' was not declared in this scope
shop.cpp:303: error: 'item' was not declared in this scope
shop.cpp:367: error: 'item' was not declared in this scope
shop.cpp:412: error: 'item' was not declared in this scope
shop.cpp:416: error: 'item' was not declared in this scope
shop.cpp:427: error: 'item' was not declared in this scope
am inclus deja item.h
shop.cpp:265: error: 'item' was not declared in this scope
shop.cpp:267: error: 'item' was not declared in this scope
shop.cpp:269: error: 'item' was not declared in this scope
shop.cpp:277: error: 'item' was not declared in this scope
shop.cpp:285: error: 'item' was not declared in this scope
shop.cpp:298: error: 'item' was not declared in this scope
shop.cpp:303: error: 'item' was not declared in this scope
shop.cpp:367: error: 'item' was not declared in this scope
shop.cpp:412: error: 'item' was not declared in this scope
shop.cpp:416: error: 'item' was not declared in this scope
shop.cpp:427: error: 'item' was not declared in this scope
am inclus deja item.h
Răspunsuri
8 Vizualizări
1332
8 Vizualizări
1332
Răspunsuri
3 Vizualizări
431
3 Vizualizări
431
Răspunsuri
3 Vizualizări
411
3 Vizualizări
411
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Google [Bot], Semrush [Bot] și 17 vizitatori


