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

MOTDgd Advertisements (3.0.2 2020/01/04) ** Added 'rewards' (works with CSGO) **


Post New Thread Reply   
 
Thread Tools Display Modes
Ixel
Senior Member
Join Date: Jul 2005
Old 03-17-2014 , 17:56   Re: MOTDgd Advertisements (2.1.1 - 16/03/14)
Reply With Quote #211

Ok thanks for feedback guys, will pass this onto Blackglade.
Ixel is offline
Blackglade
Senior Member
Join Date: Jul 2012
Location: NYC
Old 03-17-2014 , 18:25   Re: MOTDgd Advertisements (2.1.1 - 16/03/14)
Reply With Quote #212

Quote:
Originally Posted by nikooo777 View Post
the code has major issues with zombiemod, triggering the ads on infection (event player_death) causing the player to freeze until the forced time has finished.

I also think that there is a mistake in the code where it checks whether to create or not a review timer:
Code:
if(GetConVarFloat(g_Review) > 15.0 || !GetConVarInt(g_OnOther) || GetConVarInt(g_OnOther) != 2)
infact setting the cvar to 0 would result in it being triggered. Or am I wrong?
I might not be right as i normally don't use the "plugin_continue" and the wole sourcecode has this implementation and i get easily confused.
Update the plugin... you are using 2.1.0. I realized my mistake and made the fix in 2.1.1
Blackglade is offline
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 03-17-2014 , 19:22   Re: MOTDgd Advertisements (2.1.1 - 16/03/14)
Reply With Quote #213

Yup updated. the actual plugin reloads the adverts over and over again on any event it could hook at. which i don't think is good, therefore i disabled it for the moment.

I'm rewriting the plugin and optimizing it. I will upload it here when done so you can take a look and perhaps use it.
__________________
nikooo777 is offline
cushycush
Junior Member
Join Date: Oct 2012
Old 03-19-2014 , 10:18   Re: MOTDgd Advertisements (2.1.1 - 16/03/14)
Reply With Quote #214

Dear MOTDGD,
Please lower the audio on your ads a little bit like PINION did, it screams at my players!
Majority of the players have their computer audio near half blast, so the ads account for the computer audio due to using motd instead of game audio.
cushycush is offline
boombee
SourceMod Donor
Join Date: Nov 2013
Old 03-19-2014 , 11:25   Re: MOTDgd Advertisements (2.1.1 - 16/03/14)
Reply With Quote #215

Quote:
Originally Posted by cushycush View Post
Dear MOTDGD,
Please lower the audio on your ads a little bit like PINION did, it screams at my players!
Majority of the players have their computer audio near half blast, so the ads account for the computer audio due to using motd instead of game audio.
+1, even when my players alt tab the ads audio still comes up...
boombee is offline
lolo
Junior Member
Join Date: Feb 2009
Old 03-19-2014 , 11:42   Re: MOTDgd Advertisements (2.1.1 - 16/03/14)
Reply With Quote #216

hello I have a problem with the motdgd 3 days nothing goes
I put the plugin 2.1.0 and after 2.1.1 for TF2 server



error logs:

L 03/19/2014 - 10:17:22: [SM] Displaying call stack trace for plugin "motdgd_adverts.smx":
L 03/19/2014 - 10:17:22: [SM] [0] Line 247, motdgd_adverts.sp::UpdateMotdTime()
lolo is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 03-19-2014 , 21:03   Re: MOTDgd Advertisements (2.1.1 - 16/03/14)
Reply With Quote #217

same for TF2:
Quote:
L 03/19/2014 - 20:02:47: Info (map "cp_orange_x3") (file "errors_20140319.log")
L 03/19/2014 - 20:02:47: [SM] Native "PrintCenterText" reported: Client 2 is not in game
L 03/19/2014 - 20:02:47: [SM] Displaying call stack trace for plugin "motdgd_adverts.smx":
L 03/19/2014 - 20:02:47: [SM] [0] Line 247, motdgd_adverts.sp::UpdateMotdTime()
L 03/19/2014 - 20:11:00: [SM] Native "PrintCenterText" reported: Client 3 is not in game
L 03/19/2014 - 20:11:00: [SM] Displaying call stack trace for plugin "motdgd_adverts.smx":
L 03/19/2014 - 20:11:00: [SM] [0] Line 247, motdgd_adverts.sp::UpdateMotdTime()
L 03/19/2014 - 20:11:01: [SM] Native "PrintCenterText" reported: Client 3 is not in game
L 03/19/2014 - 20:11:01: [SM] Displaying call stack trace for plugin "motdgd_adverts.smx":
L 03/19/2014 - 20:11:01: [SM] [0] Line 247, motdgd_adverts.sp::UpdateMotdTime()
eric0279 is offline
cushycush
Junior Member
Join Date: Oct 2012
Old 03-20-2014 , 21:41   Re: MOTDgd Advertisements (2.1.1 - 16/03/14)
Reply With Quote #218

Quote:
Originally Posted by boombee View Post
+1, even when my players alt tab the ads audio still comes up...
The audio playing when alt tabbed out is because it is using motd, and that is something one can't get around. Not a big problem in my opinion since most players do not alt-tab out of game too often.

As for sound, perhaps a little less audio would be ok for the advertising companies. For me, a lot of my players complain to me about the ads being too loud.

Nevertheless motdgd you guys are awesome.
cushycush is offline
cushycush
Junior Member
Join Date: Oct 2012
Old 03-20-2014 , 21:45   Re: MOTDgd Advertisements (2.1.1 - 16/03/14)
Reply With Quote #219

Quote:
Originally Posted by eric0279 View Post
same for TF2:
I think that is a common error for motd plugins, but doesn't have an impact.

Correct me if I'm wrong xP
cushycush is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 03-21-2014 , 00:53   Re: MOTDgd Advertisements (2.1.1 - 16/03/14)
Reply With Quote #220

Other error:
Quote:
L 03/21/2014 - 034:56: SourceMod error session started
L 03/21/2014 - 034:56: Info (map "c8m1_apartment") (file "errors_20140321.log")
L 03/21/2014 - 034:56: [SM] Native "GetClientAuthString" reported: Client 8 is not connected
L 03/21/2014 - 034:56: [SM] Displaying call stack trace for plugin "motdgd_adverts.smx":
L 03/21/2014 - 034:56: [SM] [0] Line 272, motdgd_adverts.sp::ShowMOTDScreen()
L 03/21/2014 - 034:56: [SM] [1] Line 254, motdgd_adverts.sp:reMotdTimer()
L 03/21/2014 - 03:452: Error log file session closed.
2.1.1:
Quote:
Unknown command "sm_motdgd_onother" Unknown command "sm_motdgd_review"

Last edited by eric0279; 03-21-2014 at 07:41.
eric0279 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 19:54.


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