Jump to content
  • 0

Change gender and class without relogin


Question

Posted

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

 

 

4 answers to this question

Recommended Posts

  • 0
Posted (edited)
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
  • 0
Posted
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

  • 0
Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...