Search found 26 matches

by Cossack
Sat Apr 29, 2017 8:25 pm
Forum: Diablo II Chatter
Topic: [1.13c]How to disable highlighted[alt] gold number
Replies: 2
Views: 1414

Re: [1.13c]How to disable highlighted[alt] gold number

I think the best way it will be code edit it's simple patch Patch D2CLIENT at 0x5908A void D2CLIENT_HideItems_STUB() { __asm { push esi CALL OnALTDraw; TEST EAX,EAX; je skip; CMP EBP,0x20 JGE skip; RETN; skip: ADD DWORD PTR SS:[ESP],0x38A RETN } } bool __stdcall OnALTDraw(UnitAny *ptItem) { ItemsTxt...
by Cossack
Sat Apr 29, 2017 10:55 am
Forum: Code Editing
Topic: [1.10] Alignment check
Replies: 4
Views: 901

Re: [1.10] Alignment check

1.10

Align
6FC6953F (0x3953F)

Code: Select all

6FC6953F  |.  8A41 4C       MOV AL,BYTE PTR DS:[ECX+4C]
inTown
6FCC4F24 (0x94F24)

Code: Select all

6FCC4F24  |.  8541 08       TEST DWORD PTR DS:[ECX+8],EAX
6FCC5141 (0x95141)

Code: Select all

6FCC5141  |.  8541 08       TEST DWORD PTR DS:[ECX+8],EAX
by Cossack
Sat Apr 29, 2017 9:41 am
Forum: Code Editing
Topic: [1.10] Alignment check
Replies: 4
Views: 901

Re: [1.10] Alignment check

It's in 1.13c but i hope that you will find it in 1.10 if not just pm me i will help u All in d2game 6FD0F3C7 (+0xEF3C7) 6FD0F3C7 |. 0FB641 4C MOVZX EAX,BYTE PTR DS:[ECX+4C] if ( pMonsterTxT->Align == 1 ) { D2GAME_6FD00460(pMonster, 2, 1); pMonster->dwFlags |= 0x20000; } else { if ( pMonsterTxT->Ali...
by Cossack
Mon Apr 24, 2017 4:56 pm
Forum: Mod Concepts & Research
Topic: What does your mod look like?
Replies: 571
Views: 143974

Re: What does your mod look like?

Is it just a map or a full 6th act? Thought it wasn't posible to add an other act. Yes it's possible to add another act He's doing a butt ton of code editing It's just a "little" ce not butt ton ^^ Next movie from me i promise i will not spam u anymore ^^ https://www.youtube.com/watch?v=INqCHhM2HCU...
by Cossack
Sat Apr 22, 2017 3:42 pm
Forum: Mod Concepts & Research
Topic: What does your mod look like?
Replies: 571
Views: 143974

Re: What does your mod look like?

Hi again, Next part of my changes ^^ After rewriting npc stuff i wanted to add a new act, it was a lot of changes in structs but finally i added a act 6 https://www.youtube.com/watch?v=aeTUvVreKYQ As previously its all in 1.13c I don't have any knowledge of editing maps in the editor so i just use a...
by Cossack
Tue Apr 18, 2017 5:43 pm
Forum: Mod Concepts & Research
Topic: What does your mod look like?
Replies: 571
Views: 143974

Re: What does your mod look like?

Some minor changes from me ^^
hp, mp, stamina from WORD to DWORD, rewrited npc stuff
all in 1.13c

https://www.youtube.com/watch?v=P027hlKMRuo
by Cossack
Tue Jan 03, 2017 12:52 pm
Forum: Code Editing
Topic: [D2Client] 1.10 Classic Stash Enlargement - Gold Functions
Replies: 14
Views: 2769

Re: D2Win - Gold Location

Code: Select all

for 1.13c

6FB3D18C
6FB3D192
6FB3D1FF
6FB3D231

6FB49A1A

6FB3B6E6
6FB3B6DB

for 1.10

6FAE991F
6FAE9926
6FAE9AAE
6FAE9AF9

6FADF35C 

6FAEBBC2
6FAEBBB7
all in d2client
by Cossack
Tue Sep 29, 2015 8:06 am
Forum: Code Editing
Topic: Need a function for event timer
Replies: 15
Views: 2089

