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

[TF2] Friendly Mode (v. 16.0112)


Post New Thread Reply   
 
Thread Tools Display Modes
zyrphon
Member
Join Date: Jan 2010
Location: Chicago, IL, USA
Old 04-18-2013 , 15:28   Re: [TF2] Friendly Mode (now with NoBlock and Auto-Updating!!) CV = 13.0418.1
Reply With Quote #61

Meh it didnt, but its the only mod ive added since yesterday...weird.

14:273 [SM] Listing 46 plugins:
01 "[TF2Items] Manager" (1.4.1) by Damizean & Asherkin
02 "Fun Commands" (1.5.0-dev+3826) by AlliedModders LLC
03 "Scrap.tf" (1.3.0) by Geel9 & Jessecar96
04 "Spray Tracer" (5.8a) by Nican132, CptMoore, Lebson506th
05 "Basic Comm Control" (1.5.0-dev+3826) by AlliedModders LLC
06 "Admin Help" (1.5.0-dev+3826) by AlliedModders LLC
07 "[TF2] Play Points Ability Pack" (1.4) by Tak (Chaosxk)
08 "[TF2] Thirdperson" (2.1.0) by DarthNinja
09 "CD Announcer" (2.3) by Fredd
10 "Admin File Reader" (1.5.0-dev+3826) by AlliedModders LLC
11 "Basic Ban Commands" (1.5.0-dev+3826) by AlliedModders LLC
12 "Hitsounds for Buildings" (1.0) by MasterOfTheXP
13 "[TF2] Be the Horsemann" (1.3) by FlaminSarge
14 "[DEV] TF2 Items Info" (1.8.15-20121207) by Leonardo
15 "Basic Chat" (1.5.0-dev+3826) by AlliedModders LLC
16 "[TF2]Level 3 mini-sentries" (1.2.6) by KalaPihvi
17 "Basic Info Triggers" (1.5.0-dev+3826) by AlliedModders LLC
18 "Web Shortcuts" (1.0.1) by James "sslice" Gray
19 "Reserved Slots" (1.5.0-dev+3826) by AlliedModders LLC
20 "Vote Mute/Vote Silence" (1.0.105P) by <eVa>Dog/AlliedModders LLC
21 "[TF2] Fake Item Messages" (1.5.0) by DarthNinja
22 "curl_self_test.smx"
23 "[TF2] backpack.tf Price Check" (2.0.3) by Dr. McKay
24 "Admin Menu" (1.5.0-dev+3826) by AlliedModders LLC
25 "TF2 Build Restrictions" (0.5.5) by Tsunami
26 "Fun Votes" (1.5.0-dev+3826) by AlliedModders LLC
27 "Basic Votes" (1.5.0-dev+3826) by AlliedModders LLC
28 "[TF2] AntiNameHack" (1.1) by Mitch
29 "Melee" (0.3.91) by linux_lover
30 "Anti-Flood" (1.5.0-dev+3826) by AlliedModders LLC
31 "[TF2] Soldier Eyerockets!" (1.0.0) by Oshizu
32 "Advertisements" (0.5.5) by Tsunami
33 "Client Preferences" (1.5.0-dev+3826) by AlliedModders LLC
34 "Updater" (1.1.5) by GoD-Tony
35 "Player Commands" (1.5.0-dev+3826) by AlliedModders LLC
36 "Fun Commands X" (2.2) by Spazman0 and Arg!
37 "[TF2] High Five Enemies" (1.2) by FlaminSarge
38 "Basic Commands" (1.5.0-dev+3826) by AlliedModders LLC
39 "[TF2] Monoculus Spawner" (1.1.1) by DarthNinja
40 "Class Enforcer" (0.2) by linux_lover
41 "SM Crits chance" (0.1) by pRED*
42 "[TF2] Merasmus Spawner" (1.4.2) by Tak (Chaosxk)
43 "Sound Commands" (1.5.0-dev+3826) by AlliedModders LLC
44 "[TF2Items] Give Weapon" (3.14) by asherkin (Updated by FlaminSarge)
45 "[TF2] Local Item Server" (1.1.5) by Dr. McKay
46 "[TF2] Friendly Mode" (13.0418.1) by Derek D. Howard
__________________
Hungry Hoovy Hotel - 74.91.119.21:27015
What The Hale?! - 74.91.119.21:27016
zyrphon is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 04-18-2013 , 18:19   Re: [TF2] Friendly Mode (now with NoBlock and Auto-Updating!!) CV = 13.0418.1
Reply With Quote #62

Uploading new version 13.0418.2. It is attached to this post, has been pushed to the server that Updater downloads from, and will soon replace the version in the first post in this thread. Changes are:
  • Before this update, if sm_friendly_remember = 0, players who died while Friendly had no way to force staying in Friendly mode. Now, if a dead Friendly player runs sm_friendly twice (once to say "I want to toggle modes," and once to cancel that toggle), he will remain Friendly upon respawn.

  • Changed chat prefix to [Friendly] from [Friendly Mode]

  • Colorized some text output thanks to colors.inc. Colors.inc will be needed to compile the plugin from here on out.

  • Added cvar sm_friendly_advert with a default value of 1. When enabled, players will see a message similar to the following about 20 seconds after joining a team:
    Code:
    [Friendly] Hello! This server is currently running Friendly Mode v.13.0418.2. Type /friendly to try it out!
    This message only shows up ONCE per client session. A client will not see it twice unless he leaves the server and then returns. The message can be turned off entirely by setting sm_friendly_advert to 0.

