Search found 8708 matches

by Necrolis
Mon Oct 14, 2019 11:38 am
Forum: General Mod Making
Topic: Entry File Duration
Replies: 3
Views: 42
South Africa

Re: Entry File Duration

Specktro wrote:
Sun Oct 13, 2019 9:39 pm
Would it be the 78 (120 frames)?
ty for help...
Yes, should be it, was away so I haven't tested this code, but it should be easy to verify :)
by Necrolis
Sun Oct 13, 2019 7:00 pm
Forum: General Mod Making
Topic: Entry File Duration
Replies: 3
Views: 42
South Africa

Re: Entry File Duration

This should be the frame count to display it for under 1.10 6FB21DC2 83C0 78 ADD EAX,78 6FB21DC5 A3 88A7BB6F MOV DWORD PTR DS:[6FBBA788],EAX 6FB21DCA EB 0B JMP SHORT d2client.6FB21DD7 6FB21DCC 8B0D E8A1BB6F MOV ECX,DWORD PTR DS:[6FBBA1E8] 6FB21DD2 A1 88A7BB6F MOV EAX,DWORD PTR DS:[6FBBA788] 6FB21DD7...
by Necrolis
Tue Oct 01, 2019 10:56 pm
Forum: General Mod Making
Topic: Diablo II Upscaled (an idea on mod with upscaled textures based on machine learning)
Replies: 3
Views: 122
South Africa

Re: Diablo II Upscaled (an idea on mod with upscaled textures based on machine learning)

Possible problems: Don't DC6, DCC or other texture formats have some size limit? In that case putting the upscaled textures back in the game would be problematic. The underlaying (surface) grid (not the tile images, the model layer underneath) should be upscaled too. Don't know if the factor 1.8 is...
by Necrolis
Tue Sep 24, 2019 11:29 am
Forum: Code Editing
Topic: How to raise max player cap in multiplayer.
Replies: 3
Views: 80
South Africa

Re: How to raise max player cap in multiplayer.

Its not as simple as just changing a value from 8 to some other number; there are a HUGE amount of things behind the scenes that rely on there being a max of 8 players (like the AI targeting nodes). Have a look at lolets D2Ex2 on Github, not sure if all the patches are in the base versions, as he se...
by Necrolis
Wed Sep 18, 2019 9:08 pm
Forum: Multimedia
Topic: Need help with healthpot state globe.
Replies: 2
Views: 1378
South Africa

Re: Need help with healthpot state globe.

The potion "amount to fill" effect is created by the UI drawing code using the base globe image and drawing it with some transparency. if you want to make it solid you need to change the render code (which is thus version specific).
by Necrolis
Fri Sep 13, 2019 2:28 pm
Forum: Code Editing
Topic: Working with Negative Values 1.13c
Replies: 8
Views: 156
South Africa

Re: Working with Negative Values 1.13c

You only have 1 byte of space in the CMP, you are limit to values in the range of [-127,128].
by Necrolis
Wed Sep 11, 2019 2:59 pm
Forum: Code Editing
Topic: [1.13c] Extended Levels (Now with Dlls!)
Replies: 64
Views: 16274
South Africa

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

Update: Got a few more requests to do this, and seeing as I actually had some time, uploaded the edited dll's to this post, my testing was very brief (I just made sure automap files & a few levels loaded, thats it...). Thank you Necrolis for this big update I've been using this in my mod for a year...
by Necrolis
Wed Sep 04, 2019 12:09 pm
Forum: Multimedia
Topic: Importing custom graphics
Replies: 4
Views: 125
South Africa

Re: Importing custom graphics

D2 has a very limited color palette (8bit); especially if you need cross act compatibility. For your case you will need to use the Units palette, these are colors that are available in every act. This is normally referred to as indexed mode mode editors, you can find the palettes in our file center.
by Necrolis
Tue Sep 03, 2019 8:38 pm
Forum: General Mod Making
Topic: How and where did really works MagicFormat etc.
Replies: 2
Views: 124
South Africa

Re: How and where did really works MagicFormat etc.

When it comes to items, the function you'd want to look at in 1.10 is the following:

Code: Select all

/* 
	Date: Fri Sep 03 15:41:33 2010
	Author: Necrolis
	Function: ITEMDESC_Format
	Address: D2Client.0x6FADCFE0
	Comments: 
*/

wchar_t* __cdecl ITEMDESC_Format(wchar_t* pBuffer, const wchar_t* wszFormat, ...)
by Necrolis
Mon Sep 02, 2019 4:48 pm
Forum: General Mod Making
Topic: Color in States?
Replies: 1
Views: 74
South Africa

Re: Color in States?

Paul has a table showing all the PL2 shifts that are available. If you want a specific color not present you need to edit the PL2 file to add it (by overwriting a previous unused color, else you need to hex edit D2Win to allow for a larger PL2 file).
by Necrolis
Wed Aug 21, 2019 11:52 pm
Forum: Multimedia
Topic: Looking for a font...
Replies: 8
Views: 520
South Africa

Re: Looking for a font...

bangbose wrote:
Tue Aug 20, 2019 9:38 am
Okay I opened it with d2font editor but still no clue how to reduce the spacing some pointers would be good..
This is a much better tool, will let you change each glyphs kernings: viewtopic.php?p=480509#p480509
by Necrolis
Wed Aug 21, 2019 11:50 pm
Forum: Tools
Topic: What is the best tool for working with dc6 and txt files?
Replies: 4
Views: 170
South Africa

Re: What is the best tool for working with dc6 and txt files?

Yes, we have plugins for this in the file center, else just use the tool I linked you
by Necrolis
Wed Aug 21, 2019 11:39 pm
Forum: Tools
Topic: What is the best tool for working with dc6 and txt files?
Replies: 4
Views: 170
South Africa

