Tommis Posted January 23, 2008 Posted January 23, 2008 Hey, Very simple script, yet very powerful. Since lots of people have found this useful (to whom I have given it too), I thought I would release it. This is basicaly a script in which, after a player joins, it will display a full screen logo (no matter what resolution they are using) for 15 seconds. This picture will be put on top of everything including the chatbox. Some known bugs are; - Player needs to download this resource. If he/she downloads it slow, will not display the first time - Image is never displayed for the whole 15 seconds. All depends on how long it takes the players game to load into your server - If you start adding more and more images to the players screen, might be hard to remove this one This is a resource, just put it in your resources folder, refresh or restart your server and load this resource. It is called start. Other than that, enjoy! http://www.x-serverz.com/downloads/start.zip Cya, Tommis
tma Posted January 25, 2008 Posted January 25, 2008 Regarding it not showing / for the correct length ... You could just drop all your server code and just stick this at the end of onClientResourceStart() : local screenWidth, screenHeight = guiGetScreenSize() setTimer(destroyElement,5000,1,guiCreateStaticImage(0, 0, screenWidth, screenHeight, 'serverlogo.jpg', false, nil)) See if it makes any difference.
Tommis Posted January 25, 2008 Author Posted January 25, 2008 Ye, Already tried that. But quite a bit of people have trouble downloading it. (Takes longer than 5 seconds). So I thought screw it, they will see it the second time around when they join. Cya, Tommis
ALBERT_NERI Posted January 26, 2008 Posted January 26, 2008 thx for script... will see sorry for eglish) from russia
Woovie Posted January 26, 2008 Posted January 26, 2008 Here is my server with it =) Linked to full size. They have full PNG support of transparencies as you can see here.
Tommis Posted January 26, 2008 Author Posted January 26, 2008 Hey, Yes, very nice. Forgot to say it has full transperency support. =P But ye like I said, very simple script. Yet so powerfull ;D Cya, Tommis
darkdreamingdan Posted January 26, 2008 Posted January 26, 2008 The onClientResourceStart event is fired after a resource is downloaded and initiated...i dont see why this script should involve the server at all.
Sky Posted January 27, 2008 Posted January 27, 2008 o_0 the script bug with me, the logo start in full screen
DazzaJay Posted January 28, 2008 Posted January 28, 2008 Here is what my server looks like with my join logo... Basically, i just copyed what the front page of my site looks like. http://www.potholestudios.com (click to see full size)
Tommis Posted January 31, 2008 Author Posted January 31, 2008 o_0 the script bug with me, the logo start in full screen It is made to stretch any image to full screen.
DazzaJay Posted February 1, 2008 Posted February 1, 2008 Sky, if you want the logo to only show in a ceartian area of the screen, i would recomend making a 1024 x 768 pixel Transparent .png image, and putting your logo in the PNG image where you want it to appear on the player's screen. Which is what im guessing Leetwoovie has done with his...
Timic Posted October 9, 2010 Posted October 9, 2010 download link is out please download to community
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