Re: Possible bug in bgt? I have a question

2015-05-26 Thread AudioGames . net Forum — Developers room : lukas via Audiogames-reflector


  


Re: Possible bug in bgt? I have a question

Or why not use the instance object in BGT directly? That way, the newly launched instances could be terminated immediately.Lukas

URL: http://forum.audiogames.net/viewtopic.php?pid=217822#p217822




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Possible bug in bgt? I have a question

2015-05-26 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Possible bug in bgt? I have a question

Hi,Alternatively, you could do file_exists in the updater code. That way, if multiple instances are launched, and you only download what has changed, the updater can use file_exists to see if the new files exist already. If the newer instances detect that the file_exists function returns true, then the updater should inform the user.

URL: http://forum.audiogames.net/viewtopic.php?pid=217768#p217768




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Possible bug in bgt? I have a question

2015-05-25 Thread AudioGames . net Forum — Developers room : lukas via Audiogames-reflector


  


Re: Possible bug in bgt? I have a question

I havent seen this situation yet but it seems as though a BGT script or executable cant pass command line parameters directly to another BGT executable. Have you tried running this through the command line from the BGT game program itself? Another possibility that should certainly be feasible would be to implement the updater so that it wouldnt have to be run with the command line parameter.Just to make sure we have excluded all the possible scenarios, have you double checked the way the updater executable checks its command line parameters?Thanks,Lukas

URL: http://forum.audiogames.net/viewtopic.php?pid=217681#p217681




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Possible bug in bgt? I have a question

2015-05-25 Thread AudioGames . net Forum — Developers room : coltonhill01 via Audiogames-reflector


  


Re: Possible bug in bgt? I have a question

I made it string_contains now. And I pass it with a space when doing it from the game. But the whole point is the thing updates itself, but I have to close it for that to happen, so its only right that I use an external file.

URL: http://forum.audiogames.net/viewtopic.php?pid=217690#p217690




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Possible bug in bgt? I have a question

2015-05-25 Thread AudioGames . net Forum — Developers room : lukas via Audiogames-reflector


  


Re: Possible bug in bgt? I have a question

Sure you need to use an external file for that because the main game executable needs to be closed in order to be overwritten. I was just suggesting alternative possibilities. Since the updater is probably not supposed to be run manually in the first place, you could omit the parameters altogether. The game would run it without them and close so that it can do its job, then I suspect the updater probably starts the game up again when its done? So again, this restart of the game could be done without parameters and the game would automatically try to delete the updater.exe from within the main function so that it doesnt get in the users way at all.Is that of any use?Lukas

URL: http://forum.audiogames.net/viewtopic.php?pid=217713#p217713




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Possible bug in bgt? I have a question

2015-05-25 Thread AudioGames . net Forum — Developers room : coltonhill01 via Audiogames-reflector


  


Re: Possible bug in bgt? I have a question

I just felt like doing a /u for security purposes so the user couldnt run it from explorer, even though yes it does delete it. i dont know why the hell I did it. I also have to make sure it cant be multilaunched, because if it is, it could cause huge file conflicts and windows would probably corrupt the files.

URL: http://forum.audiogames.net/viewtopic.php?pid=217723#p217723




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector