Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej
Sign in to follow this  
MYGO.pl

[ANY] UserMsg Hooks - DevTools (1.0) [15-Nov-2019]

Recommended Posts

68747470733a2f2f692e696d6775722e636f6d2f


Related Plugins:


About:
  • Prints UserMessage data to chat (client) or console (server).
  • Logs UserMessages structure and output data.
  • Can specify which UserMessages to listen for or filter out.
  • Example command: sm_um_watch "MusicCmd,TextMsg"
  • For more info on UserMessages: https://wiki.alliedmods.net/User_Messages
  • Auto generates up to 19 gamedata signatures! They should never break and support most games.
  • Logs messages to: "logs/user_messages_dump.log"
  • Logs structures to:"logs/user_messages_types.log"



Example Output:
Spoiler




Known Working Games:
  • L4D1
  • L4D2
  • Please report success in other games.
  • Request support if required.



Unsupported Games:
  • CSGO (method is different, requires manual hooks and/or changes)



Admin Commands: (requires "z" flag)

PHP Code:

sm_um_listen    // Starts listening to all UserMessages. Filters or listens for messages from the filter and listen cvars.
sm_um_stop      // Stop printing UserMessages.
sm_um_watch     // Start printing UserMessages. Usage: sm_um_watch <messages to watch, separate by commas> 




ConVars:

Saved to usermsg_hooks.cfg in your servers \cfg\sourcemod\ folder.

PHP Code:

// Do not hook and these UserMessages, separate by commas (no spaces). Only works for sm_usermsg_listen command.
sm_usermsg_filter ""

// Only hook and display these UserMessages, separate by commas (no spaces). Only works for sm_usermsg_listen command.
sm_usermsg_listen ""

// 0=Off. 1=Logs all UserMessage structures. 2=Log listen UserMessage data. 4=Log listen UserMessage data with timestamps. Add numbers together.
sm_usermsg_logging "1"

// UserMsg Hooks plugin version.
sm_usermsg_version 




Changes:
Code:

1.0 (15-Oct-2019)
    - Initial release.




Requirements:

Installation:
DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires DHooks!
  1. Download the .smx file and put into your servers \addons\sourcemod\plugins folder.
  2. Download the .txt gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.

Attached Files
File Type: sp Get Plugin or Get Source (usermsg_hooks.sp - 23.9 KB)
File Type: txt usermsg_hooks.games.txt (4.5 KB)
File Type: smx usermsg_hooks.smx (15.0 KB)

