Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Jackpot Calculations

 
Post new topic   Reply to topic Printable version
 View previous topic  J2ME: Security restrictions on HTC pho... Post :: Post Subgame *Log Bug Fix  View next topic  
Author Message
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Sun Aug 27, 2006 3:25 am   Post maybe stupid    Post subject: Jackpot Calculations Reply to topic Reply with quote

Upon request of Mackieman, Shanky, him and I attempted to work out the weird values of how flag jackpots are rewarded. Through some trial and error, this is as good as we got, but it doesn't work if Team:MaxPerTeam >> # of people in the zone by like 2 or so.

If FlagRewardMode = 0:
[JackpotSize(?jackpot) * (NumShipsInGame * NumShipsInGame * Flag:FlagReward / 1000)]

If FlagRewardMode = 1:
[JackpotSize(?jackpot) * (NumShipsInGame * NumShipsInGame * Flag:FlagReward / 1000)] * [Team:MaxPerTeam / (NumShipsOnWinningFreq + MAX(0, Team:MaxPerTeam - NumPlayersInArena)]

Sample:
Jackpot: 10
Ships in game: 2
Players on winning freq: 1
Players in zone: 3 (1 in spec)
FlagReward: 2000
MaxPerTeam: 2
FlagRewardMode: 1

[10 * (2 * 2 * 2000 / 1000)] * [2 / (1 + MAX(0, 2 - 3)] =
[10 * (8)] * [2 / (1 + MAX(0, -1)] =
[80] * [2 / (1 + 0)] =
[80] * [2] =
160

MAX(a,b) just means that the formula there has to be non-negative. Anyone else want to try some in-game testing? I'm waiting for Mackieman to send me an excel file with all our recording test data to try and find out when MaxPerTeam was 6 or larger, it made the latter part of the formula always just * [2].
Back to top
View users profile Send private message Add User to Ignore List Send email
K'
You can win any war if you start a year early


Gender:Gender:Male
Joined: Jul 13 2006
Posts: 271
Location: Southtown
Offline

PostPosted: Sun Aug 27, 2006 8:54 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

I was under the impression that this was common knowledge as was explained once or twice by Jeff in the past?
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sun Aug 27, 2006 9:48 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

I thought jackpots were added?

P.S. >> is 10x greater than, so in your context, it should be just plain old >
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Sun Aug 27, 2006 1:10 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

K' wrote:
I was under the impression that this was common knowledge as was explained once or twice by Jeff in the past?

Not the FlagRewardMode when the TeamSize is larger than the number of people in the zone. Thats were some funky math starts to happen, where it can do things such as only multiply by 2 or half a million. Mackieman asked because his zone has TeamSize set to a large number (its two teams against each other), and when only a couple of people are in the game, the jackpots sometimes go higher than hour long games with tons of people. And ?jackpot shows a tiny number before it hits.
Back to top
View users profile Send private message Add User to Ignore List Send email
a dead fish
Newbie


Age:59
Gender:Gender:Male
Joined: Jan 13 2006
Posts: 3
Location: Hernando, FL
Offline

PostPosted: Sun Aug 27, 2006 10:49 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Would also be very interested in how the server.ini variable affects this...

NoFlagRewardLimit=(0 or 1)
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Mackieman
Newbie


Age:43
Gender:Gender:Male
Joined: Aug 28 2006
Posts: 2
Location: San Diego, California
Offline

PostPosted: Mon Aug 28, 2006 1:29 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Clearly, the answer is 42.





Anyway, thanks to MGB and Shanky for helping us sort this mess out. I'm currently delegating the task of data entry to my team since I would have to take a day off work to get it all done myself. After this is complete and we have a clear picture of what happens in the case where the freq size is the same or smaller than the total zone population, I hope to discuss it with PriitK and see if he has any insight into the issue of the fuzzy math. Barring that, does anybody have JeffP's number? icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
K'
You can win any war if you start a year early


Gender:Gender:Male
Joined: Jul 13 2006
Posts: 271
Location: Southtown
Offline

PostPosted: Mon Aug 28, 2006 3:58 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

I see.
I do believe this issue was adressed at Infantry with the introduction of a parameter dictating amount of people required to be in the arena prior to beginning an event (flag, KoTH, etc.).
Back to top
View users profile Send private message Add User to Ignore List
grazzhoppa
Novice


Joined: Jan 03 2007
Posts: 29
Offline

PostPosted: Mon Jan 11, 2010 1:17 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Reviving this old thread.


How is the ?jackpot calculated before winning it:
Do the bounties of players who die get added it to? Any other elements affect it's running total?
Back to top
View users profile Send private message Add User to Ignore List
JoWie
Server Help Squatter


Gender:Gender:Male
Joined: Feb 25 2004
Posts: 215
Offline

PostPosted: Tue Jan 19, 2010 2:35 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Only a percentage (in settings) of a players bounty when they die. nothing more
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 518 page(s) served in previous 5 minutes.

phpBB Created this page in 0.625016 seconds : 33 queries executed (87.6%): GZIP compression disabled