BaseMod Plugin

This forum is for members of the public to post any announcements relating to Diablo 2 Mod Making including mod and patch releases amongst other similar subjects.
nothingworks
Posts: 6
Joined: Tue Apr 07, 2020 5:15 am
Iceland

Re: BaseMod Plugin

Post by nothingworks » Thu Apr 09, 2020 4:07 pm

Bishop wrote:
Thu Apr 09, 2020 12:23 pm
nothingworks wrote:
Wed Apr 08, 2020 5:52 pm
Kaladann wrote:
Wed Apr 08, 2020 9:58 am

That's an option to update your game, so without mods that are incompatible with Battle.net, that's totaly fine :)

I should have said files :oops:
In this case, there is many folders that are not essential for BaseMod to work.
The best you can do, is extract the archive in a temporary folder, then copy only the needed files.
Be sure to have BaseMod.dll and BaseMod.ini in the same directory than other Diablo2 DLLs ! (root folder)
I wish that helps :)
Well, I tried both and still kept getting the crash upon character select. I'm totally lost as to what to do.

Edit: for anyone curious as to what my process is:

I have a legit copy of D2 LOD. When it was downloaded from blizz, it came with 1.14b. I updated it to 1.14D, and am currently using it with Sven's glide wrapper. I then download Basemod, extract the entire archive to wherever, then pull the Basemod.dll and Basemod.ini files and copy them over to my Diablo II directory. I then replace Game.exe with the one in the Loaders\Game_exe\1.14d folder from the Basemod archive. I then edit the .ini file to enable Basemod. Running the game from the Diablo 2 LOD process gives me a proper title screen and main menu, but upon selecting my character, the game freezes at the loading screen and then throws a crash at me. This also happens when running the Game.exe process directly.

Super lost as to what to do...
Hey,

Just made an account for 2 things:

1) I also just installed this mod and it kept crashing on character loading screen. I managed to get my copy working. I also have legit D2LOD with 1.14D update. What I did was: open basemod.ini, last entry is [StringTable], which is by default enabled. I set it to 0 (disable) and got it to work. I hope this helps you.

2) I tried to find info about the MFlinear online, but no luck. Can someone explain what is the drop rate change besides "Improves drops" :D

EDIT: and almost forgot, Thank you for the mod! This is just amazing. Exactly the QoL I would expect blizz to add in a patch, all in one pack with options to tweak what you like without affecting the vanilla experience! Amazing.

That's it! Upon turning the [String Table] setting off, it works! That's the solution, thank you so much!

Now i've only got one last problem, and it's that this mod seems to override the game playing in a window instead of going automatically to fullscreen every time the game is booted. Is there a way to turn this off? I've got -w in the program launch commands, and i'm running sven's glide wrapper but it doesn't seem to be able to force the game into a window, even when I enable it in the ExtraDll option in the .ini

Bishop
Posts: 2
Joined: Thu Apr 09, 2020 12:10 pm

Re: BaseMod Plugin

Post by Bishop » Thu Apr 09, 2020 4:21 pm

nothingworks wrote:
Thu Apr 09, 2020 4:07 pm
That's it! Upon turning the [String Table] setting off, it works! That's the solution, thank you so much!

Now i've only got one last problem, and it's that this mod seems to override the game playing in a window instead of going automatically to fullscreen every time the game is booted. Is there a way to turn this off? I've got -w in the program launch commands, and i'm running sven's glide wrapper but it doesn't seem to be able to force the game into a window, even when I enable it in the ExtraDll option in the .ini
Nps man :) Always glad to help

I also use that wrapper and for me it works fine. I use -3dfx for fullscreen and replace it with -w for windowed mode. Maybe someone else can help you with that, I'm not really a pro, just a fellow dumbuser :)

nothingworks
Posts: 6
Joined: Tue Apr 07, 2020 5:15 am
Iceland

Re: BaseMod Plugin

Post by nothingworks » Thu Apr 09, 2020 6:26 pm

