CSS: MOTD/Scripts

Smokay
A regular
A regular
Posts: 35
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Aug 04, 2014 2:25 pm

Re: CSS: MOTD/Scripts

Post by Smokay »

If you have to edit your self and resend me it somereason these are the rules:
1.Hack/cheating results in a permanent ban.
2.Racism results in a permanent ban.
3.Profanity/gay sprays results in a permanent ban.
4.Advertising results in a permanent ban.
5.No Spamming (mic/chat).
6.Report any admin abuse here http://chain-smokers.enjin.com/.
7.Respect all admins and players!
Smokay
A regular
A regular
Posts: 35
Joined: Mon Aug 04, 2014 2:25 pm

Re: CSS: MOTD/Scripts

Post by Smokay »

Hi also i added scripts and i put messages in but they dont pop up on server. see anything i did wrong. and again I appreciate the help so much you rock!
// Advertisements 0.5
// by Tsunami
//
// Types
// -----
// C: Center message
// H: Hint message
// M: Menu message
// S: Say message
// - Colors: {DEFAULT}, {TEAM}, {GREEN}, {LIGHTGREEN}
// - Example: {GREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}
// T: Top message
// - Colors: {WHITE}, {RED}, {GREEN}, {BLUE}, {YELLOW}, {PURPLE}, {CYAN},
// {ORANGE}, {PINK}, {OLIVE}, {LIME}, {VIOLET}, {LIGHTBLUE}
// - Example: {ORANGE} www.domain.com
//
// Flags (optional)
// -----
// Accepts flags of admins that will not see the advertisement.
// When omitted everyone will see the advertisement.
// When left empty only admins will see the advertisement.

"Advertisements"
{
"1"
{
"type" "S"
"text" "{LIGHTGREEN}Read MOTD for Rules."
}
"2"
{
"type" "S"
"text" "{LIGHTGREEN}Type !rs to reset your score."
}
"3"
{
"type" "S"
"text" "Next map is {SM_NEXTMAP} in {TIMELEFT} minutes."
}
"4"
{
"type" "S"
"text" "{GREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}"
}
"5"
{
"type" "S"
"text" "{LIGHTGREEN}Add us to your favorites!{GREEN}74.91.117.43:27015."
}
}
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: CSS: MOTD/Scripts

Post by soja »

You can edit the html file yourself, I added comments in html to allow you to understand it better. In windows just open it with notepad and you should be good to go. The comments start with <!--


I don't really see anything wrong with the config file. Can you post the output of "sm plugins list"? Also check your sourcemod error logs in /cstrike/addons/sourcemod/logs.
Not a NFO employee
Smokay
A regular
A regular
Posts: 35
Joined: Mon Aug 04, 2014 2:25 pm

Re: CSS: MOTD/Scripts

Post by Smokay »

theres no notepad, that came with it and if i go edit it, just takes me to the pic u showed me of it complete :/ and okay ill check that thank you!
Smokay
A regular
A regular
Posts: 35
Joined: Mon Aug 04, 2014 2:25 pm

Re: CSS: MOTD/Scripts

Post by Smokay »