Wyświetl pełny artykuł

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By MYGO.pl
      Description: Settings (ConVars): Requirements: Installation:
      Attached Files Get Plugin or Get Source (l4d_DaysToNewYear.sp - 6.3 KB) days_to_new_year.phrases.txt (237 Bytes) Wyświetl pełny artykuł
    • By MYGO.pl
      Related Plugins: [L4D & L4D2] Christmas Tree WeaponHandling_API

      Thanks: Lux for the WeaponHandling_API plugin and reward suggestion.

      About: It's holiday time and servers are spawning Valves Christmas gifts, but they have no reward... This rewards players when picking up gifts: Health: Restores full health. Ammo: Refills full ammo. Speed: Increases shooting and reloading speed. Requires the WeaponHandling_API plugin. Rewards are chance based using a weighted selection. Only one will trigger per gift. Note: game cvar "z_holiday_gift_drop_chance". Gifts expire after 30 seconds. Game default.


      Admin Commands: (requires "z" flag)

      PHP Code: sm_gift      // Spawns a gift at where you're looking.
      sm_gifter    // Gives yourself a reward. For testing. 


      CVars:

      Saved to l4d2_gift_rewards.cfg in your servers \cfg\sourcemod\ folder.

      PHP Code: // 0=Plugin off, 1=Plugin on.
      l4d2_gift_rewards_allow "1"

      // Chance to completely refill a players ammo.
      l4d2_gift_rewards_chance_ammo "100"

      // Chance to restore a players health to full.
      l4d2_gift_rewards_chance_heal "100"

      // Chance to reward increased speed for: shooting, reloading and deploying. Requires WeaponHandling API plugin.
      l4d2_gift_rewards_chance_speed "100"

      // 0.0=Off. Reduces the size of gifts over this many seconds.
      l4d2_gift_rewards_size "20.0"

      // Duration the increased speed affects a player.
      l4d2_gift_rewards_speed "20.0"

      // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
      l4d2_gift_rewards_modes ""

      // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
      l4d2_gift_rewards_modes_off ""

      // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
      l4d2_gift_rewards_modes_tog "0"

      // Gift Rewards plugin version.
      l4d2_gift_rewards_version 



      Changes:
      Code: 1.0 (03-Dec-2019)
          - Initial release.

      Optional Plugin Weapon speed features require the WeaponHandling_API plugin.
      Installation Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder. Optionally download "l4d2_gift_rewards.txt" and save to your servers \addons\sourcemod\gamedata\ folder. This is for the sm_gift command.
      Attached Files Get Plugin or Get Source (l4d2_gift_rewards.sp - 17.5 KB) l4d2_gift_rewards.txt (638 Bytes) Wyświetl pełny artykuł
    • By MYGO.pl
      About: Modern version of [L4D2] Bacteria Sounds from AtomicStryker. Thanks to paul92 - For the request.
      This patches the game and unlocks it for all gamemodes.

      CVars:

      Saved to l4d2_bacteria.cfg in your servers \cfg\sourcemod\ folder.

      PHP Code: l4d2_bacteria_allow "1"         // 0=Plugin off, 1=Plugin on.
      l4d2_bacteria_ver               // Bacteria Sounds plugin version. 


      Changes:
      Code: 1.0 (01-Dec-2019)
          - Initial release.

      Installation Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder. Download the .txt gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.
      Attached Files Get Plugin or Get Source (l4d2_bacteria.sp - 5.0 KB) l4d2_bacteria.txt (877 Bytes) Wyświetl pełny artykuł
    • By MYGO.pl
      About: This completely unvomits someone with options of adding back the glow (L4D2 only) and chase goal to attract infected. Player model doesn't retain the bile visual effects overlay. Is it possible? I'm guessing it's client side only.

      Admin Commands: (requires "z" flag)

      PHP Code: sm_vomit      // Cover in bile. Usage: sm_vomit [#userid|name]. No args = target self.
      sm_unvomit    // Remove effect. Usage: sm_unvomit [#userid|name]. No args = target self. 

      Cvars:

      Saved to l4d_unvomit.cfg in your servers \cfg\sourcemod\ folder.

      PHP Code: // 0=Plugin off, 1=Plugin on.
      l4d_unvomit_allow "1"

      // 0=Off. 1=Attach a info_goal_infected_chase to players for common infected to chase them.
      l4d_unvomit_chase "1"

      // Duration of the effect (game default: 20). How long to keep the chase and glow enabled.
      l4d_unvomit_duration "20"

      // 0=Off. L4D2 only: glow outline on players until vomit reset time. Three values between 0-255 separated by spaces. RGB: Red Green Blue.
      l4d_unvomit_glow_color "255 100 0"

      // 0=Off. L4D2 only: glow outline in Versus gamemode.
      l4d_unvomit_glow_versus "201 18 184"

      // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
      l4d_unvomit_modes ""

      // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
      l4d_unvomit_modes_off ""

      // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
      l4d_unvomit_modes_tog "0"

      // Tongue Damage plugin version.
      l4d_tongue_damage_version 


      Changes:
      Code: 1.1 (01-Dec-2019)
          - Added new features and cvars, made into a full plugin for release.

      1.0 (20-May-2012)
          - Initial release.

      Installation: Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder. Download the .txt gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.
      Attached Files l4d_unvomit.txt (2.1 KB) Get Plugin or Get Source (l4d_unvomit.sp - 13.6 KB) Wyświetl pełny artykuł
    • By MYGO.pl
      About: Thanks to "XJR15" for the request. Only required for L4D2. By default the game only deals bonus Hunter Pounce damage in Versus games. This unlocks it for all gamemodes and bots. To change the pounce range use [L4D2] Pounce Damage Uncap extension. Latest version found here.

      CVars:

      Saved to l4d2_pounce_damage.cfg in your servers \cfg\sourcemod\ folder.

      PHP Code: l4d2_pounce_damage_allow "1"         // 0=Plugin off, 1=Plugin on.
      l4d2_pounce_damage_version           // Hunter Pounce Damage plugin version. 


      Changes:
      Code: 1.0 (01-Dec-2019)
          - Initial release.

      Installation Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder. Download the .txt gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.
      Attached Files l4d2_pounce_damage.txt (1.1 KB) Get Plugin or Get Source (l4d2_pounce_damage.sp - 5.2 KB) Wyświetl pełny artykuł
×
×
  • Create New...