Loading...
  OR  Zero-K Name:    Password:   

passing data from played games to site?

4 posts, 837 views
Post comment
Filter:    Player:  
sort
12 years ago
So some things are passed from playeds and displayed on the battles site.
For example awards and winners.
Say if a lua was made that collects some data (eg starting factories, so it is easier to find "that vehicle vs air match"), how would it go onto the site?
Could not figure it out from looking at awards.

Could the same technics be used to pass more data? Is there a size limit?

Also how about svg graphics, they are text. Would this be a way to get some graphics on the battles pages? eg the like the endgame graphs.
+0 / -0
Messages are passed by text. They are PMed to autohost using "wbynum 255 SPRINGIE:text"

All such messages are sent to server and processed there.

You can send arbitrary data there, but for graphs its better to only send numbers and generate graphs on the site using stuff like google graph api.

Best to talk directly with me tell me what do you want to achieve and i can tell you how its easiest.
+0 / -0


12 years ago
There seems to be a size limit. We could pass good economy graphs to the site if not for the size restriction. This data passing is already fully implemented but it would swamp the game over message which made long games (more res data) not appear on the site at all.
+0 / -0


12 years ago
That was happening because it was sending at end of game and rate is limited.
If you send it as it happens mid game it will be fine.
+0 / -0