Jump to content
  • 0

Genre switching without relogin


Question

Posted

recently i redid my code and i change gender and update for the other players and not for me which package needs to be updated?

 

View from another player:

 

my vision:

 

Screenshot_92.png.39b3df74a3b33cff0ea3a3691e2f7e1f.png

 

Recommended Posts

  • 1
Posted
47 minutes ago, Vince* said:

 

If i am not mistaken you're not the only one who faced up that client side issue, many interlude servers that was trying to activate same feature had difficulties, so the only option you will have is to make restart whenever you're changing Genre.... It's the only way to work correctly..

 

indeed, and i remember that in a server i joined last time i saw the same issue, so owner said that you should do restart whenever you were requested to change genre or even by donating for it...

 

  • Thanks 1
  • 0
Posted
46 minutes ago, HyperBlown said:

CharInfo, UserInfo ? Usually transforming and untransforming works.

 

he is using C6 client or less

  • 0
Posted (edited)
2 hours ago, Williams said:

recently i redid my code and i change gender and update for the other players and not for me which package needs to be updated?

 

View from another player:

 

my vision:

 

Screenshot_92.png.39b3df74a3b33cff0ea3a3691e2f7e1f.png

 

 

If i am not mistaken you're not the only one who faced up that client side issue, many interlude servers that was trying to activate same feature had difficulties, so the only option you will have is to make restart whenever you're changing Genre.... It's the only way to work correctly..

26 minutes ago, xdem said:

 

he is using C6 client or less

 

indeed, and i remember that in a server i joined last time i saw the same issue, so owner said that you should do restart whenever you were requested to change genre or even by donating for it...

Edited by Vince*
  • 0
Posted (edited)
6 minutes ago, AbsolutePower said:

 

 

Dunno which client the user is using abso, But many servers that they were having same feature, they couldn't fix it.... thanks for this usefull video anyways, you're hero! 🙏🏻

Edited by Vince*
  • 0
Posted
27 minutes ago, Vince* said:

 

Não sei qual cliente o usuário está usando abso, mas muitos servidores que eles estavam tendo o mesmo recurso, eles não poderiam corrigi-lo.... obrigado por este vídeo útil de qualquer maneira, você é herói! 🙏🏻

I'm using a clean c6 client I'm working on it the way I found to fix it was using aCis templates soon I'll post the result.

  • 0
Posted
1 hour ago, Williams said:

I'm using a clean c6 client I'm working on it the way I found to fix it was using aCis templates soon I'll post the result.

 

Any news????? Is anything aight so far?

  • 0
Posted (edited)

player.decayMe();
player.spawnMe();

 

mobius c6 does use it. dunno if other c6 use it tho. but if im not wrong mobius is based on acis

 

below u can see the code for the item im using. most likely can be improved since im a beginer.

(note that this code is not from c6 but newer version so it needs changes but .decayMe and .spawnMe where used in c6).

 

/*
 * This file is part of the L2J Mobius project.
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
package handlers.itemhandlers;

import org.l2jmobius.gameserver.handler.IItemHandler;
import org.l2jmobius.gameserver.model.actor.Playable;
import org.l2jmobius.gameserver.model.actor.Player;
import org.l2jmobius.gameserver.model.item.instance.Item;
import org.l2jmobius.gameserver.network.serverpackets.MagicSkillUse;
import org.l2jmobius.gameserver.util.Broadcast;

/**
 * @author Drazeal
 */
public class SexChange implements IItemHandler
{
	
	/*
	 * (non-Javadoc)
	 * @see org.l2jmobius.gameserver.handler.IItemHandler#useItem(org.l2jmobius.gameserver.model.actor.Playable, org.l2jmobius.gameserver.model.items.instance.ItemInstance, boolean)
	 */
	@Override
	public boolean useItem(Playable playable, Item item, boolean forceUse)
	{
		if (!(playable instanceof Player))
		{
			return true;
		}
		
		Player player = (Player) playable;
		MagicSkillUse msk;
		
		if (player.isInCombat())
		{
			player.sendMessage("Cannot use while in combat.");
			return false;
		}
		if (player.isInOlympiadMode() || player.isInDuel() || player.isOnEvent())
		{
			
			player.sendMessage("Cannot use while in Olympiad/Duel/Event.");
			return false;
		}
		
		if (player.getAppearance().isFemale())
		{
			player.getAppearance().setMale();
		}
		else
		{
			player.getAppearance().setFemale();
		}
		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;
	}
}

 

