[Help]coding Arrows in lotf

12/13/2008 08:45 taylor2846#1
can anyone help me Code the arrows in lotf when so when u us them thay go away ty if u help me...
12/13/2008 09:03 alexbigfoot#2
if u was a bit smarter , u should found this thing in ur "AddItem" packet(obviously in LOTF Source)

the last 2 numbers in the accessing packet like , AddItem(0,0,0,0,0,0) are CurArrows and MaxArrows . CurArrows = CurDura and MaxArrows = MaxDura;

to have dura, in lotf source , is kinda rewrite the item system , LOL so...good luck
12/13/2008 10:37 adz06676#3
Quote:
Originally Posted by alexbigfoot View Post
if u was a bit smarter , u should found this thing in ur "AddItem" packet(obviously in LOTF Source)

the last 2 numbers in the accessing packet like , AddItem(0,0,0,0,0,0) are CurArrows and MaxArrows . CurArrows = CurDura and MaxArrows = MaxDura;

to have dura, in lotf source , is kinda rewrite the item system , LOL so...good luck
he said he wanted arrows not dura, stop trying to show off with your poooo coding skillz
12/13/2008 11:15 alexbigfoot#4
OMG , WHAT DONT u get it? dura at items = arrows at "arrows" TOO HARD?
12/13/2008 11:30 _Emme_#5
Quote:
Originally Posted by adz06676 View Post
stop trying to show off with your poooo coding skillz

So true.


And for taylor:

Find the place where it adds the item when you rightclick it, and I think it is 100, 100 at the end, or 0, 0, well change that to 500, 500. There you go, now each arrowpack has 500 arrows.
Im not 100 pct sure with the other part, never ever looked it into LOTF source. Try send a additem packet each time you use a skill , and in Character.cs define CurrentArrows, set it to 0.

Then when you rightclick speedarrow make it get you 500 arrows.


Then at the use scatter skill , you do like this:
uint Arrows = MyChar.CurrentArrows -= 3;
if (Arrows >= 0)
{
UseTheScatterSkill
Then send the additem packet again here, and instead of 500, 500 at the end, do : Arrows, 500
}



And there is alot in between, but its easy i guess.
12/13/2008 16:48 tao4229#6
Ewww, you don't need to resend the item packet.....


What's with you people and sending big packets when it's unnecessary?
12/13/2008 21:26 taylor2846#7
ty for all the help if i get it done il try to get it done i may tell u all how to do it if my frands dont mind