Search found 65 matches

by P.J.
Sat Aug 25, 2018 7:30 pm
Forum: Code Editing
Topic: GFXCropRect structure
Replies: 1
Views: 92
Russia

GFXCropRect structure

Hello

Want to draw a part of image, found in this topic following func:

Code: Select all

#10077 void __stdcall DrawClippedImage(D2GFXDataStrc* pData, int nXpos, int nYpos, GFXCropRect* pCropRect, int nDrawMode)
Anyone know a GFXCropRect structure?

Many thanks
by P.J.
Sun Aug 12, 2018 11:03 pm
Forum: Code Editing
Topic: Damage Display Color [1.10f]
Replies: 0
Views: 97
Russia

Damage Display Color [1.10f]

Hi

There is any info how color assigns to damage values in stat screen? I was changed it for spell damage display however for weapon damage its should be more complex, i assume its choose the color in case of bigger value of element or something like that.

Thanks
by P.J.
Sun Aug 12, 2018 4:23 pm
Forum: Code Editing
Topic: Clickable area behind the Image (1.10f)
Replies: 0
Views: 69
Russia

Clickable area behind the Image (1.10f)

Hello Was added a custom panel which opens from the skill-tab panel with new button but draws in the left part of screen (where stash,cube and etc opens). Its work fine but area behind this panel is responds to mouse clicks and force char to move. Its possible to restrict it and make the behaviour l...
by P.J.
Thu Aug 09, 2018 5:18 pm
Forum: General Mod Making
Topic: Testing new base items
Replies: 8
Views: 197
Russia

Re: Testing new base items

You can also add some easy test cube recipes to test (smth like "mana potion -> your item" and etc)
by P.J.
Tue May 22, 2018 12:39 am
Forum: General Mod Making
Topic: Levels.txt question
Replies: 9
Views: 241
Russia

Re: Levels.txt question

As another softcoded trick, there is possible to use minion column just as it was done with Fallen Shaman.
by P.J.
Mon May 21, 2018 6:15 pm
Forum: General Mod Making
Topic: Levels.txt question
Replies: 9
Views: 241
Russia

Re: Levels.txt question

What version are you running?
If you are at 1.10f you can add mon columns till 25. They are processed but not present in levels.txt by default.
by P.J.
Sat May 19, 2018 3:12 pm
Forum: Code Editing
Topic: [1.10] Sync Stats with Server
Replies: 2
Views: 160
Russia

Re: [1.10] Sync Stats with Server

Many thanks again, Necrolis! Recoded the logic by your suggestion, now works perfectly.
by P.J.
Fri May 18, 2018 11:08 pm
Forum: Code Editing
Topic: [1.10] Sync Stats with Server
Replies: 2
Views: 160
Russia

[1.10] Sync Stats with Server

