NationStates Jolt Archive


NSTracker

Fostonia
20-08-2005, 04:57
I've taken the source code from NSEconomy, made a few changes, and created NSTracker: http://nstracker.retrogade.com. I've removed all the region-related stuff, so the program won't die on you if you're in a large region (like me ;) ). The biggest improvement, however, is the ability to add a "tracker" for your nation. NSTracker can store up to 30 records on your nation, and you can view line graphs for the following stats:

Income Tax Rate
Population
Government Budget Breakdown
Exchange Rate
GDP
GDP Per Capita
Unemployment Rate
Consumption
Government Budget
Government Expenditures
Government Waste
Imports

I've preserved all of the stats from NSEconomy (except for Exports, because I removed the region stuff), and I've added a pie graph for the Government Budget sectors. The trackers update each day at noon Eastern time (you can set your tracker to update as rarely as every two weeks, though). Also, if nobody views your nation's NSTracker stats for 30 days, your tracker and historical data are erased (to prevent excess buildup in the database). So go ahead and try it out, tell me what you think. I know it's not much graphically; I just finished working out the code, so I haven't had any time for style-related stuff ;)

http://nstracker.retrogade.com
TearTheSkyOut
20-08-2005, 05:05
Oh! now this is cool! :cool:
Eichen
20-08-2005, 05:11
Wow, good job! Best first post award goes to...
Sel Appa
20-08-2005, 05:17
COOL! I would like to see more visual stuff. Numbers are hard to imagine.
Tannenmille
20-08-2005, 05:19
Wow, that really does put into perspective how much I spend on defense. Need to cut that number back, methinks.
Euroslavia
20-08-2005, 05:19
This would probably serve better in International Incidents; therefore, moved.
Rotovia-
20-08-2005, 05:28
Now I like this tracker, I do like it alot...
Weapons-Tech incorp
20-08-2005, 05:39
yes interesting
Hyperspatial Travel
20-08-2005, 05:45
Genius! Pure genius! (I spend more money on my waste than I do on government education..)
The Silver Sky
20-08-2005, 05:48
Awesome job, site bookmarked, and thread tagged.


May I present you with the Best First Post Award...
Morvonia
20-08-2005, 06:19
site bookmarked cool pie chart and it is very fast compared to ns economy
Fostonia
20-08-2005, 06:36
I'm loving the compliments! :D

BTW, the site uses a cookie that stores the last nation you viewed, so when you go back, it'll remember it for you.

I've just finished add a feature that lets you compare two nations against each other. Under the stats listing, there's now a "Compare Nation" section. Enter the nation's name in the box and click Submit Query, and you'll see the two nations side-by-side. For each stat that can be compared, the higher one of the two will be highlighted.

site bookmarked cool pie chart and it is very fast compared to ns economy

Yeah, there's a speed difference because I'm only pulling one country (two if comparing) per page. In NSEconomy, the script pulls the entire region of countries at one time.
Morvonia
20-08-2005, 06:48
[QUOTE=Fostonia]I'm loving the compliments! :D
Under the stats listing, there's now a "Compare Nation" section. QUOTE]




OMG i did not notice that that is so cool
Riegab
20-08-2005, 07:30
This is really fantstic! But I have one question, I noticed that for Commerce Heights they have their symbol for they money just as they do on NSE, but I was wondering if it's possible to somehow change your own symbol, I figure this is a long shot because I know you can't on NSE, but hey, it's already suprised me a couple times. :)
Kjata Major
20-08-2005, 07:42
Wow very nice. Morvonia AHAHHAHAHA! You have OTHER for a percent choice. Real nice to commerce huh?
Arizona Nova
20-08-2005, 07:52
Awesome. In the sig.
Fostonia
20-08-2005, 07:53
This is really fantstic! But I have one question, I noticed that for Commerce Heights they have their symbol for they money just as they do on NSE, but I was wondering if it's possible to somehow change your own symbol, I figure this is a long shot because I know you can't on NSE, but hey, it's already suprised me a couple times.

Actually, NSE converts certain currency names into special characters. I went through that chunk of code and redid the special symbols. If your nation's currency is one of these names, then it'll use the special character:

simoleon: §
yen: ¥
currency: ¤
pound: £
cent: ¢
euro: €
dollar: $
florin: ƒ
peso: $
franc: ₣
real: R$
yuan: 元
kroner: kr
guilder: ƒ
shekel: ₪
lire: ₤
won: ₩
ruble: руЯ

You have OTHER for a percent choice.

