- Joined
- Dec 30, 2012
- Messages
- 1,758
- Reaction score
- 180
this code for change upgrade your item like weapon,armor and jetpack
for change slot in your item.etc
and for selling item in npc.
dont forget edit for server side and client side
tt1:
and this for storelist and store strs
storelist
store
strs copyright: I know this strs from novanakal but my friend has delet some information about this file -_-
for change slot in your item.etc
and for selling item in npc.
dont forget edit for server side and client side
Code:
slot 7 no upgrade talic= 0x7fffffff
===========================
slot 7 +1
keen talic/igno: 7ffffff0
darkness: 7ffffff2
favor: 7ffffff5
mercy: 7ffffffc
grace: 7ffffffb
vampire:7ffffff1
chaos: 7ffffff3
============================
slot 7 +2
keen talic/igno: 7fffff00
darkness: 7fffff22
favor: 7fffff55
mercy: 7fffffcc
grace: 7fffffbb
vampire: 7fffff11
chaos: 7fffff33
============================
slot 7 +3
keen talic/igno: 7ffff000
darkness: 7ffff222
favor: 7ffff555
mercy: 7ffffccc
grace: 7ffffbbb
vampire: 7ffff111
chaos: 7ffff333
============================
slot 7 +4
keen talic/igno: 7fff0000
darkness: 7fff2222
favor: 7fff5555
mercy: 7fffcccc
grace: 7fffbbbb
vampire: 7fff1111
chaos: 7fff3333
=============================
slot 7 +5
keen talic/igno: 7ff00000
darkness: 7ff22222
favor: 7ff55555
mercy: 7ffccccc
grace: 7ffbbbbb
vampire: 7ff11111
chaos: 7ff33333
===============================
slot 7 +6
keen talic/igno: 7f000000
darkness: 7f222222
favor: 7f555555
mercy: 7fcccccc
grace: 7fbbbbbb
vampire: 7f111111
chaos: 7f333333
==================================
slot 7 +7
keen talic/igno: 70000000
darkness: 72222222
favor: 75555555
mercy: 7ccccccc
grace: 7bbbbbbb
vampire: 71111111
chaos: 73333333
Code:
talic kode:
0 = keen talic/igno
2 = darkness
5 = favor
c = mercy
b = grace
1 = vampire
3 = chaos
Code:
slot code "without upgrade"
0x7fffffff = have 7 slot
0x6fffffff = have 6 slot
0x5fffffff = have 5 slot
0x4fffffff = have 4 slot
0x3fffffff = have 3 slot
0x2fffffff = have 2 slot
0x1fffffff = have 1 slot
0xffffffff = no have slot
tt1:
and this for storelist and store strs
storelist
Code:
[filemask="StoreList.dat"]
struct StoreListFile
{
u32 StoreListBlocks;
u32 StoreListColumns;
u32 StoreListBlockSize;
child ---> [count=StoreListBlocks];
}
struct ---> [preload=1, tableview=1]
{
enum32 [enum=NPC_NAME] "nCount";
cstr [len=64] ID;
cstr [len=64] strBinding_DummyName;
cstr [len=64] strStore_NPCcode;
cstr [len=64] strStore_NPCname;
cstr [len=64] strStore_MAPcode;
nodename ("NPC Code: "+strBinding_DummyName+" at "+strStore_MAPcode);
i32 Store_trade;
i32 bSet_NPCangle;
i32 Store_NPCangle;
repeat 10
{
i32 Npc_Class;
}
i32 Store_LISTcount;
i32 Limit_Listcount;
i32 LimitItem_InitTime;
i32 PriceSet;
x32 ItemUpCode;
repeat 200
{
cstr [len=64] strItemlist;
}
repeat 16
{
cstr [len=64] strItemCode;
i32 MaxCount;
}
}
enum NPC_NAME
{
"Green_Eye"=0
"Mahr Ban"=1
"Sebal Aktan"=2
"El Luna"=3
Karmily=4
Taha Azlani=5
Monk=6
Jaidan=7
Jurike=8
Amin Sharara=9
Durba=10
Duna=11
Tatar=12
El Dun Tanta=13
}
store
Code:
[filemask="Store.dat"]
struct StoreFile
{
u32 nBlocks;
u32 nSize;
child StoreBlock [count=nBlocks];
}
struct StoreBlock [preload=1, tableview=1]
{
u32 [tag="Index"] DWORD;
x32 [tag="ID"] DWORD;
u8 [tag="Race_Code"] DWORD;
cstr [len=32] "Npc_Type";
cstr [len=32] "Npc_Name";
cstr [len=32] "Npc_Code";
u32 [tag="Type_Store"] DWORD;
u8 [tag="-------"] DWORD;
u8 [tag="-------"] DWORD;
u8 [tag="-------"] DWORD;
u32 [tag="-------"] DWORD;
float [tag="-------"] DWORD;
u32 [tag="Slot_Count_Jumlah_Slot"] DWORD;
repeat 200
{
u32 [tag="Shop_Code"] DWORD;
x32 [tag="Item_Code"] DWORD;
}
repeat 10
{
u8 [tag="NPCButton"] DWORD;
}
repeat 3
{
cstr [len=1024] "Description";
}
u16 [tag="-----"] DWORD;
u32 [tag="Max_Limit"] DWORD;
x32 [tag="Slots_Item"] DWORD;
u32 [tag="NONE"] DWORD;
repeat 16
{
u32 [tag="NONE"] DWORD;
x32 [tag="NONE"] DWORD;
u32 [tag="NONE"] DWORD;
}
}
strs copyright: I know this strs from novanakal but my friend has delet some information about this file -_-
Last edited: