[Solved] Add NPC help with strs
Hello Guys, I'm trying to add new NPCs on my server, as the project that Meylan release.
I already have some strs to edit the project, but others I can not find, I tried to search the tutorial novanakal "Make header Strs" but i dont find, I tried to search the zoneserver.h, but I do not find anything ...
The strs missing are:
- NPC_Chat_str
- NPC_ChatW_str
- NPCharacterW_str ---> i have NPCharacter.strs but dont work in this dat
- NPCLinkItem_str ---> the same here
- StoreList_str ---> and same here too, i have storelist.strs but not work on StoreList_str
I have NPC_Chat.strs but from 2.2.3, and i try put on 2.2.3.2 and don't work (Obvious)
Code:
[filemask="Npc_Chat.dat"]
struct Npc_ChatFile
{
u32 nBlocks;
u32 nColumns;
u32 nSize;
child Npc_ChatBlock [count=nBlocks];
}
struct Npc_ChatBlock [preload=1]
{
u32 nCount;
cstr [len=64] NpcCode;
cstr [len=2560] NPCMessage;
}
Someone can give me clue where i can find or where i can made ?
Re: Add NPC help with strs
if you are looking for str serverside :
| _NameTxt_fld |
Script/ |
_str.dat |
| _CashShop_str_fld |
Script/ |
CashShop_str.dat |
| _mobmsg_fld |
Script/ |
MobMessage_str.dat |
but, i don't see the point why you want to change it, if you want to change NPC name/NPC chat, you just need to edit NDStore.edf
Re: Add NPC help with strs
No, i want add new NPCS, take a look (http://forum.ragezone.com/f479/relea...nline-1035973/)
I dont understand, you told me 3 str, what i will do with this ?
NPC_Chat_str --> i will _str for this ?
NPC_ChatW_str --> and here too ?
NPCharacterW_str --> here will be MobMessage ??
NPCLinkItem_str
StoreList_str
Re: Add NPC help with strs
all of _str use above header, it's not that hard to make strs even without the info from header zone...
for W_str, it's the same as _str, the only different is cstr length,
_str length only 64, and W_str length use 2560...
you can just do hex editor to figure it out...
2 Attachment(s)
Re: Add NPC help with strs
Thank you Likertuban, i made _str and work fine for : NPCharacter_str , NPCLinkItem_str and StoreList_str. But for NPC_Chat_str dont work....
See...
Attachment 150150
Here my Strs:
Code:
[filemask="*_str.dat"]
struct _StrFile
{
i32 nBlocks;
i32 nColumns;
i32 nBlockSize;
child _StrBlock [count=nBlocks];
}
struct _StrBlock [preload=1, tableview=1]
{
u32 nCount;
cstr [len=64] ItemCode;
cstr [len=64] Korea_Language;
cstr [len=64] Brazil_Language;
cstr [len=64] China_Language;
cstr [len=64] USA_Language;
cstr [len=64] Indonesia_Language;
cstr [len=64] Japan_Language;
cstr [len=64] Philipine_Language;
cstr [len=64] Rusia_Language;
cstr [len=64] Taiwan_Language;
cstr [len=64] Vietnam_Language;
cstr [len=64] Global_Language;
}
I do what you told... change len 64 to 2560 for W_str but dont work...
Attachment 150151
Here the Strs:
Code:
[filemask="*W_str.dat"]
struct W_StrFile
{
i32 nBlocks;
i32 nColumns;
i32 nBlockSize;
child W_StrBlock [count=nBlocks];
}
struct W_StrBlock [preload=1, tableview=1]
{
u32 nCount;
cstr [len=2560] ItemCode;
cstr [len=2560] Korea_Language;
cstr [len=2560] Brazil_Language;
cstr [len=2560] China_Language;
cstr [len=2560] USA_Language;
cstr [len=2560] Indonesia_Language;
cstr [len=2560] Japan_Language;
cstr [len=2560] Philipine_Language;
cstr [len=2560] Rusia_Language;
cstr [len=2560] Taiwan_Language;
cstr [len=2560] Vietnam_Language;
cstr [len=2560] Global_Language;
}
Obs: I made this strs based on the novanakal disclosed to a time
Re: Add NPC help with strs
itemcode is 64, the rest is 2560 -_-"
as i said try to hex, and you should know where did you get wrong -_-"
Re: Add NPC help with strs
Thank you a lot Likertuban i can made all strs.... some _str i used for W_str and some W_str for _str.... pretty crazy but I did
:thumbup::w00t:
Can close thread and put solved =)