Re: Need a function for event timer

Code: Select all

D2FUNC(D2GAME, Timer, void, __fastcall, (game *pGame, UnitAny *pUnit, int Type, DWORD Frame, (void __fastcall * CALLBACK_E)(game* pGame, UnitAny* pUnit, int Type, DWORD arg1, DWORD arg2), DWORD arg1, DWORD arg2), 0x8EA80)
for 1.13c

I hope that's what you mean
by Cossack
Tue Mar 10, 2015 2:48 pm
Forum: Code Editing
Topic: Expirence % calculating
Replies: 2
Views: 600

Re: Expirence % calculating

i use this

Code: Select all

DWORD Exp=D2COMMON_GetUnitStat(pUnit, 13,0);
DWORD NextLevel=D2COMMON_GetUnitStat(pUnit, 30,0);
double PercentNextLevel=(double)Exp/(double)NextLevel*100;
_snprintf_s(text,256,256,"%.2f", PercentNextLevel);
i don't know if it's the best way to do it but it works
by Cossack
Mon Nov 03, 2014 3:58 pm
Forum: Code Editing
Topic: Need some help with new menu
Replies: 0
Views: 520

Need some help with new menu

I've added a new option to the menu http://i.imgur.com/efKUpxm.jpg and everything works just as I die I can not click esc the only option is alt + f4 to close diablo edit: I managed to fix it I do not know if this is done correctly but it works i just add this to my code if(Me->dwMode==17) D2CLIENT_...
by Cossack
Fri Sep 19, 2014 11:20 am
Forum: Code Editing
Topic: Select map
Replies: 5
Views: 1095

Re: Select map

works great, thanks ;)
by Cossack
Tue Sep 16, 2014 3:07 pm
Forum: Code Editing
Topic: Select map
Replies: 5
Views: 1095

Re: Select map

I would do it by editing the code because I would be able to change the map at any time I found this code somewhere, unfortunately I do not remember where. Probably author of this code is Lolet but I'm not sure. I converted this into 1.13c px03 pPacket; pPacket.ActNo=*(BYTE*)&Packet[1]; pPacket.MapI...
by Cossack
Mon Sep 15, 2014 1:39 pm
Forum: Code Editing
Topic: Select map
Replies: 5
Views: 1095

Select map

I have a question about selecting the map. Rogue encampment has 4 different maps and how to do that every time was the map I wants. e.g. these are the 4 maps http://i.imgur.com/pUyw37O.jpg http://i.imgur.com/jTEI8Gy.jpg http://i.imgur.com/8vy4sTn.jpg http://i.imgur.com/wITVmP9.jpg and i want to do o...
by Cossack
Fri Jun 27, 2014 11:21 am
Forum: Code Editing
Topic: [1.13c] Delete item
Replies: 3
Views: 989

Re: [1.13c] Delete item

works great thanks
by Cossack
Thu Jun 26, 2014 8:49 pm
Forum: Code Editing
Topic: [1.13c] Delete item
Replies: 3
Views: 989

[1.13c] Delete item

I want to do the removal of an item from the game and I found this https://d2mods.info/forum/viewtopic.php?f=8&t=31035&p=221299&hilit=D2RemoveItem#p221299 D2Game6FC471F0 D2RemoveItem arg1 = ptGame arg2 = ptPlayer arg3 = ptItem arg4 = 0 in 1.13c offset is 0xD2D90 D2FUNCPTR(D2GAME, RemoveItem, void __...
by Cossack
Thu Jul 19, 2012 3:05 pm
Forum: Code Editing
Topic: [1.13c] Need help with ptGame
Replies: 14
Views: 1465

Re: [1.13c] Need help with ptGame

Code: Select all

FUNCTION(D2GAME, SpawnSUmonster, UnitAny* STDCALL, (DWORD pGame, Room1 *pRoom1,WORD xPos,WORD yPos,DWORD SUhcIdx), 0x251F0)

Code: Select all

mon = D2GAME_SpawnSUmonster(0x242007C, pRoom->pRoom1,0x622B, 0x1447,0x05);
pGame is always 0x242007C
by Cossack
Mon Jul 16, 2012 12:56 pm
Forum: Code Editing
Topic: [1.13c] Need help with ptGame
Replies: 14
Views: 1465

