Page 1 of 1

[Resolved]Olympiads and seven signs

Posted: Wed Apr 14, 2010 9:11 am
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

Re: Olympiads and seven signs

Posted: Wed Apr 14, 2010 9:34 am
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;}

Re: Olympiads and seven signs

Posted: Wed Apr 14, 2010 10:08 am
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?

Re: Olympiads and seven signs

Posted: Wed Apr 14, 2010 10:13 am
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

Re: Olympiads and seven signs

Posted: Wed Apr 14, 2010 10:21 am
by Nemesis_hommage
no other way ?