• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[GUIDE]Adding clan to your NPC

Moderator
Staff member
Moderator
Joined
Feb 22, 2008
Messages
2,404
Reaction score
724
Look for the you .spc field file that you want to add clan, and open it in any hex editor.

Search for the NPC that you want to add clan.
A few bytes after that letter, it's the Clan Code.
SheenBR - [GUIDE]Adding clan to your NPC - RaGEZONE Forums


Changing the Clan

For example, lets take this clan code: (1000000001)
Convert it to hex.

1000000001 > 3B9ACA01

Convert it to a "pointer" -> 01CA9A3B

Take a look:
SheenBR - [GUIDE]Adding clan to your NPC - RaGEZONE Forums


PS: You dont need clan system acctually working to NPC to work with clan.

SheenBR - [GUIDE]Adding clan to your NPC - RaGEZONE Forums



Credits: Lokoboy & felipe_dev
 
Last edited:
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
Nice... so we could add NPCs to Clan "Tempeskron" or Clan "Morion". XD That would be quite cool.
 
RZA-PT | KilroyPT
Joined
Aug 27, 2007
Messages
936
Reaction score
85
sorry to bump, SheenBR do you have the pictures for this? without the pictures the guides not much use lol
 
RZA-PT | KilroyPT
Joined
Aug 27, 2007
Messages
936
Reaction score
85
found it, will update guide with pictures later (maybe)

basically:
Each NPC is 0x1F8 in length,

Code:
ø...p.GHŬ·£ ¸¶½ºÅÍ.....................char\npc\TN-011\TN-011.ini......................................GameServer\npc\Real_ClanMaster.NPC..............................X!...Êš;................_...W...P...P...¾...„.......j...e...Ÿ...............Á.......%.......´...„.Í.................................d.d.d...‘.‘.43³?{.î?....˜î–.–ÔÃX²o......................2...................•˜þÿ................ÛÛ}•......................................................................... ...£...Ø...ƹÿ....ß...........

At 0xAC (two "0x00"'s after the "X!" if looking at the ascii side)
is the start of the clan number,
get your clan number
(i.e 1000000001,
turn to hex. -3B 9A CA 01.
Little endian that sh*t (reverse the byte order) - 01 CA 9A 3B)

And save it.
Restart the server
Baboom.
 
Back
Top