[Release] Lag Fix (Experimental)

Discuss Median XL!

Was that helpfull ?

Yes
47
75%
No, I Prefer Fauzt LazorLag
16
25%
 
Total votes: 63

User avatar
iwansquall
Gore Crawler
1523 | 71
Common Posting Badge
Posted over 1.000 messages
Legendary Popularity Badge
Has a thread with over 250.000 views
Common Love Badge
Earned over 20 cookies
Common Supporter Badge
Donated 1 time
Then do proper thing, locked this forum and archive it.....

We dont want newcomer to download this and break their game...
User avatar
ReverseEngine
Banned
63 | 2
Common Popularity Badge
Has a thread with over 10.000 views
Hey i'm not banned and i'm not dead lol, my family and me moved of place from the jura (39) into the (33) 600+ Km, i don't have a network provider i'm on a bad free wifi where i can only open web page lol.

Fun to see how you talk about me when i'm not here ! You deserve Zorun'Tsin wrath, Also i was working in 3ds max, and will get Zbrush later, i'm learning modeling, i'm willing to make all Game Class Character in 3D under 3ds max/ Zbrush sadly i can't download or do anything i'm stuck like hell with a free wifi.

I don't know if Whist fixed the problem of the Array with Malloc() and all occurences, better if he would post some more info, i didn't had much chance to see him online on skype these days, So yeah i'm well alive (i'm 21 now it was my birthday in october) So yeah come offer me all of your Skull 2 :)

Also re-creating maps in 3D could be very good as well, We know that the game use layers for floor, so for exemple the idea would be to make "Tile" of floors, let's say you make some well modeled with "alpha brush" floor for the Act 1 let's say you create a 3D tile floor like this http://www.kei-stone.fr/fr/wp-content/u ... dition.jpg (extruded) material applied and rendered so in diablo 2 since it's isometric (we don't really care since we made it 3D) we could just rotate the camera render the 3D object, and make it real in diablo 2.

Just saying remaking diablo 2 stuffs could be pretty tricky i had been working on a remake of the diablo 2 stash under 3ds max and here is the model http://i.imgur.com/kkyGORH.png it was made in 30-40 Minutes, It has no materials/textures.

In the case of details, Zbrush much better, 3ds max is extremly slow and need to do everything with polygon/vertex/edge, while with Zbrush we sculpt, sadly i can't start training on Zbrush with that trash internet 56 kbp/s or something lol.
Edited by ReverseEngine 8 years.
User avatar
Crash
Madawc
6801 | 329
Great Posting Badge
Posted over 2.500 messages
Legendary Popularity Badge
Has a thread with over 250.000 views
Great Love Badge
Earned over 100 cookies
Great Supporter Badge
Donated 5 times
Common Showcase Badge
Median XL Broadcaster
Common Guide Badge
Created a complete character guide
Common Contribution Badge
Has collaborated to our forums, realms or mod
Common Auction Badge
Won 50 auctions
Why would we be offering you all of our sk2? Where's the relevance of that?
User avatar
Gekko64
Shadowgate Totem
1728 | 102
Common Posting Badge
Posted over 1.000 messages
Common Popularity Badge
Has a thread with over 10.000 views
Great Love Badge
Earned over 100 cookies
Common Supporter Badge
Donated 1 time
because he said they deserve zotun tzin's wrath
User avatar
ReverseEngine
Banned
63 | 2
Common Popularity Badge
Has a thread with over 10.000 views
LHawkins1 wrote:Why would we be offering you all of our sk2? Where's the relevance of that?


lol it was a joke, edited my post with my adventure lol.
User avatar
void
Shadowgate Totem
1776 | 98
Common Posting Badge
Posted over 1.000 messages
Great Popularity Badge
Has a thread with over 50.000 views
Common Love Badge
Earned over 20 cookies
Common Guide Badge
Created a complete character guide
ReverseEngine wrote:trash internet 56 kbp/s or something lol.