Bleh, stupid pie chart software keeps throwing in that "OTHER" category. I'll have to tweak the code a bit...
Riegab
20-08-2005, 20:43
Actually, NSE converts certain currency names into special characters. I went through that chunk of code and redid the special symbols. If your nation's currency is one of these names, then it'll use the special character: -snip-

Cool, that's real nice.



Bleh, stupid pie chart software keeps throwing in that "OTHER" category. I'll have to tweak the code a bit...

I noticed that too, though, I really didn't see it as a problem because if you look at it the "others" are those categories that are under one or two percent I think.
DaileyResurected
20-08-2005, 20:54
sweet
Einhauser
20-08-2005, 21:08
How the hell did 5% of my budget go to healthcare?! Im supposed to have nothing in the catagory!

Nice calc, by the way.
Fatus Maximus
20-08-2005, 21:15
Wow, good job Fostonia! Real nice! :D
Safalra
20-08-2005, 21:16
I've taken the source code from NSEconomy, made a few changes, and created NSTracker: http://nstracker.retrogade.com

Nice. So this is GPL'd - where can we get a copy of the source code?
Fostonia
21-08-2005, 00:58
I've modified the currency symbols a bit. If your currency doesn't have a special symbol, it now shows the first letter and the dollar sign. For example, if your currency is the Widget, then your symbol is W$.

Nice. So this is GPL'd - where can we get a copy of the source code?

NSTracker's still at an early stage, and the code is quite messy. I'll be culling the code down over time and making everything more understandable before I release the source. I will release it eventually, though.
DontPissUsOff
21-08-2005, 01:24
Bloody hell! For what is, apparently, a crude and "messy" early version, this is brilliant! Fantastic job mate.
Malkyer
21-08-2005, 02:09
Great job. The graph makes it easy to see that I'm spending way too much on Law and Order. :p
The Vuhifellian States
21-08-2005, 02:15
Nice, its much easier understanding data with NST than NSE.
Sel Appa
21-08-2005, 06:16
Cool! It recognized the symbol of our currency just by its name.
Roman Republic
21-08-2005, 06:21
Wow. This is a great NS Tracker. It will kick the asses of Thirdgreek.
Fostonia
21-08-2005, 07:34
I've just finished a major code revamp for NSTracker. The code itself is much more efficient, and I've made extensive use of style sheets to make the page look MUCH better. Tell me if there's any fonts/colors that you don't like!

Oh, and a bit of bad news. Turns out I fudged some of the data saving code. So I had to erase the currently saved records. No biggie (good thing I caught it now instead of later!), this just means that anyone that's signed up now won't be able to view charts until August 22 (Monday) after noon Eastern time.
The Vuhifellian States
21-08-2005, 07:55
Erm, it looks the same as before you updated it...
Fostonia
21-08-2005, 08:05
Erm, it looks the same as before you updated it...

Are you sure? Try pressing Ctrl+F5 to force a cache refresh on your browser. I pulled this screenie from: http://nstracker.retrogade.com

http://nstracker.retrogade.com/screenie.jpg
The Vuhifellian States
21-08-2005, 08:39
Are you sure? Try pressing Ctrl+F5 to force a cache refresh on your browser. I pulled this screenie from: http://nstracker.retrogade.com

http://nstracker.retrogade.com/screenie.jpg
Nope, exactly the same, I dunno, maybe it'll update by tomorrow, I'll check on Monday, but otherwise, this is great
Christopher Thompson
21-08-2005, 14:17
As we say on 4chan: Congratulations! You win the internet for a day!
Here's one free internet!
*hands internet to him*
The Noble Men
21-08-2005, 14:28
Woo! Hope it takes off!
Frisbeeteria
21-08-2005, 14:41
Apologies to my colleague, but this is exactly the sort of thing that belongs in Gameplay. Moved.

Splendid job, Fostonia. Well done!

One of the more common currencies I didn't see on your list is the 'credit'. Lots of modern and future nations seem to like that one. The common abbreviation is typically the lowercase {cr}.
Ardchoille
21-08-2005, 15:34
Thank you! This is the first time I've understood what's going on in my nations. The comparison function is soup-oib! *closes schools, arms students, enforces prayers in one, while opening schools, dismissing army, banning religion in the other.*
The Kadell
21-08-2005, 15:39
Uber job well done
Warta Endor
21-08-2005, 15:39
So very cool. I think Third Geek is outta bussiness!
Manhattan Prime
21-08-2005, 17:54
Fantastic job, love it!
Jarridia
21-08-2005, 18:13
TAG


