[Help] Fixing Arrows in lotf

08/22/2008 10:26 Drednougt#1
anyone know how to fix the arrows in lotf when u use them they will actly go away? if so please tell me how
08/22/2008 12:17 Think-Fast#2
They call that "Coding" not "Fixing"
08/22/2008 13:53 alexbigfoot#3
good point Think-Fast
08/22/2008 16:13 _Emme_#4
Its just to get used to it. Everyone say "fix" nowadays,like hadeset did a bad job and did'nt got it working,well its called "coding". Heres the thing,hadeset never added that,well he tried,but failed. When I get my computer running I think I could release a code of that problem,currently my computer is not even possible to start.
08/22/2008 17:37 alexbigfoot#5
emildayan1 we are waiting XD
08/29/2008 22:41 elragal_30#6
Quote:
Originally Posted by alexbigfoot View Post
emildayan1 we are waiting XD
yea i'm waiting also
i wondered i seen this problem in alot Servers soruces (PVP -Lvling)
is it very hard to code ???
08/30/2008 09:54 YukiXian#7
Shouldn't be too hard, ...

Just code something like this or something, @ Scatter skill :

MyChar.Arrows -= 3;
08/30/2008 14:43 elragal_30#8
Quote:
Originally Posted by YukiXian View Post
Shouldn't be too hard, ...

Just code something like this or something, @ Scatter skill :

MyChar.Arrows -= 3;
i think u speak another thing
we don't talk about scatter or Archer skills
when u click on arrow in ur invetory, u should get them in ur Equip R-Hand and see number of arrow Like 500 100 20 .... Blah blah
but it show 500 some times but u can't use them (it say "you are used ur equip arrows")
and another soruces when u click it it just disapear
i don't try on lotf or Steal or Shadow (All new soruces) because i can't use them (get empty message on all of them)
08/30/2008 15:43 _Emme_#9
LOL @ Yuki

You cant only code that,that would make no difference. The thing you have to do,is:

First,you define something like Arrows,ok lets say we call that Arrows,so then we got a code that can be used,which is MyChar.Arrows

Now,we gotta make so everytime you rightclick at an arrow,you get 500 of em, MyChar.Arrows amout will be 500.

Now,at the scatter skill, we have to code so it withdraw 3 of MyChar.Arrows,that would look something like this:

if (mycharusescatterskill && MyChar.Arrows > 3)
MyChar.Arrows -= 3;

else if (MyChar.Arrows < 3)
SendMessage("You are out of arrows. Please refill")


Thats just an example,not sure if it would or will work,and the coding arent right either :P

Emme
09/02/2008 10:11 Rechocto#10
Quote:
i think u speak another thing
we don't talk about scatter or Archer skills
when u click on arrow in ur invetory, u should get them in ur Equip R-Hand and see number of arrow Like 500 100 20 .... Blah blah
but it show 500 some times but u can't use them (it say "you are used ur equip arrows")
and another soruces when u click it it just disapear
i don't try on lotf or Steal or Shadow (All new soruces) because i can't use them (get empty message on all of them)

Who let you out of your cage?

not flaming, I seriously want to know...



as for arrows going down, pop into Entities.cs and find where you do damage and throw a check in there to see if you are wielding a bow and then Mychar.Arrows -= 1;