NationStates Jolt Archive


Counting Endorsements

Kloister
25-04-2006, 13:40
Is there any way of counting the number of endorsements that UN Nations have within a given Region?..

I am assuming that a script could be used to do this...Is anyone aware of the existence of such a script and if so where I could get it from...

In looking at the guidelines for scripts, this would appear to be within the rules of the game...

Thanks for the help

Kloister
Erastide
25-04-2006, 14:02
Is there any way of counting the number of endorsements that UN Nations have within a given Region?..

I'll assume you mean besides simply looking at their page and at the little number there. ;)
I am assuming that a script could be used to do this...Is anyone aware of the existence of such a script and if so where I could get it from...

In looking at the guidelines for scripts, this would appear to be within the rules of the game...
Yes, such scripts exist. Where to get them... find a programmer, tie them down for about a day and then release them. :p
Kloister
25-04-2006, 14:08
Yes, such scripts exist. Where to get them... find a programmer, tie them down for about a day and then release them. :p
Well...I guess my next question is...Are there any programmers out there who would let me lock them in a room for a day to write the script?.. :P
Safalra
25-04-2006, 20:50
I have something that does this somewhere. Give me a while to find it again...
Kloister
26-04-2006, 07:50
I have something that does this somewhere. Give me a while to find it again...
Thanks very much for looking...Really appreciate it...
Kloister
27-04-2006, 12:59
Safalra...I have managed to track down the Java App that you wrote called NSDemographics and I have followed all of the instructions but keep getting the same error...

http://homepage.ntlworld.com/mr.wibble/endo/error1.gif

Are you able to shed any light on it?..

Thanks
Safalra
27-04-2006, 20:24
Safalra...I have managed to track down the Java App that you wrote called NSDemographics and I have followed all of the instructions but keep getting the same error...

[snip image]

Are you able to shed any light on it?..

Thanks
NSDemographics stopped working after the move to Jolt. I didn't bother fixing it at the time as by that time NSEconomy had arrived and people were using that (as it runs through a website so is much easier to use). Sometime much later I wrote some other code just to do the endorsement count, but I can't seem to find it at the moment. I'll let you know if I do (I've probably archived it on a CD somewhere).

My grand plan is to write a program called NSSuite that will allow people to write modules for various purposes (for example, as NSEconomy is open source I could make a module for that). NSSuite would cache the region and nation data it downloaded, which is far better if, like me, you run multiple statistical programs.
Kloister
28-04-2006, 11:38
Many thanks for letting me know...Otherwise I would have been playing around with that app for ages getting more and more frustrated... ;)

If you can hunt down that other code for the endorsements it would be very greatly appreciated...

K