This Tag has cost the Jarridian Government $463.89


All repayments should be made to:

Jarridian Bureau of Tagishness
Attn: TAG RECIEVABLES
2702 North Loop 1540 West
P.O. Box 373
Shelbin, Jarridia 78564-8957

We accept Cash, Personal Checks and the following Credit Cards: MasterCard, Visa, Discover, NSEX (NationStates Express).
Parvani
21-08-2005, 19:45
fris, why would a gameplayer even remotely be interested in this? this smells like something roleplayers would play with.
The Noble Men
21-08-2005, 20:25
fris, why would a gameplayer even remotely be interested in this? this smells like something roleplayers would play with.

I'm sure this crops up here. (http://forums.jolt.co.uk/showthread.php?t=301573)

"Miscellaneous issues involving use of the NS World game engine" and "Discussion of methods that people use to occupy their time in the Game" sound about right.

Although I am not Fris, and only Fris can speak for Fris. I can only guess.
Fostonia
21-08-2005, 22:17
Yeah, I made a little tweak late last night. I saw when the stats rolled over to the next day, so I went and adjusted the dates on the records so that anyone who registered trackers before whenever NS updated the nations last night now has two records, and can view line graphs. Yay!

One of the perks of my recent code revamp is built-in support for displaying an infinite number of nations. So I'm going to work on a compressed (no pie graphs, smaller columns) display for comparing 3 or more nations at one time. I'll post here again when I'm done with that.

BTW, anyone who was using NSTracker before the layout update: are you seeing the new layout now? (Old layout was white background with plain text, new layout is gray background with sans-serif text) Vuhifellian was having problems earlier this morning with the old layout still coming up; I'm pretty sure it was just a browser cache issue, though.

One of the more common currencies I didn't see on your list is the 'credit'. Lots of modern and future nations seem to like that one. The common abbreviation is typically the lowercase {cr}.

Fixed. :D
Arizona Nova
21-08-2005, 22:31
The new background is working for me.
DaileyResurected
22-08-2005, 04:03
i see it just fine. looks a lot cooler then thirdgeek's one
Fostonia
22-08-2005, 04:21
Okay, more changes. Now you can compare up to 6 different nations together. To do this, click the "Compare more nations" link in the Compare Nation section, and enter up to 5 nations to compare. When you compare multiple nations, you'll see a much more reduced format (to save space): no flag, smaller nation info section, no pie charts, no graph links.