1st error log L 08/01/2014 - 23:20:50: SourceMod error session started
L 08/01/2014 - 23:20:50: Info (map "de_aztec") (file "errors_20140801.log")
L 08/01/2014 - 23:20:50: [nextmap.smx] FATAL: Cannot load map cycle. Nextmap not loaded.
L 08/01/2014 - 23:20:50: [SM] Plugin encountered error 25: Call was aborted
L 08/01/2014 - 23:20:50: [SM] Native "SetFailState" reported: Mapcycle Not Found
L 08/01/2014 - 23:20:50: [SM] Displaying call stack trace for plugin "nextmap.smx":
L 08/01/2014 - 23:20:50: [SM] [0] Line 139, /home/builds/sourcemod/linux-1.6/build/plugins/nextmap.sp::FindAndSetNextMap()
L 08/01/2014 - 23:20:50: [SM] [1] Line 109, /home/builds/sourcemod/linux-1.6/build/plugins/nextmap.sp::OnConfigsExecuted()
L 08/01/2014 - 23:35:26: SourceMod error session started
L 08/01/2014 - 23:35:26: Info (map "cs_office") (file "errors_20140801.log")
L 08/01/2014 - 23:35:26: [nextmap.smx] FATAL: Cannot load map cycle. Nextmap not loaded.
L 08/01/2014 - 23:35:26: [SM] Plugin encountered error 25: Call was aborted
L 08/01/2014 - 23:35:26: [SM] Native "SetFailState" reported: Mapcycle Not Found
L 08/01/2014 - 23:35:26: [SM] Displaying call stack trace for plugin "nextmap.smx":
L 08/01/2014 - 23:35:26: [SM] [0] Line 139, /home/builds/sourcemod/linux-1.6/build/plugins/nextmap.sp::FindAndSetNextMap()
L 08/01/2014 - 23:35:26: [SM] [1] Line 109, /home/builds/sourcemod/linux-1.6/build/plugins/nextmap.sp::OnConfigsExecuted()
2nd error log L 08/05/2014 - 20:00:12: [SM] Native "PrintToChat" reported: Could not send a usermessage
L 08/05/2014 - 20:00:12: [SM] Displaying call stack trace for plugin "hlstatsx.smx":
L 08/05/2014 - 20:00:12: [SM] [0] Line 2177, hlstatsx.sp::PrintToChatRecipients()
L 08/05/2014 - 20:00:12: [SM] [1] Line 1222, hlstatsx.sp::hlx_sm_psay()
L 08/05/2014 - 20:00:16: [SM] Native "PrintHintText" reported: Could not send a usermessage
L 08/05/2014 - 20:00:16: [SM] Displaying call stack trace for plugin "showdamage.smx":
L 08/05/2014 - 20:00:16: [SM] [0] Line 194, D:\Source-Servers\css_sm_1.3.0\cstrike\addons\sourcemod\scripting\showdamage.sp::ShowDamage()
L 08/05/2014 - 20:00:21: [SM] Native "StartMessage" reported: Unable to execute a new message, there is already one in progress
L 08/05/2014 - 20:00:21: [SM] Displaying call stack trace for plugin "deadchat_cstrike.smx":
L 08/05/2014 - 20:00:21: [SM] [0] Line 201, /groups/sourcemod/compiler-1.3/include/usermessages.inc::StartMessageOne()
L 08/05/2014 - 20:00:21: [SM] [1] Line 242, /home/forums/content/files/3/3/5/4/1/61785.attach::PrintGameChatMessage()
L 08/05/2014 - 20:00:21: [SM] [2] Line 156, /home/forums/content/files/3/3/5/4/1/61785.attach::SayText2PostHook()
L 08/05/2014 - 20:00:23: [SM] Native "PrintToChat" reported: Could not send a usermessage
L 08/05/2014 - 20:00:23: [SM] Displaying call stack trace for plugin "hlstatsx.smx":
L 08/05/2014 - 20:00:23: [SM] [0] Line 2177, hlstatsx.sp::PrintToChatRecipients()
L 08/05/2014 - 20:00:23: [SM] [1] Line 1222, hlstatsx.sp::hlx_sm_psay()
L 08/05/2014 - 20:00:27: [SM] Native "PrintHintText" reported: Could not send a usermessage
L 08/05/2014 - 20:00:27: [SM] Displaying call stack trace for plugin "showdamage.smx":
L 08/05/2014 - 20:00:27: [SM] [0] Line 194, D:\Source-Servers\css_sm_1.3.0\cstrike\addons\sourcemod\scripting\showdamage.sp::ShowDamage()
L 08/05/2014 - 20:00:32: [SM] Native "PrintHintText" reported: Could not send a usermessage
L 08/05/2014 - 20:00:32: [SM] Displaying call stack trace for plugin "showdamage.smx":
L 08/05/2014 - 20:00:32: [SM] [0] Line 194, D:\Source-Servers\css_sm_1.3.0\cstrike\addons\sourcemod\scripting\showdamage.sp::ShowDamage()
L 08/05/2014 - 20:00:33: [SM] Native "PrintHintText" reported: Could not send a usermessage
L 08/05/2014 - 20:00:33: [SM] Displaying call stack trace for plugin "showdamage.smx":
L 08/05/2014 - 20:00:33: [SM] [0] Line 194, D:\Source-Servers\css_sm_1.3.0\cstrike\addons\sourcemod\scripting\showdamage.sp::ShowDamage()
L 08/05/2014 - 20:00:40: [SM] Native "PrintToChat" reported: Could not send a usermessage
L 08/05/2014 - 20:00:40: [SM] Displaying call stack trace for plugin "hlstatsx.smx":
L 08/05/2014 - 20:00:40: [SM] [0] Line 2177, hlstatsx.sp::PrintToChatRecipients()
L 08/05/2014 - 20:00:40: [SM] [1] Line 1222, hlstatsx.sp::hlx_sm_psay()
L 08/05/2014 - 20:00:45: [SM] Native "PrintHintText" reported: Could not send a usermessage
L 08/05/2014 - 20:00:45: [SM] Displaying call stack trace for plugin "showdamage.smx":
L 08/05/2014 - 20:00:45: [SM] [0] Line 194, D:\Source-Servers\css_sm_1.3.0\cstrike\addons\sourcemod\scripting\showdamage.sp::ShowDamage()
L 08/05/2014 - 20:00:46: [SM] Native "PrintHintText" reported: Could not send a usermessage
L 08/05/2014 - 20:00:46: [SM] Displaying call stack trace for plugin "showdamage.smx":
L 08/05/2014 - 20:00:46: [SM] [0] Line 194, D:\Source-Servers\css_sm_1.3.0\cstrike\addons\sourcemod\scripting\showdamage.sp::ShowDamage()
L 08/05/2014 - 20:00:46: [SM] Native "PrintHintText" reported: Could not send a usermessage
L 08/05/2014 - 20:00:46: [SM] Displaying call stack trace for plugin "showdamage.smx":
L 08/05/2014 - 20:00:46: [SM] [0] Line 194, D:\Source-Servers\css_sm_1.3.0\cstrike\addons\sourcemod\scripting\showdamage.sp::ShowDamage()
L 08/05/2014 - 20:00:53: [SM] Native "PrintToChat" reported: Could not send a usermessage
L 08/05/2014 - 20:00:53: [SM] Displaying call stack trace for plugin "hlstatsx.smx":
L 08/05/2014 - 20:00:53: [SM] [0] Line 2177, hlstatsx.sp::PrintToChatRecipients()
L 08/05/2014 - 20:00:53: [SM] [1] Line 1222, hlstatsx.sp::hlx_sm_psay()
L 08/05/2014 - 20:01:05: [SM] Native "PrintHintText" reported: Could not send a usermessage
L 08/05/2014 - 20:01:05: [SM] Displaying call stack trace for plugin "showdamage.smx":
L 08/05/2014 - 20:01:05: [SM] [0] Line 194, D:\Source-Servers\css_sm_1.3.0\cstrike\addons\sourcemod\scripting\showdamage.sp::ShowDamage()
L 08/05/2014 - 20:01:06: [SM] Native "PrintHintText" reported: Could not send a usermessage
L 08/05/2014 - 20:01:06: [SM] Displaying call stack trace for plugin "showdamage.smx":
L 08/05/2014 - 20:01:06: [SM] [0] Line 194, D:\Source-Servers\css_sm_1.3.0\cstrike\addons\sourcemod\scripting\showdamage.sp::ShowDamage()
L 08/05/2014 - 20:01:07: [SM] Native "PrintHintText" reported: Could not send a usermessage
L 08/05/2014 - 20:01:07: [SM] Displaying call stack trace for plugin "showdamage.smx":
L 08/05/2014 - 20:01:07: [SM] [0] Line 194, D:\Source-Servers\css_sm_1.3.0\cstrike\addons\sourcemod\scripting\showdamage.sp::ShowDamage()
L 08/05/2014 - 20:01:07: [SM] Native "StartMessage" reported: Unable to execute a new message, there is already one in progress
L 08/05/2014 - 20:01:07: [SM] Displaying call stack trace for plugin "deadchat_cstrike.smx":
L 08/05/2014 - 20:01:07: [SM] [0] Line 201, /groups/sourcemod/compiler-1.3/include/usermessages.inc::StartMessageOne()
L 08/05/2014 - 20:01:07: [SM] [1] Line 242, /home/forums/content/files/3/3/5/4/1/61785.attach::PrintGameChatMessage()
L 08/05/2014 - 20:01:07: [SM] [2] Line 156, /home/forums/content/files/3/3/5/4/1/61785.attach::SayText2PostHook()
L 08/05/2014 - 20:01:09: [SM] Native "PrintToChat" reported: Could not send a usermessage
L 08/05/2014 - 20:01:09: [SM] Displaying call stack trace for plugin "basechat.smx":
L 08/05/2014 - 20:01:09: [SM] [0] Line 335, /home/builds/sourcemod/linux-1.6/build/plugins/basechat.sp::SendChatToAll()
L 08/05/2014 - 20:01:09: [SM] [1] Line 96, /home/builds/sourcemod/linux-1.6/build/plugins/basechat.sp::OnClientSayCommand()
L 08/05/2014 - 20:01:09: [SM] Native "StartMessage" reported: Unable to execute a new message, there is already one in progress
L 08/05/2014 - 20:01:09: [SM] Displaying call stack trace for plugin "deadchat_cstrike.smx":
L 08/05/2014 - 20:01:09: [SM] [0] Line 201, /groups/sourcemod/compiler-1.3/include/usermessages.inc::StartMessageOne()
L 08/05/2014 - 20:01:09: [SM] [1] Line 242, /home/forums/content/files/3/3/5/4/1/61785.attach::PrintGameChatMessage()
L 08/05/2014 - 20:01:09: [SM] [2] Line 156, /home/forums/content/files/3/3/5/4/1/61785.attach::SayText2PostHook()
L 08/05/2014 - 20:01:11: [SM] Native "PrintToChat" reported: Could not send a usermessage
L 08/05/2014 - 20:01:11: [SM] Displaying call stack trace for plugin "basechat.smx":
L 08/05/2014 - 20:01:11: [SM] [0] Line 335, /home/builds/sourcemod/linux-1.6/build/plugins/basechat.sp::SendChatToAll()
L 08/05/2014 - 20:01:11: [SM] [1] Line 96, /home/builds/sourcemod/linux-1.6/build/plugins/basechat.sp::OnClientSayCommand()
L 08/05/2014 - 20:01:11: [SM] Native "StartMessage" reported: Unable to execute a new message, there is already one in progress
L 08/05/2014 - 20:01:11: [SM] Displaying call stack trace for plugin "deadchat_cstrike.smx":
L 08/05/2014 - 20:01:11: [SM] [0] Line 201, /groups/sourcemod/compiler-1.3/include/usermessages.inc::StartMessageOne()
L 08/05/2014 - 20:01:11: [SM] [1] Line 242, /home/forums/content/files/3/3/5/4/1/61785.attach::PrintGameChatMessage()
L 08/05/2014 - 20:01:11: [SM] [2] Line 156, /home/forums/content/files/3/3/5/4/1/61785.attach::SayText2PostHook()
L 08/05/2014 - 20:01:14: [SM] Native "PrintToChat" reported: Could not send a usermessage
L 08/05/2014 - 20:01:14: [SM] Displaying call stack trace for plugin "basechat.smx":
L 08/05/2014 - 20:01:14: [SM] [0] Line 335, /home/builds/sourcemod/linux-1.6/build/plugins/basechat.sp::SendChatToAll()
L 08/05/2014 - 20:01:14: [SM] [1] Line 96, /home/builds/sourcemod/linux-1.6/build/plugins/basechat.sp::OnClientSayCommand()
L 08/05/2014 - 20:01:14: [SM] Native "PrintToChat" reported: Could not send a usermessage
L 08/05/2014 - 20:01:14: [SM] Displaying call stack trace for plugin "hlstatsx.smx":
L 08/05/2014 - 20:01:14: [SM] [0] Line 2177, hlstatsx.sp::PrintToChatRecipients()
L 08/05/2014 - 20:01:14: [SM] [1] Line 1222, hlstatsx.sp::hlx_sm_psay()
L 08/05/2014 - 20:01:15: [SM] Native "PrintToChat" reported: Could not send a usermessage
L 08/05/2014 - 20:01:15: [SM] Displaying call stack trace for plugin "basechat.smx":
L 08/05/2014 - 20:01:15: [SM] [0] Line 335, /home/builds/sourcemod/linux-1.6/build/plugins/basechat.sp::SendChatToAll()
L 08/05/2014 - 20:01:15: [SM] [1] Line 96, /home/builds/sourcemod/linux-1.6/build/plugins/basechat.sp::OnClientSayCommand()
L 08/05/2014 - 20:01:19: SourceMod error session started
L 08/05/2014 - 20:01:19: Info (map "awp_space-dank") (file "errors_20140805.log")
L 08/05/2014 - 20:01:19: [SM] Fatal error encountered parsing translation file "deadchat.phrases.txt"
L 08/05/2014 - 20:01:19: [SM] Error (line 0, column 0): Stream failed to open
L 08/05/2014 - 22:18:21: Error log file session closed.
L 08/05/2014 - 22:18:21: SourceMod error session started
L 08/05/2014 - 22:18:21: Info (map "awp_deluxe") (file "errors_20140805.log")
L 08/05/2014 - 22:18:21: [SM] Fatal error encountered parsing translation file "deadchat.phrases.txt"
L 08/05/2014 - 22:18:21: [SM] Error (line 0, column 0): Stream failed to open
Smokay
A regular
A regular
Posts: 35
Joined: Mon Aug 04, 2014 2:25 pm

Re: CSS: MOTD/Scripts

Post by Smokay »

so i got like 6 errors , but my servers been running fine O.o and those maps work fine and dead chat works fine so i dont understand :/ could these of happend when the addons didnt work, and i fixed them, and the errors are just still there? sorry if i confussed you.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: CSS: MOTD/Scripts

Post by soja »

When you right click the html file, go to "open with" and if notepad isn't an option there, click "choose default program". Then find notepad and open the file with it.


Those errors are from yesterday, do you have any updated logs? You can try deleting the files in your logs folder and then rebooting the server to get new log files.
Not a NFO employee
Smokay
A regular
A regular
Posts: 35
Joined: Mon Aug 04, 2014 2:25 pm

Re: CSS: MOTD/Scripts

Post by Smokay »

It does not give me a option to open with, and its chrome logo file so opens to the pic of completion motd. and ill check that thank you
Smokay
A regular
A regular
Posts: 35
Joined: Mon Aug 04, 2014 2:25 pm

Re: CSS: MOTD/Scripts

Post by Smokay »

i did what you said with logs and heres the only one: ty for all help.
L 08/06/2014 - 12:36:40: SourceMod error session started
L 08/06/2014 - 12:36:40: Info (map "awp_space-dank") (file "errors_20140806.log")
L 08/06/2014 - 12:36:40: [SM] Plugin encountered error 25: Call was aborted
L 08/06/2014 - 12:36:40: [SM] Native "SetFailState" reported: File Not Found: addons\sourcemod\configs\advertisements.txt
L 08/06/2014 - 12:36:40: [SM] Displaying call stack trace for plugin "advertisements.smx":
L 08/06/2014 - 12:36:40: [SM] [0] Line 361, /home/forums/content/files/3/4/6/6/8/24253.attach::ParseAds()
L 08/06/2014 - 12:36:40: [SM] [1] Line 54, /home/forums/content/files/3/4/6/6/8/24253.attach::OnMapStart()
L 08/06/2014 - 12:39:43: Error log file session closed.
L 08/06/2014 - 12:39:44: SourceMod error session started
L 08/06/2014 - 12:39:44: Info (map "awp_crazyjump2007") (file "errors_20140806.log")
L 08/06/2014 - 12:39:44: [SM] Plugin encountered error 25: Call was aborted
L 08/06/2014 - 12:39:44: [SM] Native "SetFailState" reported: File Not Found: addons\sourcemod\configs\advertisements.txt
L 08/06/2014 - 12:39:44: [SM] Displaying call stack trace for plugin "advertisements.smx":
L 08/06/2014 - 12:39:44: [SM] [0] Line 361, /home/forums/content/files/3/4/6/6/8/24253.attach::ParseAds()
L 08/06/2014 - 12:39:44: [SM] [1] Line 54, /home/forums/content/files/3/4/6/6/8/24253.attach::OnMapStart()
L 08/06/2014 - 12:40:25: Error log file session closed.
L 08/06/2014 - 12:40:25: SourceMod error session started
L 08/06/2014 - 12:40:25: Info (map "awp_deluxe") (file "errors_20140806.log")
L 08/06/2014 - 12:40:25: [SM] Plugin encountered error 25: Call was aborted
L 08/06/2014 - 12:40:25: [SM] Native "SetFailState" reported: File Not Found: addons\sourcemod\configs\advertisements.txt
L 08/06/2014 - 12:40:25: [SM] Displaying call stack trace for plugin "advertisements.smx":
L 08/06/2014 - 12:40:25: [SM] [0] Line 361, /home/forums/content/files/3/4/6/6/8/24253.attach::ParseAds()
L 08/06/2014 - 12:40:25: [SM] [1] Line 54, /home/forums/content/files/3/4/6/6/8/24253.attach::OnMapStart()
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: CSS: MOTD/Scripts

