Jump to content

Recommended Posts

Posted

Go to :

java.net.sf.l2j.gameserver.model.olympiad.OlympiadGame.java

 

1.Find:

_playerOne.teleToLocation(x1, y1, z1, true);

1.Add:

_playerOne.setTeam(_playerOne.getFactionId());

 

2.Find:

_playerTwo.teleToLocation(x2, y2, z2, true);

2.Add:

_playerTwo.setTeam(_playerTwo.getFactionId());

 

 

I saw it on a server and I created it for MxC ;D !

Posted

This will not work :(

Maybe if you have faction system installed but if you dont dont even put it ..

Posted

Well , thats a pretty good share indeed but as TheEnd says you have to implent a Gve system before..

 

Nice idea although

  • 1 month later...
Posted

Go to :

 

Quote

java.net.sf.l2j.gameserver.model.olympiad.OlympiadGame.java

 

1.Find:

 

Quote

        _playerOne.teleToLocation(x1, y1, z1, true);

1.Add:

 

Quote

        _playerOne.setTeam(_playerOne.getFactionId());

 

2.Find:

 

Quote

        _playerTwo.teleToLocation(x2, y2, z2, true);

2.Add:

 

Quote

        _playerTwo.setTeam(_playerTwo.getFactionId());

I saw it on a server and I created it for MxC ;D !

 

Hi,

 

I tried to modify the lines for my own needs but I had error. Would you be able to help me guys?

 

Instead of

.getFactionId());

 

I want put .isgood and .isevil

 

Could you guide me please?

Posted

Hi,

 

I tried to modify the lines for my own needs but I had error. Would you be able to help me guys?

 

Instead of

.getFactionId());

 

I want put .isgood and .isevil

 

Could you guide me please?

 

it reads the id of the faction (it will be 1 or 2 proly) in order to enter oly, it doesn't name the factions..

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..