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
aragon
Posts: 41 Joined: Tue Nov 16, 2010 9:41 am
Post
by aragon » Mon May 16, 2011 11:56 am
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
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
Post
by hope » Mon May 16, 2011 1:40 pm
are you running geodata
aragon
Posts: 41 Joined: Tue Nov 16, 2010 9:41 am
Post
by aragon » Mon May 16, 2011 1:48 pm
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.
UnAfraid
L2j Veteran
Posts: 4199 Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:
Post
by UnAfraid » Mon May 16, 2011 2:02 pm
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
aragon
Posts: 41 Joined: Tue Nov 16, 2010 9:41 am
Post
by aragon » Mon May 16, 2011 2:03 pm
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
UnAfraid
L2j Veteran
Posts: 4199 Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:
Post
by UnAfraid » Mon May 16, 2011 2:07 pm
well its possible to target yourself just click at hp bar..
aragon
Posts: 41 Joined: Tue Nov 16, 2010 9:41 am
Post
by aragon » Mon May 16, 2011 2:13 pm
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
Post
by aragon » Mon May 16, 2011 6:52 pm
resolved, can close.
Zoey76
L2j Inner Circle
Posts: 7008 Joined: Tue Aug 11, 2009 3:36 am
Post
by Zoey76 » Mon May 16, 2011 7:10 pm
aragon wrote: resolved, can close.
Now I want to know what was it
razvypp
Posts: 37 Joined: Mon May 09, 2011 8:56 am
Post
by razvypp » Tue May 17, 2011 6:13 am
you need to select the player you want , if not in gm ->char ->list edit char from there