Synn's loadingscreen

Doesn’t seem to be a server cache error… But I can’t seem to reproduce it? :confused:

Thanks <3 I’ll try here

i have seen it on multiple servers tbh :joy: example: join the tycoon server

Thank you for your help <3 I’ll try here

Any errors in the console (F8) and zipping your files are welcome, so I can debug this issue!

Thanks :smiley: it works and thanks for the fast reply

Update 1.4.0

  • Cleaned up non-working video url’s
  • Checks for avoiding NaN% related issues.
  • On-screen log to show any protential errors.
  • Removed hardcoded cursor path.
  • Compressed images (3x smaller!)

This update should allow you to catch any YouTube embedding issue better (if you have the log enabled).
Also the wiki has been updated to encompass the latest changes.

It should also counteract the NaN% issue.
NOTE: If you are stuck at 0% and you still load in after a while, then you probably encountered a NaN value or a 0 value somewhere :confused:

3 Likes

How do I have it show more images? I added the .jpg ti img folder and added the extra names correctly in config.js but it only shows bg1, bg2, bg3 then for the rest it shows nothing until it repeats then it continues doing this.

You need to also edit resource.lua for the new images to stream.

1 Like

thank you that helped

im having a issue with my custom logo, When I put the image in the server.cfg and the CSS file it doesnt show up on the game here is the server.cfg for you:

description 'A simple loading screen!'

files {
    'index.html',

    'css/index.css',
    'css/colors.css',
    'css/icomoon.css',
    
    'fonts/gravity.otf',
    'fonts/icomoon.ttf',
    
    'img/cursor.png',    
    'img/logo.png',
    'img/logo2.png',
    'img/bg1.jpg',
    'img/bg2.jpg',
    'img/bg3.jpg',
	'img/festisite_nsa', --My custom Logo
    
    'js/synn.js',
    'js/config.js',
    'js/progressbar-handler.js',
    'js/progressbar-main.js',
    'js/progressbar-renderer.js',
    'js/music-handler.js',
    'js/music-controls.js',
    'js/background-handler.js',
}

loadscreen 'index.html'

it shows up in google chrome when I open the Index.html but not in game

You need to extension of your image file:

'img/festisite_nsa',

to

'img/festisite_nsa.png',

or whatever extension that file has.

My players get stuck while joinging the server. Its only this loadscreen, any fix?

Not the fault of my loading screen, you probably have some server configuration error.

Should i be compressing my images and etc… As of right now it only stands at 43mb

Yes you should, optimized background images should hover around ~300-500kb each.


That’s just a warning, I should fix that warning some day :stuck_out_tongue:

Hi! This looks pretty nice, shame it doesn’t work on my server from some reason.

  • Just broken img (1920x1050, I’ve tried both jpg and png)

  • Is there a option to move single progressbar? Up or down?

  • Can I hide those silly snail messages?

Thank you!

You probably didn’t add those files to the __resource.lua OR the file it self can’t be found.

That would require some css editing, I think it’s as simple as adding a margin-top to the progressbar element.

There is no option for that atm, but you could specify something like this in the config:

 loadingMessages:
 [
     "",
 ],

loadingMessageSpeed: 24 * 60 * 60 * 1000,

Which should just load a empty message and never change the messages afterwards.

Can we change the music?

Of course, https://github.com/Syntasu/synn-loadscreen/wiki/Customization

Read the music section.

1 Like