Bishop wrote:
Thu Apr 09, 2020 4:21 pm
Nps man :) Always glad to help

I also use that wrapper and for me it works fine. I use -3dfx for fullscreen and replace it with -w for windowed mode. Maybe someone else can help you with that, I'm not really a pro, just a fellow dumbuser :)
That's weird, with sven's wrapper you shouldnt even have to use -w for windowed if you have the windowed option enabled in the wrapper setup. Either way though, both of those launch commands dont work :(

Edit: So i figured out a way to somewhat make it work. Starting the game with Sven's wrapper set to windowed mode doesnt do anything, but unticking windowed mode and enabling desktopresolution allows the game to use the full monitor resolution. Then, re-enabling windowed mode allows the game to properly function in windowed mode. Alt-tabbing twice will center it again, if you have centered enabled in the wrapper.

jonhbox
Posts: 15
Joined: Mon Jun 05, 2017 9:17 pm

Re: BaseMod Plugin

Post by jonhbox » Wed Apr 22, 2020 12:37 am

Receive the following error:

BaseMod Assert: ErrNo 178 - Address: 0x00100014B3

Does anyone know why?

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

Re: BaseMod Plugin

Post by devurandom » Thu Apr 23, 2020 5:51 pm

Hi sorry, ive been gone for a while, and it will still be a while before I have time to work on this again.
Other things in life keeping me busy, and also 6 year old WD Black HD bad sectors, but I have everything archived.

Thanks to all the keep members for helping out when I'm not here.
:)
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

User avatar
sheepstick
Posts: 3
Joined: Thu Apr 23, 2020 11:37 pm

Re: BaseMod Plugin

Post by sheepstick » Fri Apr 24, 2020 2:43 am

I use D2SE and can't seem to make it work with PlugY. BaseMod works, confirmed by auto pickup gold. Bypass 25 fps on SP works as well. But my stash is not the PlugY stash.

And also, it looks like the MercInventory mod/plug-in has been updated to equip 2 rings instead of just one. I downloaded their updated version and figured I could follow the included tutorial, but it's all code... Only time I used any sort of hex editor was WarCraft III days and I've forgotten everything since.

Any help would be awesome.

Edit: PlugY now works after I copied PlugY.ini and PlugY.dll into MODS\BaseMod\ folder. Dunno why that solved it. But the PlugY.txt log said "Could not load parameters" or something. After copying those two files it's working now.

But I still don't have MercEquip.

No, wait. It works now. I moved the "data\global\" folder from C:\Diablo II\ to MODS\BaseMod\ folder and now it's working. Now if only I can have the merc wear 2 rings... but this looks like it has to be done from BaseMod plugin itself, no?

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

Re: BaseMod Plugin

Post by devurandom » Fri Apr 24, 2020 8:38 am

2 rings on merc is not planned for in base mod. So if you want to fix that create your own graphics for one ring, or port 1.10 assembly by SVR to equip 2 rings into 1.13.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

User avatar
sheepstick
Posts: 3
Joined: Thu Apr 23, 2020 11:37 pm

Re: BaseMod Plugin

Post by sheepstick » Fri Apr 24, 2020 8:55 am

I see. In that case I will have to settle with equipping one ring. Because I have not a single clue on how to do any code editing :lol:

By the way, thanks for making the mod. Everything seems to be working as far as I can tell. I'm surprised people still mod for D2 in 2020. And I'm glad that's the case.

oli25
Posts: 84
Joined: Sun Sep 18, 2011 9:38 pm

Re: BaseMod Plugin

Post by oli25 » Fri Apr 24, 2020 11:03 pm

Hey devurandom, I know the mod is on hold right now but what do you think about implementing in the future fix for scroll of malah bug? You know the one when you loose the resistances you get from scrolls when you die in this game.

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

Re: BaseMod Plugin

Post by devurandom » Sun Apr 26, 2020 10:29 am

