Weapon Holding

02/08/2013 15:57 derpingson#1
Hello,
Quick question: where are the codes of weapon holding(right/left) situated?

i ran a quick search and didn't find anything

Thank you
02/08/2013 17:27 Super Aids#2
What do you exactly mean?

Packets associated with it?

Then it's the Item usage packet (1009).
02/08/2013 17:47 derpingson#3
The ninja's Scythe is counted as a 1Handed weapon, i can equip a scythe + club/katana.

i wanted to know where the "things" that make a weapon 1h or 2h are
02/08/2013 19:24 diedwarrior#4
If you're using impulse base, there's a pool named can2hand&can2wpn if i recall the names correctly.
02/08/2013 20:44 derpingson#5
looked for can2hand&can2wpn
looked for can2
looked for hand&can
looked for 2wpn

didn't find any, and yes i'm using Impulse base and to search i used CTRL+F > current Project
02/08/2013 21:13 diedwarrior#6
Make the search mode Entire solution.
02/08/2013 21:20 derpingson#7
Same result :(
02/08/2013 21:33 diedwarrior#8
you do understand that you should search for can2wpn and can2hand alone not together, they're in packet handler, I just made sure =/
02/08/2013 21:46 derpingson#9
Yes, and didn't find anything

however i found this

Quote:
public static bool IsTwoHand(uint ID)
{
return (ID.ToString()[0] == '5');
}
but to be honest, i've no idea what does this mean
02/08/2013 22:36 Super Aids#10
It means that if the first digit of the uid is 5 then it's 2 handed.

It's a simple c# code.
02/08/2013 22:54 derpingson#11
schythe's Uid is 511xxx
wtf?!
02/09/2013 08:34 Super Aids#12
It starts with 5.
02/09/2013 08:43 xXMeGaMiKyXx#13
siete tutti ingesi?
02/09/2013 08:47 shadowman123#14
well what u should look for isnt can2Hand or can2wep .. cuz it might be not Included .. u should Search for EquipItem void .. but honestly i dont think u can handle this as u miss alot of knowlage in both source & C# u should study them in order to understand how to fix that

Quote:
Originally Posted by derpingson View Post
looked for can2hand&can2wpn
looked for can2
looked for hand&can
looked for 2wpn

didn't find any, and yes i'm using Impulse base and to search i used CTRL+F > current Project
surely it wont give u any result as its written in correct way .. it should be like that :-

search for can2wep Or can2hand