Page 7 of 11

PostPosted: Tue Jul 15, 2014 9:37 pm
by Ianoia
Is there a way to force the last inning of baseball to play, regardless of score? For instance, I'm creating my own sport using the baseball formula but I'd like the last inning to play even though the team has already won.

Saffron United           1 0 1 0 0 0  2
Forres Thistle 0 0 0 0 0 0 0

Middle City 0 0 0 0 0 1 1
Greenborough 0 2 0 0 1 X 3

PostPosted: Tue Jul 15, 2014 9:55 pm
by Commerce Heights
Ianoia wrote:Is there a way to force the last inning of baseball to play, regardless of score? For instance, I'm creating my own sport using the baseball formula but I'd like the last inning to play even though the team has already won.

Saffron United           1 0 1 0 0 0  2
Forres Thistle 0 0 0 0 0 0 0

Middle City 0 0 0 0 0 1 1
Greenborough 0 2 0 0 1 X 3

Not with the nsfs-baseball paradigm. You might be better off using nsfs-gridiron.

PostPosted: Tue Jul 15, 2014 10:42 pm
by Ianoia
Yep, just started tinkering with it now. Thanks.

PostPosted: Wed Jul 16, 2014 2:51 am
by Ianoia
What is the difference between scoringProbs and scoringCoeffs? I'm trying to reduce the amount of randomness in my sport so that stronger teams win more, but it seems to be a bit of a crapshoot at the moment. Here is what I have at the moment:

<?xml version="1.0" encoding="UTF-8"?>
<sport version="0.3">
<name>Fourball</name>
<discipline>Fourball</discipline>




<paradigm>nsfs-gridiron</paradigm>

<paradigmOptions>

<string type="resultStyle">periods</string>

<int type="resultWidth">1</int>

<list type="pointValues"><int>1</int></list>

<list type="scoringProbs"><double>0.196</double></list>
<list type="scoringCoeffs"><double>0.108</double></list>
<int type="periods">6</int>

<double type="attacksBase">4</double>

<double type="attacksCoeff">1.5</double>
</paradigmOptions>

</sport>


Yet every time i re-sim a season I have teams finishing in totally different places. Teams with a skill level of below 0.300 are fairing the same as teams that are above 0.700 and I would like to reduce that a bit more.

PostPosted: Wed Jul 16, 2014 3:15 am
by Commerce Heights
scoringProbs is the base probability of each point value being scored on an attack; scoringCoeff is the amount by which that probability is modified based on the difference in skill between the two teams. So with those values, if a team with maximum skill is playing a team with minimum skill, the former will have a 30.4% chance to score on each attack and the latter will have an 8.8% chance. attacksBase and attacksCoeff work together the same way in calculating how many attacks each team will get in each period.

PostPosted: Wed Jul 16, 2014 4:40 pm
by Ianoia
Wonderful, you've been a big help, thank you.

PostPosted: Wed Jul 23, 2014 4:23 am
by Tumbra
I want to sim a F1 season, how do I do that?

PostPosted: Sat Aug 16, 2014 6:56 pm
by Jachaelter
So I want to create a basketball tournament with 10 teams in it:

What do I do when I open xkoranate?

PostPosted: Sat Aug 16, 2014 8:23 pm
by HopNation
Click Event on the left side then green + at the bottom. Next find Baseball on the right and click arrow, pick the formula you want to use and click Continue button. Enter teams, click continue, pick settings, click continue, set groups, click continue, set match day and click dice button, post results, DONE

PostPosted: Sun Aug 17, 2014 6:01 pm
by Jachaelter
that is confusing

PostPosted: Sun Aug 17, 2014 6:14 pm
by Yttribia
Jachaelter wrote:that is confusing


Do you want me to make a step by step photo album to show you what to do? Because if you're really confused by it, I'll *consider* making one for you.

PostPosted: Sun Aug 17, 2014 6:17 pm
by Gregoryisgodistan
Commerce Heights wrote:scoringProbs is the base probability of each point value being scored on an attack; scoringCoeff is the amount by which that probability is modified based on the difference in skill between the two teams. So with those values, if a team with maximum skill is playing a team with minimum skill, the former will have a 30.4% chance to score on each attack and the latter will have an 8.8% chance. attacksBase and attacksCoeff work together the same way in calculating how many attacks each team will get in each period.


Is this the same probability in every sport? Seems like that would be kind of strange - hockey and soccer have roughly the same number of goals, but hockey has a lot more chances.

PostPosted: Sun Aug 17, 2014 7:01 pm
by Commerce Heights
Gregoryisgodistan wrote:
Commerce Heights wrote:scoringProbs is the base probability of each point value being scored on an attack; scoringCoeff is the amount by which that probability is modified based on the difference in skill between the two teams. So with those values, if a team with maximum skill is playing a team with minimum skill, the former will have a 30.4% chance to score on each attack and the latter will have an 8.8% chance. attacksBase and attacksCoeff work together the same way in calculating how many attacks each team will get in each period.