@oli25 I've had the code to fix this for a couple years, Its a simple fix.
Could add it at a later date, when I have time to work in this again.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

oli25
Posts: 84
Joined: Sun Sep 18, 2011 9:38 pm

Re: BaseMod Plugin

Post by oli25 » Sun Apr 26, 2020 2:33 pm

Now that sounds great! Just the type of answer I was hoping you. Thank you very much!

Interp0l
Posts: 1
Joined: Mon May 04, 2020 12:34 am
Philippines

Re: BaseMod Plugin

Post by Interp0l » Mon May 04, 2020 12:47 am

Hi @devurandom thanks for this wonderful mod. I’ve been playing D2 once again and found this fantastic mod. Currently have 1.14d installed. I tried this mod and it works fine however can someone please tell me if the world event is working on 1.14d? How do I know if the event is active? (I already enabled it from the .ini file) I tried selling a nagelring but dclone doesn’t seem to appear. Other options for the mod works fine in 1.14d as per my testing including the cow level so the world event / red portals are the only ones I haven’t been able to make it work yet. Could someone please advise, thanks.

Game info:
Version: 1.14d

Mods:
Sven’s Glide Wrapper: yes
Plugy: no
D2SE: no
Others: no

User avatar
Kaladann
Junior Member
Paladin
Posts: 108
Joined: Fri Oct 23, 2015 1:15 am
Location: France
France

Re: BaseMod Plugin

Post by Kaladann » Sat May 09, 2020 6:00 am

Hello Interp0l !

To Spawn DC with a specific unique's name, be sure to have selected the right "TriggerType" in the ini.
For you it should be :

Code: Select all

[WorldEvent]
Enabled=1		; 0 to Disable  
AutoSellSoJ=1		; 0 to Disable
Interval=3		; Valid Range 3 - 1200 seconds
MinItems=1		; Valid Range 1 - 400 Min Amt of Items to Trigger World Event
MaxItems=5		; Valid Range 5 - 550 Max Amt of Items to Trigger World Event
EnableAllDiff=0		; 1 to Enable World Event in all Difficulty
TriggerType=1		; use UniqueName =1, use 3 letter Item Code =2
ItemQuality=7		; required item quality to sell (1-9 valid range)
UniqueName="Nagelring"	; Copy and paste from column 1 in UniqueItems.txt and "USE QUOTES"
ItemCode=rin		; valid 3 letter Item Code to sell  rin = ring
Have fun !


-+-


Hello Devurandom !

I have spotted a little issue using the String Localization. In Überland, Baal have its correct name displayed, but his clone keep the normal name, so it's easy to kill the right one :)

See ya, keep the good work !
:headbang:
Want to play but not enought time to drop good stuff and raise decent level ? Try Casual Nostalgia !
ImageMore infos here : viewtopic.php?f=5&t=63800
CHEERS !

User avatar
Psycrono7
Posts: 78
Joined: Tue Nov 05, 2013 10:42 pm

Re: BaseMod Plugin

Post by Psycrono7 » Sun May 10, 2020 4:25 am

Does it have statfix to view life, mana, stamina over 32767 without rollover and level over 255 without rollover?
Image
Miniguns Assault!

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

Re: BaseMod Plugin

Post by devurandom » Sun May 10, 2020 11:35 am

@Kaladann Baal Clone in UberLand - Yes its been a non-critical bug for a long time. Thanks!

@Psycrono7 code isn't there to fix that, so no.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

mengxuecen
Posts: 33
Joined: Mon Mar 11, 2019 5:34 am

Re: BaseMod Plugin

Post by mengxuecen » Mon May 11, 2020 1:32 pm

1.10:

Code: Select all

//=====================================================
// Stat fix mod
// By SVR
//
// Fixes cap on health/mana/stamina for values>32k
//=====================================================


[b][u]d2net.dll[/u][/b]

Fix packet type 0x95 size for send -

6FC0839C  [color=#ff0000]20[/color] 00 00 00 09 00 00 00 01 00 00 00 07 00 00 00   ...............


[b][u]d2game.dll[/u][/b]

Fix stat sizes on send -

6FC3D99F   90               NOP
[color=#ff0000]6FC3D9A0 > 83EC 30          SUB     ESP,30                           ; SendStats2
6FC3D9A3   8D4424 00        LEA     EAX,[ESP]
6FC3D9A7   56               PUSH    ESI
6FC3D9A8   57               PUSH    EDI
6FC3D9A9   51               PUSH    ECX
6FC3D9AA   C600 95          MOV     BYTE PTR [EAX],95
6FC3D9AD   8D78 05          LEA     EDI,[EAX+5]
6FC3D9B0   B9 06000000      MOV     ECX,6
6FC3D9B5   8D70 34          LEA     ESI,[EAX+34]
6FC3D9B8   8950 01          MOV     [EAX+1],EDX
6FC3D9BB   F3:A5            REP     MOVSD
6FC3D9BD   59               POP     ECX
6FC3D9BE   8BD0             MOV     EDX,EAX
6FC3D9C0   6A 20            PUSH    20
6FC3D9C2   E8 49EDFFFF      CALL    D2Game.6FC3C710
6FC3D9C7   5F               POP     EDI
6FC3D9C8   5E               POP     ESI
6FC3D9C9   83C4 30          ADD     ESP,30
6FC3D9CC   C2 1800          RETN    18
6FC3D9CF   90               NOP
6FC3D9D0   90               NOP[/color]
6FC3D9D1   8D4424 18        LEA     EAX,[ESP+18]
6FC3D9D5   6A 0F            PUSH    0F


[u][b]d2client.dll[/b][/u]

Fix packet type 0x95 size for receive -

6FB7696C  20 33 AB 6F [color=#ff0000]20[/color] 00 00 00 00 00 00 00 80 34 AB 6F   3.o ........4.o



Fix stat sizes for copy -

6FAB528E   E8 AD540B00      CALL    <JMP.&Fog.#10130>
6FAB5293   E9 DA000000      JMP     d2client.6FAB5372
[color=#ff0000]6FAB5298   6A 20            PUSH    20                      ; Case 95 of switch 6FAB51F1[/color]
6FAB529A   8D4C24 40        LEA     ECX,[ESP+40]
6FAB529E   55               PUSH    EBP
6FAB529F   51               PUSH    ECX
6FAB52A0   E8 A1540B00      CALL    <JMP.&Fog.#10126>
6FAB52A5   8D5424 3C        LEA     EDX,[ESP+3C]
6FAB52A9   6A 08            PUSH    8
6FAB52AB   52               PUSH    EDX
6FAB52AC   E8 8F540B00      CALL    <JMP.&Fog.#10130>
6FAB52B1   8D4424 3C        LEA     EAX,[ESP+3C]
[color=#ff0000]6FAB52B5   6A 20            PUSH    20[/color]
6FAB52B7   50               PUSH    EAX
6FAB52B8   E8 83540B00      CALL    <JMP.&Fog.#10130>
6FAB52BD   8D4C24 3C        LEA     ECX,[ESP+3C]
[color=#ff0000]6FAB52C1   6A 20            PUSH    20[/color]
6FAB52C3   51               PUSH    ECX
6FAB52C4   E8 77540B00      CALL    <JMP.&Fog.#10130>
6FAB52C9   8D5424 3C        LEA     EDX,[ESP+3C]
[color=#ff0000]6FAB52CD   6A 20            PUSH    20[/color]
6FAB52CF   52               PUSH    EDX
6FAB52D0   E8 6B540B00      CALL    <JMP.&Fog.#10130>
6FAB52D5   8D4424 3C        LEA     EAX,[ESP+3C]
[color=#ff0000]6FAB52D9   6A 20            PUSH    20[/color]
6FAB52DB   50               PUSH    EAX
6FAB52DC   E8 5F540B00      CALL    <JMP.&Fog.#10130>
6FAB52E1   8D4C24 3C        LEA     ECX,[ESP+3C]
[color=#ff0000]6FAB52E5   6A 20            PUSH    20[/color]
6FAB52E7   51               PUSH    ECX
6FAB52E8   E8 53540B00      CALL    <JMP.&Fog.#10130>
6FAB52ED   8D5424 3C        LEA     EDX,[ESP+3C]
[color=#ff0000]6FAB52F1   6A 20            PUSH    20[/color]
6FAB52F3   52               PUSH    EDX
6FAB52F4   E8 47540B00      CALL    <JMP.&Fog.#10130>
6FAB52F9   8D4424 3C        LEA     EAX,[ESP+3C]
[color=#ff0000]6FAB52FD   6A 20            PUSH    20[/color]
6FAB52FF   50               PUSH    EAX
6FAB5300   E8 3B540B00      CALL    <JMP.&Fog.#10130>
6FAB5305   EB 6B            JMP     SHORT d2client.6FAB5372
6FAB5307   6A 09            PUSH    9                   ; Case 96 of switch 6FAB51F1
6FAB5309   8D4C24 54        LEA     ECX,[ESP+54]
6FAB530D   55               PUSH    EBP



Fix stat sizes on receive -

6FAB331F   90               NOP
[color=#ff0000]6FAB3320 > 83EC 30          SUB     ESP,30                           ; ReceiveStats2
6FAB3323   57               PUSH    EDI
6FAB3324   8D7C24 04        LEA     EDI,[ESP+4]
6FAB3328   56               PUSH    ESI
6FAB3329   8D71 01          LEA     ESI,[ECX+1]
6FAB332C   B9 07000000      MOV     ECX,7
6FAB3331   F3:A5            REP     MOVSD
6FAB3333   5E               POP     ESI
6FAB3334   EB 7C            JMP     SHORT d2client.6FAB33B2
6FAB3336   90               NOP[/color]
6FAB3337   51               PUSH    ECX
6FAB3338   E8 03740B00      CALL    <JMP.&Fog.#10130>
6FAB333D   8D5424 14        LEA     EDX,[ESP+14]
...

6FAB33B2   E8 19500700      CALL    d2client.6FB283D0
6FAB33B7   8BF8             MOV     EDI,EAX
6FAB33B9   85FF             TEST    EDI,EDI
6FAB33BB   0F84 B8000000    JE      d2client.6FAB3479
6FAB33C1   53               PUSH    EBX
6FAB33C2   56               PUSH    ESI
[color=#ff0000]6FAB33C3   8B7424 0C        MOV     ESI,[ESP+C][/color]
6FAB33C7   6A 00            PUSH    0
[color=#ff0000]6FAB33C9   90               NOP
6FAB33CA   90               NOP
6FAB33CB   90               NOP
6FAB33CC   90               NOP
6FAB33CD   90               NOP
6FAB33CE   90               NOP[/color]
6FAB33CF   C1E6 08          SHL     ESI,8
6FAB33D2   56               PUSH    ESI
6FAB33D3   6A 06            PUSH    6
6FAB33D5   57               PUSH    EDI
6FAB33D6   E8 2F760B00      CALL    <JMP.&D2Common.#10517>
[color=#ff0000]6FAB33DB   8B4424 10        MOV     EAX,[ESP+10][/color]
6FAB33DF   6A 00            PUSH    0
[color=red]6FAB33E1   90               NOP
6FAB33E2   90               NOP
6FAB33E3   90               NOP
6FAB33E4   90               NOP
6FAB33E5   90               NOP[/color]
6FAB33E6   C1E0 08          SHL     EAX,8
6FAB33E9   50               PUSH    EAX
6FAB33EA   6A 08            PUSH    8
6FAB33EC   57               PUSH    EDI
6FAB33ED   E8 18760B00      CALL    <JMP.&D2Common.#10517>
[color=#ff0000]6FAB33F2   8B4C24 14        MOV     ECX,[ESP+14][/color]
6FAB33F6   6A 00            PUSH    0
[color=#ff0000]6FAB33F8   90               NOP
6FAB33F9   90               NOP
6FAB33FA   90               NOP
6FAB33FB   90               NOP
6FAB33FC   90               NOP
6FAB33FD   90               NOP[/color]
6FAB33FE   C1E1 08          SHL     ECX,8
6FAB3401   51               PUSH    ECX
6FAB3402   6A 0A            PUSH    0A
6FAB3404   57               PUSH    EDI
6FAB3405   E8 00760B00      CALL    <JMP.&D2Common.#10517>
[color=#ff0000]6FAB340A   8B4424 20        MOV     EAX,[ESP+20]
6FAB340E   8B4C24 24        MOV     ECX,[ESP+24][/color]
6FAB3412   25 FF000000      AND     EAX,0FF
6FAB3417   81E1 FF000000    AND     ECX,0FF
6FAB341D   3D 80000000      CMP     EAX,80
6FAB3422   7E 05            JLE     SHORT d2client.6FAB3429
6FAB3424   2D 00010000      SUB     EAX,100
6FAB3429   81F9 80000000    CMP     ECX,80
6FAB342F   7E 06            JLE     SHORT d2client.6FAB3437
6FAB3431   81E9 00010000    SUB     ECX,100
[color=#ff0000]6FAB3437   8B5C24 1C        MOV     EBX,[ESP+1C]
6FAB343B   8B5424 18        MOV     EDX,[ESP+18][/color]
6FAB343F   03CB             ADD     ECX,EBX
6FAB3441   03C2             ADD     EAX,EDX
6FAB3443   81E1 FFFF0000    AND     ECX,0FFFF
6FAB3449   25 FFFF0000      AND     EAX,0FFFF
...

[color=#ff0000]6FAB347A   83C4 30          ADD     ESP,30[/color]
6FAB347D   C3               RETN
6FAB347E   90               NOP
6FAB347F   90               NOP



Fix calculation for life globe -

6FAFF9CF   90               NOP
6FAFF9D0 > 83EC 48          SUB     ESP,48                           ; update health globe
6FAFF9D3   56               PUSH    ESI
6FAFF9D4   57               PUSH    EDI
6FAFF9D5   E8 F6890200      CALL    d2client.6FB283D0
[color=#ff0000]6FAFF9DA   50               PUSH    EAX
6FAFF9DB   E8 30B00600      CALL    <JMP.&D2Common.#10564>
6FAFF9E0   85C0             TEST    EAX,EAX
6FAFF9E2   0F84 6A010000    JE      d2client.6FAFFB52
6FAFF9E8   8BF0             MOV     ESI,EAX
6FAFF9EA   B9 06000000      MOV     ECX,6
6FAFF9EF   E8 DCF8FFFF      CALL    d2client.6FAFF2D0
6FAFF9F4   90               NOP
6FAFF9F5   90               NOP
6FAFF9F6   90               NOP
6FAFF9F7   90               NOP
6FAFF9F8   53               PUSH    EBX
6FAFF9F9   BB 50000000      MOV     EBX,50
6FAFF9FE   F7EB             IMUL    EBX
6FAFFA00   F7FE             IDIV    ESI[/color]
6FAFFA02   8BD8             MOV     EBX,EAX
6FAFFA04   85DB             TEST    EBX,EBX
6FAFFA06   7E 1E            JLE     SHORT d2client.6FAFFA26
...

6FAFFAD9   83E0 02          AND     EAX,2
6FAFFADC   85DB             TEST    EBX,EBX
6FAFFADE   894424 14        MOV     [ESP+14],EAX
[color=#ff0000]6FAFFAE2   7E 3F            JLE     SHORT d2client.6FAFFB23			; fix blizzard bug -hp crash ![/color]
6FAFFAE4   E8 19BD0600      CALL    <JMP.&D2gfx.#10003>



Fix calculation for mana globe -

6FAFFB5F   90               NOP
6FAFFB60 > 83EC 48          SUB     ESP,48                           ; UpdateManaGlobe
6FAFFB63   56               PUSH    ESI
6FAFFB64   57               PUSH    EDI
6FAFFB65   E8 66880200      CALL    d2client.6FB283D0
[color=#ff0000]6FAFFB6A   50               PUSH    EAX
6FAFFB6B   E8 5CB60600      CALL    <JMP.&D2Common.#10565>
6FAFFB70   85C0             TEST    EAX,EAX
6FAFFB72   0F84 1D010000    JE      d2client.6FAFFC95
6FAFFB78   8BF0             MOV     ESI,EAX
6FAFFB7A   B9 08000000      MOV     ECX,8
6FAFFB7F   E8 4CF7FFFF      CALL    d2client.6FAFF2D0
6FAFFB84   3BF0             CMP     ESI,EAX
6FAFFB86   7D 02            JGE     SHORT d2client.6FAFFB8A
6FAFFB88   8BC6             MOV     EAX,ESI
6FAFFB8A   53               PUSH    EBX
6FAFFB8B   BB 50000000      MOV     EBX,50
6FAFFB90   F7EB             IMUL    EBX
6FAFFB92   F7FE             IDIV    ESI
6FAFFB94   90               NOP
6FAFFB95   90               NOP
6FAFFB96   90               NOP
6FAFFB97   90               NOP[/color]
6FAFFB98   B9 12000000      MOV     ECX,12
6FAFFB9D   8D7C24 0C        LEA     EDI,[ESP+C]
6FAFFBA1   6A 6A            PUSH    6A

;No -mana crash here



Fix calculation for stamina bar -

6FB00066   33C0             XOR     EAX,EAX
6FB00068   EB 14            JMP     SHORT d2client.6FB0007E
[color=#ff0000]6FB0006A   B8 66000000      MOV     EAX,66
6FB0006F   F7EF             IMUL    EDI
6FB00071   90               NOP
6FB00072   90               NOP
6FB00073   90               NOP
6FB00074   90               NOP
6FB00075   90               NOP
6FB00076   90               NOP[/color]
6FB00077   F7FD             IDIV    EBP
6FB00079   83F8 19          CMP     EAX,19
6FB0007C   7D 0C            JGE     SHORT d2client.6FB0008A

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

Re: BaseMod Plugin

Post by devurandom » Thu May 14, 2020 2:17 am

@mengxuecen

Honestly I've never looked much into the stat fix for mana/life/stamina, I thought there were multiple packets to fix.
Anyway it looks fairly simple to fix from SVR's method, and I've already rewritten the code for mana health globes.

Time for me is the issue... I need to redo my development workstation after hard drive crash and about 4 other OS's used for testing on that workstation, and I don't have unlimited time to work on this right now.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

User avatar
karlock
Posts: 42
Joined: Mon Mar 16, 2015 1:16 pm

Re: BaseMod Plugin

Post by karlock » Mon Jun 01, 2020 10:03 am

@devurandom

Have you had time for checking this https://github.com/haxifix/PlugY
He has made a PlugY for 1.14d! :cheers

User avatar
UnclWish
Posts: 62
Joined: Thu Jan 09, 2020 7:44 pm
Russia

Re: BaseMod Plugin

Post by UnclWish » Thu Jun 04, 2020 3:56 pm

karlock wrote:
Mon Jun 01, 2020 10:03 am
@devurandom

Have you had time for checking this https://github.com/haxifix/PlugY
He has made a PlugY for 1.14d! :cheers
It's no glide wrapper for 1.14d or i'm wrong?

Texalic
Junior Member
Paladin
Posts: 149
Joined: Sat Mar 10, 2018 9:09 am

Re: BaseMod Plugin

Post by Texalic » Fri Jun 05, 2020 6:57 am

UnclWish wrote:
Thu Jun 04, 2020 3:56 pm
karlock wrote:
Mon Jun 01, 2020 10:03 am
@devurandom

Have you had time for checking this https://github.com/haxifix/PlugY
He has made a PlugY for 1.14d! :cheers
It's no glide wrapper for 1.14d or i'm wrong?
I'm trying to figure it out what your question is. :mrgreen:

That's plugy for 1.14 d.

About glide, it does work with 1.14d.

Will it work with plugy for 1.14d, that's what I don't know....

User avatar
UnclWish
Posts: 62
Joined: Thu Jan 09, 2020 7:44 pm
Russia

Re: BaseMod Plugin

Post by UnclWish » Mon Jun 08, 2020 12:38 am

Talic wrote:
Fri Jun 05, 2020 6:57 am
UnclWish wrote:
Thu Jun 04, 2020 3:56 pm
karlock wrote:
Mon Jun 01, 2020 10:03 am
@devurandom

Have you had time for checking this https://github.com/haxifix/PlugY
He has made a PlugY for 1.14d! :cheers
It's no glide wrapper for 1.14d or i'm wrong?
I'm trying to figure it out what your question is. :mrgreen:

That's plugy for 1.14 d.

About glide, it does work with 1.14d.

Will it work with plugy for 1.14d, that's what I don't know....
For me Plugy for 1.14d doesn't matter if 1.14d has no glide support... That's why I asked.

User avatar
Necrolis
Senior Admin
Throne
Posts: 9125
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: BaseMod Plugin

Post by Necrolis » Mon Jun 08, 2020 6:58 pm

UnclWish wrote:
Mon Jun 08, 2020 12:38 am
Talic wrote:
Fri Jun 05, 2020 6:57 am
UnclWish wrote:
Thu Jun 04, 2020 3:56 pm
It's no glide wrapper for 1.14d or i'm wrong?
I'm trying to figure it out what your question is. :mrgreen:

That's plugy for 1.14 d.

About glide, it does work with 1.14d.

Will it work with plugy for 1.14d, that's what I don't know....
For me Plugy for 1.14d doesn't matter if 1.14d has no glide support... That's why I asked.
1.14c added support for nGlide via the -3dfx command line; svens glidewrapper should also work with this.
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

User avatar
EzechielP
Junior Member
Paladin
Posts: 118
Joined: Fri Jan 27, 2006 1:17 pm
Location: Vienna
Contact:
Austria

Re: BaseMod Plugin

Post by EzechielP » Mon Jun 15, 2020 4:47 am

Thank you a thousand times over for that plugin! I'd really love to use it in my next project if that's fine with you?
Back from the dreaded realms of... the outside world ;)

I'll keep my old account name but just as an FYI you are more likely to find me as dEmergence nowadays across other platforms.

EzechielP a.k.a dEmergence
--------
My first attempt at a mod back in the day... good times: FAITH-Mod Discussion

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

Re: BaseMod Plugin

Post by devurandom » Wed Jun 24, 2020 8:02 am

@EzechielP yes of course you can use it. That's what it was purposed for.
:)
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

sk8137
Posts: 2
Joined: Sun Jul 05, 2020 8:14 pm

Re: BaseMod Plugin

Post by sk8137 » Sun Jul 05, 2020 8:24 pm

Great mod, I downloaded it just for the FPS bypass, and the gold pickup. Using D2SE with the 1.13c core and glide, plugy, and the BH MH from slashdiablo (using just the loot filter feature). The FPS bypass works great until I enable the loot filter and then the FPS drops below 14. Setting an FPS limit of 100 with 100hz refreshrate with glide makes the game really nice and smooth otherwise.

Is there perhaps any fix for this? I wasn't able to find anything by browsing the thread.

Thanks in advance.

Post Reply

Return to “Member Аnnouncements”