Search found 783 matches

by devurandom
Wed Sep 18, 2019 2:14 am
Forum: Code Editing
Topic: Rogue Hireling equip Amazon Bows
Replies: 2
Views: 314
United States of America

Re: Rogue Hireling equip Amazon Bows

I fixed that about 2 years ago. After I replaced Hireling equip code, I rewrote GetItemRequirements
to fix that issue. Since replaced other code too. Merc Equip Code is now over 3K lines.

Diablo II Merc Full Equip
by devurandom
Sat Sep 14, 2019 3:11 pm
Forum: General Mod Making
Topic: How to increase max sockets for unique, set, rare and magic itmes?
Replies: 5
Views: 74
United States of America

Re: How to increase max sockets for unique, set, rare and magic itmes?

TXT METHODS Magic Magic items can get upto 4 sockets with Jewler's prefix and 3 sockets with Artisan's prefix. Set Check Aldur's Rhythm Jagged Star 3 sockets Unique Rune Master Ettin Axe 5 sockets Rare 2 sockets max with Mechanic's prefix CODE METHODS Forcing with code requires code edits for Larzu...
by devurandom
Fri Sep 13, 2019 11:43 pm
Forum: Code Editing
Topic: Working with Negative Values 1.13c
Replies: 8
Views: 77
United States of America

Re: Working with Negative Values 1.13c

There's not enough bytes to expand it past -127. To do so would require jump to slack space to add new code for the compare instructions, then jump back. There may be some tutorials how add new code using slackspace.
by devurandom
Fri Sep 13, 2019 8:32 pm
Forum: Code Editing
Topic: Working with Negative Values 1.13c
Replies: 8
Views: 77
United States of America

Re: Working with Negative Values 1.13c

Necrolis is right its a signed char.

You only want to change the value with assemble not the instruction such as CMP or MOV


CMP ESI,-7F
///
MOV ESI,-7F

CMP ESI,-7F
///
MOV ESI,-7F
by devurandom
Fri Sep 13, 2019 4:56 am
Forum: Code Editing
Topic: Working with Negative Values 1.13c
Replies: 8
Views: 77
United States of America

Re: Working with Negative Values 1.13c

not difficult right click assemble... change CMP ESI,-64 to CMP ESI,-96 (150 decimal = 96 hex) I use windows calculator in scientific mode to get that. then click assemble. nops aren't needed. repeat for the other values, right click edit, save all modifications, right click save file. Like you said...
by devurandom
Thu Sep 12, 2019 12:51 am
Forum: Code Editing
Topic: [1.13c] Extended Levels (Now with Dlls!)
Replies: 64
Views: 16119
United States of America

Re: [1.13c] Extended Levels (Now with Dlls!)

A while back I ported Necrolis Extended Levels to 1.13d from this post. I don't remember having any issues but, I test mostly in older versions of windows. I had issues porting this to 1.14d, so I ended up rewriting the automap functions for Ext Lvls to get it to work in all the D2 versions I work w...
by devurandom
Wed Sep 11, 2019 12:10 pm
Forum: Code Editing
Topic: [1.10f] Sharing My D2 Functions and DRLG Structures Spreadsheets
Replies: 1
Views: 143
United States of America

Re: [1.10f] Sharing My D2 Functions and DRLG Structures Spreadsheets

It snowed a few days before June 2019 where I live, it's very rare, but I haven't seen Christmas in August till now.
This is an insane amount of work you've posted.

Thank You!

Image
by devurandom
Tue Sep 10, 2019 6:01 pm
Forum: Member Аnnouncements
Topic: BaseMod Plugin
Replies: 244
Views: 24794
United States of America

Re: BaseMod Plugin

It regularly takes 50-75 hours to do seemingly simple stuff like display ilvl/max sockets. ran into a lot of issues with that, and had to rework it several times. do I want to rework it again.. not really. It would be possible to display the amount of gold picked up, but for the time it would take t...
by devurandom
Mon Sep 09, 2019 7:37 pm
Forum: Code Editing
Topic: A1Q3 - Change the reward for rescuing Cain
Replies: 2
Views: 53
United States of America

Re: A1Q3 - Change the reward for rescuing Cain

That's a BOOL that controls if the item is placed in inventory or dropped to ground.
There isn't a quantity value for D2CreateRewardItem D2Game.6FC56470 [1.13c]

You'd have to repeat the entire call setup 2 extra times to get 3 items.
by devurandom
Mon Sep 09, 2019 11:50 am
Forum: Code Editing
Topic: 1.13c - Ring Rewards [solved]
Replies: 5
Views: 738
United States of America

Re: 1.13c - Ring Rewards [solved]

Created a new topic for others searching for this and uploaded my notes
viewtopic.php?t=66459
by devurandom
Mon Sep 09, 2019 11:47 am
Forum: Code Editing
Topic: A1Q3 - Change the reward for rescuing Cain
Replies: 2
Views: 53
United States of America

A1Q3 - Change the reward for rescuing Cain

Reference: http://d2mods.info/forum/viewtopic.php?t=25037 http://d2mods.info/forum/viewtopic.php?t=41509 ============================================================ - Change the reward for rescuing Cain - [1.13c] [1.13c] D2Game.0x66E85 00066E85 B8 0C000000 MOV EAX,0C ; ilvl normal 12 or you get rar...
by devurandom
Sun Sep 08, 2019 7:46 am
Forum: Member Аnnouncements
Topic: BaseMod Plugin
Replies: 244
Views: 24794
United States of America

Re: BaseMod Plugin

