Jump to content

5vs5 Matchmaking with elo


Recommended Posts

Hi, I have been working on this many hours and today I just finished it, made all test and I decided that its stable enough to be shared:

some info:

 

The NPC will organise 5vs5 teams. The player gets a random team and Joins a party immidiatly

All players will start with 1100 elo, each win will give them about 12-20 elo(maybe random maybe depended), and defeat will cost some of their elo

The player elo will be stored in a column named Elo at the Characters.sql

Players who reach:

 

Bronze Tier(Rating:1250-1349), will be immidiatly awarded with:

Brown tittle

 

Silver Tier(Rating:1350,1499) will be immidiatly awarded with:

Grey Tittle

 

Gold Tier:(Rating:1500-1849) will be immidiatly awarded with:

Gold Tittle

 

Platinum Tier:(Rating:1850-)

Platinum Tittle

This is the NPC:

againit.png

 

Its fully automated, the match will start as soon as enough players are registered, I made it to create 5vs5 teams, but with the proper configuration it should work for 4v4 3v3 etc

and the match will end as soon as the last enemy dies!

 

The match takes place instanced on the top of the tower of naia a nice place for duels, feel free to change it, its coded on H5 latest rev, should work with easy adapt to lower versions but for Interlude is gonna be hard and diffrent do adapt!


Download v2http://www.4shared.com/rar/O-jfaGbk/5vs5Matchmaking_Elo.html?


post here any bug you face or any suggestions about the code or gameplay

hope you like it...

 

I will try to update it when I have time, for example soon I will add on it Team matchmaking

 

*UPDATED* to v2

~Tested and configured the 5vs5 game

~Remade the get winner, (avoided lots of bugs/exploits)

~Added protections (invite,dissmiss,leave Party)

~You cant logout/restart when the game has started (if you disconnect you automatically loose 30 elo)

~Reworked L2PcInstance and cleaned the codes

 

v2 is very stable and better than the previous version, update if you have the previous

Link to comment
Share on other sites

Awesome job mate , does the match arenas is instanced like oly or match by match ?

 

they are instanced like oly, and stored! look: Instance[ x]=InstanceManager.getInstance().createDynamicInstance("5vs5.xml"); , it stores the specific instance permantly(till server restart), so multiple instances may run the same time! multiple games can run at the same time!

 

 

I think i saw something like that before 1 month or more.

 

trust me its diffrent, coded from scratch, runs multiple instances as explained above, it has its own special matchmaking for example it creates the game as soon as enough players are registered not every X time, and the game ends immidiatly as the last enemy dies, no more useless waiting and stuff, check it

Link to comment
Share on other sites

Hi, I have been working on this many hours and today I just finished it, made all test and I decided that its stable enough to be shared:

some info:

 

The NPC will organise 5vs5 teams. The player gets a random team and Joins a party immidiatly

All players will start with 1100 elo, each win will give them about 12-20 elo(maybe random maybe depended), and defeat will cost some of their elo

The player elo will be stored in a column named Elo at the Characters.sql

Players who reach:

 

Bronze Tier(Rating:1250-1349), will be immidiatly awarded with:

Brown tittle

 

Silver Tier(Rating:1350,1499) will be immidiatly awarded with:

Grey Tittle

 

Gold Tier:(Rating:1500-1849) will be immidiatly awarded with:

Gold Tittle

 

Platinum Tier:(Rating:1850-)

Platinum Tittle

This is the NPC:

againit.png

 

Its fully automated, the match will start as soon as enough players are registered, I made it to create 5vs5 teams, but with the proper configuration it should work for 4v4 3v3 etc

and the match will end as soon as the last enemy dies!

 

The match takes place instanced on the top of the tower of naia a nice place for duels, feel free to change it, its coded on H5 latest rev, should work with easy adapt to lower versions but for Interlude is gonna be hard and diffrent do adapt!

 

Download: http://www.4shared.com/rar/mNSkUv8O/5vs5Matchmaking_Elo.html? Pass: drake2wow

 

post here any bug you face or any suggestions about the code or gameplay

hope you like it...

 

I will try to update it when I have time, for example soon I will add on it Team matchmaking

 

(This is a 2vs2 version for test purposes) I will test the 5vs5 and upload it in Wednesday

 

I'm going to test it and give you reply here

Link to comment
Share on other sites

understable it is hard to adapt it on IL

 

no instances there, it needs rework in order to accept teams one by one, and some other things but it can be done.

Link to comment
Share on other sites

L25vs5MatchMakerInstance: Unknown NPC bypass: "Register" NpcId: 700001

L25vs5MatchMakerInstance: Unknown NPC bypass: "Unregister" NpcId: 700001

 

V1

 

just message, u can remove it at L2Npc

Link to comment
Share on other sites

download it again to get the second version of it its rly better, that patch you have is version one im 100% sure, because i already fixed the KILL_STEAK code at version 2 patch

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...