Jump to content

ETpub !shuffle command


->RoGue

Recommended Posts

I know there is another post about this, but I'm interested in seeing if the code for shuffle can be changed, and how I would go about doing that. I think it's silly that the player with the highest K/D ratio should always be placed axis, both because it's boring to always play on team, and also because axis is usually defense, and I think that offense should be stronger as they have to beat the clock while defense just has to delay.

 

I know a fair amount of C/C++, which I believe is what the code is written in. I tried looking on the ETpub site and saw something about a nightly build, but wasn't sure how I could get a hold of that code to look at. I figure it shouldn't be too difficult to add a small statement that alternates which team gets the higher players. Then I could either submit it to the ETpub guys, or you guys could just mod your server's copy if you agreed with the changes.

 

So, any advice?

 

Thanks,

-RoGue

Link to comment
Share on other sites

  • Administrators

http://trac2.assembla.com/etpub/browser/trunk/src/game

 

http://trac2.assembla.com/etpub/browser/trunk/src/game/g_player_rating.c

 

Our shuffle is based on kill rating. It matches K/D ratio of one team to another.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.