Computer Science Canada New idea, not sure if its been done or possible |
Author: | s3arkay [ Wed Jun 21, 2006 3:03 pm ] |
Post subject: | New idea, not sure if its been done or possible |
I was just sitting here at home thinking before my exams tomrow and I was wondering, you know how you see some peoples sigs from xfire and how they are updated all the time. Do you there is a possible way that you could create one of those or something along those lines from turing? Basically what i am saying is do you think it is possible to store an iomage on a website from like putfile or imageshack and when you run a turing program it would update whatever you put into the program? Sounds complicated to me... |
Author: | Tony [ Wed Jun 21, 2006 3:11 pm ] |
Post subject: | |
yeah, that's possible you send a request for an image from a server, and the server generates the image. In this case the image is generated by a Turing app (save image as file) You'd most probably need to run this from a personal server though. |
Author: | rdrake [ Wed Jun 21, 2006 3:12 pm ] |
Post subject: | |
They typically use PHP. It stores the information about the player in a database. The PHP script then retrieves the info, takes the background image, and places the player's information on the background image. Some users on this forum use a script written in PHP to create an image displaying random quotes as their signature. That would be a simple example anyways. Hope that makes sense, sounds like me rambling on after I read it again. Good luck. |
Author: | Mazer [ Wed Jun 21, 2006 3:13 pm ] |
Post subject: | |
Sure you could. With varying degrees of difficulty. The first problem is actually generating the image. Let your Turing program get the data it needs somehow (read it in from a text file? Don't ask me how you'd actually get it from the game, I've never used that stuff but maybe you can query a webserver). Then draw a background to the screen and Font.Draw stuff on top of it, and Pic.Save to get your image. Now you've got to put that picture somewhere. I haven't really got a clue here. If you happen to be running a webserver from your own computer this is a simple as copying the image to some place on your harddrive that the server can access. If you have a remote host, you'll need to find a way to connect to a server and upload the image. EDIT: Pfft, slow typing. You probably won't be able to use putfile or imageshack, I'm pretty sure they've taken precautions to insure that files aren't being automatically uploaded to their servers |
Author: | s3arkay [ Wed Jun 21, 2006 7:18 pm ] |
Post subject: | |
I wasn't really thinking of getting it directly off the game server. I was more thinking like I would enter it into the turing program myself and then when i exited it, it would update my picture instead of me having to redo my signature everytime i update it. But the real problem is saving the turing picture and then making sure it runs 24/7 through the site... I dunno, seems to hard for me |