People have asked for Fog.dll loaders for BaseMod
Here's the link and they're for 1.13c and 1.13d only.

https://www.dropbox.com/s/0mor3oiokjiya ... oaders.zip
by devurandom
Sun Sep 08, 2019 7:11 am
Forum: Multimedia
Topic: How to make animated items?
Replies: 5
Views: 1273
United States of America

Re: How to make animated items?

I don't know how to make animated items that's a question for the graphic wizards, but I think you need animated inventory to display them.
by devurandom
Thu Sep 05, 2019 12:38 pm
Forum: Off-Topic
Topic: Day Job - getting paid for fun
Replies: 0
Views: 100
United States of America

Day Job - getting paid for fun

I've been turning my hobbies into cash for about 20 years. That's to say, I haven't really worked a day in 20 years, because its been so much dam fun. The people I meet are so interesting. I recently met a retired Telco Engineer from Telefónica out of Spain who wrote a lot of C++ code for their syst...
by devurandom
Wed Sep 04, 2019 7:46 pm
Forum: Code Editing
Topic: Codes from 1.10 to 1.13c?
Replies: 2
Views: 102
United States of America

Re: Codes from 1.10 to 1.13c?

quick porting, haven't tested but looks like it's the same code with different optimization. Please post back here, or in the original thread if, it works, so others can use it. :) 1.13c D2Game.dll 6FCFF4BF ║· 8A48 6D MOV CL,BYTE PTR DS:[EAX+6D] 6FCFF4C2 ║· 84C9 TEST CL,CL 6FCFF4C4 ║·▼ 75 5D JNZ SHO...
by devurandom
Tue Aug 27, 2019 6:51 am
Forum: Code Editing
Topic: [1.13c] Force an item to appear in the gamble window every time
Replies: 15
Views: 400
United States of America

Re: [1.13c] Force an item to appear in the gamble window every time

You can take a call and turn it into a long jump, then execute the missing call at the location of the long jump in the first command, with the args still on the stack. Next add your new code and jump back where you need to go. Jumps and calls are the safest way to inject new code cause they're alre...
by devurandom
Fri Aug 23, 2019 4:01 am
Forum: Code Editing
Topic: [1.13c] Force an item to appear in the gamble window every time
Replies: 15
Views: 400
United States of America

Re: [1.13c] Force an item to appear in the gamble window every time

further up its done in D2Game.dll like so: 000BE2FF ║► │A1 7C1FD36F MOV EAX,DWORD PTR DS:[6FD31F7C] gGambleAmu 000BE304 ║· │85C0 TEST EAX,EAX 000BE306 ║·▼│75 0F JNZ SHORT 6FCDE317 000BE308 ║· │68 7C1FD36F PUSH OFFSET 6FD31F7C ; ╓Arg2 = D2Game.6FD31F7C 000BE30D ║· │68 616D7520 PUSH 20756D61 ; ║Arg1 =...
by devurandom
Thu Aug 22, 2019 3:16 am
Forum: Member Аnnouncements
Topic: BaseMod Plugin
Replies: 244
Views: 24794
United States of America

Re: BaseMod Plugin

They're mostly custom made, but I think some were uploaded in this thread.
viewtopic.php?t=65599
by devurandom
Mon Aug 05, 2019 11:48 pm
Forum: Code Editing
Topic: Diablo 2 does Not close completely
Replies: 5
Views: 244
United States of America

Re: Diablo 2 does Not close completely

Might be related to that pesky little windows dll, gameux.dll This is the dll that monitors if you have a connection to the internet and won't let your game start if you're not connected or firewalled, cause it's checking versions for game compatibility issues. How to remove the gameux dll's in Win7...
by devurandom
Sat Jul 27, 2019 8:09 am
Forum: Code Editing
Topic: Red portal 1.13c
Replies: 6
Views: 196
United States of America

Re: Red portal 1.13c

I think someone else did this in 1.13c, but I don't recall ATM if they had other issues. a problem would still be hardcoded portal name strings. you'd have portals but no name to level, unless its one of the levels with hardcoded portal name string already. If I remember right there was a weird issu...
by devurandom
Fri Jul 26, 2019 2:36 am
Forum: Code Editing
Topic: [1.13c] Force an item to appear in the gamble window every time
Replies: 15
Views: 400
United States of America

Re: [1.13c] Force an item to appear in the gamble window every time

This is the part of the code that you'd be interested in: 000BE44C ║► │8B4424 14 ║MOV EAX,DWORD PTR SS:[LOCAL.5] LoopCount 000BE450 ║· │83F8 02 ║CMP EAX,2 000BE453 ║·▼│7D 10 ║JGE SHORT 6FCDE465 000BE455 ║· │85C0 ║TEST EAX,EAX 000BE457 ║· │8B35 801FD36F ║MOV ESI,DWORD PTR DS:[6FD31F80] nRecord gnGamb...
by devurandom
Thu Jul 25, 2019 11:32 am
Forum: Code Editing
Topic: [1.13c] Force an item to appear in the gamble window every time
Replies: 15
Views: 400
United States of America

Re: [1.13c] Force an item to appear in the gamble window every time

devurandom wrote:
Tue Jul 23, 2019 9:18 pm
You can find that code loop by looking at the code edit for increasing the number of items on gamble screen.
by devurandom
Thu Jul 25, 2019 12:01 am
Forum: Code Editing
Topic: [1.13c] Force an item to appear in the gamble window every time
Replies: 15
Views: 400
United States of America

Re: [1.13c] Force an item to appear in the gamble window every time

it is linked in that thread, you'll have to look further down.

Go to advanced search