View Full Version : Weapongrp.dat assembled for other, I use l2asm to disasm...
Hi at all, here is my question:
I use ur program in my client C4, and all works fine, I can modify all.
Well, I tried customized my client, and I add some weapons from another developer. I wanted add my work to his work and...
http://www.megaupload.com/?d=KT32VIGO
Damm, I dont get the txt file :? instead I get an empty txt.
What is the way? Exists?
Thx in advance-
Try using this weapongrp.ddf:
FS = "\t";
RECCNT = OFF;
HEADER = YES;
MTXCNT_OUT = YES;
MATCNT_OUT = YES;
ORD_IGNORE = NO;
{
UINT tag;
UINT id;
UINT drop_type;
UINT drop_anim_type;
UINT drop_radius;
UINT drop_height;
UINT UNK_0;
UNICODE drop_meshtex[2];
UNICODE icon[9];
UINT durability;
UINT weight;
UINT material;
UINT crystallizable;
UINT projectile_?;
UINT body_part;
UINT handness;
MTX mt_pair;
SOFTT = 3;
SOFTM = 2;
UINT item_sound_cnt;
UNICODE item_sound[item_sound_cnt];
SOFT = 4;
UNICODE drop_sound;
UNICODE equip_sound;
UNICODE effect;
UINT random_damage;
UINT patt;
UINT matt;
UINT weapon_type;
UINT crystal_type;
UINT critical;
INT hit_mod;
INT avoid_mod;
UINT shield_pdef;
UINT shield_rate;
UINT speed;
UINT mp_consume;
UINT SS_count;
UINT SPS_count;
UINT curvature;
UINT UNK_2;
INT is_hero;
UINT UNK_3;
UNICODE effA;
UNICODE effB;
ENBBY = [(weapon_type, 5), (weapon_type, 8)];
FLOAT junk1A[5];
FLOAT junk1B[5];
ENBBY = [(weapon_type, 5), (weapon_type, 8)];
UNICODE rangeA;
UNICODE rangeB;
ENBBY = [(weapon_type, 5), (weapon_type, 8)];
FLOAT junk2A[6];
FLOAT junk2B[6];
ENBBY = [(weapon_type, 5), (weapon_type, 8)];
}
I was matching that file wich I use, the config is little bit diferent, but the results is same:
http://fotos.vivito.net/fotosend450026446.jpg
Absolutly empty.
Thx for trying anyway :)
What does it output when you use l2encdec manually ?
Absolutly an empty file, 0 Kbytes, I open it and it is empty.
I was trying with others weapongrp and I have not any problem with them, what can be the cause?
What does it say on the screen ...
Say exactly same msg than shows the program.
RSA dec call.
Packs: 487
At 0/487....
At 256/487....
RSA dec call completed
Whatever manual or by program, you get nothing to see, same msg and an empty file.
I just thinking they make some mistakes deliberately, for people like me.
In that way, it can't be opened.
Maybe a simple space is enough to get nothing as result.
I must say thank you for your atention, this is the only forum where someone has answered to me :roll:
Just, I would like add my work to the work already done by others.
Once more, thank you.
Send me that weapongrp file. I'm curious.
For sure http://www.megaupload.com/?d=KT32VIGO
I sent it too by email, I wouldn't expect your email were available in your profile.
Thank you a lot for your interest.
In the original post you said you added stuff to weapongrp. How ? Did you preserve tabulations ? (or whatever else you set as field delimiter)
What stuff did you change anyway ?
No, I didn't add anything. It belongs to a custom developer, he added his own work, and I want do it too.
I suppossed that too, he didn't preserve the tabulation, but, the strange is, lineage read it... this file works for lineage.
It can be opened if he didn't preserve the tabulation?
Weapon ID 9001 is messed up. It contains B fields (effB, junk1B, etc.), but weapon_type doesn't reflect it (is 0, should be 5 or 8 - fists or duals).
As for L2 accepting it - it would probably be fun, if you actually meet someone wielding this weapon. But I don't know.
"New" version of l2asm/disasm will be a bit more verbose if it comes to errors. Probably :p
Oh... thanks... It's possible get that file in txt?
That guy added ca. 100 weapons with 9000+ ids. I'm not gonna go one by one through them, potentially fixing what he broke. Unless there's another 100% strict way of determining if weapon is dual type (in such case you only need to change ddf file to fit "new" format).
What a work!!
No, you dont need do that, was enough mate. Thank you for all.
It's suppossed they're all duals, but, even so, doesn't deserve so many work 'cos C5 is coming soon, and... who wanna play C4 then?
Thx a lot, this is a good forum and you're working hard on it.
vBulletin® v3.6.7, Copyright ©2000-2010, Jelsoft Enterprises Ltd.