Hello Tried to add some new buttons to stat screen. All looks good but stats are changes only on client side. Function used to get pUnit: D2FUNC(D2CLIENT, PlayerUnit, unit*, __stdcall, (), 0x0883D0); To add stat: D2FUNC(D2COMMON, AddStat, BYTE, __stdcall, (unit* pUnit, int stat, int value, int layer...
by P.J.
Thu May 10, 2018 11:15 pm
Forum: Dark Alliance
Topic: Additional testers needed (all spots filled)
Replies: 22
Views: 2730
Russia

Re: Additional testers needed (all spots filled)

Karas wrote:
Wed May 09, 2018 7:08 pm
Hi Kingpin is there a possibility to join to testing DA?
Thanks
At least you can just download this mod, play and enjoy it. And if you face some bugs - post them to respective topic here. In my experience, Kingpin, read all of them carefully and provide response. :)
by P.J.
Thu May 10, 2018 11:09 pm
Forum: Code Editing
Topic: [1.10] Statscreen\Panel Button areas
Replies: 0
Views: 129
Russia

[1.10] Statscreen\Panel Button areas

Hello There are any offsets of assign stat point buttons in char screen and new stat\skill buttons in main panel? I'm planning to replace them, change the dc6 file is not a big deal but i need to correct a clickable area as well because new graphics is not 32x32. I tried so set up a breakpoint to st...
by P.J.
Tue May 08, 2018 3:10 pm
Forum: Member Аnnouncements
Topic: [1.10] D2GFEx - New Graphics Driver => Feedback Stage
Replies: 21
Views: 1245
Russia

Re: [1.10] D2GFEx - New Graphics Driver => Feedback Stage

sounds great. Panel positions will be softcoded for some way?
by P.J.
Thu May 03, 2018 11:26 pm
Forum: Code Editing
Topic: [1.10] Mouse Cursor Position
Replies: 2
Views: 124
Russia

[1.10] Mouse Cursor Position

Hello

There is any function which returns mouse cursor position in D2? I'm working to add some hover boxes in stat screen (like pop ups when you move cursor on defence). For this i need to know cursor position. Or only way to get it to use GetCursorPos C function or something in this way?

Thanks
by P.J.
Wed May 02, 2018 10:46 pm
Forum: Code Editing
Topic: [1.10] Retreive pGame
Replies: 4
Views: 162
Russia

Re: [1.10] Retreive pGame

Thank you for help, guys, its working perfectly now.
by P.J.
Wed May 02, 2018 2:08 pm
Forum: Code Editing
Topic: [1.10] Retreive pGame
Replies: 4
Views: 162
Russia

Re: [1.10] Retreive pGame

So i need something like: MOV EDX,ECX MOV ECX, DWORD PTR DS:[EDX+80] PUSH EDX PUSH ECX Before the call to my func? ==========UPDATE========== So as i understand i should setup like this? Original: 6FC97CF1 |. 8B4F 0C MOV ECX,DWORD PTR DS:[EDI+0C] ;Retrieving pUnit 6FC97CF4 |. 53 PUSH EBX ; /Arg4 Unk...
by P.J.
Wed May 02, 2018 11:56 am
Forum: Dark Alliance
Topic: Bug Report for 0.05.00.10.20
Replies: 94
Views: 4885
Russia

Re: Bug Report for 0.05.00.10.20

Here is some more. https://i.imgur.com/cGgC8jO.jpg As you see this marked as Paladin Only but i am able to read it by Necro (Bug or not idk) After reading it in trade screen, looks like it should drop it but it not. Also all items disappears. https://i.imgur.com/ro1vbUM.jpg After Esc and open trade ...
by P.J.
Wed May 02, 2018 11:31 am
Forum: Code Editing
Topic: [1.10] Retreive pGame
Replies: 4
Views: 162
Russia

[1.10] Retreive pGame

Hello For add 1 skill point by Den of Evil quest there is a call of addStat func: 6FC97CF4 |. 53 PUSH EBX ; /Arg4 Unknow 6FC97CF5 |. 6A 01 PUSH 1 ; |Arg3 = 1 Stat Value 6FC97CF7 |. 6A 05 PUSH 5 ; |Arg2 = 5 StatId ftom ISC 6FC97CF9 |. 51 PUSH ECX ; |Arg1 pUnit 6FC97CFA |. E8 BB3B0800 CALL <JMP.&D2Com...
by P.J.
Tue May 01, 2018 5:52 pm
Forum: Dark Alliance
Topic: Bug Report for 0.05.00.10.20
Replies: 94
Views: 4885
Russia

Re: Bug Report for 0.05.00.10.20

Here you go
by P.J.
Tue May 01, 2018 5:42 pm
Forum: Dark Alliance
Topic: Bug Report for 0.05.00.10.20
Replies: 94
Views: 4885
Russia

Re: Bug Report for 0.05.00.10.20

kingpin wrote:
Tue May 01, 2018 5:30 pm
thanks, will check that out. Do missile work on other targets?
Just tried vs zombie. First one succeeded, second - same crash.
vs goblin - crashes also.
Sometimes one missile succeeds.

PS. i can share dump if it helps
by P.J.
Tue May 01, 2018 4:57 pm
Forum: Dark Alliance
Topic: Bug Report for 0.05.00.10.20
Replies: 94
Views: 4885
Russia

Re: Bug Report for 0.05.00.10.20

After shooting quillrat by necrotic bolt - game crashed (when missile hit the target) 18:53:16.466 -------- FILE: D2Game\GAME\Arena.cpp LINE: 172 -------- Assertion Failure Location : D2Game\GAME\Arena.cpp, line #172 Expression : ptArenaUnit 18:54:13.475 Stack bytes: 18:54:13.475 0019F67C: 00B24900 ...
by P.J.
Mon Apr 30, 2018 11:42 pm
Forum: Code Editing
Topic: [1.10] D2SeedStrc struct
Replies: 3
Views: 156
Russia

Re: [1.10] D2SeedStrc struct

Yeah, thanks. I just find that it will be struct D2SeedStrc { DWORD lowSeed; DWORD highSeed; }; Just maybe few more questions to not spawn new topics. D2CoordStrc will be: struct D2CoordStrc { //these coords and sizes are expanded by 5 DWORD ...; //+00 DWORD ..; //+04 }; Thanks correct? Also in D2Ob...
by P.J.
Mon Apr 30, 2018 10:26 pm
Forum: Code Editing
Topic: [1.10] D2SeedStrc struct
Replies: 3
Views: 156
Russia

[1.10] D2SeedStrc struct

Hello

Searching for D2SeedStrc structure, probably anyone from senior coders can share the knowledge?

Regards
by P.J.
Sun Apr 29, 2018 7:06 pm
Forum: General Mod Making
Topic: Skilltab IDs ?
Replies: 1
Views: 95
Russia

Re: Skilltab IDs ?

Hi

You can check this link. There is a table with ids
by P.J.
Sat Apr 28, 2018 10:06 am
Forum: Code Editing
Topic: +all skills function [1.10]
Replies: 1
Views: 124
Russia

+all skills function [1.10]

Hi

Searching how to remove particular skill from +all skills/+all class skills/+skill tab bonus. Probably someone investigated how this functions works or at least point me from where is should to start.

Thanks
by P.J.
Mon Dec 18, 2017 7:01 pm
Forum: Dark Alliance
Topic: Pre-Alpha version release (0.05.00.10.13)
Replies: 13
Views: 523
Russia

Re: Pre-Alpha version release (0.05.00.10.13)

You right, after re-login they are stoped to work, just checked now.
by P.J.
Mon Dec 18, 2017 6:27 pm
Forum: Dark Alliance
Topic: Bug Report for 0.05.00.10.20
Replies: 94
Views: 4885
Russia

Re: Bug Report for 0.05.00.10.13

1) Debug log flooded by following messages: 20:08:02.232 Error opening file: DATA\GLOBAL\MONSTERS\!R\COF\!RDTbow.COF 20:08:02.232 Could not add cof file: DATA\GLOBAL\MONSTERS\!R\COF\!RDTbow.COF 20:08:02.232 sAsyncLoadBlock failed on async:1 unittype:1 unitclass:900 unitmode:0 weaponclass:1 wclass:54...

Go to advanced search