You can have NSTracker show smaller numbers in the data display. For example, "$127,313,630,510.34" becomes "$127.31 billion". To do this, click the "Show short numbers" link near the bottom of the page. To show long numbers again, click that link again (now it'll be "Show full numbers"). Cookies are used to store this setting.

We passed the 100-nation-trackers mark today! :D
DaileyResurected
22-08-2005, 06:13
wow sweet
Fostonia
23-08-2005, 05:37
Okay, I've finished the final code tweaks and commenting for version 1.0. I'm releasing it under the GPL license, and I'm making a SourceForge project for it. Until I get SF approval, you can download the package here: http://nstracker.retrogade.com/nstracker10.zip. Excerpt from readme.txt:

Upload all of the package files into a folder on your web server. Run
index.php to start the installation script. Enter your MySQL login
details, set up the maximum number of nations to compare at once, and the
script will handle the rest of the SQL setup.

If you want to edit these values at a later time, you can find them in
db.php.

At this point, the database setup will be complete. However, to enable
trackers, you need to add a cron job to your server. You need to set it
so that dataminer.php is run every day, at whichever time you prefer. The
dataminer.php script pulls the tracker info from NationStates.net each day
for the historical records.

Once you've added this cron job, your NSTracker install should be ready to
go!
Insatiable Curiosity
24-08-2005, 00:13
Excellent tool. Well done!
Santa Barbara
24-08-2005, 01:59
Hmm. The pie chart for my nation incorrectly lists 51% to commerce and nothing at all to defense. Everything else looks normal though.
Fostonia
24-08-2005, 05:32
Hmm. The pie chart for my nation incorrectly lists 51% to commerce and nothing at all to defense. Everything else looks normal though.

Turns out your defense budget is so huge (123.09 trillion) that PHP switched over to exponential notation (1.2308602021577E+14) when it fed the numbers to the pie chart. Whoopsy. I switched the pie chart over to percentages, instead of actual amounts, so that shouldn't happen anymore.
Santa Barbara
24-08-2005, 07:01
Turns out your defense budget is so huge (123.09 trillion) that PHP switched over to exponential notation (1.2308602021577E+14) when it fed the numbers to the pie chart. Whoopsy. I switched the pie chart over to percentages, instead of actual amounts, so that shouldn't happen anymore.

Thanks, you made my day. :D
Wesleiesm
25-08-2005, 04:16
This is great! I waste more mone than I spend!!
Wesleiesm
25-08-2005, 04:22
by the way, how do we check other people's tracker's?
National Commonwealth
25-08-2005, 04:33
Sweet stuff. Thanks, this is excellent!
Frisbeeteria
25-08-2005, 04:39
fris, why would a gameplayer even remotely be interested in this? this smells like something roleplayers would play with.
Gameplay is much more than the Invasion game. It also includes graphics (flags and maps), languages (invented or shared), music (there are people who actually compose anthems for their nations!), scripters and tech-wankers (many of whom use those tools for invading/defending, but by no means all), and of course the calculator creators.

There's a good list in NSwiki (http://ns.goobergunch.net/wiki/index.php/Gameplay), and I'm not just saying that because I wrote most of it.
The Philosophes
25-08-2005, 04:57
really, really cool, 'cept it doesn't show me as a UN nation... oh well...
Fostonia
25-08-2005, 08:01
Okay, I've released version 1.1 with some pretty major bug fixes in it. You can find it on the new NSTracker SourceForge page: http://sourceforge.net/project/showfiles.php?group_id=146711

by the way, how do we check other people's tracker's?

Do you mean, viewing graphs for other people's trackers? When you view that person's nation, there should be a "[GRAPH]" link next to each category name that you can view a graph for.

really, really cool, 'cept it doesn't show me as a UN nation... oh well...

Ah, right, because you're a delegate. I didn't realize NS specified that info. But it's fixed now. :D
Itinerate Tree Dweller
25-08-2005, 18:04
I may be able to help add to your project, if I come up with any ideas, I'll run them by you.
Turquoise Days
25-08-2005, 18:18
Wow! This pwns thirdgeek :)
One gripe though. The yellow colour used for my environment pie slice is almost illegible against the grey. White might work better?
Sonaj
25-08-2005, 18:51
Thank you, finally I don´t have to move out of Gatesville everytime I want to update my factbook.

Very nice, stored as favourite.
Itinerate Tree Dweller
25-08-2005, 19:19
Ok, the smallest sections of any pie graph (1%) do not show up. On my testing server I changed some variables around in the pie graph script. I changed MinDisplayPercent from 1 to 0. A completed pie looks better. That variable is stored in the phpPie.class.php
Itinerate Tree Dweller
31-08-2005, 22:34
I have another suggestion. The page would look much better if it were centered on the page. People tend to look toward the center of their monitor, its just more comfortable.
United Tribes Cacicate
01-09-2005, 17:03
NSEconomy was deleted because of it??
Infidels and punks
01-09-2005, 18:51
What did NS economy actually do?
Gruenberg
01-09-2005, 19:38
NS Economy was a 'calculator'. It used some highly suspect formula to give notional values for 'GDP' - whatever that means - and other figures for nations. Because there's no game method for determining how much money you have, it was favoured by many members of the NS community as a base for economic RP.
Itinerate Tree Dweller
01-09-2005, 19:43
As far as I know, nseconomy is still around. The site seems to be currently down, but the sourceforge page says nothing of it being shut down. The site is probably down due to traffic.
United Tribes Cacicate
01-09-2005, 22:26
Oh, yea, I see it. It's working :D
Khaosopolis
03-09-2005, 07:55
Very nice.

Only one quibble
If you click on your government category, and then select Anarchy in the combo box, nothing happens. Probably because Anarchy is the first option. I'd suggest adding --choose a category-- as the first line of the combo box and an offset in the appropiate place in the code, since it appears the thing waits until you change something to load the appropiate data.

Also, if you could select the category by fiddling with the freedoms...
The Silver Sky
08-09-2005, 22:44
Umm, a problem with the government budget graphs, if you get a high pecentage the key for the graph hides the newest points on the graph, I think the same happens with all the graphs, any way you could fix that?
Betas
09-09-2005, 04:00
The NSEconomy Calculator lists national Economic Statistics about each nation, this section begins with that nation's exchange rate and listing all subsequent currency data in standard USD format.

The NSTracker, however, lists Domestic Statistics, including National Currency. It then continues to label all subsequent currency data with this format.

However, the problem is when one considers the regional Economic Statistics section at NSEconomy Calculator.

