Jump to content

[Share] Olympiad GvE system


DominiQue

Recommended Posts

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 !

Link to comment
Share on other sites

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

 

Nice idea although

Link to comment
Share on other sites

  • 1 month later...

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?

Link to comment
Share on other sites

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..

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...