Page 1 of 1

Showing No Draw items

PostPosted: Fri Dec 11, 2009 9:44 am
by Garret
I discovered it a while ago, but think that can be useful.

Originally, client does not show No Draw items, i was searching way to make it show.
The ranges of these items is known:
0x1
0x2198 - 0x21A4 (9821 and A421 in hex view)
0x21BC (BC21)

And if you'll try search these values inside client, you will find it in two places:
1. Item drawing "filter"
2. Ctrl+Shift handler

In hex they are looks like:
3D A421
3D 9821
3D BC21

and
81FB A421
81FB 9821
81FB BC21

If you'll replace values with 0x00, you'll be able to see no draw items in-game.

p.s. God Client have option to toggle "Show No Draw Items".
p.s. maybe Original client have same option hidden somewhere, maybe not.
p.s. I'm making little program that will patch running client memory to switch nodraw drowing.

Re: Showing No Draw items

PostPosted: Fri Dec 11, 2009 8:44 pm
by Batlin
Thanks Garret. I've patched my client with your patcher but I've yet to see a No Draw item.

Do you have any idea where the No Draw items exist on the map?

Re: Showing No Draw items

PostPosted: Fri Dec 11, 2009 10:39 pm
by Garret
Good question, at static there are not a lot of them and i can't remember any.
On OSI they are everywhere as dynamic, they are triggers, area triggers, LoS blockers, event spawners and etc.

As static, there is always 1 tile in house foundation. (no draw is a multi item itself, you can pick it up and palce in backpack)

Or you can try add it as dynamic item: 2198 - 21A4, 21BC

If your client is ML, can try trammel: 583 1644

p.s. Just tried to replace 3D A4 21 , 3D 98 21 and 3D BC 21 with 3D 00 00 in running client, works perfectly =)

Re: Showing No Draw items

PostPosted: Tue Nov 29, 2011 7:19 am
by Bicchus Dicchus
can you release a source code to your patch?

I'm interested to see the exact mechanism of your patch

I thank thee!

Re: Showing No Draw items

PostPosted: Fri Dec 09, 2011 7:33 pm
by Garret
Actually the pather itself is a side generated program.
It searches for 3DA421, 3D9821, 3DBC21 and 81FBA421, 81FB9821, 81FBBC21 byte sequences and replaced A421,9821,BC21 bytes with 00

Re: Showing No Draw items

PostPosted: Sat Apr 07, 2012 12:41 pm
by xenoglyph
Will be adding this to my patcher. I was surprised to find the byte patterns (switch statements) were all found in 4.x, 5.x, and 6.x clients, with one exception: The 81FB (CMP EBX) switches were not found in the 6.x clients but the 3D (CMP EAX) switches were.

Not sure what changed or why, but with olly I did a search for all switches and only saw one matching the signature (the CMP EAX one):
; Cases 1, 2198, 2199, 219A, 219B, 219C, 219D, 219E, 219F, 21A0, 21A1, 21A2, 21A3, 21A4, 21BC