Raised This Month: $51 Target: $400
 12% 

Auto Message Displayer (Advertiser)


Post New Thread Reply   
 
Thread Tools Display Modes
Run N Hide
Member
Join Date: Jul 2006
Old 04-04-2008 , 16:02   Re: Auto Message Displayer
Reply With Quote #81

i have my messages .ini file as follows

Code:
Text
60
Buy admin today to support our server! prices range from $5 - $15!

Text
80
Help our server out. Donate a little get a little in return, donate a lot get a lot in return! Only $15.00 a month for Full Admin!

Text
100
CTs, defuse the bomb while dropped (not planted) and win quick!

Text
120
If you are ranked #1 at the end of the month, you get a FREE TRIAL of half admin for a WEEK! Like the power? DONATE NOW!

Text
140
http://soldiersoffortune.darkstargamers.com Visit our site now!
and they all display right, but then after a while, they all start to display at the same time. is there an error in the script? or what?

i was hoping to have one display 20 seconds after the previous one, so that every 20 seconds you see one message.
__________________
+karma if i helped you out -karma if i made a really stupid post

Last edited by Run N Hide; 04-04-2008 at 16:04.
Run N Hide is offline
ceribik
SourceMod Donor
Join Date: Dec 2007
Old 04-04-2008 , 21:46   Re: Auto Message Displayer
Reply With Quote #82

That is happening because all of those loops numbers have a LCM (lowest common multiple). So 'LCM seconds' into the game, all (or some) will start to appear in the same time.

It's not an error in the script, it's just the way number work
ceribik is offline
Run N Hide
Member
Join Date: Jul 2006
Old 04-04-2008 , 21:51   Re: Auto Message Displayer
Reply With Quote #83

well how would i do it so each comes up 20 seconds apart from each other?
__________________
+karma if i helped you out -karma if i made a really stupid post
Run N Hide is offline
spiderbites
Senior Member
Join Date: Nov 2007
Old 04-14-2008 , 20:58   Re: Auto Message Displayer
Reply With Quote #84

Quote:
Originally Posted by ceribik View Post
That is happening because all of those loops numbers have a LCM (lowest common multiple). So 'LCM seconds' into the game, all (or some) will start to appear in the same time.

It's not an error in the script, it's just the way number work
then the author of this plugin should find a better way how to display messages at intervals or else it should be unapproved
spiderbites is offline
ceribik
SourceMod Donor
Join Date: Dec 2007
Old 04-19-2008 , 03:53   Re: Auto Message Displayer
Reply With Quote #85

It's not an error in the script... it's his error in mathematical logic. It just so happens when you set different things to occur at different intervals, (and depending on what numbers you use), some will eventually occur at the same time.
ceribik is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-05-2008 , 04:39   Re: Auto Message Displayer (Advertiser)
Reply With Quote #86

Updated to version 2.0
-Added color text
-Added hud message location selection
-Rotates through messages 1 by 1 instead of forcing admin to specify different time intervals for the messages to appear
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Tommy-Gun
BANNED
Join Date: May 2008
Old 06-05-2008 , 04:41   Re: Auto Message Displayer (Advertiser)
Reply With Quote #87

Sweet
Tommy-Gun is offline
Mlk27
Veteran Member
Join Date: May 2008
Old 06-05-2008 , 07:17   Re: Auto Message Displayer
Reply With Quote #88

Quote:
Originally Posted by ceribik View Post
it's his error in mathematical logic
GHW_Chronic, that one fixed?
Mlk27 is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-05-2008 , 12:34   Re: Auto Message Displayer (Advertiser)
Reply With Quote #89

no because that sentence was a refference to the kid trying to figure out how to do what you can now do with this plugin but couldnt before. What that person wanted to be able to do you can now do if that's what you're asking im not sure.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Dr. Jan Itor
Veteran Member
Join Date: Mar 2008
Location: there.
Old 06-05-2008 , 13:08   Re: Auto Message Displayer (Advertiser)
Reply With Quote #90

nice update color for regular text perfect
__________________
Dr. Jan Itor is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode