mattyx14 / otxserver

OTX Server from:
https://docs.opentibiabr.com
GNU General Public License v2.0
228 stars 194 forks source link

[OTX 2 -772] Command /goto estando invisible (/ghost) #389

Closed pasturryx closed 5 years ago

pasturryx commented 5 years ago

Cuando un GM esta invis (/ghost) y va hacia un jugador, y el jugador esta sin moverse, no pasa nada, no causa debug. PERO si el jugador esta caminando, y el GM utiliza el command /goto Player, causará debug, con el siguiente log:

Debug Assertion 7.72 Communication.cpp 1879 Mon Aug 01 22:09:52 2016 Windows Version: 6.2 build 9200 on 2 Graphic Engine: 1 Last Packet Types: 109 101 109 101 109 101 109 162 101 109 Last Packet: 165 000 109 113 126 227 125 007 002 113 126 226 125 007 101 152 Player Position: [32369,32227,7] Player.cpp 383: exception occurred, reason: Network.cpp 885: exception occurred (ErrorCode = 0), reason: Control.cpp 1280: exception occurred (Type = 109), reason: Communication.cpp 1895: exception occurred, reason: Communication.cpp 1879: MoveCreature has been received for a coordinate where there is no creature anymore [bug0000017], reason: sx: 8 sy: 6 sz: 0 Position: 2 zx: 8 zy: 5 zz: 0 dx: 0 dy: -1 dz: 0 abs_sx: 32369 abs_sy: 32227 abs_sz: 7 abs_zx: 32369 abs_zy: 32226 abs_zz: 7 Start Cylinder (1): (870,0) (99,268453127) Start Cylinder (2): (870,0) (99,268453127)(-)(-)(-)(-)(-)(-)(-)(-) Destination Cylinder (1): (870,0) Destination Cylinder (2): (870,0)(-)(-)(-)(-)(-)(-)(-)(-)(-)

al degradar el servidor se borro algo,en las otras versiones funciona bien

mattyx14 commented 5 years ago

Este bug debe estar creo solucionado en la última revisión aquí ya puesta

pasturryx commented 5 years ago

recuerda que los cambios que hiciste causaban crash o me podrias poner los commits que agregaste?

mattyx14 commented 5 years ago

https://github.com/mattyx14/otxserver/commit/c41d135f7db7e845b7102702523ee930f752acf3 https://github.com/mattyx14/otxserver/commit/bf5d82a06dd3ba9ab4dd1e4bc0ff2251edc70b41

pasturryx commented 5 years ago

Aun sigue el error , insisto. Debiste borrar algo en el codigo por error cuando degradaste a 7.72

lo agrege y me parecio dehilarante es como obvio que no se arreglara solo cambiando int a uint en un par de lineas. +--------------------------------------------------------------- Debug Assertion 7.72 Communication.cpp 1879 Wed Oct 24 19:04:55 2018 Windows Version: 6.2 build 9200 on 2 Graphic Engine: 2 Last Packet Types: 109 109 101 109 101 109 109 101 109 030 Last Packet: 149 000 109 113 126 198 125 007 002 113 126 197 125 007 101 102 Player Position: [32369,32198,7] Player.cpp 383: exception occurred, reason: Network.cpp 885: exception occurred (ErrorCode = 0), reason: Control.cpp 1280: exception occurred (Type = 109), reason: Communication.cpp 1895: exception occurred, reason: Communication.cpp 1879: MoveCreature has been received for a coordinate where there is no creature anymore [bug0000017], reason: sx: 8 sy: 6 sz: 0 Position: 2 zx: 8 zy: 5 zz: 0 dx: 0 dy: -1 dz: 0 abs_sx: 32369 abs_sy: 32198 abs_sz: 7 abs_zx: 32369 abs_zy: 32197 abs_zz: 7 Start Cylinder (1): (870,0) (99,268452330) Start Cylinder (2): (870,0) (99,268452330)(-)(-)(-)(-)(-)(-)(-)(-) Destination Cylinder (1): (870,0) (435,0) Destination Cylinder (2): (870,0) (435,0)(-)(-)(-)(-)(-)(-)(-)(-) ----------------------------------------------------------------

pasturryx commented 5 years ago

remuve aqui, el code esta testeado ^^

tiagovolpato0 commented 1 year ago

dont work for me