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

[ANY|Source 2009] Advanced Advertisements


Post New Thread Reply   
 
Thread Tools Display Modes
matrixmark
Senior Member
Join Date: Jun 2010
Old 06-02-2012 , 13:37   Re: [ANY|TF2] Advanced Advertisements
Reply With Quote #31

Thanks very muchly dude

Last edited by matrixmark; 06-02-2012 at 13:37.
matrixmark is offline
AeroAcrobat
AlliedModders Donor
Join Date: Apr 2011
Location: lives in a circus
Old 06-06-2012 , 00:58   Re: [ANY|TF2] Advanced Advertisements
Reply With Quote #32

game = TF2
Code:
    "1"
    {
        "type"      "S"
        "text"      "{palepink} TETEST"
    }
Code:
    "palepink" //The name of the color without the "{" and "}" tags.
    {
        "hex"        "0xcc9999" // "Hexadecimal representation of the color" - Directly taken off of the morecolors documentation
    }
like this ?
can not get it work :/
__________________
AeroAcrobat is offline
AeroAcrobat
AlliedModders Donor
Join Date: Apr 2011
Location: lives in a circus
Old 06-07-2012 , 23:39   Re: [ANY|TF2] Advanced Advertisements
Reply With Quote #33

using only adv_adverts_tf2.smx and plugin.adv_adverts_tf2.cfg. I have deleted nonTF.

also in:
orangebox/tf/cfg/sourcemod/plugin.adv_adverts_tf2.cfg

-> set timer to 5.0
Code:
// The delay time between each advertisement
// -
// Default: "30.0"
sm_extended_advertisements_delay "5.0"
after this I'm getting the following error:
Code:
L 06/08/2012 - 05:48:05: Info (map "pl_badwater") (file "errors_20120608.log")
L 06/08/2012 - 05:48:05: [SM] Native "KillTimer" reported: Invalid timer handle 2c2024e (error 1)
L 06/08/2012 - 05:48:05: [SM] Displaying call stack trace for plugin "adv_adverts_tf2.smx":
L 06/08/2012 - 05:48:05: [SM]   [0]  Line 313, C:\Users\mINI\Documents\GitHub\SM-TF2-Advanced-Ads\scripting\adv_adverts.sp::OnAdvertDelayChange()
L 06/08/2012 - 05:48:05: [SM] Native "KillTimer" reported: Invalid timer handle 2c2024e (error 1)
L 06/08/2012 - 05:48:05: [SM] Displaying call stack trace for plugin "adv_adverts_tf2.smx":
L 06/08/2012 - 05:48:05: [SM]   [0]  Line 255, C:\Users\mINI\Documents\GitHub\SM-TF2-Advanced-Ads\scripting\adv_adverts.sp::OnConfigsExecuted()
everything else is default and has not been edited.

edit:
also if I don't change anything then after a map change I get the second error only.
hope this will help OP

btw I see no really use in the current:
Code:
"flags"    "a"
would it not be better that if player X has flag "a" then he will NOT see that particular ad ?
seems to be more usefull to me. For example:

Player with no flags will see: www_Homepage.com
Player with flags "a" will NOT see the ad above.
Thanks!
__________________

Last edited by AeroAcrobat; 06-08-2012 at 00:24.
AeroAcrobat is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 06-08-2012 , 00:09   Re: [ANY|TF2] Advanced Advertisements
Reply With Quote #34

Quote:
Originally Posted by AeroAcrobat View Post
using only adv_adverts_tf2.smx and plugin.adv_adverts_tf2.cfg. I have deleted nonTF.

also in:
orangebox/tf/cfg/sourcemod/plugin.adv_adverts_tf2.cfg