Edited by Drazeal
  • 0
Posted

try to do this:

 

Magic Human -> Fighter Human

Magic Orc       -> Fighter Orc

 

or vice versa

 

stuck will happen ALWAYS

  • 0
Posted
2 hours ago, Drazeal said:

player.decayMe();
player.spawnMe();

 

mobius c6 usa. não sei se outros c6 usá-lo tho. mas se eu não estou mobius errado é baseado em acis

 

abaixo você pode ver o código para o item im usando. provavelmente pode ser melhorado desde im um iniciante.

(note que este código não é do c6, mas da versão mais recente, por isso precisa de alterações, mas .decayMe e .spawnMe onde usado em c6).

 

/*
 * This file is part of the L2J Mobius project.
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
package handlers.itemhandlers;

import org.l2jmobius.gameserver.handler.IItemHandler;
import org.l2jmobius.gameserver.model.actor.Playable;
import org.l2jmobius.gameserver.model.actor.Player;
import org.l2jmobius.gameserver.model.item.instance.Item;
import org.l2jmobius.gameserver.network.serverpackets.MagicSkillUse;
import org.l2jmobius.gameserver.util.Broadcast;

/**
 * @author Drazeal
 */
public class SexChange implements IItemHandler
{
	
	/*
	 * (non-Javadoc)
	 * @see org.l2jmobius.gameserver.handler.IItemHandler#useItem(org.l2jmobius.gameserver.model.actor.Playable, org.l2jmobius.gameserver.model.items.instance.ItemInstance, boolean)
	 */
	@Override
	public boolean useItem(Playable playable, Item item, boolean forceUse)
	{
		if (!(playable instanceof Player))
		{
			return true;
		}
		
		Player player = (Player) playable;
		MagicSkillUse msk;
		
		if (player.isInCombat())
		{
			player.sendMessage("Cannot use while in combat.");
			return false;
		}
		if (player.isInOlympiadMode() || player.isInDuel() || player.isOnEvent())
		{
			
			player.sendMessage("Cannot use while in Olympiad/Duel/Event.");
			return false;
		}
		
		if (player.getAppearance().isFemale())
		{
			player.getAppearance().setMale();
		}
		else
		{
			player.getAppearance().setFemale();
		}
		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;
	}
}

 

 

This won't work for aCis as you need to reformulate the World and WorldObject the error is there

  • 0
Posted
6 minutes ago, Williams said:

 

This won't work for aCis as you need to reformulate the World and WorldObject the error is there

 

what ?

  • 0
Posted (edited)
59 minutes ago, xdem said:

 

que?

I redid all the code on l2jmobius c6 and yes there it is perfect but on acis when you remove the object it does not add when you use spawnme and on mobius it works perfect

Edited by Williams
  • 0
Posted (edited)
On 9/26/2022 at 12:15 AM, xdem said:

Are you aware of the fact that this is a client bug ? 

what you give me if i can make it work only editing server side on acis ?

you use requestrestart to relog a player without player making any client action

