Jump to content
  • 0
Sign in to follow this  
Thorin

P.ring

Question

I'm working on my first ever 718(matrix source/client). Usually, the Perfect ring is the p.ring, however it is not the case here. So i tried unpacking my bonuses.ib to change that, but for some reason, my ItemBonusesUnpacker doesnt seem to work. So here is my question. Does Matrix718 already have such a ring? if so, what ring is it?

Share this post


Link to post
Share on other sites

16 answers to this question

Recommended Posts

  • 0
you only want the effects of a p ring right? Why not make a command to simulate that of a p-ring. something like:
[CODE]
if (playerCommand.equalsIgnoreCase("boost") && c.playerLevel[0] < 5000){
c.playerLevel[0] = c.playerLevel[0] + 5000;
c.playerLevel[1] = c.playerLevel[1] + 5000;
c.playerLevel[2] = c.playerLevel[2] + 5000;
c.playerLevel[3] = c.playerLevel[3] + 5000;
c.playerLevel[4] = c.playerLevel[4] + 5000;
c.playerLevel[5] = c.playerLevel[5] + 5000;
c.playerLevel[6] = c.playerLevel[6] + 5000;
}
[/CODE]
this is what id do on my 317 source but I'm not sure what its like on a 718 revision. Also, if you wanted the effects above permanent you would just add an exception in the function playerLevel or wherever it was draining your stats. Hope this helps :) Edited by A Duck Tale

Share this post


Link to post
Share on other sites
  • 0
[quote name='A Duck Tale']you only want the effects of a p ring right? Why not make a command to simulate that of a p-ring. something like:
[CODE]
if (playerCommand.equalsIgnoreCase("boost") && c.playerLevel[0] < 5000){
c.playerLevel[0] = c.playerLevel[0] + 5000;
c.playerLevel[1] = c.playerLevel[1] + 5000;
c.playerLevel[2] = c.playerLevel[2] + 5000;
c.playerLevel[3] = c.playerLevel[3] + 5000;
c.playerLevel[4] = c.playerLevel[4] + 5000;
c.playerLevel[5] = c.playerLevel[5] + 5000;
c.playerLevel[6] = c.playerLevel[6] + 5000;
}
[/CODE]
this is what id do on my 317 source but I'm not sure what its like on a 718 revision. Also, if you wanted the effects above permanent you would just add an exception in the function playerLevel or wherever it was draining your stats. Hope this helps :)[/QUOTE]

i believe it works on 718 matrix based servers as well.

Share this post


Link to post
Share on other sites
  • 0
Didnt think of that, ill give it a shot, thanks a bunch :)

Share this post


Link to post
Share on other sites
  • 0
Worked liek a charm :)

Share this post


Link to post
Share on other sites
  • 0
Fyi I'm sure Matrix has a command already in there which is ::god I believe.

If not then here's the command

[CODE] case "god":
player.setHitpoints(Short.MAX_VALUE);
player.getEquipment().setEquipmentHpIncrease(Short.MAX_VALUE - 990);
for (int i = 0; i < 10; i++)
player.getCombatDefinitions().getBonuses()[i] = 5000;
for (int i = 14; i < player.getCombatDefinitions().getBonuses().length; i++)
player.getCombatDefinitions().getBonuses()[i] = 5000;
return true;[/CODE]

Share this post


Link to post
Share on other sites
  • 0
thats what mine looks like, cept bonus is 5m and the command is "Thor" lel

Share this post


Link to post
Share on other sites
  • 0
[quote name='Keiron']Fyi I'm sure Matrix has a command already in there which is ::god I believe.

If not then here's the command

[CODE] case "god":
player.setHitpoints(Short.MAX_VALUE);
player.getEquipment().setEquipmentHpIncrease(Short.MAX_VALUE - 990);
for (int i = 0; i < 10; i++)
player.getCombatDefinitions().getBonuses()[i] = 5000;
for (int i = 14; i < player.getCombatDefinitions().getBonuses().length; i++)
player.getCombatDefinitions().getBonuses()[i] = 5000;
return true;[/CODE][/QUOTE]
The matrix "god" command is just 32k hp and max hit with the current weapon your wielding. no exp bonuses

Share this post


Link to post
Share on other sites
  • 0
Mine boosts all my stats to 5m, the way a p.ring would work

Share this post


Link to post
Share on other sites
  • 0
[quote name='Thorin']Mine boosts all my stats to 5m, the way a p.ring would work[/QUOTE]

did you edit the command though?

Share this post


Link to post
Share on other sites
  • 0
Hold on, ill post mine in an edit to this
[CODE] case "thor":
player.getEquipment().setEquipmentHpIncrease(
Short.MAX_VALUE - 990);
for (int i = 0; i < 10; i++)
player.getCombatDefinitions().getBonuses()[i] = 5000000;
for (int i = 14; i < player.getCombatDefinitions().getBonuses().length; i++)
player.getCombatDefinitions().getBonuses()[i] = 5000000;
return true;
[/CODE] Edited by Thorin

Share this post


Link to post
Share on other sites
Sign in to follow this  

×