Is this the same probability in every sport? Seems like that would be kind of strange - hockey and soccer have roughly the same number of goals, but hockey has a lot more chances.

Those parameters only pertain to the nsfs-gridiron paradigm, and those probabilities are based on the values Ianoia used in his XML file in the post I was replying to.

PostPosted: Mon Aug 18, 2014 8:28 pm
by Jachaelter
yes please to a photo album

PostPosted: Mon Aug 18, 2014 9:33 pm
by HopNation
Jachaelter wrote:that is confusing

oops insert Basketball for baseball, sorry and yes at first it is confusing. You almost just have to use it to start to understand parts of it. Was your question regarding specifics about Basketball or just a general how to use xkoranate?

Tumbra wrote:I want to sim a F1 season, how do I do that?
this probably also applies to you too, but there will be some more items that need set up between steps 1 and 2 below. I have not done auto racing so not sure what to tell you on those steps, but they are mostly just lap info and if you want qualifying or the actual race. There is also starting grid and some other parameters for the cars that I know nothing about.

Here's some more details:

1.
When you first open xkoranate you will have two items on the left side;
1. Bonus
2. Events

Select #2 Events and for now ignore #1, then under that left section locate the + and click it. This will add a field under the Events label, you can click on it and type what you want to call it - Hoops Tourny 1 or something....

After you click that green check, even before entering anything on the new field that became available a large list will show up on the right side of the window, which is all the sports. Scroll through and find Basketball and click on it, then click continue in the lower right.

2.
On the next screen (right side) you will enter all your teams, click the + on that right side to add the first team and each subsequent team (or use the import feature, paper with arrow next to the +). If your having an international tournament put the nations name in the Participants field and the trigram in the Team field (if you want, you should be able to leave the Team blank too). Then enter any ranking in the skill field, new and unsactioned event would start with zero in the skill field. The skill field is also where you add in the RP Bonus. Remember that the skill next to a participant can not exceed the Maximum Skill listed above that section, so if you have a team with 25 you will first have to change the Max Skill to 25 or greater. Now click continue at the bottom.

3.
On the next screen select what you want, individual matches or round robin. Individual matches is just that, one game. Round Robin will ask for some more information, like number of legs. Home and Away (two legs) is common, but what ever you choose is up to you and the event. Also, under round robin you will want to set any tiebreakers. This is below the leg selection and also has a check box for allow draws and show grid, select as needed. For tiebreakers, well that's up to you and the event, but can be added to, moved in terms of order, or removed by using the + or the - or by drag and drop. At the bottom is where you set the point details for win, loss, and draw. It defaults to 3 for win, 1 for draw, and 0 fr loss. Once you get all that click continue.

4.
On the next screen you will set up your groups and first need to click the + at the bottom to add a group. Once that is done you can add a group name and add in the teams for that group. You can click on the +++ looking thing to add all participants into one group or use the single + with the circle around it to add single participants to the group. I've found it's easy to, for unseeded (potless) draws, create all your groups then go back to the first group and use the +++ looking button to add all the teams into the top group. You then click the dice looking button to randomize that first group. Then drag and drop the # of participants into each group below (first five stay in group A, next five to B, next five to C, and so on). Once you get all the groups set up click on continue again at the bottom.

5.
Now you are at the actual scorinate screen. Depending on what type you selected, Individual Matches or Round Robin (and more than one leg), there may be a Matchday drop down at the top. Select the match day you want to scorinate, typically MD1 for the first day, and click the dice at the bottom.

You have now scorinated your first day for your first event.

Hopefully that is better to follow than my first post, but please read through a thread before asking extremely general questions as you're bound to find what your looking for on another page within the thread. -----http://forum.nationstates.net/viewtopic.php?p=7631203#p7631203-----Zwangzug did a fine job with it already on the first page, and each sport is generally the same with a few minor differences from one to the next.

PostPosted: Wed Aug 20, 2014 10:54 am
by Gregoryisgodistan
How much is home field advantage worth compared to rank? In other words, how much of a rank advantage would a team need in order to have exactly a 50-50 chance of winning on the road (assuming no ties)?

PostPosted: Wed Aug 20, 2014 1:40 pm
by HopNation
Looking for Team A to have a w/l record of near 75% or 750/250 of 1000 games, which should be winning 1/2 the road games out of those 500 played away.

Assumptions unless noted:
max skill to 10
Style set to 0 for both
1000 game round robin no ties
Association Football SQIS Formula used - non-modified in anyway

It should be 33.3%, or a team needs to be that much better than the lower ranked team to accomplish the 50/50 chance to win on the road.

Here is the line from the code that indicates it should be the 33.3% better than your foe:
<double type="homeAdvantage">1.333333333333</double>
<double type="homeAdvantageGG">0.133333333333</double>