The first line listed in this section is the Gross Regional Product. This number does not fluctuate when one examines the statistics for each nation in the same region. It follows that this number must be displayed in the same currency for each nation’s statistic page. Summing each nation’s GDP for a region does indeed produce this number. Therefore, each nation’s GDP must be displayed in the same currency.

Since each national Economic Statistics page begins with the nation’s exchange rate, it logically follows that all subsequent currency data is displayed in USD.

And since NSTracker pulls its data from NSEconomy, it follows that ALL currency data for both sites are USD.

Comments?
Bolshikstan
19-09-2005, 01:25
I have a question. What dependencies does it have other than the GD2 library for drawing the graphics. The reason I ask is that I have it setup and the main Graph works but I can't use the tracker and hence the graphs for various things like GDP, etc.
Fostonia
10-11-2005, 22:44
Sorry about the long hiatus. I had some free time at work today, so I wrote up some new statistics code. Go to http://nstracker.retrogade.com/stats.php to view statistics for all tracked nations, or you can select by nation category (you can also access this by clicking View Statistics at the bottom of any NSTracker page). I'll do a little more work later tonight, then release version 1.2.

Ok, the smallest sections of any pie graph (1%) do not show up. On my testing server I changed some variables around in the pie graph script. I changed MinDisplayPercent from 1 to 0. A completed pie looks better. That variable is stored in the phpPie.class.php

I've fixed that for version 1.2.

Only one quibble
If you click on your government category, and then select Anarchy in the combo box, nothing happens. Probably because Anarchy is the first option. I'd suggest adding --choose a category-- as the first line of the combo box and an offset in the appropiate place in the code, since it appears the thing waits until you change something to load the appropiate data.

I've fixed that for version 1.2

Also, if you could select the category by fiddling with the freedoms...

Hmm...I'll look into that when I get home later this evening.

Umm, a problem with the government budget graphs, if you get a high pecentage the key for the graph hides the newest points on the graph, I think the same happens with all the graphs, any way you could fix that?

I'll play around with the code and see what I can do. I've noticed this problem before, but it's tricky to fix.

I have a question. What dependencies does it have other than the GD2 library for drawing the graphics. The reason I ask is that I have it setup and the main Graph works but I can't use the tracker and hence the graphs for various things like GDP, etc.

Not sure. You'd have to talk to the writers of phPie and PHPlot to see what they require.
Rolatia
11-11-2005, 08:57
I've known about this tool for a while, and it's especially useful now my main country is in a large region. It's also interesting to check out the new stats page - especially seeing what types of government are most popular. You should put up a rankings page where the different categories are ranked by number of nations :D
Fostonia
11-11-2005, 18:00
I've fixed the dates on the bottom of the tracker graphs; instead of showing the entire dates (and having them overlap each other), I've reduced them down to simply the days of the month.

Also, if you could select the category by fiddling with the freedoms...

Alright, you can change the freedoms on the little category pop-up window and it'll figure out which category you want.

Umm, a problem with the government budget graphs, if you get a high pecentage the key for the graph hides the newest points on the graph, I think the same happens with all the graphs, any way you could fix that?

I figured out how to move the legend around, so I've moved it to the top left of the graph. Hopefully that'll work.

You should put up a rankings page where the different categories are ranked by number of nations :D

I've added a category breakdown to the Overall Stats page, with a pie chart and listings for the various categories.
The Eastern-Coalition
11-11-2005, 19:07
I'm liking this tool *a lot*. Good job!
Compadria
12-11-2005, 13:09
This is a great site. Congratulations!

Though I did get a nasty shock about my unemployment rate.
Wolfish
15-11-2005, 17:02
Wow - outstanding.

I haven't read the whole thread - perhaps some suggestions were made...but if I may - when using the "compare nations" tool, it would be helpful if the curriencies were convered to a common demoninator for easier assessment of ones standing.

But truly a great tool. Thanks for building it.

W.
Gruenberg
15-11-2005, 18:43
I'm still not clear why the numbers are converted into national currencies. NSEconomy gives them in USD, and NSTracker, whilst giving the exchange rates, doesn't convert them.
New Pindorama
15-11-2005, 21:52
I'm still not clear why the numbers are converted into national currencies. NSEconomy gives them in USD, and NSTracker, whilst giving the exchange rates, doesn't convert them.

I had the same doubt. However, it's still the a good calc...
Gruenberg
15-11-2005, 21:56
I had the same doubt. However, it's still the a good calc...

Sure, because who cares if it's wrong, so long as it LOOKS PRETTY!
Evil Woody Thoughts
15-11-2005, 23:16
Wow - outstanding.

I haven't read the whole thread - perhaps some suggestions were made...but if I may - when using the "compare nations" tool, it would be helpful if the curriencies were convered to a common demoninator for easier assessment of ones standing.

But truly a great tool. Thanks for building it.

W.

The data for gdp and government budgets are supposed to be standardized into USD (like thirdgeek, the data's the same except the effect of trade deficit/surplus on the economy is removed). the currency abbreviations in front of the data are an unaddressed bug.
Cosmo Kramerica
16-11-2005, 02:42
I've removed all the region-related stuff, so the program won't die on you if you're in a large region

Thank you for solving this problem :)
New Pindorama
16-11-2005, 16:06
Sure, because who cares if it's wrong, so long as it LOOKS PRETTY!

It's still a problem to be fixed though...
Fostonia
17-11-2005, 08:30
*sigh*

Guess I'll have to do something about that currency thing. I'll see about converting the values using the conversion rate; I'll provide a mode that equalizes them back to USD; also, compares will be in USD only.
New Pindorama
17-11-2005, 15:49
you are still here. Congrats, your calc is really good...
Templa
18-11-2005, 00:24
Awesomeness.
Ekathora
18-11-2005, 00:25
:D :cool: :D

Now I think that this is the coolest calculator I have seen!

=b Good work!
N Y C
18-11-2005, 00:52
me likey
Evil Woody Thoughts
19-11-2005, 02:51
*sigh*

Guess I'll have to do something about that currency thing. I'll see about converting the values using the conversion rate; I'll provide a mode that equalizes them back to USD; also, compares will be in USD only.

Meh. All you need to do is get rid of the currency symbol in front of the budget/GDP values. Trying to convert the values (like cr115 trillion, for example) into USD would create more problems.

I'd suddenly find my GDP almost doubled, for example, because I have a really high exchange rate. Poor nations would have a GDP of only a few dollars because their stats would be divided by 200 or something, because their currencies are weak.
Reformentia
19-11-2005, 02:56
Meh. All you need to do is get rid of the currency symbol in front of the budget/GDP values. Trying to convert the values (like cr115 trillion, for example) into USD would create more problems.

I'd suddenly find my GDP almost doubled, for example, because I have a really high exchange rate. Poor nations would have a GDP of only a few dollars because their stats would be divided by 200 or something, because their currencies are weak.

Yes, and the reason you appear to be presenting this as a problem would be... because you don't like realism?

Would you consider a GDP of 1,000,000,000,000 Pesos to be equal to a GDP of 1,000,000,000,000 USD in the real world just because you can erase the units and then they're the same number?
Evil Woody Thoughts
19-11-2005, 03:49
Yes, and the reason you appear to be presenting this as a problem would be... because you don't like realism?

Would you consider a GDP of 1,000,000,000,000 Pesos to be equal to a GDP of 1,000,000,000,000 USD in the real world just because you can erase the units and then they're the same number?

No. The reason why I pointed this out is because I asked a couple of months ago in gameplay about this, and was told that all calculator values are assumed to be in USD.

Clicky (http://forums.jolt.co.uk/showthread.php?t=447925)
Whittier--
15-12-2005, 00:14
I prefer the way this one handles the currencies.
It means instead of just 1.5 trillion for defense I actually have 3 trillion.
Fourhearts
15-12-2005, 00:38
I've taken the source code from NSEconomy, made a few changes, and created NSTracker: http://nstracker.retrogade.com. http://nstracker.retrogade.com

So YOU'RE the guy behind this! This is so COOL! My upmost appreciation! I've even put a link to it in my sig.
The Damned People
15-12-2005, 00:48
Wow. Congratulations.
Whittier--
15-12-2005, 02:57
I've taken the source code from NSEconomy, made a few changes, and created NSTracker: http://nstracker.retrogade.com. I've removed all the region-related stuff, so the program won't die on you if you're in a large region (like me ;) ). The biggest improvement, however, is the ability to add a "tracker" for your nation. NSTracker can store up to 30 records on your nation, and you can view line graphs for the following stats:

Income Tax Rate
Population
Government Budget Breakdown
Exchange Rate
GDP
GDP Per Capita
Unemployment Rate
Consumption
Government Budget
Government Expenditures
Government Waste
Imports

I've preserved all of the stats from NSEconomy (except for Exports, because I removed the region stuff), and I've added a pie graph for the Government Budget sectors. The trackers update each day at noon Eastern time (you can set your tracker to update as rarely as every two weeks, though). Also, if nobody views your nation's NSTracker stats for 30 days, your tracker and historical data are erased (to prevent excess buildup in the database). So go ahead and try it out, tell me what you think. I know it's not much graphically; I just finished working out the code, so I haven't had any time for style-related stuff ;)

