Yes, that is a good idea. Will be updating this soon, thanks for the suggestion.Necrolis" wrote:Just a little usability hint: Shift the patch size to the last member in the structure, this allows you to omit it from records where its not used and have it default to zero.
D2Template
Moderators: Nefarius, Havvoric
- kidpaddle94
- Principality
- Posts: 2057
- Joined: Thu Aug 13, 2009 2:54 pm
- Location: localhost
Re: D2Template
- devurandom
- Angel
- Posts: 897
- Joined: Sat Mar 07, 2015 9:07 pm
Re: D2Template
Ok... compiled it without errors in VC6, still a noob when it comes to C++ and WinAPI.
Thanks for sharing this!
Thanks for sharing this!
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..
Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..
Re: D2Template
@XP in VS2012+: there's a thing called WInXP Toolchain that allows building with modern VC compilers and have XP support
cross-platform tools:
- QTblEditor - 2-panel tbl editor
- qdc6 - dc6 converter CLI
- QD2CharRenamer - character renamer
- MpqLangChanger - MPQ language changer
- devurandom
- Angel
- Posts: 897
- Joined: Sat Mar 07, 2015 9:07 pm
Re: D2Template
Added a new definition to D2Ptrs.h. It allows you to create a function without DLL prefix assigned to the name in code.
Code: Select all
#define D2FUNC2(DLL, NAME, RETURN, CONV, ARGS, OFFSET) \
typedef RETURN (##CONV##* NAME##_t ) ARGS; \
static NAME##_t NAME = (NAME##_t )GetDllOffset(DLLOFFSET(DLL , OFFSET));
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..
Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..
Re: D2Template
it doesn't support all xp versions, you need to have it patched to patch 3. Because of this I decided myself to stay with vs 2010 then modding in d2. Just a reminder for those with newer compilers.kambala" wrote:@XP in VS2012+: there's a thing called WInXP Toolchain that allows building with modern VC compilers and have XP support
- kidpaddle94
- Principality
- Posts: 2057
- Joined: Thu Aug 13, 2009 2:54 pm
- Location: localhost
Re: D2Template
Fixed all links. Dropbox somehow decided to change how links to share files are handled, so all links were broken.Jair" wrote:Link Broken: D2 Template!
edit: migrated the project to Github