STREATHAM HILL STORIES ONLINE!!!

Posted By: Truth

STREATHAM HILL STORIES ONLINE!!! - 08/25/20 22:58

[Linked Image]


Hi guys, I have finally finished turning my GTA clone into multiplayer and I want to put it on Steam, but before I submit I would love for you guys to test. It's a weekend trial from Friday evening until Sunday. There's no car stealing in this trial but it will be in the final version. You can select different characters even a bird or a plane! Also play with live weather from Streatham!!! please download and post feedback here.

Please also checkout the website where you can read important notes, find controls and download additional files while you wait for the release http://www.streathamhillstories.com
Posted By: Truth

Re: STREATHAM HILL STORIES ONLINE!!! - 08/29/20 09:36

Available now!!! feedback appreciated. [video:youtube]https://www.youtube.com/watch?v=w8_YQxgKFOQ[/video] www.streathamhillstories.com
Posted By: Quad

Re: STREATHAM HILL STORIES ONLINE!!! - 08/29/20 21:28

I take it server is offline?

It seems like it's running now, had to set SAFEMODE to 1

Also check the pic on your first post. (may need to clear browser cache)
Posted By: Truth

Re: STREATHAM HILL STORIES ONLINE!!! - 08/30/20 07:17

Thanks for letting me know. I was worried about the FTP account but it's only for this trial I will shut it down from tomorrow
Posted By: Quad

Re: STREATHAM HILL STORIES ONLINE!!! - 08/30/20 11:06

Ftp account with access to single dir is not normally a huge problem but, you should at least remove write permissions and disallow php execution from directories that account can access. I was able to list all directories and files(and probably would be able to read) from all your other sites using a php file uploaded with that account.
Posted By: Truth

Re: STREATHAM HILL STORIES ONLINE!!! - 08/30/20 12:57

Wait, you can read files from my other sites? WTH??
Posted By: Quad

Re: STREATHAM HILL STORIES ONLINE!!! - 08/31/20 08:36

PHP Code

<?php printr(scandir("/")); ?>



Lists your server's root dir.
When you call scandir recursively for each subdirectory and print all files in a loop you can list all files

From there /misc/26/000/081/433/3/userweb has your sites hosted on that host.

Now, I did not try to read any files from there out of respect for your privacy(and honestly, can't be bothered to write that much php ), but i was able successfully write to a file:

If you do

PHP Code

<?php file_put_contents("/misc/26/000/081/433/3/user/web/anthonystaines.com/write_Test/test.txt","test write file");?>



you can see http://anthonystaines.com/write_Test/test.txt is succesfully written.

Delete that FTP account ASAP.
Posted By: Quad

Re: STREATHAM HILL STORIES ONLINE!!! - 08/31/20 08:46

Also the way you are getting Weather.txt from your server is probably the most convoluted way i have seen to download a file from a webserver from the engine.

You ship an entire ftp/scp client, ship a script for said client(winscp) with your ftp credentials in it (an account with write permissions at that too), then ship "hideexec.exe" with your game so it does not popup when you invoke the ftp client (which btw, can be falsely be flagged as malware as many crappy script kiddie viruses/malwares try to use that or similar methods).

Either use a small http plugin to just HTTP GET the file directly from c-script/lite-c OR ship a smaller client that can do HTTP GET and just pass the url (http://files.streathamhillstories.com/Weather.txt) which does not require you to ship any account information.
Posted By: Truth

Re: STREATHAM HILL STORIES ONLINE!!! - 09/06/20 09:13

I just thought of a way more simpler way to do this. Why not just modify the text file on the server and send the variable to the clients? 🤦🏿‍♂️
Posted By: Quad

Re: STREATHAM HILL STORIES ONLINE!!! - 09/06/20 12:10

Oh yeah, this would be the most logical but would not work on singleplayer.
© 2024 lite-C Forums