http://nstracker.retrogade.com
I've made this a requirement for Earth IV and for purchases from the Whittier Arms Dept.
How do you get the line graphs though?
Whittier--
15-12-2005, 15:24
No. The reason why I pointed this out is because I asked a couple of months ago in gameplay about this, and was told that all calculator values are assumed to be in USD.

Clicky (http://forums.jolt.co.uk/showthread.php?t=447925)
It is better to have currency conversion. Because not all currencies are equal to the US dollar. In the real world none are. In fact some are worth more and some worth less than other currencies.

But I don't see why an auto converter should be added when all you have to do is take a simple calculator and multiply your budget number by the exchange rate to get your true budget.
It will help with people who tend to use super uber large armies of 150 million.
Cluichstan
15-12-2005, 15:51
This is outstanding! Excellent work!
FostoniaTwo
05-01-2006, 23:44
Oopsies. Looks like I forgot to log in for four weeks. Dangit.

I've made this a requirement for Earth IV and for purchases from the Whittier Arms Dept.
How do you get the line graphs though?

To get the line graphs, you have to create a tracker for your nation. Check out the Wiki article for more info on that: http://ns.goobergunch.net/wiki/index.php/NSTracker#Trackers
Experimentum
09-02-2006, 09:50
This is great stuff. One question: Why is my unemployment rate so different in NSEconomy v. NSTracker?
Good Happy People
09-02-2006, 18:22
Is there any way to see a list of things like industrial rankings? For instance, I get a message one day that says I'm 1st in a region for furniture making. How can I see that on days when I don't have that in my synopsis?
Itinerate Tree Dweller
09-02-2006, 23:09
This is great stuff. One question: Why is my unemployment rate so different in NSEconomy v. NSTracker?

Some code may have changed.
Creechmark
12-02-2006, 01:59
This program is awesome! I hope our peoples can do something nice for you in return sometime. Still, I have one question. The tracker says that 39% of my budget is going for Administration. I haven't seen any other country with numbers anywhere like that. Nor do I remember ever voting on an issue, say, with the option: "Make all bureaucrats millionares." How can this be happening?

The Grateful Peoples of the Armed Republic of Creechmark
Itinerate Tree Dweller
12-02-2006, 03:43
This program is awesome! I hope our peoples can do something nice for you in return sometime. Still, I have one question. The tracker says that 39% of my budget is going for Administration. I haven't seen any other country with numbers anywhere like that. Nor do I remember ever voting on an issue, say, with the option: "Make all bureaucrats millionares." How can this be happening?

The Grateful Peoples of the Armed Republic of Creechmark


That is based on you nationstates xml feed.
http://www.nationstates.net/cgi-bin/nationdata.cgi/nation=Creechmark
Bretton
25-06-2006, 03:09
Third time this has happened to me now...

It would seem that on a monthly, sometimes two-monthly basis, my economy tanks back to below where it started after the last plummet, and all in one update.

I have identified two issues (Privitised Prisons and Send Debtors to Prison) that cause this enormous drop and have since dismissed them each time they come up. Recently, a third issue caused this again; I cannot identify which one did it.

See below:

http://nstracker.retrogade.com/graph.php?nation=bretton&viewchart=gdp

http://nstracker.retrogade.com/graph.php?nation=bretton&viewchart=gdppc

It is becoming excessively detrimental to protracted wars I am involved with each time my economy seemingly loses a tenth of its power, especially with parties that enjoy "nickel and diming" your military funding.

Is there a problem with the software, or failing that, has anyone got a list of issues to avoid that cause this amazing downturn?
USAF Munitions- AMMO
30-07-2006, 08:39
hello. my state currently has a tax rate of 100%, a GDP of F$917,108,271,297.41, and a budge of F$945,472,444,636.50 government expenditures is F$917,108,271,297.41 and government waste is F$28,364,173,339.09.
I was wondering where this extra 28 billion flamin liberal comes from
The Most Glorious Hack
30-07-2006, 08:43
A) That would be deficit spending.
B) "flamin liberal" is not an acceptable currency.
USAF Munitions- AMMO
30-07-2006, 17:18
I'll change it for the time being. may I know why I can't have it? I don't see anywhere in the faq (http://www.nationstates.net/12574/page=faq) or the TCU (http://www.nationstates.net/pages/legal.html)
Razat
30-07-2006, 17:45
I'll change it for the time being. may I know why I can't have it? I don't see anywhere in the faq (http://www.nationstates.net/12574/page=faq) or the TCU (http://www.nationstates.net/pages/legal.html)