Re: What is the best tool for working with dc6 and txt files?

This pretty much does everything you could want in the easiest manner: viewtopic.php?f=7&t=56721&start=0
by Necrolis
Wed Aug 21, 2019 1:52 pm
Forum: Code Editing
Topic: Randtransform.dat
Replies: 1
Views: 94
South Africa

Re: Randtransform.dat

The 1.10 location for this is: //D2Client.0x6FAAE3C0 const uint8_t* __fastcall PAL_GetMonsterPalette(D2UnitStrc* pMonster) You need to fix the upper bound given to the RandPalette so that it allows for all entries. Looking for this code in other versions should be as easy as looking for the bound ch...
by Necrolis
Fri Aug 16, 2019 3:28 pm
Forum: Multimedia
Topic: Looking for a font...
Replies: 8
Views: 520
South Africa

Re: Looking for a font...

I took the fontformal10 from d2exp.mpq I like how it looks but it appears with huge space gaps like in the picture from the first post. I am not very experienced modder what do I need to do edit the font.tbl file? I got an error when I tried to open it with tbl editor... Or I am not doing something...
by Necrolis
Fri Aug 16, 2019 9:40 am
Forum: Multimedia
Topic: Looking for a font...
Replies: 8
Views: 520
South Africa

Re: Looking for a font...

bangbose wrote:
Fri Aug 16, 2019 12:05 am
Does somebody have any clue how to reduce the spacing between the lines?
There are set by the font loader in D2Win, and are based as a multiplier out of 10 using. The multiplier uses the line height in the font tbl file to determine the final line spacing.
by Necrolis
Fri Aug 09, 2019 7:46 pm
Forum: Code Editing
Topic: [v1.11b] Loading New TXT Files
Replies: 15
Views: 12328
South Africa

Re: [v1.11b] Loading New TXT Files

Please don't double post, put all your questions into a single post. typedef void* (__stdcall * D2COMMON_10496)(void*,char*,BinField*, int* ,DWORD); It's returned by the function, the pointer to int will store the record count being compiled. The question is, where can I find the memory pointer afte...
by Necrolis
Fri Aug 09, 2019 7:44 pm
Forum: Code Editing
Topic: [1.11b]How can I find the definition of INLINE_GetBlizzard TXT()?
Replies: 2
Views: 1980
South Africa

Re: [1.11b]How can I find the definition of INLINE_GetBlizzard TXT()?

Please don't post this in multiple topics, one place is enough. That function is from my code base, it does nothing more than retrieve a pointer to spgtDataTables, which is a named export from D2Common.dll. if you use the defs strickied in the forums here you can give that pointer a type that allows...
by Necrolis
Mon Aug 05, 2019 10:44 pm
Forum: Code Editing
Topic: Diablo 2 does Not close completely
Replies: 5
Views: 268
South Africa

Re: Diablo 2 does Not close completely

Its quite possible that this issues stems from some bad validation that D2 does on some windows internals (the critical sections it uses, and possibly other things; that code changed as of WinXp and Win7, so their validator is not longer correct). However it make be possible to see when its handling...
by Necrolis
Mon Jul 15, 2019 2:23 pm
Forum: Feedback
Topic: Post Dead Links
Replies: 8
Views: 1810
South Africa

Re: Post Dead Links

http://diabolic.d2mods.info/ Map plugins are now dead links... hoping to avoid the link rot! We are aware of this, we are planning on rebuilding the site, will likely take a week or two to fix. In the mean time if there is a specific map plugin you are after, send me a PM or ping me on Discord I ca...
by Necrolis
Wed Jul 03, 2019 3:42 pm
Forum: General Mod Making
Topic: Act5barb run animation problem
Replies: 2
Views: 328
South Africa

Re: Act5barb run animation problem

It might be worth noting that those wilderness act 5 barbs are hardcoded to move towards Shenk, not sure if this would cause the issue you are experiencing though (as its part of the AI IIRC). I recommend avoiding the AI an duplicating the monstats2 tokens or making new tokens using MergeDCC.
by Necrolis
Mon Jul 01, 2019 8:26 pm
Forum: Code Editing
Topic: how to reduce crush blow?
Replies: 5
Views: 424
South Africa

Re: how to reduce crush blow?

Crushing blow in 1.10 is handled in D2Game.0x6FD04E50, Nefarius has a post on how this function works, IIRC all the values are calculated from a table based on level. How would you know the address? The addresses seem to change all the time for me. Interesting that CB is based on level in 1.10, afa...
by Necrolis
Mon Jul 01, 2019 8:14 pm
Forum: Feedback
Topic: Post Dead Links
Replies: 8
Views: 1810
South Africa

Re: Post Dead Links

https://d2mods.info/forum/viewtopic.php?f=8&t=54596&p=475243&hilit=advanced+c+code+editing#p475243 In the post above, these links are dead: sir_generals Advanced Code Editing Tutorial Joel's Advanced C++ Code Editing Tutorial Joel's D2External These have been updated in the original post; the quote...
by Necrolis
Fri Jun 28, 2019 10:58 am
Forum: Code Editing
Topic: how to reduce crush blow?
Replies: 5
Views: 424
South Africa

Re: how to reduce crush blow?

Crushing blow in 1.10 is handled in D2Game.0x6FD04E50, Nefarius has a post on how this function works, IIRC all the values are calculated from a table based on level.
by Necrolis
Wed Jun 26, 2019 4:38 pm
Forum: Code Editing
Topic: Any idea to extend AutoMagic.txt?
Replies: 11
Views: 370
South Africa

Re: Any idea to extend AutoMagic.txt?

You need only change the 6A 0A to 6A 0D.
Also note that this will break any old chars that have items with automagic.

Go to advanced search