Edited by arm4729

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.




  • Posts

    • For many Elden Ring players, especially those short on time or seeking a specific build, buying items online has become a practical and time-saving solution. However, as someone who’s made that choice multiple times, I know firsthand that not all sellers are legitimate—and the risk of losing your money, or worse, getting banned, is real. Through trial and error, and countless hours in the community, I’ve discovered five proven methods to help players like you find authentic Elden Ring items to buy—safely, efficiently, and without risking your account. Here’s how to make sure you’re getting exactly what you need, the right way. 1. Choose Platforms That Guarantee Elden Ring Items Without Ban The number one concern when you buy Elden Ring items is avoiding account penalties. I've personally used platforms that explicitly promote delivery methods aligned with FromSoftware’s guidelines—like safe in-game drops, no cheats, and no modded content. Look for sellers or marketplaces that guarantee you’ll receive elden ring items without ban risk. If that promise isn’t clear or backed by community trust, move on. One time, I made the mistake of buying from an unverified Discord seller—within a week, I saw strange behavior on my account and had to delete my save file. Lesson learned: stick with professional services that know what they’re doing. 2. Rely on Established Marketplaces with Verified Reviews Always look for buyer feedback and real user ratings. Reputable platforms will have a track record of successful transactions and transparent customer experiences. I tend to avoid any site or seller that hides feedback or has a generic, incomplete website. The platforms I trust most let users post detailed reviews and show proof of item delivery—usually with timestamps and screenshots. That added layer of transparency gave me peace of mind the first time I placed an order, and it’s been part of my decision-making ever since. 3. Start with a Small Order to Test Reliability If you’re uncertain, try a small purchase first. This was my approach when I first decided to buy Elden Ring items. I ordered just a few smithing stones to upgrade a secondary weapon and see how the process worked. The seller delivered in under 10 minutes, and the transaction went smoothly. That small step helped build trust, and I gradually scaled up future purchases for full armor sets and talismans. It’s the smartest way to gauge service quality without taking a big risk up front.  [url=https://www.u4gm.com/elden-ring-items][img]https://i.pinimg.com/736x/9d/7d/d4/9d7dd41fc381c64fe9b93e5c11584513.jpg [/img][/url]   4. Confirm Safe Delivery Methods (No Bots or Cheats) Authentic sellers will provide clear instructions on how the item delivery will happen—usually through password-protected multiplayer sessions where they drop items directly to your character. That’s how I’ve received every safe delivery so far. If a seller talks about instant “mailing,” bots, or strange back-end tools, that’s a red flag. Those methods are often tied to bans or corrupted saves. Look for sellers who mention manual delivery, cooperative drops, or private session coordination—these methods are the standard for getting elden ring items without ban issues. 5. Ask for Live Support or Communication Options Good sellers are responsive, offer live chat, or message confirmations. I once had a situation where I accidentally gave the wrong character name for delivery. Thanks to a quick reply from customer support, they corrected it instantly. If a seller isn’t responsive or has no support at all, that’s a sign they may disappear after you’ve paid. A platform with clear customer service builds trust and shows professionalism—especially helpful if you’re new to the process.   There’s nothing wrong with wanting to buy Elden Ring items to save time or explore new builds. I’ve done it several times, and when done correctly, it can genuinely enhance the game without ruining the experience. But your safety comes first. By following these five proven methods, you can make sure the items you receive are legitimate, safe, and won’t get your account flagged. Always prioritize platforms that clearly offer elden ring items without ban risk, and when in doubt—start small, ask questions, and trust your instincts. How to Earn Fast: Buy Elden Ring Items Safely – No Risk of Ban
    • Lol good joke.   If I'd be the one contacting yo then I'd say at least 50% in advance because you can basically just fuck off when things doesn't go your way, and then you as a developer just wasted days or even weeks of time with development.
    • "Just make your own game!" sounds simple until you’ve tried it. I did, with Epic Dragon World and learned the hard way that "open source" often means "free labor for resellers." The MIT license became a buffet for people to grab code, rebrand it and ghost the project. Even basic collaboration collapsed because everyone wanted their vision, not *a* vision. NCSoft’s lawyers aren’t theoretical. They’re a sword of Damocles. Even if you rebuild a client from scratch, if it feels like Lineage 2, they’ll come knocking. Ask the Chrono Trigger fangame corpses how that goes. MMOs are hospice care. The genre’s on life support, kept alive by whales and nostalgia. Look at Throne and Liberty, NCSoft’s own "successor" to L2, flopping harder than a 2004 PKer in ToI. Classic reboots (WoW, L2) are bandaids, not resurrections. This is the hobby. Optimizing old systems, reverse-engineering spaghetti code and preserving janky mechanics is the fun part. Monetizing it turns it into customer service hell. No thanks. Community? What community? The L2 scene is 90% resellers, 10% players who’ll quit the second they don’t get +16 on day one. Both asking how to install Java and why running the uncompiled server does not work.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock