Page 1 of 2
Help with some Fixes
Posted: Tue Dec 01, 2009 1:03 am
by Crom
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision
CT2.3 Last 3695 :
L2JDP Revision
CT2.3 Last 6775:
I want to fix a few things:
Where and what i have to change the max buffs are showed in: //admin->game->GetBuffs ?
I put the CTF and the House's Buffer, since that my summons don't cast any skill, but the skills work properly on buffer. Where and what could be the code to fix it?
This question i don't know if this is the correct place for it, my Baium is pacefull, don't attack, How i can fix it?
Could be posible to set diferents hours and hit a random function that start diferent events like TvT, CTF, DM, TW, etc...?
Could be posible to set the same structure of the command //jail name time to //banacc and //bancharacter? Especially the part of time.
What i have to do that monument of heros give enchanted infinity items to hero?
Fix Done or explanation:
Where i can adjust the registration time and the registration game of tvt? L2jmods.properties (config)
Could anyone to explain me where or how i can know the meaning of augment_id?
viewtopic.php?f=80&t=11122&p=48959&hilit=augid#p48959
Thx for yours help ^^
Posted: Wed Dec 02, 2009 5:11 am
by Crom
EDIT
Re: Help with some Fixes
Posted: Fri Dec 04, 2009 3:59 pm
by Crom
Noone knows how to fix this things?
Re: Help with some Fixes
Posted: Fri Dec 04, 2009 4:42 pm
by Probe
about the first bug, you can't expect to receive support for custom contributions...
TvT: l2jmods.properties .
augmend_id iirc is the id of the skill the augment gives
Re: Help with some Fixes
Posted: Fri Dec 04, 2009 4:53 pm
by VlLight
Crom wrote:
Where and what i have to change the max buffs are showed in: //admin->game->GetBuffs ?
handlers.admincommandhandlers.AdminBuffs.showBuffs()
Re: Help with some Fixes
Posted: Fri Dec 04, 2009 5:24 pm
by janiii
for augment id search on forum for "augid" from me. you will surely find a post about how to compute it, and what it contains.
Re: Help with some Fixes
Posted: Sat Dec 05, 2009 2:52 am
by Crom
Probe wrote:about the first bug, you can't expect to receive support for custom contributions...
TvT: l2jmods.properties .
augmend_id iirc is the id of the skill the augment gives
I perfectly know that the bug is on my action puttin diff, I wan't to know where is the code os this things.
VlLight wrote:handlers.admincommandhandlers.AdminBuffs.showBuffs()
This show me the code of the html:
Code: Select all
public void showBuffs(L2PcInstance player, L2PcInstance activeChar) { final L2Effect[] effects = player.getAllEffects(); final StringBuilder html = StringUtil.startAppend([color=#FF0000][b]500[/b][/color] + effects.length *[color=#FF0000][b]200[/b][/color], "<html><center><font color=\"LEVEL\">Effects of ", player.getName(), "</font><center><br>" + "<table>" + "<tr><td width=200>Skill</td><td width=70>Action</td></tr>" ); for (L2Effect e : effects) { if (e != null) { StringUtil.append(html, "<tr><td>", e.getSkill().getName(), "</td><td><button value=\"Remove\" action=\"bypass -h admin_stopbuff ", player.getName(), " ", String.valueOf(e.getSkill().getId()), "\" width=60 height=15 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\"></td></tr>" ); } } StringUtil.append(html, "</table><br>" + "<button value=\"Remove All\" action=\"bypass -h admin_stopallbuffs ", player.getName(), "\" width=60 height=15 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\">" + "</html>" );
Changing numbers in red i could do it?
janiii wrote:for augment id search on forum for "augid" from me. you will surely find a post about how to compute it, and what it contains.
Thx, i will put in post the fixes or solutions for this "problems" to the next newbie xD
Re: Help with some Fixes
Posted: Sat Dec 05, 2009 9:16 am
by janiii
There is no constraint how many player buffs are shown,just all are shown. Still dont understand what you want..
Re: Help with some Fixes
Posted: Sat Dec 05, 2009 10:21 am
by Tan
janiii wrote:There is no constraint how many player buffs are shown,just all are shown. Still dont understand what you want..
He dont see all the buffs due html to long witch means his players are overbuffed XD
Re: Help with some Fixes
Posted: Sat Dec 05, 2009 11:19 am
by Crom
I have a high rates server with 30 buffs and 20 songs/dances, if player have a max of 47 buffs in total i can see it, but if he have more i can't see it. I want to see around 60/65 buffs to watch some rare players.
Re: Help with some Fixes
Posted: Sun Dec 06, 2009 12:58 am
by Crom
Any knows what i say?
Re: Help with some Fixes
Posted: Sun Dec 06, 2009 9:58 am
by janiii
You want a paging on the admin getbuffs page, because you get html too long message. Is that right?
Re: Help with some Fixes
Posted: Mon Dec 07, 2009 12:03 am
by Crom
Yes janii, this is that i want!! Thx for your interest ^^
Re: Help with some Fixes
Posted: Wed Dec 09, 2009 9:50 am
by Crom
Eeeeer anyone knows?
Re: Help with some Fixes
Posted: Wed Dec 09, 2009 9:58 am
by janiii
we will see if we can make a paginator in gracia epilogue release for admin get buffs command.