SCS Software

message board
It is currently 25 Mar 2017 15:38

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 71 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8  Next
Author Message
PostPosted: 08 Aug 2016 20:15 
Offline
User avatar

Joined: 20 Sep 2013 16:43
Posts: 741
Location: Paris
I can't wait to test this. 8-)

_________________
Groupe Girod

@SCS Please fix and rescale the new FH interior or I will never give back GT-Mike's cookie jar. :(

Team Onodera ( ͡° ͜ʖ ͡°)


Top
 Profile  
 
PostPosted: 08 Aug 2016 21:38 
Offline
User avatar

Joined: 14 Jan 2013 19:15
Posts: 484
Yeah... About that. I'm being DOS'ed right now from Netherlands. Sometimes it fails and I restart it. I'm not sure the problem is with denial of service itself, because it's still accessible, maybe I just forgot to close connections after each request. I'll get to that tomorrow.

---
This project has taught me many things. First one being "if you make a web-app, make sure to defend against script kids who think your server is a vulnerable linksys box".

_________________
"Now, I am become Death, the destroyer of squirrels."


Top
 Profile  
 
PostPosted: 08 Aug 2016 22:24 
Offline
User avatar

Joined: 20 Dec 2012 17:00
Posts: 722
Yeah, don't understand where is the fun in ddos-ing someone, but kids will be kids, people without a brain will be people without a brain. I guess most routers these days have a anti-ddos feature, at least mine has.

_________________
My mods: Realistic Weather Sound | Real Headlights | HDR Fix | DAF XF - HD Interior | MORE


Top
 Profile  
 
PostPosted: 08 Aug 2016 23:28 
Offline
User avatar

Joined: 14 Jan 2013 19:15
Posts: 484
Yay, I've found someone who has experience in making authentication systems. We'll see how it goes, but looks like it will be done properly.

_________________
"Now, I am become Death, the destroyer of squirrels."


Top
 Profile  
 
PostPosted: 09 Aug 2016 02:11 
Offline
User avatar

Joined: 03 Oct 2015 12:00
Posts: 44
I have still problem when i tried uses this system via normal online site...

This is what i see in my browser when i upload all files to my ftp and open www

http://i.imgur.com/s8cp1oK.jpg

And this is what i see when open the index.html from hard drive in offline mode

http://i.imgur.com/t60RMPH.jpg

What i do wrong? I used lastet firefox browser but in chrome problem is the same.


Top
 Profile  
 
PostPosted: 09 Aug 2016 09:34 
Offline

Joined: 30 Mar 2016 21:47
Posts: 99
Location: Germany
Had the same problem with my chrome and the cause of the problem is, that Chrome would not open local files from your computer. The Error code you get in the dev console is Cross Origin something which is a security signature. So if you open a local file in your browser, your computer gets potentially vulnerable to hackers and so on and that is why Chrome and other browsers are blocking this. You can override this by creating an own http-server and putting the data on the server or using the telemetry server.exe in version 0.5.3 or 0.6.0 where you can execute the server.exe and then typing localhost:8080 in your browser.


Top
 Profile  
 
PostPosted: 09 Aug 2016 10:38 
Offline
User avatar

Joined: 14 Jan 2013 19:15
Posts: 484
-RKI-, can you please press right mouse button on any element of the page, then choose "Inspect element", then go to "console" tab in that development console and refresh the page? It will tell the exact error it is getting.

For now it may be what FalloutH4kk4 wrote (even though I solved that, my server sends cross-site origin headers), or NoScript running on the page, or missing/empty "accountsList.json".

_________________
"Now, I am become Death, the destroyer of squirrels."


Top
 Profile  
 
PostPosted: 09 Aug 2016 11:21 
Offline
User avatar

Joined: 03 Oct 2015 12:00
Posts: 44
Here u go.

This is before refresh - http://i.imgur.com/RSk7qNM.jpg
And this is after - http://i.imgur.com/LrX6dMv.jpg


Top
 Profile  
 
PostPosted: 09 Aug 2016 11:44 
Offline
User avatar

Joined: 14 Jan 2013 19:15
Posts: 484
Yup, it can't find accountsList.json, which should be located in ./data/ folder. This file contains short description of each saved profile.

Open the client, open your profile and save it again. Then copy whole "data" folder to your site. "data" folder should contain styles.css, header.jpg, accountsList.json and pairs of profile files, for example "id.json" and "id.0.json".

I'm currently migrating whole server side to the web-application, where the map is located. Soon this procedure will not be required, you'll be able to just log into the client app and all data will be just sent to the web-app. Or available locally, if you choose not to log in.

---
UPD: updated first post with an instruction.

_________________
"Now, I am become Death, the destroyer of squirrels."


Top
 Profile  
 
PostPosted: 09 Aug 2016 12:18 
Offline
User avatar

Joined: 03 Oct 2015 12:00
Posts: 44
I do not know how to define it - Just look...

#1. http://i.imgur.com/lCc26DL.jpg
#2. http://i.imgur.com/UHnJUW5.jpg

And after change size of one letter

#3. http://i.imgur.com/ZmDpOlP.jpg

By accident i noticed that the file names differ in size one letter. The application creates a file after save signed all lowercase, the server has a problem to recognition it. After change size of one letter, all works fine. 8-)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 71 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: dave_th, Tigerclaw and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: