gmod-loadingscreen icon indicating copy to clipboard operation
gmod-loadingscreen copied to clipboard

v2 - Recode

Open CodeBrauer opened this issue 8 years ago • 18 comments
trafficstars

Because more and more people use this loadingscreen and I am having more free time, I decided the best part would be recoding this whole project and make it easier. Also the technologies will be new, because this time I want to keep it simple.

Todos

  • [X] Recode in JS
  • [x] Welcome message with steam-player name
  • [x] Loading progress
  • [x] Edit everything with one config file
  • [x] Music player
  • [x] Load rules from config
  • [x] ~~Get current player count on server~~
  • [x] Some example templates/layouts
  • [x] Find better anyorigin provider / maybe host one myself?
  • [ ] Test it on a real garrys mod server with and without a linked workshop collection

Share your ideas and feedback so v2.0 should get better and better!

  • Code: https://github.com/CodeBrauer/gmod-loadingscreen/tree/v2.0
  • Demo: http://cdn.rawgit.com/CodeBrauer/gmod-loadingscreen/v2.0/index.html?steamid=76561198051267973&mapname=cs_office

CodeBrauer avatar Aug 07 '17 11:08 CodeBrauer

New design draft: https://codepen.io/gab/pen/QMpOOK?editors=0100

CodeBrauer avatar Aug 08 '17 14:08 CodeBrauer

I have a feeling that V2 is going to be a lot better... Are you going to use PHP in V2?

miguel456 avatar Aug 10 '17 19:08 miguel456

You could post the roadmap in a Trello blog... I would be a good idea I think

miguel456 avatar Aug 10 '17 20:08 miguel456

@miguel456 - No, just pure Javascript. I have to make a small workaround for the Steam-WebAPI-call, but it should be doable

CodeBrauer avatar Aug 10 '17 20:08 CodeBrauer

Demo is here: http://cdn.rawgit.com/CodeBrauer/gmod-loadingscreen/v2.0/index.html?steamid=76561198051267973&mapname=cs_office

But I have to test it on a real garrysmod server, to ensure the functions really work. Currently everything is just filled by demo.js with some demo data according to the gmod wiki

CodeBrauer avatar Sep 02 '17 17:09 CodeBrauer

~~Also the solution with anyorigin.com is not the best, I will look after a better solution.~~

Because i didn't found a better solution I made a small own one: https://github.com/CodeBrauer/ignorecors

Update

Because now.sh also has only limited usage + a delay if the app sleeps, I have to find a better way.

CodeBrauer avatar Sep 02 '17 17:09 CodeBrauer

well im kinda sad it looks fine in Chrome but when i connect to my server the loading screen is just broken

XproGrunds avatar Mar 31 '19 22:03 XproGrunds

@XproGrunds Can you provide a screenshot?

CodeBrauer avatar Apr 01 '19 14:04 CodeBrauer

@CodeBrauer well i dont know what i mest up here

sadface

XproGrunds avatar Apr 02 '19 17:04 XproGrunds

@CodeBrauer Well i finaly got it so it doesn't look broken now i only have 3 things that is still broken the steam logo and the name is not comming up and the info and rules is cut in half

plswork

XproGrunds avatar Apr 03 '19 17:04 XproGrunds

@XproGrunds Can you provide a screenshot?

yes

XproGrunds avatar Apr 03 '19 21:04 XproGrunds

Yeah, I'm having the same issue too. Not sure if it's just because I'm using the demo one, but something is off. The gradient is missing too. I'm using this: sv_loadingurl "https://cdn.rawgit.com/CodeBrauer/gmod-loadingscreen/v2.0/index.html?steamid=%s&mapname=%m" image That's the outcome.

Torbikini avatar Apr 12 '19 03:04 Torbikini

I've made some small changes, can you test it again?

I'm not anymore into gmod and have no time testing this screen. I just wanted to provide a free and open source good-looking screen.

CodeBrauer avatar Apr 12 '19 09:04 CodeBrauer

Try this sv_loadingurl:

https://raw.githack.com/CodeBrauer/gmod-loadingscreen/302a401aeef537c24b55f8c44c2b6168db5b4960/index.html?steamid=%s&mapname=%m

CodeBrauer avatar Apr 12 '19 09:04 CodeBrauer

Yeah, I really like your loading screen and think it's a lot better than the premium offerings. I really appreciate that you're still working on this despite not being interested in Garry's Mod anymore. I tried the URL above and it kinda works: image The blue overlay is missing and it doesn't display properly.

Torbikini avatar Apr 15 '19 22:04 Torbikini

I guess everyone having the same issue then? with the loading screen looking like the image above?

delwig avatar Jun 12 '19 19:06 delwig

@delwig have seen some servers that got it working fine but i wonder how they did it

XproGrunds avatar Jun 15 '19 23:06 XproGrunds

I have the same Problem like @cookieman768 but i dont know how to repair it on my own Webspace, if any person knows how to do it pls let me know about it. I custumized this a lot and wont waste it.

hofq avatar Nov 01 '19 16:11 hofq