#184 Legends of Norrath crashes client, and can corrupt client.

Closed
opened 3 years ago by devn00b · 3 comments
devn00b commented 3 years ago

either using it via the / command or other ways causes a crash of the client, can also delete all spells of the character.

either using it via the / command or other ways causes a crash of the client, can also delete all spells of the character.
image commented 3 years ago
Collaborator

the client is injecting this entity command into various objects/spawns, it isn't necessarily being done server side intentionally.. so if you know how its done let me know :P

the client is injecting this entity command into various objects/spawns, it isn't necessarily being done server side intentionally.. so if you know how its done let me know :P
image commented 3 years ago
Collaborator

Identified in activity_status -- signs and widgets have Tell and Play Legends of Norrath entity commands injected by client due to low bits not set on the activity_status(state).

Will be fixed with next patch.

Spawn.cpp:2496

	if (!Alive() && GetTotalHP() > 0 && !IsObject() && !IsGroundSpawn())
		temp_activity_status = 1;
	temp_activity_status += (IsNPC() || IsObject() || IsGroundSpawn()) ? 1 << 1 : 0;
	if (version >= 1188) {
		// Fix widget or sign having 'Play Legends of Norrath' or 'Tell' options in right click (client hard-coded entity commands)
		if(IsWidget() || IsSign())
			temp_activity_status = 2;
Identified in activity_status -- signs and widgets have Tell and Play Legends of Norrath entity commands injected by client due to low bits not set on the activity_status(state). Will be fixed with next patch. Spawn.cpp:2496 ``` if (!Alive() && GetTotalHP() > 0 && !IsObject() && !IsGroundSpawn()) temp_activity_status = 1; temp_activity_status += (IsNPC() || IsObject() || IsGroundSpawn()) ? 1 << 1 : 0; if (version >= 1188) { // Fix widget or sign having 'Play Legends of Norrath' or 'Tell' options in right click (client hard-coded entity commands) if(IsWidget() || IsSign()) temp_activity_status = 2; ```
image commented 3 years ago
Collaborator

Update: changed value to 2 since 0xFF ended up causing rotational issues, but only on a small subset of objects (so wasn't obvious at first)

http://cutpon.com:3000/devn00b/EQ2EMu/commit/09f3ae4557bcc073485e40556bc4f864feb4f824

Update: changed value to 2 since 0xFF ended up causing rotational issues, but only on a small subset of objects (so wasn't obvious at first) http://cutpon.com:3000/devn00b/EQ2EMu/commit/09f3ae4557bcc073485e40556bc4f864feb4f824
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.