View Full Version : 562/657 glitch fixes
hellman2741
July 26th, 2011, 02:51
I've spent the past... while... fixing these glitches, and I think I've fixed all of them now.
I'll start from the biggest glitches, to the smallest.
The ones that I used a tutorial/snippet to fix, I'll just link people to that tutorial.
There was a snippet made about this.
But it wasn't complete.
So here we go, start in actionsender.
Search "starter" then scroll up until you see all the "Send config" and shit.
Under the last line, add:
sendConfig(5000, player.getHp()*10);
sendSkillLevel(3);
Next, open up Skills.java
Find public void Heal(int hitDiff) {
replace it with:
public void heal(int hitDiff) {
level[3] += hitDiff;
int max = getLevelForXp(3);
if(level[3] > max) {
level[3] = max;
}
int ten = level[3] * 10;
player.getActionSender().sendConfig(5000, level[3] * 10);
player.getUpdateFlags().setAppearanceUpdateRequire d(true);
player.getActionSender().sendSkillLevel(3);
}
Now find public void hit(int hitDiff) {
Replace it with:
public void hit(int hitDiff) {
level[3] -= hitDiff;
if(level[3] < 0) {
level[3] = 0;
}
player.getActionSender().sendConfig(5000, level[3] * 10);
player.getUpdateFlags().setAppearanceUpdateRequire d(true);
player.getActionSender().sendSkillLevel(3);
}
I think that's done, I may have forgotten something, if I did, let me know...
link to the tutorial I used to fix this: Only the registered members can see the link.
Some of you may get this problem because of how your source was made.
If you're using the Noszscape source, you'll get this problem.
When you click on Deflect Mage, it'll bring up the Deflect Range headicon, and vice versa.
Also, for things like jad, you actually need to pray mage, to protect from the range attack.
First, for headicons, go into com-rs2hd-model-HeadIcons.
Scroll down and fine "DeflectMagic" and "DeflectRange", just switch the return values. :p
Next, head into NpcVsPlayer, search for "DeflectMagic" and replace ALL with "Deflect123"
Now search "DeflectRange" and replace ALL with "Deflect321"
Now, search for "Deflect123" and replace ALL with "DeflectRange"
and search "Deflect321" and replace ALL with "DeflectMagic"
Compile, and bam
There were more glitches I fixed, I just can't remember what they were...
So tell me any other ones you need.
Beuner
July 26th, 2011, 10:43
Nice, just needed hp orb fix :D.
Oh and maybe u forgot to say that u need to do this at Player.java for the headicons.
int Deflect123
int Deflect321
Cause I tested it in my noszscape and I needed to add em first
Niator
July 26th, 2011, 11:17
Thanks. This will help the new guys so we wont hear any complaining from them ;)
Beuner
July 26th, 2011, 11:17
Thanks. This will help the new guys so we wont hear any complaining from them ;)
They will always complain :D.
hellman2741
July 26th, 2011, 12:09
Nice, just needed hp orb fix :D.
Oh and maybe u forgot to say that u need to do this at Player.java for the headicons.
int Deflect123
int Deflect321
Cause I tested it in my noszscape and I needed to add em first
/fp
The deflect321 and deflect123 are just placeholders so you can replace DeflectMage with DeflectRange and vice versa.
Read the entire guide, I told you to then replace Deflect123 with Deflect--- and the other with the other.
Corruptice
July 26th, 2011, 13:46
[QUOTE=hellman2741;408951]I've spent the past... while... fixing these glitches, and I think I've fixed all of them now.
I'll start from the biggest glitches, to the smallest.
The ones that I used a tutorial/snippet to fix, I'll just link people to that tutorial.
There was a snippet made about this.
But it wasn't complete.
So here we go, start in actionsender.
Search "starter" then scroll up until you see all the "Send config" and shit.
Under the last line, add:
sendConfig(5000, player.getHp()*10);
sendSkillLevel(3);
Next, open up Skills.java
Find public void Heal(int hitDiff) {
replace it with:
public void heal(int hitDiff) {
level[3] += hitDiff;
int max = getLevelForXp(3);
if(level[3] > max) {
level[3] = max;
}
int ten = level[3] * 10;
player.getActionSender().sendConfig(5000, level[3] * 10);
player.getUpdateFlags().setAppearanceUpdateRequire d(true);
player.getActionSender().sendSkillLevel(3);
}
Now find public void hit(int hitDiff) {
Replace it with:
public void hit(int hitDiff) {
level[3] -= hitDiff;
if(level[3] < 0) {
level[3] = 0;
}
player.getActionSender().sendConfig(5000, level[3] * 10);
player.getUpdateFlags().setAppearanceUpdateRequire d(true);
player.getActionSender().sendSkillLevel(3);
}
I think that's done, I may have forgotten something, if I did, let me know...
Thx For This Rep +++
VoltageX
July 26th, 2011, 15:02
This has already been posted but in various tutorials.
Also, if people are not able to create this they should NOT even think of starting a private server.
Good job on copying I guess?
own4g3
July 26th, 2011, 15:05
This has already been posted but in various tutorials.
Also, if people are not able to create this they should NOT even think of starting a private server.
Good job on copying I guess?
Didn't you made a thread about it 2 days ago?
VoltageX
July 26th, 2011, 15:08
Didn't you made a thread about it 2 days ago?
As far as I can remember all I asked for are frost dragon coords and gfx/anims?
I fixed it all on my own..
own4g3
July 26th, 2011, 15:10
As far as I can remember all I asked for are frost dragon coords and gfx/anims?
I fixed it all on my own..
Damn,
Looks like your memory is weak.
Only the registered members can see the link.
VoltageX
July 26th, 2011, 15:39
Damn,
Looks like your memory is weak.
Only the registered members can see the link.
Which I fixed myself after all.
Nice website btw ;)
Looks like it redirects to a much better site.. *cough*Mine*cough*
OwnsterChief
July 26th, 2011, 15:43
I really hate how your released this, the nubs just wait while 1 and others had to firgure it out, tho you didnt totaly patch the health bug XD.
DeathEvent.java <--- XD
own4g3
July 26th, 2011, 15:46
Which I fixed myself after all.
Nice website btw ;)
Looks like it redirects to a much better site.. *cough*Mine*cough*
CoolStoryBro
Ohh btw, if you open my website it says, "The page isn't redirecting properly".
Looks like you don't even know how to make it redirect properly.
Although nice way of stealing players, that's all you can do.
Because i don't think that someone will play your shitty server.
VoltageX
July 26th, 2011, 15:50
CoolStoryBro
Ohh btw, if you open my website it says, "The page isn't redirecting properly".
Looks like you don't even know how to make it redirect properly.
Although nice way of stealing players, that's all you can do.
Because i don't think that someone will play your shitty server.
If you think my work is shitty,
then your server is shitty too,
because after all you're the one that backstabbed me after I made a whole server for you.
own4g3
July 26th, 2011, 15:55
If you think my work is shitty,
then your server is shitty too,
because after all you're the one that backstabbed me after I made a whole server for you.
I lol'D
You fucking didn't did anything but fucking shit up.
And i didn't bs'd you.
You asked me to share all the donations and i said no. How is this bsing?
When i said no you ip banned me.
/explain?
VoltageX
July 26th, 2011, 16:13
I lol'D
You fucking didn't did anything but fucking shit up.
And i didn't bs'd you.
You asked me to share all the donations and i said no. How is this bsing?
When i said no you ip banned me.
/explain?
You're the one that banned me,
and I asked for 10%;
I did everything, all you did was talk shit to me and others.
So I should've deserved more than that.
umadcuzusuck?
own4g3
July 26th, 2011, 16:17
You're the one that banned me,
and I asked for 10%;
I did everything, all you did was talk shit to me and others.
So I should've deserved more than that.
umadcuzusuck?
You wanted to share the paypal account, not the 10%
I do banned you, but you ip'd me first so i don't wanted you to code for me anymore.
By seeing your posts i can clearly say who "suck".
VoltageX
July 26th, 2011, 16:20
You wanted to share the paypal account, not the 10%
I do banned you, but you ip'd me first so i don't wanted you to code for me anymore.
By seeing your posts i can clearly say who "suck".
I clearly see you suck, yes.
I'm done wasting my time with idiots like you,
have a nice day. :)
own4g3
July 26th, 2011, 16:24
I clearly see you suck, yes.
I'm done wasting my time with idiots like you,
have a nice day. :)
Hey,
Can anyone help me with the HP on the 562/657?
I used the sendConfig(5000, player.getHp()); in the actionsender,
I also made the NPCs have x10 hp and get them to hit x10,
Now all I need help with is the:
1) Player hitting x10
2) Player correctly having x10 hp and orb updating.
Thank you.
Also, if people are not able to create this they should NOT even think of starting a private server.
'Nuff said.
VoltageX
July 26th, 2011, 16:28
'Nuff said.
Legacyx.org nice website.
'Nuff said.
own4g3
July 26th, 2011, 16:29
Legacyx.org nice website.
'Nuff said.
I know bruh.
Beuner
July 26th, 2011, 16:30
Just fight ur war somewhere else :d
hellman2741
July 26th, 2011, 16:48
Don't tell them that!
This is pure GOLD
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.