Jump to content
  • 0

Change gender and class without relogin


Williams

Question

recently I'm curious where I correct the class exchange and sex exchange without relogar, like this video I've searched about the classes that updates this package over at the end where we started these fixes ?

 

we have these two packages that connects with our client and we have the class and sex part. Will the fix be just a polymorph?

 

UserInfo.java

CharInfo.java

 

where does the magic start? @Rootware

 

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
msk = new MagicSkillUse(player, player, 837, 1, 1000, 0);
		Broadcast.toSelfAndKnownPlayersInRadius(player, msk, 1500);
		player.sendMessage("Your gender has been changed");
		player.broadcastUserInfo();
		player.decayMe();
		player.spawnMe();
		player.destroyItem("Consume", item.getObjectId(), 1, null, false);
		return false;

 

 

 

dont change UserInfo or CharInfo. just add this to the code you use npcmanager or item.
in case of npc delete

"player.destroyItem("Consume", item.getObjectId(), 1, null, false);"

 

but as mentioned it can lead to more bugs than benefits.

 

also note that this is on Mobius. some changes might be needed on w/e you use.

Edited by Drazeal
Link to comment
Share on other sites

  • 0
On 8/4/2021 at 8:07 AM, Drazeal said:
msk = new MagicSkillUse(player, player, 837, 1, 1000, 0);
		Broadcast.toSelfAndKnownPlayersInRadius(player, msk, 1500);
		player.sendMessage("Your gender has been changed");
		player.broadcastUserInfo();
		player.decayMe();
		player.spawnMe();
		player.destroyItem("Consume", item.getObjectId(), 1, null, false);
		return false;

 

 

 

dont change UserInfo or CharInfo. just add this to the code you use npcmanager or item.
in case of npc delete

"player.destroyItem("Consume", item.getObjectId(), 1, null, false);"

 

but as mentioned it can lead to more bugs than benefits.

 

also note that this is on Mobius. some changes might be needed on w/e you use.

 

some time ago I made a slight adaptation of the mobius H5 transformation and it was good but unfortunately it didn't seem like a good way to use it in the interlude.

 

with this modification I will see the bugs that appear and try to fix

Link to comment
Share on other sites

  • 0
On 8/5/2021 at 8:56 PM, Williams said:

 

some time ago I made a slight adaptation of the mobius H5 transformation and it was good but unfortunately it didn't seem like a good way to use it in the interlude.

 

with this modification I will see the bugs that appear and try to fix

this works 100% no bugs on all mobius projects. tested. im currenly using it - adapted code from Dav's (l2Pride) sex change item.

also using the PvPincreaser (increases x amount of pvps based on current PvP points, also Dav's)

 item conteiners (Dav's version of open a box for epic weapons etc)

and adapted Multifunction zone (found here).

 

everything works perfectly.  0 bugs or reports just some minor modifications needed on multy zone code to work on mobius.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...