Hi! Pls gieb? I got like 8 kbps so even small images take forever to load. :D

Would be VERY interested to know more details on how you did this, what some code snippets look like (apparently it's C, because malloc is a C command), how you knew what to code and where to get the information that you needed in order to start and finish it. Or in other words how you managed to get from "I wanna fix the sprite limit" to writing a functional bit of code. Very very interesting.
User avatar
ReverseEngine
Banned
63 | 2
Common Popularity Badge
Has a thread with over 10.000 views
void wrote:
ReverseEngine wrote:trash internet 56 kbp/s or something lol.

Hi! Pls gieb? I got like 8 kbps so even small images take forever to load. :D

Would be VERY interested to know more details on how you did this, what some code snippets look like (apparently it's C, because malloc is a C command), how you knew what to code and where to get the information that you needed in order to start and finish it. Or in other words how you managed to get from "I wanna fix the sprite limit" to writing a functional bit of code. Very very interesting.


First of all i'm only medium in c++ and not very good, so i let all the coding part for whist, for this .dll it wasn't any c++ code, i just edited some inline Assembly and patched those addresses, still this didn't solved the problem of the limit since after 3000 Elements it's going to exceed the limit, and cause problem of display, Fun fact is to take note of the retarded blizzard, I had made a post and told them exactly what was causing the problem and here is the answer on the forum i got from a blizzard developer"

"Hey ! <username> We do not support Diablo 2 modding community ! Regards <Game master Blablabla> So no help as expected while this problem has been asked since Years for fix, I mean the coders just need to open the Damn Diablo2.sln and change the [3000] to something like [100000] 100K elements on screen would be much than enough, i believe everyone spamming in party we reach only 40K Sprites.

Off course if Median Sigma allow more players than 8 (It will haha) We will get more issue, unless the skills/spells are less (Pop everywhere / Boom everywhere !)

It's my entire note from my .txt

"D2Client.dll"+7A64C
"D2Client.dll"+9EFBE // Function Controling Allocated memory of rendering thing, maybe related to the [3000] Array size.
"D2Client.dll"+7A972 // Seem to be a good location to fix it without bugging tiles superpostion and missiles.
"D2Client.dll"+7A509 // Change that allocated limit fix the sprite overflow issue //IT DOESN'T ?
"D2Client.dll"+7A5D0
"D2Client.dll"+7A954 // Change instruction to "and eax,02" seem to solve the issue :) // IT DOESN'T But free some space in the [3000] Array
"D2Client.dll"+7A974 // Disabling Shadows Fix sprite overflows -> D2Client.dll+C1D2 ?? //IT DOESN'T But free some space in the [3000] Array
"D2Client.dll"+7A509 // ?
"D2Client.dll"+9F355 // ?
"D2Client.dll"+7A26E

cmp eax,00000BB8 //General Occurence


So just removing shadows has made some free "index" inside the array, so you can spam some more skills but in the end it doesn't fix it, I believe whist had did test with Malloc() where he did re-alloc that array to have much more elements inside it (that's what we are looking for) but this must be done on other occurence as well, Even dead body have their own array lol.

Remember that the game was coded but also blizzard in the old days had made much "Assembly coding" that's why based on whist note, we can for exemple add more levels, and specify for exemple the "Arreat Summit Skybox", Like Arreat Summit skybox in Andariel room, Just saying you can just directly Patch the .dll at the assembly level without the need of c/c++, while c/c++ is required for more "deep level of modification"

Imagine hooking a function from Assembly only ? lol must be very good without coding, Hope my story helped you Void !
User avatar
void
Shadowgate Totem
1776 | 98
Common Posting Badge
Posted over 1.000 messages
Great Popularity Badge
Has a thread with over 50.000 views
Common Love Badge
Earned over 20 cookies
Common Guide Badge
Created a complete character guide
ReverseEngine wrote:
void wrote:
ReverseEngine wrote:trash internet 56 kbp/s or something lol.

Hi! Pls gieb? I got like 8 kbps so even small images take forever to load. :D

Would be VERY interested to know more details on how you did this, what some code snippets look like (apparently it's C, because malloc is a C command), how you knew what to code and where to get the information that you needed in order to start and finish it. Or in other words how you managed to get from "I wanna fix the sprite limit" to writing a functional bit of code. Very very interesting.


First of all i'm only medium in c++ and not very good, so i let all the coding part for whist, for this .dll it wasn't any c++ code, i just edited some inline Assembly and patched those addresses, still this didn't solved the problem of the limit since after 3000 Elements it's going to exceed the limit, and cause problem of display, Fun fact is to take note of the retarded blizzard, I had made a post and told them exactly what was causing the problem and here is the answer on the forum i got from a blizzard developer"

"Hey ! <username> We do not support Diablo 2 modding community ! Regards <Game master Blablabla> So no help as expected while this problem has been asked since Years for fix, I mean the coders just need to open the Damn Diablo2.sln and change the [3000] to something like [100000] 100K elements on screen would be much than enough, i believe everyone spamming in party we reach only 40K Sprites.

Off course if Median Sigma allow more players than 8 (It will haha) We will get more issue, unless the skills/spells are less (Pop everywhere / Boom everywhere !)

It's my entire note from my .txt

"D2Client.dll"+7A64C
"D2Client.dll"+9EFBE // Function Controling Allocated memory of rendering thing, maybe related to the [3000] Array size.
"D2Client.dll"+7A972 // Seem to be a good location to fix it without bugging tiles superpostion and missiles.
"D2Client.dll"+7A509 // Change that allocated limit fix the sprite overflow issue //IT DOESN'T ?
"D2Client.dll"+7A5D0
"D2Client.dll"+7A954 // Change instruction to "and eax,02" seem to solve the issue :) // IT DOESN'T But free some space in the [3000] Array
"D2Client.dll"+7A974 // Disabling Shadows Fix sprite overflows -> D2Client.dll+C1D2 ?? //IT DOESN'T But free some space in the [3000] Array
"D2Client.dll"+7A509 // ?
"D2Client.dll"+9F355 // ?
"D2Client.dll"+7A26E

cmp eax,00000BB8 //General Occurence


So just removing shadows has made some free "index" inside the array, so you can spam some more skills but in the end it doesn't fix it, I believe whist had did test with Malloc() where he did re-alloc that array to have much more elements inside it (that's what we are looking for) but this must be done on other occurence as well, Even dead body have their own array lol.

Remember that the game was coded but also blizzard in the old days had made much "Assembly coding" that's why based on whist note, we can for exemple add more levels, and specify for exemple the "Arreat Summit Skybox", Like Arreat Summit skybox in Andariel room, Just saying you can just directly Patch the .dll at the assembly level without the need of c/c++, while c/c++ is required for more "deep level of modification"

Imagine hooking a function from Assembly only ? lol must be very good without coding, Hope my story helped you Void !

Yes, yes it helped. :) Wow, that's a pretty simple fix. Just freeing up space in an existing array by editing a few variables. :o While it's simple I still wouldn't know where to start it all.
Great .dll ofc. :thumb:
blubberblubs
Imp
4 | 0
Hey,
the lagfix really helped me out last patch but with the new release, I cant connect to the server when i try to use your d2client.dll.
Any one knows how to solve this? I cant play the game this way with 1 fps.. in crowded areas
Thanks!!
widardd
Fallen
1 | 0
blubberblubs wrote:Hey,
the lagfix really helped me out last patch but with the new release, I cant connect to the server when i try to use your d2client.dll.
Any one knows how to solve this? I cant play the game this way with 1 fps.. in crowded areas
Thanks!!


Oh, so I am not the only one with 1 fps in crowded areas.

I tried to make a thread about it in here and it was instantly removed without notice (wtf).