My guess is, it's because it's not acceptable to use subsets of humans as national animals or currency. Some people consider "flaming liberals" to be human, though there is some question. j/k *ducks and runs*
The Most Glorious Hack
31-07-2006, 05:50
"malicious"
Dioxin
21-03-2007, 00:42
Hi ~

It looks great. Well done that man. I am very interested in seeing just how this economic tracker will perform over the next 30 days.

Excellent job. Take a pay rise.

Take two pay rises.

~ Dioxin
Sehvekah
12-04-2007, 15:39
Tracker's not recording any new data points since the server move, I'm stuck at 18 records. Any chance of fixing this?
NovaCarpeDiem
12-04-2007, 20:15
Yes, it seems to be no longer keeping records since the server move (April 3rd). Will we have to delete and recreate our trackers to continue keeping records?
Okielahoma
13-04-2007, 00:10
Hi ~

It looks great. Well done that man. I am very interested in seeing just how this economic tracker will perform over the next 30 days.

Excellent job. Take a pay rise.

Take two pay rises.

~ Dioxin
Uh...that thanks belongs elsewhere, to CommerceHeights i beleive.
Bazalonia
13-04-2007, 01:29
Uh...that thanks belongs elsewhere, to CommerceHeights i beleive.

Um... no.

Commerce Heights's NSEconomy forms the backend for NSTracker but there is alot of frontend stuff that the guy that does it has added in. ie Graphs and history.

Generally I use NSEconomy unless I want graphs and history and then I use NSTracker
Larsdaylen
13-04-2007, 02:19
this IS sweet... Now I see how much Im wasting... THANKS!
Indiscriminate Murder
23-04-2007, 17:05
Yes, it seems to be no longer keeping records since the server move (April 3rd). Will we have to delete and recreate our trackers to continue keeping records?

Yeah, this has been a problem for me, too. Is this a server issue? Or do I just need to change my browser settings?
Shazbotdom
23-04-2007, 20:29
I think it's a global issue with everyone who uses the Tracker.
Siriusa
24-04-2007, 02:56
Well I deleted my old records and restarted the tracker a week ago, but there's no progress. It's still just one day recorded.
Quaon
06-05-2007, 23:18
The site is dead.
Maraque
06-05-2007, 23:50
What is the world coming to? First the best calculator NSEconomy craps out, then the 2nd best calculator NSTracker craps out... I guess NSDossier will have to do for now.
Shazbotdom
07-05-2007, 00:50
It's probably a hosting or DNS issue.....give it time
Arizona Nova
07-05-2007, 10:02
I fear the host site has lapsed. http://retrogade.com/ The cursed GoDaddy stamp leers there.
Russia69
08-05-2007, 00:37
grrr everything has crapped out, whats the link for NS dossier?
Maraque
08-05-2007, 01:25
http://nsdossier.texasregion.net/main.aspx

It's the next best thing to sliced bread and pancakes.
Boico
16-05-2007, 14:47
http://nsdossier.texasregion.net/main.aspx

It's the next best thing to sliced bread and pancakes.

Everytime I try to search my nation I get an error message which goes on for about 572 lines (I counted them :headbang: ) Can anyone help me ?
Reloria
16-05-2007, 14:59
http://nsdossier.texasregion.net/main.aspx

It's the next best thing to sliced bread and pancakes.

Yes, it's what I use. Unfortunately, with the death of both NSEconomy and NSTracker, I get the impression that NSDossier might struggle to cope with the increased demand...
Happinezz
17-05-2007, 14:16
Try http://www.sunsetrpg.com/economystatistics.php?
Markeliopia
18-05-2007, 05:40
Try http://www.sunsetrpg.com/economystatistics.php?

that looks like a good one, thanks

I wonder what I can do to raise consumer confidence
Melixia
25-08-2007, 01:05
http://www.peachiekeen.net/nstracker

this is an installation of the original NSTracker
Fostoniathree
31-08-2007, 02:49
Fret not, my friends, for NSTracker is back! Sorry about the downtime, I took down the parent site (Retrogade) a while back because I didn't have enough time or money to maintain the site, and forgot that NSTracker was hosted there too!! Since then, I've brought my personal site back up, and today I added NSTracker to it and restored the old database, so everything should still be there. The new location is: http://nstracker.jfsoftware.com