Raised This Month: $32 Target: $400
 8% 

Autoresponder and Advertiser (with color and conditions!)


Post New Thread Reply   
 
Thread Tools Display Modes
fatal_nl
Member
Join Date: Apr 2017
Old 07-12-2017 , 12:43   Re: Autoresponder and Advertiser (with color and conditions!)
Reply With Quote #341

Suddenly this plugin stopped working correcty after Steam updated CS 1.6 about 2 days ago.

Example from advertisements.ini:

Code:
Hello %s welcome to the server.
Used to appear in the server as:

Code:
Hello fatal_nl welcome to the server.
And now it says:

Code:
Hello  s welcome to the server.
fatal_nl is offline
Cd5ssmffan
BANNED
Join Date: Feb 2017
Location: GB
Old 06-19-2018 , 19:21   Re: Autoresponder and Advertiser (with color and conditions!)
Reply With Quote #342

I don't think I should post a suggestion for this because it's already very similar to this plugin. All the same, I would like to see a plugin like this with a feature where it sends messages after my own specified period of time, or when stuff happens (bomb planted, dropped, gun picked, dropped, new round, basically everything that I can see in the API)
Cd5ssmffan is offline
Send a message via ICQ to Cd5ssmffan Send a message via AIM to Cd5ssmffan Send a message via Yahoo to Cd5ssmffan Send a message via Skype™ to Cd5ssmffan
mahdiso
Member
Join Date: Nov 2018
Old 06-22-2019 , 13:30   Re: Autoresponder and Advertiser (with color and conditions!)
Reply With Quote #343

this plugin show ad 10 sec by 10 sec
can i change it to forexample 2 sec? (every 2 sec show next paragraf)

srry for bad english
mahdiso is offline
thEsp
BANNED
Join Date: Aug 2017
Old 06-22-2019 , 14:38   Re: Autoresponder and Advertiser (with color and conditions!)
Reply With Quote #344

Quote:
Originally Posted by mahdiso View Post
this plugin show ad 10 sec by 10 sec
can i change it to forexample 2 sec? (every 2 sec show next paragraf)

srry for bad english
https://forums.alliedmods.net/showthread.php?p=2646101
thEsp is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 06-22-2019 , 23:17   Re: Autoresponder and Advertiser (with color and conditions!)
Reply With Quote #345

Quote:
Originally Posted by mahdiso View Post
this plugin show ad 10 sec by 10 sec
can i change it to forexample 2 sec? (every 2 sec show next paragraf)

srry for bad english
Change these and then recompile:
PHP Code:
//Minimum difference between two different ads (float)
new const Float:RAND_MIN 60.0;

//Maximum difference between two different ads (float)
new const Float:RAND_MAX 80.0
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
mahdiso
Member
Join Date: Nov 2018
Old 06-23-2019 , 04:12   Re: Autoresponder and Advertiser (with color and conditions!)
Reply With Quote #346

Quote:
Originally Posted by georgik57 View Post
Change these and then recompile:
PHP Code:
//Minimum difference between two different ads (float)
new const Float:RAND_MIN 60.0;

//Maximum difference between two different ads (float)
new const Float:RAND_MAX 80.0

and can i change source to show message to dead player?
or show all off the message at the same time?
mahdiso is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 06-23-2019 , 05:49   Re: Autoresponder and Advertiser (with color and conditions!)
Reply With Quote #347

Use thesp's plugin in this case
https://forums.alliedmods.net/showthread.php?p=2646101
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 11-30-2020 , 14:07   Re: Autoresponder and Advertiser (with color and conditions!)
Reply With Quote #348

Found server freeze linked to using this plugin again. This is what I have done to stabilize it. The original code works but when other plugins were sending a number or messages the server stability was compromised. The way Autoresponder and Advertiser (with color and conditions!) was coded if message cannot get through the outcome is catastrophic instead of skipping message.
__________________

Last edited by DJEarthQuake; 09-16-2021 at 10:18.
DJEarthQuake is offline
Reply


Thread Tools
Display Modes

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 16:59.


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