Staredit Network

Staredit Network -> StarCraft Editing Related -> Starcraft UMS Game Tracker
Report, edit, etc...Posted by synd][cate on 2006-08-14 at 16:07:40
In regards to this thread right here:

http://www.staredit.net/index.php?showtopic=31277

I am planning on rewriting the code for page, update you guys on the progress as I go.
Report, edit, etc...Posted by Urmom(U) on 2006-08-14 at 16:44:39
That was a really cool idea that you had. Good luck on the update.
Report, edit, etc...Posted by Mr_Mooo_Cow(U) on 2006-08-15 at 02:40:52
making the program is the easy part, finding a place to run it stable is the tricky part wink.gif I would just run it at multiple locations using the game name as a unique serial to prevent multiple instances of the same map being recorded in your database.
Report, edit, etc...Posted by Rantent on 2006-08-15 at 16:33:18
Yay for Updates! biggrin.gif
Report, edit, etc...Posted by RexyRex on 2006-08-15 at 18:29:33
I had to follow links through four threads to find the link to the script, but neat. I suppose you used cURL/fsockopen and followed the Battle.net protocol to search/add games. Sort of like a web-spider?

I remember when I saw it you had some generated graphs. Interesting.
Report, edit, etc...Posted by fritfrat(U) on 2006-08-15 at 19:44:11
Is the script supposed to be working right now? Whenever I open it open it up it just says "error, cannot load page."
Report, edit, etc...Posted by Mr_Mooo_Cow(U) on 2006-08-16 at 01:15:20
RexyRex : I got the feeling that he created a program that gathers the information and feeds it to a PHP script where it then gets processed/displayed as a stat. I might be wrong but I just thought that because he said 'code' rather than 'script' but then again he also said he needs a way to run it in the backround which doesn't sound like a program. If it was made in pure php wouldn't that require an infinite loop or constant refreshing? both of which would rape his server?

FritFrat : since he hasn't replied with any update news I am assuming it is not functional at the moment.
Report, edit, etc...Posted by RexyRex on 2006-08-17 at 00:07:35
PHP can sleep() until it needs to do something. smile.gif That, or it can be run periodically.
Report, edit, etc...Posted by O)FaRTy1billion on 2006-08-17 at 02:11:50
Would it make it any faster (to load and/or to run) to see if the map is already in there; if it is just add 1 to a value for it, and if its not add it to the list?
(This is assuming it just adds the name to a list, and calculates it when the page is loading)
Report, edit, etc...Posted by Mr_Mooo_Cow(U) on 2006-08-17 at 03:33:55
No, I don't think it would affect the efficiency if a map is already in the database because to know if the map is in the database you need to get the game list anyways the only difference being that if the map already exists you would use a database 'update' query rather than a 'create' query.
Next Page (1)