Jump to content

Shakyr

Members
  • Posts

    483
  • Joined

  • Days Won

    2

Everything posted by Shakyr

  1. If you're using PHP, lookup rollingcurlx, for concurrent curl requests. I use it for accessing API as well as for scraping other pages. I don't have anything going over a minute yet, for my cron jobs, tracking 135 alliances and 608 nations. Also split out your cron jobs (or however you're updating) and run them separately, so you're not updating all the data from a single script.
  2. We were never fighting DEIC o/ confusing names
  3. I've just noticed today, that errors are now in json format. Nice change. Old Errors: New Errors: Guess I'll be having fun tonight updating scripts, to recognise the new format.
  4. Duplicate 'a' before each improvement and there is a space between the last improvement and the full stop.
  5. https://www.youtube.com/watch?v=01-2pNCZiNk o/
  6. I vote the above images replace the ingame images Didn't really personally like the Aircraft/Navy ones.
  7. Could potentially go one step further and allow the amount to be customised too. Just add an extra two boxes below the current price box. First would be the "bulk price" and second would be "bulk amount". Bulk amount has to be a value <= 100% of the total amount. If "bulk amount" is less than the total amount, "bulk price" will apply whenever the amount bought is >= "bulk amount". That way you can setup a scenario whereby you have 30000 Food up for sale @ $110 per 1 unit or $100 per 5000 units or more.
  8. Likewise, setup on a cron job (which I need to turn back on, now that the game is up, forgot, oops). Hence my previous question
  9. Could be worse, update is 5pm for me (4pm before the change). I'm still at work at 5pm, most days. It's a global game peeps, no matter what timezone the server is set in, people are going to get shafted.
  10. Downloadable stats would be good, along with a more fully fleshed out API (though that's another topic). Curious though, why do you have to wake up at 2/3am?
  11. Congrats to our new Overlord, ss23! More than likely. Go get some sleep and relax, everyone will survive another day or two. Especially if it means that the chance of this happening, is alot less in the future.
  12. Be happy that Sheepy is going to fix the game and you'll be able to play again Google Mibbit. Join Coldfront. You're welcome.
  13. What Chunky Monkey said (damn he beat me to it). The Coalition has nothing to do with this. Congrats on the peace though
  14. Instead of simply hiding the totals completely, obscure them. On the nation page display an icon saying they are Missile/Nuke capable and as a tooltip, have a short message. Something like "Intelligence suggests a few missiles." or "Intelligence suggests many nukes stockpiled." for various amounts. This would include saying they had a "few" missiles/nukes, even if they had none, so long as they are missile/nuke capable. This would also make spy ops interesting, as it would be possible to get back "The spy operation was a success, unfortunately your spies could not find any missiles." if the nation had no missiles (but was missile capable), but a nation tried to destroy missiles (similar with nukes). EDIT: Forgot about nukes/missiles affecting score. My bad. Not sure what to do, there.
  15. Checking the nation Thuringia-Franconia there's alot of link bleed in their Nation Activity.
  16. https://politicsandwar.com/nation/id=9222 Under Nation Activity, one of the nation links is bleeding out into the war reason. Checking the source code, I see this <a href="https://politicsandwar.com/na tion/id=5518">Thuringia-Franconia<!-- a--> for the reason of "Milk for the Khorne Flakes!".</a>
  17. Indeed, I keep finding nations that are being attacked by BK Our pleasure
  18. Could the nation API please display whether the nation is in vacation mode (and how many turns are remaining)?
  19. https://politicsandwar.com/pwpedia/5/ Ingame on an individual city page, it says the following I'm sure alot of people wish Wind provided power up to 2,000 infrastructure
  20. In the City API there are extra commas that are breaking PHP's json_decode(), as they are after the last item on the list (and therefore there is nothing afterwards). "nuclearpollution" under stats "drydock" under military "poplostcrime" under cityfactors
  21. I did say it was a line break I'm a web developer myself, so I know HTML pretty well. EDIT: Just saw your second post The <br /> is not one that I've added myself, so it shouldn't be getting sanitized. It's been added by the code, to simulate the line breaks I put in my Custom Description.
  22. So long as someone doesn't want a revenue calculator that is 100% accurate, it can be done (and has been done). Resource prices are basically market average. Alliance Taxes should be pretty static (maybe having the occasional high tax day). The only one that really throws off calculations is the Colour Stock Bonus, as that changes every 2 hours and is as volatile as a pound of nitroglycerin rattling along a minecart track.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and the Guidelines of the game and community.