Skip to content

Commit

Permalink
Transaction credits does not accept numbers >100 #1
Browse files Browse the repository at this point in the history
  • Loading branch information
stringandstickytape committed Jan 5, 2015
1 parent 794afee commit 2bf3881
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 31 deletions.
40 changes: 25 additions & 15 deletions RegulatedNoise/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions RegulatedNoise/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2668,11 +2668,11 @@ private void PostJsonToEddn(CsvRow rowToPost)

if (RegulatedNoiseSettings.UseEddnTestSchema)
{
json = @"{""$schemaRef"": ""http://schemas.elite-markets.net/eddn/commodity/1/test"",""header"": {""uploaderID"": ""$0$"",""softwareName"": ""RegulatedNoise"",""softwareVersion"": ""v1.4""},""message"": {""buyPrice"": $2$,""timestamp"": ""$3$"",""stationStock"": $4$,""stationName"": ""$5$"",""systemName"": ""$6$"",""demand"": $7$,""sellPrice"": $8$,""itemName"": ""$9$""}}";
json = @"{""$schemaRef"": ""http://schemas.elite-markets.net/eddn/commodity/1/test"",""header"": {""uploaderID"": ""$0$"",""softwareName"": ""RegulatedNoise"",""softwareVersion"": ""v1.41""},""message"": {""buyPrice"": $2$,""timestamp"": ""$3$"",""stationStock"": $4$,""stationName"": ""$5$"",""systemName"": ""$6$"",""demand"": $7$,""sellPrice"": $8$,""itemName"": ""$9$""}}";
}
else
{
json = @"{""$schemaRef"": ""http://schemas.elite-markets.net/eddn/commodity/1"",""header"": {""uploaderID"": ""$0$"",""softwareName"": ""RegulatedNoise"",""softwareVersion"": ""v1.4""},""message"": {""buyPrice"": $2$,""timestamp"": ""$3$"",""stationStock"": $4$,""stationName"": ""$5$"",""systemName"": ""$6$"",""demand"": $7$,""sellPrice"": $8$,""itemName"": ""$9$""}}";
json = @"{""$schemaRef"": ""http://schemas.elite-markets.net/eddn/commodity/1"",""header"": {""uploaderID"": ""$0$"",""softwareName"": ""RegulatedNoise"",""softwareVersion"": ""v1.41""},""message"": {""buyPrice"": $2$,""timestamp"": ""$3$"",""stationStock"": $4$,""stationName"": ""$5$"",""systemName"": ""$6$"",""demand"": $7$,""sellPrice"": $8$,""itemName"": ""$9$""}}";
}


Expand Down
31 changes: 17 additions & 14 deletions RegulatedNoise/Form1.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,10 @@
</value>
</data>
<data name="textBox1.Text" xml:space="preserve">
<value>v1.4
<value>v1.41
* Fix Transaction credits does not accept numbers &gt;100 (GitHub issue #1)

v1.4
* Add "within x light years of arbitrary system"
* Add buttons linking to system maps and routes at http://starchart.info - with thanks to Biteketkergetek
* Goosem@n's fix
Expand Down Expand Up @@ -1590,7 +1593,7 @@ v0.8:
* Commodities and Commander's Log autosaved and autoloaded on exit and start;
* EDDN Export now defaults to Off</value>
</data>
<data name="bShowStationRestrictionAtStarchartDotClub.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="bShowStationToStationRouteAtStarchartDotClub.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAIAAAAmKNuZAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAR9JREFUSEvVlEGqwkAQROMtBHdGjFuzUS/gFfwH+Aje4X/c6gUUbyEuQnAlBESC
Expand All @@ -1599,6 +1602,17 @@ v0.8:
XtP04/8BzeU94fqo/SoLpP6bHadw4u2ZuZNLb+dfB1fSkiVyZ/j/UVRjLazI1fWg2Jz7wN3gnrxsbGsr
7nH/WMghV+pt6FtXtdNKttlEWQs8W0UfedqUskB/FX3kXaCUBbbPu+dDFxShuRga2Pnw5U7Tl/r+ewiC
E38FHr4WWU6iAAAAAElFTkSuQmCC
</value>
</data>
<data name="label10.Text" xml:space="preserve">
<value>Tips:

1) You DO NOT need to run this app as Administrator if you want to use the Webserver;
2) You'll probably need to go to Windows Firewall and create a rule to open port 8080 for incoming connections;
3) Make sure you select the correct IP address above, for the local network you want to use;
4) Click the link above to launch the page in a local browser;
5) The data is organised on the page just as you organise it in the app.

</value>
</data>
<data name="bShowStationAtStarchartDotInfo.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
Expand All @@ -1612,7 +1626,7 @@ v0.8:
E38FHr4WWU6iAAAAAElFTkSuQmCC
</value>
</data>
<data name="bShowStationToStationRouteAtStarchartDotClub.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="bShowStationRestrictionAtStarchartDotClub.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAIAAAAmKNuZAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAR9JREFUSEvVlEGqwkAQROMtBHdGjFuzUS/gFfwH+Aje4X/c6gUUbyEuQnAlBESC
Expand All @@ -1621,17 +1635,6 @@ v0.8:
XtP04/8BzeU94fqo/SoLpP6bHadw4u2ZuZNLb+dfB1fSkiVyZ/j/UVRjLazI1fWg2Jz7wN3gnrxsbGsr
7nH/WMghV+pt6FtXtdNKttlEWQs8W0UfedqUskB/FX3kXaCUBbbPu+dDFxShuRga2Pnw5U7Tl/r+ewiC
E38FHr4WWU6iAAAAAElFTkSuQmCC
</value>
</data>
<data name="label10.Text" xml:space="preserve">
<value>Tips:

1) You DO NOT need to run this app as Administrator if you want to use the Webserver;
2) You'll probably need to go to Windows Firewall and create a rule to open port 8080 for incoming connections;
3) Make sure you select the correct IP address above, for the local network you want to use;
4) Click the link above to launch the page in a local browser;
5) The data is organised on the page just as you organise it in the app.

</value>
</data>
</root>

0 comments on commit 2bf3881

Please sign in to comment.