Форум · Полнота восстановления · Каталог вариантов

[Work In progress] Humble Beginnings of an L2Server C++ DLL — Postal — #58937

Сообщение в форуме

Снимок 2007-10-18 00:08 UTC

Имя в снимке: Postal · Источник Wayback

CLan ppl limits

//clan limits

const WORD CLan_0 = 0x0A

const WORD CLan_1 = 0x0F

const WORD CLan_2 = 0x14

const WORD CLan_3 = 0x19

const WORD CLan_4 = 0x1E

const WORD CLan_5 = 0x28

//clan limits

DWORD * NewCLan_0Addr = (DWORD *)0x0051038C;

         *NewCLan_0Addr  = (DWORD)CLan_0;

DWORD * NewCLan_1Addr = (DWORD *)0x005103D6;

         *NewCLan_1Addr  = (DWORD)CLan_1;

DWORD * NewCLan_2Addr = (DWORD *)0x005103E0;

         *NewCLan_2Addr  = (DWORD)CLan_2;

DWORD * NewCLan_3Addr = (DWORD *)0x005103EA;

         *NewCLan_3Addr  = (DWORD)CLan_3;

DWORD * NewCLan_4Addr = (DWORD *)0x005103F4;

         *NewCLan_4Addr  = (DWORD)CLan_4;

DWORD * NewCLan_5Addr = (DWORD *)0x005103FE;

         *NewCLan_5Addr  = (DWORD)CLan_5;

Thanks Bebu :D

Ok so i'm totally noob at this but i'm trying to learn...how would I use the code above in the DLL?

Umm I would just like to point out that in retail you can infact have 40 members in any level clan. It was a update in c2 however it seems to be a little known fact.

"2. The game was revised so that, while the maximum number of clan members had been 40 when the clan level reaches 5, the maximum number is 40 even before the clan reaches level 5. The number of clans that can be included in an alliance was increased to 12."

http://www.lineage2.com/news/chronicle2_15.html

I know it is kind of offtopic but when I see you write this code I feel it is neccessairy to point it out.