[HELP] Edit char

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
aragon
Posts: 41
Joined: Tue Nov 16, 2010 9:41 am

[HELP] Edit char

Post by aragon »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:high five
L2JDP Revision Number:high five


Image

can someone help me fix that? i click on player then i go LvL or Edit to change name whatever and always give me Invalid Target like that example on igame with lvl
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: [HELP] Edit char

Post by hope »

are you running geodata
aragon
Posts: 41
Joined: Tue Nov 16, 2010 9:41 am

Re: [HELP] Edit char

Post by aragon »

no, please someone help?


on handler AdminExpSp.java

Code: Select all

private void addExpSp(final L2PcInstance activeChar)    {        final L2Object target = activeChar.getTarget();        L2PcInstance player = null;        if (target instanceof L2PcInstance)            player = (L2PcInstance) target;        else        {            activeChar.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.INCORRECT_TARGET));            return;        }        final NpcHtmlMessage adminReply = new NpcHtmlMessage(5);        adminReply.setFile(activeChar.getHtmlPrefix(), "data/html/admin/expsp.htm");        adminReply.replace("%name%", player.getName());        adminReply.replace("%level%", String.valueOf(player.getLevel()));        adminReply.replace("%xp%", String.valueOf(player.getExp()));        adminReply.replace("%sp%", String.valueOf(player.getSp()));        adminReply.replace("%class%", player.getTemplate().className);        activeChar.sendPacket(adminReply);    }
i didnt see nothing wrong :S
Last edited by aragon on Mon May 16, 2011 2:02 pm, edited 1 time in total.
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: [HELP] Edit char

Post by UnAfraid »

you have to target the player that u want to increase his spell points or experience then type //add_exp_sp 100 100 for example
Image
aragon
Posts: 41
Joined: Tue Nov 16, 2010 9:41 am

Re: [HELP] Edit char

Post by aragon »

UnAfraid wrote:you have to target the player that u want to increase his spell points or experience then type //add_exp_sp 100 100 for example
Unfraid thanks for answer but i cant use it on target myself or other player its the same for both
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: [HELP] Edit char

Post by UnAfraid »

well its possible to target yourself just click at hp bar..
Image
aragon
Posts: 41
Joined: Tue Nov 16, 2010 9:41 am

Re: [HELP] Edit char

Post by aragon »

UnAfraid wrote:well its possible to target yourself just click at hp bar..

i have done it like i said, on myself target doesnt work, and on player target doesnt work too. Very strange.

It can be bugged on handlers or L2pcinstance? im asking help because i dont know what file to compare to see whats wrong xD

i turned on gm audit and look what says:

Code: Select all

16/05/2011 12:41:59>Aragon>admin_instancezone TESTCHAR>no-target> 
aragon
Posts: 41
Joined: Tue Nov 16, 2010 9:41 am

Re: [HELP] Edit char

Post by aragon »

resolved, can close.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: [HELP] Edit char

Post by Zoey76 »

aragon wrote:resolved, can close.
Now I want to know what was it :twisted:
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
razvypp
Posts: 37
Joined: Mon May 09, 2011 8:56 am

Re: [HELP] Edit char

Post by razvypp »

you need to select the player you want , if not in gm ->char ->list edit char from there
Post Reply