Post by soja »

[SM] Native "SetFailState" reported: File Not Found: addons\sourcemod\configs\advertisements.txt

Looks like you don't have the txt file in the correct location. Make sure the file above exists.

EDIT: I have never seen this option absent when right clicking a file in windows:
Image

If notepad is not there, you can click "choose default program", and search for it. You don't need notepad++, normal windows notepad will work.
Not a NFO employee
Smokay
A regular
A regular
Posts: 35
Joined: Mon Aug 04, 2014 2:25 pm

Re: CSS: MOTD/Scripts

Post by Smokay »

i know but it has the chrome logo next to it and it literally wont give me the open with option its stuck witth the chrome, opens to finished page, i seriously dont know why it wont let me either. I put it in /cstrike/addon/sourcemod/transscripts. wrong place?
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: CSS: MOTD/Scripts

Post by soja »

Smokay wrote:i know but it has the chrome logo next to it and it literally wont give me the open with option its stuck witth the chrome, opens to finished page, i seriously dont know why it wont let me either. I put it in /cstrike/addon/sourcemod/transscripts. wrong place?
Yes that is the wrong location, it should be in:
addons\sourcemod\configs

Here is the updated html file with your rules you posted before.
Attachments
motd.zip
(108.69 KiB) Downloaded 149 times
Not a NFO employee
Smokay
A regular
A regular
Posts: 35
Joined: Mon Aug 04, 2014 2:25 pm

Re: CSS: MOTD/Scripts

Post by Smokay »

Thank you so much soja your the best im absolutley sorry bout that problem i tried a 100 diffrent way it wouldnt let me :( i wanted to learn. Thank you i apprecaite your help so much!
Smokay
A regular
A regular
Posts: 35
Joined: Mon Aug 04, 2014 2:25 pm

Re: CSS: MOTD/Scripts

Post by Smokay »

Hey sorry could you add something to the motd for me.
can you put this under all the rules .
Donations
$1 8k credits
$5 25k credits
$10 55k credits
$15 105k credits
$25 155k credits with basic admin.(slap,slay,kick,reserved spot)
to donate go to chain-smokers.enjin.com :) ( would like all this chat in purple to if you could)
if you could add that i would appreciate so much sorry for asking for so much.
Post Reply