• 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.

Item.bmd 97d - 1024 items!

Joined
May 21, 2012
Messages
708
Reaction score
301
Well as you all know in the 97d version item.bmd only have 512 items!
I'm almost finished my project that already item.bmd 1024 items!

ph4mskj - Item.bmd 97d - 1024 items! - RaGEZONE Forums

7nWGFv - Item.bmd 97d - 1024 items! - RaGEZONE Forums



void _stdcall NewItems ()
{
for ( int i = 0 ; i < 12 ; i ++)
{
for ( int x = StartFrom [ i ]; x < 512 ; x ++)
{
WORD ItemID = ( ItemOffset_Arrays +( i * 512 )+ x );
LoadItem ( ItemID , Folder [ i ], Name [ i ], ( x + 1 ));
if ( i >= 7 && i <= 11 )
{
LoadTexture ( ItemID , "Player\\" , 0x2901 , 0x2600 , 1 );
}
else
{
LoadTexture ( ItemID , "Item\\" , 0x2901 , 0x2600 , 1 );
}
}
}
}


typedef void (* TLoadItem )( WORD , char *, char *, WORD );
TLoadItem LoadItem = ( TLoadItem ) 0x000000 ;

typedef void (* TLoadTexture )( WORD , char *, int , int , int );
TLoadTexture LoadTexture = ( TLoadTexture ) 0x000000 ;

#define ItemOffset_Arrays 493 // in dec -> 1171

int StartFrom [ 12 ] = { 36 , 9 , 19 , 12 , 25 , 36 , 22 , 74 , 74 , 74 , 74 , 74 };

char * Folder [ 2 ] = { "Data\\Item\\" , "Data\\Player\\" };
char * Name [ 12 ] = { "Sword" , "Axe" , "Mace" , "Spear" , "Bow" , "Staff" , "Shield" , "HelmMale" , "ArmorMale" , "PantMale" , "GloveMale" , "BootMale" };

void _stdcall NewItems (

Download Link

View attachment Νέο - Έγγραφο κειμένου.txt
 

Attachments

You must be registered for see attachments list
Joined
Oct 29, 2007
Messages
1,292
Reaction score
1,314
I think that you're crazy, because this is very hard to do since the main.exe has many functions related to items, and although it is an old version of main.exe as is the: 0.97d, anyway remains a very difficult job, but you also decompile the main completely and return to reformulate all code thereof, to change the structure of the items and load etc you will need to do the same for your GameServer 0.96.40 (since.. 97d main.exe weights: 4.89 MB).

Sorry, but this is completely crazy! :p:
 
Last edited:
Junior Spellweaver
Joined
Sep 22, 2008
Messages
126
Reaction score
37
97d doesn't have 512 item per group, it has 32, don't know where u get your info.

And like mauro said, you would have to rebuild almost everything, gs, main, item structure in db...
 
Back
Top