Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 03.10.2006, 14:15   #1
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default @Alien or Mcrabben

Back in the discussions about adding abnormal effects in the C1 modded server, it was said that the key to getting them to work was an offset in the CSharedData struct that was obtained from this instruction:

PUSH DWORD PTR DS:[EBX+AB0]

I've been trying to get this to work with the C2 server and client for days and I'm guessing that its simply not the right offset. The original one shown was from the C3 server for the C3 client. Is it possible that this value can change from chronicle to chronicle or is it a static value that can always be referenced by EBX+AB0?

If it is possible that it could change, could you explain the process by which you discovered it originally as well as include pointers on how to find the right one?

Thanks guys!
HongK is offline  
Old 03.10.2006, 16:43   #2
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

The 'C3 server' is still a C1 server. The offsets will never change unless a) someone recompiles a brand new exe or b) someone hacks it to be something else.

The Abnormals is NOT an array or anything complicated. It is merely a hex value that has a all of your abnormals AND'ed together (binary AND). Because none of the bits for abnormals overlap, you can get 32 possible abnormals from 1 DWORD.

For example, in my L2EP Elhaym DLL, there is a commented line in UserInfo packet where I said "Root + Bleed + Stun" and had a manually pushed value.

Now in C2 I really don't know how it handles the abnormals. You'd have to check some old documentation and engine.dll to find out. I really don't know for sure.
mcrabben7 is offline  
Old 03.10.2006, 18:36   #3
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

nevermind lol
HongK is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:29.