Please let me know if you run into any issues.

EDIT: WARNING: This version causes mild error log spam.
Attached Files
File Type: smx friendly.smx (13.9 KB, 106 views)
File Type: sp Get Plugin or Get Source (friendly.sp - 102 views - 18.8 KB)

Last edited by ddhoward; 04-18-2013 at 23:54.
ddhoward is offline
zyrphon
Member
Join Date: Jan 2010
Location: Chicago, IL, USA
Old 04-18-2013 , 21:23   Re: [TF2] Friendly Mode (now with NoBlock and Auto-Updating!!)
Reply With Quote #63

All issues have been resolved since the last game update. Thank you for making this version of the plugin. It functions exactly like how I need it to work. My patrons an I are very happy, so thank you from the people of rMeS and the "Hungry Hoovy Inn" trade servers!
__________________
Hungry Hoovy Hotel - 74.91.119.21:27015
What The Hale?! - 74.91.119.21:27016
zyrphon is offline
island55
Senior Member
Join Date: Aug 2010
Location: charleston
Old 04-18-2013 , 21:51   Re: [TF2] Friendly Mode (now with NoBlock and Auto-Updating!!)
Reply With Quote #64

ddhoward,

just a thought but you should make the advert cvar editable so people can type in their own customized message that people would see when they join the server, this way every server is unique. kinda like the motd backpack plugin. (https://forums.alliedmods.net/showthread.php?p=1337911)
island55 is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 04-18-2013 , 22:34   Re: [TF2] Friendly Mode (now with NoBlock and Auto-Updating!!)
Reply With Quote #65

latest update causes log spam, working on a fix now
ddhoward is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 04-18-2013 , 23:10   Re: [TF2] Friendly Mode (now with NoBlock and Auto-Updating!!)
Reply With Quote #66

Uploading new version 13.0418.3. It is attached to this post, has been pushed to the server that Updater downloads from, and will soon replace the version in the first post in this thread. Changes are:
  • Fixed error log spam caused by the previous version.

  • Changed when the message controlled by sm_friendly_advert appears; it should appear at the beginning of the player's second spawning.

Please let me know if you run into any issues. Please also consider installing Updater if you haven't already!

Quote:
Originally Posted by island55 View Post
just a thought but you should make the advert cvar editable so people can type in their own customized message that people would see when they join the server, this way every server is unique. kinda like the motd backpack plugin. (https://forums.alliedmods.net/showthread.php?p=1337911)
The advert is about the plugin, not the server. idk.
Attached Files
File Type: sp Get Plugin or Get Source (friendly.sp - 105 views - 18.6 KB)
File Type: smx friendly.smx (13.8 KB, 107 views)

Last edited by ddhoward; 04-19-2013 at 00:10.
ddhoward is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 04-19-2013 , 02:13   Re: [TF2] Friendly Mode (now with NoBlock and Auto-Updating!!)
Reply With Quote #67

So apparently the Goomba Stomp plugin provides some awesome forwards that allow other plugins to interact with it.

A pending update now includes full Goomba Stomp integration, where (if sm_friendly_goomba = 1) Stomping follows the same rules as a regular attacks. Friendly players cannot stomp nor be stomped, unless the stomper has sm_friendly_admin enabled. I was so fucking stoked when I first tried it out, and it worked.

Last edited by ddhoward; 04-19-2013 at 02:15.
ddhoward is offline
Scipizoa
Senior Member
Join Date: Aug 2012
Location: ask me
Old 04-19-2013 , 02:22   Re: [TF2] Friendly Mode (now with NoBlock and Auto-Updating!!)
Reply With Quote #68

hey howard how about having this plugin make its own cfg .>;
__________________

ZaBaGaBe Gaming Community: http://steamcommunity.com/groups/ZBGB
Scipizoa is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 04-19-2013 , 02:28   Re: [TF2] Friendly Mode (now with NoBlock and Auto-Updating!!)
Reply With Quote #69

Quote:
Originally Posted by Scipizoa View Post
hey howard how about having this plugin make its own cfg .>;
Having a billion different .cfg files for all my plugins is VERY irritating.

However, apparently a Sourcemod plugin, when written right, is supposed to cause Sourcemod to automatically generate such a .cfg.

I'll look into what is required to be "proper," and get back to you.

Last edited by ddhoward; 04-19-2013 at 02:29.
ddhoward is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 04-19-2013 , 03:04   Re: [TF2] Friendly Mode (now with NoBlock and Auto-Updating!!)
Reply With Quote #70

Next update will have the plugin auto-generate the file tf/cfg/sourcemod/friendly.cfg
ddhoward 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 08:31.


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