Re: [1.13c] Need help with ptGame

I change X and Y to 0x0 and spawn in the same position

I have no idea what it might be I would be grateful for your help
by Cossack
Sat Jul 14, 2012 8:51 pm
Forum: Code Editing
Topic: [1.13c] Need help with ptGame
Replies: 14
Views: 1465

Re: [1.13c] Need help with ptGame

thx man now it "works"
http://imageshack.us/photo/my-images/854/mob1.png/

I use command .spawn and it spawn monster but when you come up closer to it I see something like this

http://imageshack.us/photo/my-images/831/mob2.png/

Has anyone any idea what is wrong ?
by Cossack
Sat Jul 14, 2012 2:16 pm
Forum: Code Editing
Topic: [1.13c] Need help with ptGame
Replies: 14
Views: 1465

Re: [1.13c] Need help with ptGame

I wants to use this

Code: Select all

FUNCTION(D2GAME, SpawnMoster, VOID STDCALL, (PtGame * pGame, ptRoom * pRoom, DWORD X, DWORD Y, DWORD id), 0x251F0)
So do you have any idea how to do. I would be grateful
by Cossack
Sat Jul 14, 2012 10:04 am
Forum: Code Editing
Topic: [1.13c] Need help with ptGame
Replies: 14
Views: 1465

[1.13c] Need help with ptGame

Hi, Maybe someone could help me with this

I have

Code: Select all

PtGame **pGame = (PtGame **)(D2CLIENT_BASE+0x);
but i don't know address of the ptGame. I will be grateful for your help
by Cossack
Fri Jul 13, 2012 6:40 pm
Forum: Code Editing
Topic: [1.13c] Example SpawnMonster
Replies: 5
Views: 788

Re: [1.13c] Example SpawnMonster

this is only exaple you can spawn superuniques enough in C++ to use this and you can spawn boss
by Cossack
Fri Jul 13, 2012 6:15 pm
Forum: Code Editing
Topic: [1.13c] Example SpawnMonster
Replies: 5
Views: 788

[1.13c] Example SpawnMonster

This is example change Corpsefire to cow king You can download d2game or do it yourselves Link: http://www.speedyshare.com/6MwNN/d2game.dll or do it: 6FC45210 |. 57 PUSH EDI ; /Arg1 => [ARG.5] change to 6FC45210 EB D2 JMP SHORT 6FC451E4 Add 6FC451E4 /E9 922B0D00 JMP 6FD17D7B And add this 6FD17D7B 6A...
by Cossack
Fri Jul 13, 2012 5:28 pm
Forum: Code Editing
Topic: [1.13c] Functions List
Replies: 15
Views: 13552

Re: [1.13c] Functions List

D2Common.#10038 - Get a SuperUnique record
D2Game.6FC451F0 - Spawn a SuperUnique
by Cossack
Thu Jul 12, 2012 8:18 pm
Forum: Code Editing
Topic: [1.13c] How to get unit draw position
Replies: 7
Views: 1390

Re: [1.13c] How to get unit draw position

Maybe u can use this

Code: Select all

FUNCTION(D2CLIENT, GetUnitX, INT FASTCALL, (LPUNITANY pUnit), 0x1630)
FUNCTION(D2CLIENT, GetUnitY, INT FASTCALL, (LPUNITANY pUnit), 0x1660)
FUNCTION(D2CLIENT, GetUnit, LPUNITANY FASTCALL, (DWORD dwId, DWORD dwType), 0x78D30)
by Cossack
Thu Jul 12, 2012 1:17 pm
Forum: Code Editing
Topic: [1.13c] Big stash classic
Replies: 1
Views: 1543

[1.13c] Big stash classic

Search this took me ~2-3h, but I hope that someone be useful. All changes are in D2Client.dll http://imageshack.us/photo/my-images/23/stash2.png/ 6FB3D18C 8D98 0CFFFFFF LEA EBX,[EAX-0F4] 6FB3D192 8DA8 0EFFFFFF LEA EBP,[EAX-0F2] change to 6FB3D18C 8D98 47FEFFFF LEA EBX,[EAX-1B9] 6FB3D192 8DA8 49FEFFF...

Go to advanced search