-> set timer to 5.0
Code:
// The delay time between each advertisement
// -
// Default: "30.0"
sm_extended_advertisements_delay "5.0"
after this I'm getting the following error:
Code:
L 06/08/2012 - 05:48:05: Info (map "pl_badwater") (file "errors_20120608.log")
L 06/08/2012 - 05:48:05: [SM] Native "KillTimer" reported: Invalid timer handle 2c2024e (error 1)
L 06/08/2012 - 05:48:05: [SM] Displaying call stack trace for plugin "adv_adverts_tf2.smx":
L 06/08/2012 - 05:48:05: [SM]   [0]  Line 313, C:\Users\mINI\Documents\GitHub\SM-TF2-Advanced-Ads\scripting\adv_adverts.sp::OnAdvertDelayChange()
L 06/08/2012 - 05:48:05: [SM] Native "KillTimer" reported: Invalid timer handle 2c2024e (error 1)
L 06/08/2012 - 05:48:05: [SM] Displaying call stack trace for plugin "adv_adverts_tf2.smx":
L 06/08/2012 - 05:48:05: [SM]   [0]  Line 255, C:\Users\mINI\Documents\GitHub\SM-TF2-Advanced-Ads\scripting\adv_adverts.sp::OnConfigsExecuted()
everything else is default and has not been edited.
Yeah TF2 version doesn't work for me, nor anyone else if I'm not mistaken. I'm assuming you get those errors when you call a CVar change.

Last edited by ReFlexPoison; 06-08-2012 at 00:09.
ReFlexPoison is offline
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 06-08-2012 , 17:55   Re: [ANY|TF2] Advanced Advertisements
Reply With Quote #35

I've been working on a new version and I will try to get it done by today. It will hopefully fix a lot of these bugs.
minimoney1 is offline
littlebags
SourceMod Donor
Join Date: Apr 2008
Old 06-19-2012 , 05:01   Re: [ANY|TF2] Advanced Advertisements
Reply With Quote #36

Does this work with TF2 or is it still broken?
__________________
http://www.cloudfiregaming.com-Online Gaming Community

--The only thing necessary for evil to triumph is for good men to do nothing.--
littlebags is offline
Send a message via ICQ to littlebags Send a message via Yahoo to littlebags
AeroAcrobat
AlliedModders Donor
Join Date: Apr 2011
Location: lives in a circus
Old 06-19-2012 , 08:08   Re: [ANY|TF2] Advanced Advertisements
Reply With Quote #37

Quote:
Originally Posted by littlebags View Post
Does this work with TF2 or is it still broken?
looks like minimoney1 just updated 2h ago the .sp file
You could try to compile the projectfile.

I'm still interested in this and I'd like to help testing the plugin. Would be great if you could give any project status ?
thanks
__________________
AeroAcrobat is offline
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 06-19-2012 , 08:16   Re: [ANY|TF2] Advanced Advertisements
Reply With Quote #38

I've worked on this a little bit here and there, a lot of bugs have been fixed, a lot of new features (Such as the "If user doesn't have x flags") have been added with the setting "noflags" in the config file, but it's not stable yet, and I don't have a TF2 server either, therefore I can't really test it.
minimoney1 is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 06-19-2012 , 13:57   Re: [ANY|TF2] Advanced Advertisements
Reply With Quote #39

Hi minimoney, nice plugin you got here. However i'm experiencing problems on my 2 servers.

Code:
[SM] Native "KillTimer" reported: Invalid timer handle 5e0e1399 (error 1)
L 06/19/2012 - 18:46:38: [SM] Displaying call stack trace for plugin "adv_adverts_nontf2.smx":
L 06/19/2012 - 18:46:38: [SM]   [0]  Line 313, C:\Users\mINI\Documents\GitHub\SM-TF2-Advanced-Ads\scripting\adv_adverts.sp::OnAdvertDelayChange()

Last edited by Groger; 06-19-2012 at 13:58.
Groger is offline
littlebags
SourceMod Donor
Join Date: Apr 2008
Old 06-19-2012 , 18:05   Re: [ANY|TF2] Advanced Advertisements
Reply With Quote #40

I'll install it on my private TF2 server & see how it goes.What kind of server access do you need to test it.We allow community members to use our private server for things like achievements,videos etc.I might be able to help.
Quote:
Originally Posted by minimoney1 View Post
I've worked on this a little bit here and there, a lot of bugs have been fixed, a lot of new features (Such as the "If user doesn't have x flags") have been added with the setting "noflags" in the config file, but it's not stable yet, and I don't have a TF2 server either, therefore I can't really test it.
__________________
http://www.cloudfiregaming.com-Online Gaming Community

--The only thing necessary for evil to triumph is for good men to do nothing.--
littlebags is offline
Send a message via ICQ to littlebags Send a message via Yahoo to littlebags
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 08:06.


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