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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
wakedb
Member
Join Date: Dec 2019
Location: unknwn
Old 12-24-2020 , 14:23   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2171

Hi. I've updated SM and MM version to the latest and now I get this error : advertisements.smx: unable to load plugin (bad header)

sm version and mm version : 1.10.0.6502 / 1.11.0-dev+1143.
__________________
wakedb is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 12-24-2020 , 14:48   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2172

That means your advertisements.smx was compiled for SourceMod 1.11, and will not load on 1.10. Just overwrite your advertisements.smx with the one from the latest release.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
wakedb
Member
Join Date: Dec 2019
Location: unknwn
Old 12-24-2020 , 18:09   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2173

It works perfectly. Thank you very much!
__________________
wakedb is offline
Laser32
AlliedModders Donor
Join Date: Sep 2006
Location: Germany (Schwerin)
Old 12-27-2020 , 03:34   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2174

//// advertisements.sp
//
// C:\Users\Gunnar\Desktop\sourcemod\scripting\i nclude\functions.inc(360) : fatal error 196: deprecated syntax; see https://wiki.alliedmods.net/SourcePa...yntax#Typedefs
Laser32 is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 12-27-2020 , 07:23   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2175

Your includes don't match your compiler version. Compile with the latest stable SourceMod release.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 12-27-2020 , 14:54   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2176

Quote:
Originally Posted by DJ Tsunami View Post
The chat colors have to be lowercase now. I've only had one other person complain about it, so I haven't bothered to fix it.
Eureka! I upgraded the plugin version and after hours of troubleshooting I came across this post stating that chat colors have to be lowercase. I changed chat colors to lowercase and now it works. I didn't realize that the plugin wasn't backwards compatible with previous config file.
PC Gamer is offline
avan
Junior Member
Join Date: Oct 2020
Old 01-14-2021 , 03:56   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2177

In the future, will there be any more variables? for example Red or Blu team score or CT T team score such things?
avan is online now
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 03-13-2021 , 18:02   Re: Advertisements 2.1 (Updated 2021/02/06)
Reply With Quote #2178

Hey guys just wondering, is there a variable to print the server ip:port?
That could really help with what I'm doing
__________________
nikooo777 is offline
NeoTM
AlliedModders Donor
Join Date: Feb 2013
Location: Britain
Old 06-11-2021 , 18:27   Re: Advertisements 2.1 (Updated 2021/02/06)
Reply With Quote #2179

Hi !

What are the color we can use in chat or say?

I know the previous version was limited in color for chat message but i had default, team, green and lightgreen working.
Now it look like there is only default, lightgreen and green.
Are the other type of message are supported now? (center, hint, menu, top)
__________________
82.66.75.218:27015 - Walk In Dead Nightmare
82.66.75.218:27016 - Walk In Dead Rampage
82.66.75.218:27017 - Walk In Dead Vanilla
NeoTM is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 06-12-2021 , 05:10   Re: Advertisements 2.1 (Updated 2021/02/06)
Reply With Quote #2180

Different game engines have support for different chat colors, so it's difficult to document them all in a forum post.

There are links to a general list of supported colors in the first post, and you can find the exact list for your game engine in chatcolors.sp.

{team} was renamed to {teamcolor}, to make it more clear that it's a color.

All of the supported message types are documented in the first post. Only chat and top support colors.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami 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:01.


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