1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-04 17:27:16 -05:00
OpenDiablo2/d2networking
presiyan-ivanov 88326b5278
Initial cast overlay implementation. Fix HeroSkill deserialization & map entities processing crashing for remote client. (#766)
* Casting a skill now plays the corresponding overlay(if any).

* Prevent a crash caused by nil pointer in HeroSkill deserialization, happening when
unmarshalling HeroSkill from packets as a remote client.

* Add PlayerAnimationModeNone to handle some of the Skills(e.g.
Paladin auras) having "" as animation mode.

* Joining a game as remote client now waits for map generation to finish
before rendering map or processing map entities. This is temporary hack to prevent the game from
crashing due to concurrent map read & write exception.

* Send CastSkill packet to other clients.

Co-authored-by: Presiyan Ivanov <presiyan-ivanov@users.noreply.github.com>
2020-10-10 18:47:51 -04:00
..
d2client Initial cast overlay implementation. Fix HeroSkill deserialization & map entities processing crashing for remote client. (#766) 2020-10-10 18:47:51 -04:00
d2netpacket Adds error handling everywhere (#743) 2020-09-23 13:30:54 -04:00
d2server Initial cast overlay implementation. Fix HeroSkill deserialization & map entities processing crashing for remote client. (#766) 2020-10-10 18:47:51 -04:00
client_listener.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00
doc.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00