The 1 vs 0.667 rank (the 33.3% or 2/3 the rank of the better team):
Group A                 Pld      W     L      GF     GA     GD     Pts 
1 Team A 1000 602 290 1945 1333 +612 1914
2 Team B 1000 290 602 1333 1945 −612 978


Here's a quick one with teams set at 2.5 and 1.667.
Group A                 Pld      W     L      GF     GA     GD     Pts 
1 Team A 1000 628 274 2005 1353 +652 1982
2 Team B 1000 274 628 1353 2005 −652 920


Here's one closer to the max rank of 10.
Group A                 Pld      W     L      GF     GA     GD     Pts 
1 Team A 1000 614 277 2024 1344 +680 1951
2 Team B 1000 277 614 1344 2024 −680 940



Now lets change some parameters.
Another one using PIS rank (59.93 - post69Q) and then one 2/3 that rank (39.973), max skill set to 59.93.

Group A                 Pld      W     L      GF     GA     GD     Pts 
1 PIS 1000 620 276 1885 1241 +644 1964
2 2/3 team 1000 276 620 1241 1885 −644 932


One more, overkill right? Me (13.89) vs 2/3 Team (9.264), max set to my rank.
Group A                 Pld      W     L      GF     GA     GD     Pts 
1 HopNation 1000 644 259 2004 1256 +748 2029
2 2/3 Team 1000 259 644 1256 2004 −748 874


At least I think this answers what you were looking for...

PostPosted: Wed Sep 03, 2014 6:20 am
by Britonisea
My Xkoranate has been working and as soon as I am half way through my, very small, regional Olympics, when I press the dice to generate the scores, Xkoranate shuts down. I even tried re-downloading it but it still doesn't work.

PostPosted: Sat Jan 10, 2015 8:07 am
by Lymantatia
What will the next xkoranate update have?

PostPosted: Sat Jan 10, 2015 1:23 pm
by Britonisea
Lymantatia wrote:What will the next xkoranate update have?


Probably new sports and that's it. It may look more modern and easy on the eyes. Who knows?

PostPosted: Sat Jan 10, 2015 1:25 pm
by Liventia
Britonisea wrote:
Lymantatia wrote:What will the next xkoranate update have?


Probably new sports and that's it. It may look more modern and easy on the eyes. Who knows?

Unless you're actually involved in making the next xkoranate update, best you don't actually claim what's in it.

PostPosted: Sat Jan 10, 2015 1:28 pm
by Estenia
Britonisea wrote:
Lymantatia wrote:What will the next xkoranate update have?


Probably new sports and that's it. It may look more modern and easy on the eyes. Who knows?

My xkoranate is working perfectly at its current edition. Your computr has just some problems.

PostPosted: Tue Jan 27, 2015 9:40 pm
by Nova Anglicana
So I'm messing around with my domestic hockey league and I unchecked the "allow draws" box, so that games now end in overtime or a shootout. I have "draws" set to give one point, with the intention that the team that wins the game in overtime or a shootout receives two points and the losing team receives one point for having gotten to overtime at least. Unfortunately, xkoranate is only giving teams involved in shootout games one point regardless of whether they win or lose. Is this something I can fix in xkoranate or is it something I would have to deal with manually on the posting side of things?

PostPosted: Wed Jan 28, 2015 3:31 am
by Free Republics
Nova Anglicana wrote:So I'm messing around with my domestic hockey league and I unchecked the "allow draws" box, so that games now end in overtime or a shootout. I have "draws" set to give one point, with the intention that the team that wins the game in overtime or a shootout receives two points and the losing team receives one point for having gotten to overtime at least. Unfortunately, xkoranate is only giving teams involved in shootout games one point regardless of whether they win or lose. Is this something I can fix in xkoranate or is it something I would have to deal with manually on the posting side of things?


If you want the RL Olympic table rules (3 points for regulation win, 2 for OT/shootout win, 1 for OT/shootout loss and 0 for regulation loss), you'll have to do the tables manually. Xkoranate regards shootout results as draws and overtime results as regular wins/losses for most sports (although some, such as korfball and iirc netball regard OT as a draw).

PostPosted: Thu Feb 12, 2015 1:38 pm
by HopNation
I've been working on some domestic Auto Racing set ups and have a questions regarding the import file. I know for other items, including Auto Racing set to a single skill value, that it works with the Participant;Team;Skill format for the import file, but when I switch to the three ability setting it just imports zeros for the three items after participant and team (I've tried a few different formats including the original P;T;S). So I'm trying to find out if there is a format for importing all of the fields for Auto Racing (Participant, Team, Acceleration, Cornering, and Reliability) or if it is a manual process for those? I scanned through the forum and even looked for some auto racing forums (recent ones) but have yet to come across anything providing assistance with this question.

Sorry if I missed it and it is out there somewhere.