Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attempt to destroy widget 'creatureInformation' #1018

Open
2 of 5 tasks
ThalesDuarteContador opened this issue Jan 5, 2025 · 2 comments
Open
2 of 5 tasks

attempt to destroy widget 'creatureInformation' #1018

ThalesDuarteContador opened this issue Jan 5, 2025 · 2 comments
Labels
Priority: Medium This issue may be impactful and needs some attention. Status: Pending Test This PR or Issue requires more testing Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@ThalesDuarteContador
Copy link

ThalesDuarteContador commented Jan 5, 2025

Priority

Medium

Area

  • Data
  • Source
  • Docker
  • Other

What happened?

Utilizando creatureinformation, qd o player reloga/loga varias vezes, fica acumulando o excesso de widget para ser destruido das criaturas
chegando a um ponto que se o player jogar por muito tempo e ficar relogando, o cliente crasha pq é tanta informação de log ao carregar no logout.

Você consegue simular ativando o devmode, dando uma volta por locais com muito mobs, relogando, dando outra volta e relogando novamente, ai surge os avisos.

WARNING: attempt to destroy widget 'creatureInformation' (/game_creatureinformation/creatureinformation.lua:16) two times
WARNING: attempt to destroy widget 'creatureInformation' (/game_creatureinformation/creatureinformation.lua:16) two times
WARNING: attempt to destroy widget 'creatureInformation' (/game_creatureinformation/creatureinformation.lua:16) two times
WARNING: attempt to destroy widget 'creatureInformation' (/game_creatureinformation/creatureinformation.lua:16) two times
WARNING: attempt to destroy widget 'creatureInformation' (/game_creatureinformation/creatureinformation.lua:16) two times
WARNING: attempt to destroy widget 'creatureInformation' (/game_creatureinformation/creatureinformation.lua:16) two times
WARNING: attempt to destroy widget 'creatureInformation' (/game_creatureinformation/creatureinformation.lua:16) two times
WARNING: attempt to destroy widget 'creatureInformation' (/game_creatureinformation/creatureinformation.lua:16) two times
WARNING: attempt to destroy widget 'creatureInformation' (/game_creatureinformation/creatureinformation.lua:16) two times
WARNING: attempt to destroy widget 'creatureInformation' (/game_creatureinformation/creatureinformation.lua:16) two times
WARNING: attempt to destroy widget 'creatureInformation' (/game_creatureinformation/creatureinformation.lua:16) two times
WARNING: attempt to destroy widget 'creatureInformation' (/game_creatureinformation/creatureinformation.lua:16) two times

What OS are you seeing the problem on?

Windows

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ThalesDuarteContador ThalesDuarteContador added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Jan 5, 2025
@github-actions github-actions bot added Priority: Medium This issue may be impactful and needs some attention. Status: Pending Test This PR or Issue requires more testing labels Jan 5, 2025
@mehah
Copy link
Owner

mehah commented Jan 7, 2025

mas você está usando o devMode, se sim, não é para usar, é apenas para testes.

@ThalesDuarteContador
Copy link
Author

sem o devmode dá um erro
ERROR: Lua exception: /game_creatureinformation/creatureinformation.lua:236: attempt to index local 'infoWidget' (a nil value)
stack traceback:
[C]: in function '__index'
/game_creatureinformation/creatureinformation.lua:236: in function 'setIcon'
/game_creatureinformation/creatureinformation.lua:290: in function </game_creatureinformation/creatureinformation.lua:289>
ERROR: protected lua call failed: LUA ERROR:
/game_creatureinformation/creatureinformation.lua:236: attempt to index local 'infoWidget' (a nil value)
stack traceback:
[C]: in function '__index'
/game_creatureinformation/creatureinformation.lua:236: in function 'setIcon'
/game_creatureinformation/creatureinformation.lua:290: in function </game_creatureinformation/creatureinformation.lua:289>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium This issue may be impactful and needs some attention. Status: Pending Test This PR or Issue requires more testing Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

2 participants