Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: jesus on November 12, 2005, 03:25:21 PM
-
My Adverts ARE working now, as well as everything else, amazing work guys!!
-
Go to lua/ulx/ulx_config.lua and follow the directions in there
-
Also make sure you're using v0.81+ or it won't work.
-
Yeah i'm using 8.1, when you install it you have one test add in there right?
So when I start a server what do I do to enable them? (Nothing came up by default)
-
Sorry, turns out that function isn't working for some reason. You can call the addAdvert() and addCsayAdvert() directly and it should work, however.
-
OK...
I have 0.9
And I use this:
function ulx_loadConfig( name, userid, steamid )
if gConfigLoaded == true then
return -- Already loaded
end
-- Adverts
-- addCsayAdvert( msg, r, g, b, repeat_time, length )
-- addAdvert( msg, repeat_time )
-- You can use %hostname%, %curmap%, and %nextmap% in your text and have it automaticly parsed for you
addCsayAdvert( "Welcome to %hostname%, enjoy your stay!", 100, 255, 200, 300, 5 )
addAdvert( "Remember to play nicely!", 360 )
addAdvert( "Jesus is admin on this server.", 613 )
addAdvert( "Red team = Admin, yellow = VIP and blue = Normal.", 605 )
addCsayAdvert( "The map you are playing on is %curmap%", 100, 255, 200, 150, 5 )
gConfigLoaded = true
end
But nothing comes up.
If i'm doing something wrong please tell me exactly what to type into the console to activate it.
-
OK...
I have 0.9
And I use this:
But nothing comes up.
If i'm doing something wrong please tell me exactly what to type into the console to activate it.
You're a beta tester?
-
You're a beta tester?
No, 0.9 has been released to the public.
But can anyone help??
-
No, 0.9 has been released to the public.
But can anyone help??
Oh, I didn't read the main site.
-
OK...
I have 0.9
And I use this:
But nothing comes up.
If i'm doing something wrong please tell me exactly what to type into the console to activate it.
You're probably just not noticing it come up :-P . If you leave your console for a while and come back, you should see the messages in your console. ( Or you could set the time to 10 seconds to doubly make sure it's working )
-
Wait, these messages will come up on screen like ulx_csay right?
EDIT: I did that, I set them to intervals of 5, and 10 etc.
Nothing came up, in the console or on screen.
-
My Adverts ARE working now, as well as everything else, amazing work guys!!
-
So what was the problem?
-
Basically not all the 0.81 files were overwritten by the 0.90 files and so it actually loaded half 0.90 and half 0.81
I first noticed that this was the problem when I had ulx_weaponmenu on the ulx_help but it wouldn't load, this also caused errors with my melonrace and votemap changes.
Sorry for the trouble.