Thekillerscape
April 20, 2024, 07:43:30 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: So Before Playing Server Register A Account on This Forum Or You'll Get Banned Before You Log IN!

Thank You
 
  Home Help Search Arcade Gallery Staff List Login Register  

How To Make Your Darkbow Shoot

Pages: [1]
  Print  
Author Topic: How To Make Your Darkbow Shoot  (Read 83 times)
killerscape
Administrator
Hero Member
*

Karma: +0/-0
Posts: 75


Hehehe The Great Of Everything!


View Profile WWW
« on: December 26, 2007, 08:46:42 pm »

Files modified : Client.java , Item.cfg
Difficulty : 2/10

Method :

Step 1
Go to item.cfg,most of the time located in the CFG file.Ok,scroll down to the bottom,add this to it :

Code:
item = 15156	Dark_bow	Strong_bow	125000	82	82	82	82	82	82	82	82	82	82	82	95	95

(You can change the bonus's to your own satisfaction

Step 2 :

Go to client.java,search for a bow that already shoots,like a crystal bow or a mage short :

Example,for a mage short you would search for :
Code:
if(playerEquipment[playerWeapon] == 861)
{
 PkingDelay = 15;
 wepdelay = 15;
 UseBow = true;
}

For a crystal bow,you would search for :

Code:
if(playerEquipment[playerWeapon] == 4214)
{
 PkingDelay = 15;
 wepdelay = 15;
 UseBow = true;
}

When you've found them,add this under every one of them you find :
Code:
if(playerEquipment[playerWeapon] == 15156)
{
 PkingDelay = 15;
 wepdelay = 15;
 UseBow = true;
}

Then search :

Code:
if (GoodDistance(EnemyX, EnemyY, absX, absY, 1) == true

Press enter once and copy this into it :

Code:
playerEquipment[playerWeapon] == 15156 || playerEquipment[playerWeapon] == 861 ||

Then depending on what bow works for you server,search this :
Code:
playerEquipment[playerWeapon] == #### || playerEquipment[playerWeapon] == #### ||

Where the #'s are put the id of two of the bows that work on your server.

When you've found one of them,repeat the step above to add the bows correctly.

Explanation :
When you put the

Code:
if(playerEquipment[playerWeapon] == 15156)
{
 PkingDelay = 15;
 wepdelay = 15;
 UseBow = true;
}

Underneath the rest,it means that you are declaring it as a bow.

Code:
playerEquipment[playerWeapon] == 15156 || playerEquipment[playerWeapon] == 861 ||

Means that you are again,delclaring it a bow,basically.

Thank You For Supporting The Guide On How To Make Your Darkbow Shoot Or So Whatever [/img][/img][/img][/img]
Report Spam   Logged




Share on Facebook Share on Twitter



Pages: [1]
  Print  
 
Jump to:  


toolbar Powered By Killerscape Productions! Important Please Read That You Can Only Download If You Trust The Site And The Computer Your Using So If You Want to Download Please Do So IF Not Then You Cannot Not Play Our Server And Your IP Is Not Unforgetable To This Site!!!!
Affiliates
Our Code

Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy