[Resolved]Olympiads and seven signs

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
Nemesis_hommage
Posts: 53
Joined: Fri Nov 06, 2009 9:42 am

[Resolved]Olympiads and seven signs

Post by Nemesis_hommage »

L2J Revision 4006:
L2JDP Revision 7180:

hi
how do you feel ? I'm fine

2 little problems embarassing

seven signs
in gracia versions, i could modify the rates of seal stones, here i've looked to do the same but i didn't find the same commandline: is it moved ?

Olympiads
The doors of the instance opens 7 seconds before the fight begins
all fighter have enough time to go to the other side before the fight really begin
so magician have a very poor rate of chance to stay alive more than 5 seconds
how can i reduce the time between the doors open and the moment of the fight begin?

txh for any help
Last edited by Nemesis_hommage on Fri Apr 22, 2011 6:30 pm, edited 1 time in total.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Olympiads and seven signs

Post by janiii »

1. ss rate - just add the id of the seal stone and it's rate in the RateDropItemsById config, e.g. (blue 2x, green 3x, red 4x):

Code: Select all

# List of items affected by custom drop rate by id, used now for Adena rate too.# Usage: itemId1,dropChance1;itemId2,dropChance2;...# Note: Make sure the lists do NOT CONTAIN trailing spaces or spaces between the numbers!# Example for Raid boss 1x jewelry: 6656,1;6657,1;6658,1;6659,1;6660,1;6661,1;6662,1;8191,1;10170,1;10314,1;# Default: 57,1RateDropItemsById = 57,1;6360,2;6361,3;6362,4 
2. oly stadium open time: check java class OlympiadGame around line 1146 and move the openDoors() line into the case 5 block - that will open the doors just 5 seconds before the match begins (not like originally 10 seconds):

Code: Select all

switch (i){	case 10:		_game._damageP1 = 0;		_game._damageP2 = 0;		[s]OlympiadManager.STADIUMS[_game._stadiumID].openDoors();[/s]		step = 5;		break;	case 5:		[b]OlympiadManager.STADIUMS[_game._stadiumID].openDoors();[/b]		step = 1;		break;}
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Nemesis_hommage
Posts: 53
Joined: Fri Nov 06, 2009 9:42 am

Re: Olympiads and seven signs

Post by Nemesis_hommage »

for the rate, great
i did it for adenas but i didn't think about it for the stones

for the javaclass
i've only as java, the olympiadstat.java
could you give me the full name of the file please?
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Olympiads and seven signs

Post by janiii »

Nemesis_hommage wrote:for the javaclass
i've only as java, the olympiadstat.java
could you give me the full name of the file please?
you need to have the sources of the gameserver for making a change in the java class.
class OlympiadGame in the package com.l2jserver.gameserver.model.olympiad
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Nemesis_hommage
Posts: 53
Joined: Fri Nov 06, 2009 9:42 am

Re: Olympiads and seven signs

Post by Nemesis_hommage »

no other way ?
Post Reply