BEAR WITH ME, my server is COMPLETELY different then palidinos.. so im trying to make this compatibale with you. if imports are incorrect fix them yourself.
Info: Difficulty: 4/10 Tested: Custom base, created from royales. Sexyness: 8/10
Okay well download one of the links and put it in Palidino76.rs2.players; [Only registered and activated users can see links. ] [Only registered and activated users can see links. ] [Only registered and activated users can see links. ]
Its a whopping fuckin 114KB of code =)
Now for some fun, Player.Java
Code:
public boolean normalHomeTele = false;
public boolean ancientsHomeTele = false;
public int homeTele = 0;
public int homeTeleDelay = 0;
public double arenaSpellPower = 1;
public boolean haveItem(Player p, int itemID) {
return haveItem(p,itemID,1);
}
public boolean haveItem(Player p, int itemID, int amount) {
int found = 0;
for (int i = 0; i < p.items.length; i++) {
if (p.items[i] == itemID) {
if(p.itemsN[i] >= amount)
return true;
else
found++;
}
}
if(found >= amount)
return true;
return false;
}
public boolean deleteItem(Player p, int itemId,int amount) {
return deleteItem(p,itemId,getItemSlot(p,itemId),amount);
}
And in Rs2.World.Items.ItemList add this
Code:
public int highAlch = 0;
Actionbuttons add this,
Code:
import palidino76.rs2.players.Magic;
Above the switch add,
Code:
Magic m = new Magic();
Replace 192, and 193 with
Code:
case 192:
m.modernMagicAB(p, buttonId);
break;
case 193:
m.ancientMagicAB(p, buttonId);
break;
Now for some super fun, PAY CLOSE ATTENTION
Replace case 154, and case 70 with these.
Code:
case 154:
Magic.MagicOnItemHandle(p, packetId, packetSize);
break;
case 70:
Magic.magicAop(p, packetId, packetSize);
break;
Add This import
Code:
import palidino76.rs2.players.Magic;
NOTE: Please remove your MagicOnItem and MagicOnPlayer handlers, as this big one has ti all =)
Okay this is The changelog
Code:
Changelog:
Version 1:
- Initial Release
I will be releasing new versions everytime i update it =) which is daily. Gonna fix all ancients.Also add animations for enchant etc.
Rep ++ For me hard work.
Credits:
Palidino - 508's
Royale - His base
Dude in config section - For his hometele
HavocPKZ, and LukeRoge for Helping gather IDS and ETC.
William - For a few bits of code ( NO i didnt take his entire code for Strikes.. ETC)
Sir PK P00n - Magic On Player
Guy that released Magic On Item
If there are errors, post and ill correct. i KNOW something is gonna be wrong i have a feeling. Because my base is a little different. If theres no posts or rep. At least post, i will not release anything else i have.
How is your server "Completely" different than palidino's if you say you only changed the imports..?
i'm imagining that he changed more than just imports
Originally Posted by iLL-ViZi0N
BEAR WITH ME, my server is COMPLETELY different then palidinos.. so im trying to make this compatibale with you. if imports are incorrect fix them yourself.
Info: Difficulty: 4/10 Tested: Custom base, created from royales. Sexyness: 8/10
Okay well download one of the links and put it in Palidino76.rs2.players; [Only registered and activated users can see links. ] [Only registered and activated users can see links. ] [Only registered and activated users can see links. ]
Its a whopping fuckin 114KB of code =)
Now for some fun, Player.Java
Code:
public boolean normalHomeTele = false;
public boolean ancientsHomeTele = false;
public int homeTele = 0;
public int homeTeleDelay = 0;
public double arenaSpellPower = 1;
public boolean haveItem(Player p, int itemID) {
return haveItem(p,itemID,1);
}
public boolean haveItem(Player p, int itemID, int amount) {
int found = 0;
for (int i = 0; i < p.items.length; i++) {
if (p.items[i] == itemID) {
if(p.itemsN[i] >= amount)
return true;
else
found++;
}
}
if(found >= amount)
return true;
return false;
}
public boolean deleteItem(Player p, int itemId,int amount) {
return deleteItem(p,itemId,getItemSlot(p,itemId),amount);
}
And in Rs2.World.Items.ItemList add this
Code:
public int highAlch = 0;
Actionbuttons add this,
Code:
import palidino76.rs2.players.Magic;
Above the switch add,
Code:
Magic m = new Magic();
Replace 192, and 193 with
Code:
case 192:
m.modernMagicAB(p, buttonId);
break;
case 193:
m.ancientMagicAB(p, buttonId);
break;
Now for some super fun, PAY CLOSE ATTENTION
Replace case 154, and case 70 with these.
Code:
case 154:
Magic.MagicOnItemHandle(p, packetId, packetSize);
break;
case 70:
Magic.magicAop(p, packetId, packetSize);
break;
Add This import
Code:
import palidino76.rs2.players.Magic;
NOTE: Please remove your MagicOnItem and MagicOnPlayer handlers, as this big one has ti all =)
Okay this is The changelog
Code:
Changelog:
Version 1:
- Initial Release
I will be releasing new versions everytime i update it =) which is daily. Gonna fix all ancients.Also add animations for enchant etc.
Rep ++ For me hard work.
Credits:
Palidino - 508's
Royale - His base
Dude in config section - For his hometele
HavocPKZ, and LukeRoge for Helping gather IDS and ETC.
William - For a few bits of code ( NO i didnt take his entire code for Strikes.. ETC)
2 Dudes that made MagicOnItem and MagicOnPlayer
If there are errors, post and ill correct. i KNOW something is gonna be wrong i have a feeling. Because my base is a little different. If theres no posts or rep. At least post, i will not release anything else i have.
General Public License
Thanks,
Vizi0n
quoted so couldn't remove
Last edited by Zahhak; 09-30-2008 at 04:24 AM.
Reason: Double posting is not allowed!
What do you mean so i cant remove lol, i wasnt planning on removeing or revising nothing. if people wana be dum then so be it. YES i did change more then imports. Matter of fact, my framework is slightly different. Plus i can hit delete to delete post roflmao?