Armyw0w Posted December 27, 2017 Share Posted December 27, 2017 These are the files: https://www.solidfiles.com/v/YnjKR2meaZqXY On Chrome works: https://imgur.com/cd0JkUC In the game isn't loaded, I tested with a h1 tag in body, the index.html is loaded We haven't some debug tool to see CEF console ? Link to comment Share on other sites More sharing options...
Angel Posted December 27, 2017 Share Posted December 27, 2017 I've done lots of JS development for HbbTV devices and these don't normally provide access to console outputs so I've been using a free tool called "weinre". It is a client server solution to enable remove debugging of JS code. You run the server, add a script tag to your HTML file, then load the server url in a browser running on your desktop. You'll be able to inspect the DOM tree, see the console logs (including object expansion), network logging. It is a very handy tool. Here's the homepage: https://people.apache.org/~pmuellr/weinre/docs/latest/ Link to comment Share on other sites More sharing options...
Armyw0w Posted December 28, 2017 Author Share Posted December 28, 2017 11 hours ago, Angel said: I've done lots of JS development for HbbTV devices and these don't normally provide access to console outputs so I've been using a free tool called "weinre". It is a client server solution to enable remove debugging of JS code. You run the server, add a script tag to your HTML file, then load the server url in a browser running on your desktop. You'll be able to inspect the DOM tree, see the console logs (including object expansion), network logging. It is a very handy tool. Here's the homepage: https://people.apache.org/~pmuellr/weinre/docs/latest/ https://imgur.com/a/ZKFwP Well, the console doesn't work. Link to comment Share on other sites More sharing options...
Angel Posted December 30, 2017 Share Posted December 30, 2017 On 28/12/2017 at 9:19 PM, Armyw0w said: https://imgur.com/a/ZKFwP Well, the console doesn't work. I'd go back to the basics. Does having a simple index.html load? From what I see of the available clients out there, none of them provide an index.html but the entry points are index.js which "include" the other required files. I've got a feeling that the RAGEMP application is providing it own index.html (located in ui/ directory) and your scripts are to utilise the DOM that is created based off that index.html. So, perhaps you could change the index.html to an index.js that includes the other bundle.js files needed (using 'require'). Though you would have to work out how to instruct angular as to where it's app root should be. I hope this helps and I apologise if it make things worse Link to comment Share on other sites More sharing options...
Armyw0w Posted December 30, 2017 Author Share Posted December 30, 2017 3 hours ago, Angel said: I'd go back to the basics. Does having a simple index.html load? From what I see of the available clients out there, none of them provide an index.html but the entry points are index.js which "include" the other required files. I've got a feeling that the RAGEMP application is providing it own index.html (located in ui/ directory) and your scripts are to utilise the DOM that is created based off that index.html. So, perhaps you could change the index.html to an index.js that includes the other bundle.js files needed (using 'require'). Though you would have to work out how to instruct angular as to where it's app root should be. I hope this helps and I apologise if it make things worse I added a h1 tag to check if the index.html is loaded, and it is. after that h1, the app content should be replaced. So my conclusion is: 1. it's a error in scripts 2. The scripts aren't loaded good (but on desktop works) @ragempdev can you check? Link to comment Share on other sites More sharing options...
Armyw0w Posted January 14, 2018 Author Share Posted January 14, 2018 damn George, do something Link to comment Share on other sites More sharing options...
kemperrr Posted January 14, 2018 Share Posted January 14, 2018 1 час назад, Armyw0w сказал: damn George, do something Link to comment Share on other sites More sharing options...
Armyw0w Posted January 14, 2018 Author Share Posted January 14, 2018 fixed. the app files should be a in a separate folder than client_packages the index.html don't loaded JS or didn't executed the js Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now