Players X limit to 127 [1.13c][1.13d][1.14d]

This forum is for discussions on how to edit what can not be edited through the txt files, needless to say this isn't about battle net hacking.

Moderators: Nefarius, Havvoric

Post Reply
User avatar
devurandom
Forum Regular
Angel
Posts: 654
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Players X limit to 127 [1.13c][1.13d][1.14d]

Post by devurandom » Wed Jun 20, 2018 5:37 pm

Players X limit to 127

Reference to original work
http://d2mods.info/forum/viewtopic.php?f=8&t=14489


Requires 3 edits for each version your modding.


[1.14d] - Server Code

Code: Select all

Server Code
00535780    83F9 08       CMP ECX,8		<---- change to 7F
00535783    77 06         JA SHORT 0053578B
00535785    890D 703D8800 MOV DWORD PTR DS:[883D70],ECX
0053578B    C3            RETN
[1.14d] - Client Code

Code: Select all

0047C4EC    7E 48         JLE SHORT 0047C536
0047C4EE    83FE 08       CMP ESI,8		<---- change to 7F
0047C4F1    7C 05         JL SHORT 0047C4F8
0047C4F3    BE 08000000   MOV ESI,8		<---- change to 7F
0047C4F8    8BCE          MOV ECX,ESI
0047C4FA    E8 81920B00   CALL 00535780

[1.13d] - Server Code - D2Game.dll

Code: Select all

6FCB92D0    85C9          TEST ECX,ECX
6FCB92D2    7C 0B         JL SHORT 6FCB92DF
6FCB92D4    83F9 08       CMP ECX,8          <---- change 8 to 7F
6FCB92D7    7F 06         JG SHORT 6FCB92DF
6FCB92D9    890D 441CD36F MOV DWORD PTR DS:[6FD31C44],ECX
6FCB92DF    C3            RETN
[1.13d] - Client Code

Code: Select all

6FB61F78    83F8 08       CMP EAX,8         <---- change 8 to 7F
6FB61F7B    8BF0          MOV ESI,EAX
6FB61F7D    7C 05         JL SHORT 6FB61F84
6FB61F7F    BE 08000000   MOV ESI,8         <---- change 8 to 7F
6FB61F84    8BCE          MOV ECX,ESI
6FB61F86    E8 D1AFF5FF   CALL <JMP.&D2Game.#10002>

[1.13c] - Server Code - D2Game.dll

Code: Select all

6FC57430    85C9          TEST ECX,ECX
6FC57432    7C 0B         JL SHORT 6FC5743F
6FC57434    83F9 08       CMP ECX,8		<---- change to 7F
6FC57437    7F 06         JG SHORT 6FC5743F
6FC57439    890D 1C1CD36F MOV DWORD PTR DS:[6FD31C1C],ECX
6FC5743F    C3            RETN

[1.13c] - Client Code

Code: Select all

6FB20A88    83F8 08        CMP EAX,8		<---- change to 7F
6FB20A8B    8BF8           MOV EDI,EAX
6FB20A8D    7C 05          JL SHORT 6FB20A94
6FB20A8F    BF 08000000    MOV EDI,8		<---- change to 7F
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

The most dangerous man to any government is the man who is able to think things out... without regard to the prevailing superstitions and taboos. Almost inevitably he comes to the conclusion that the government he lives under is dishonest, insane, & intolerable." ~ H.L. Mencken

SPORES
Posts: 1
Joined: Thu Jul 05, 2018 10:28 pm
Russia

Re: Players X limit to 127 [1.13c][1.13d][1.14d]

Post by SPORES » Fri Jul 13, 2018 6:09 pm

I have 1.14d version.

In "D2Client.dll" file (Size : 1 097 728)

The more close part of hex code was on Offset 67254.

Instead of (author's) :

Code: Select all

7E 48 
83FE 08
7C 05
BE 08000000
8BCE
E8 81920B00
There was:

Code: Select all

ff ff
83 fe 08
7c 05
be 02 00 00 00
8b 43
54 85 c0 75 0e

In "D2Game.dll" file (Size : 1 138 688)

"83 FE 08 77" - I cant find at all.
Same for "77 06 89" , "89 0D 70"

Can somebody help me to solve this problem?

P.S. sorry for my bad english.

User avatar
devurandom
Forum Regular
Angel
Posts: 654
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: Players X limit to 127 [1.13c][1.13d][1.14d]

Post by devurandom » Sat Jul 14, 2018 7:02 am

Double Check your version. In 1.14d there is no D2Client.dll or D2Game.dll, only Game.exe that needs editing.
;)

Myself I wished they had not piled everything into one file in 1.14.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

The most dangerous man to any government is the man who is able to think things out... without regard to the prevailing superstitions and taboos. Almost inevitably he comes to the conclusion that the government he lives under is dishonest, insane, & intolerable." ~ H.L. Mencken

Post Reply

Return to “Code Editing”