Skocz do zawartości

MYGO.pl

Moderatorzy
  • Zawartość

    1,100
  • Rejestracja

  • Ostatnia wizyta

    nigdy
  • Wygrane w rankingu

    8

Ostatnia wygrana MYGO.pl w dniu 22 Wrzesień

Użytkownicy przyznają MYGO.pl punkty reputacji!

Reputacja

29 Silver Elite

O MYGO.pl

  • Tytuł
    RSS Plugins
  • Urodziny 06.07.2016

Informacje o mnie

  • Imię:
    RSS Plugins
  • Skąd:
    RSS Plugins
  • Płeć:
    Mężczyzna
  • Zawód:
    RSS Plugins

Kontakt

Ostatnie wizyty

4,758 wyświetleń profilu

Ranga użytkownika

  • Silver I
  • Obecna ranga: Silver I
  1. MYGO.pl

    [ANY] Timezone API

    TZ API This plugin allows you to determine the time, time offset and daylight saving for a specific time zone. Need MySQL database! Installation: Download plugin sourceand inc file. Place tz_api.sp to scripting folder, tz.inc to scripting/include folder. Compile .smx file and place in plugins folder Download last database timezones timezonedb.sql.zip from https://timezonedb.com Import MySQL dump timezonedb.sql Edit your databases.cfg file and add a section with the following information: Code: "tzdb" { "driver" "mysql" "host" "your_host" "database" "your_db" "user" "your_user" "pass" "your_pass" } Now you can use the functions below. API: PHP Code: // tz.inc /** * Gets the timezone time as a unix timestamp. * * @param timezone Timezone to determine the timestamp. * @return Query num, or -1 on failure. */ native int TZ_GetTime(const char[] timezone); /** * Gets the timezone Daylight Saving. * * @param timezone Timezone to determine the DST. * @return Query num, or -1 on failure. */ native int TZ_GetTimeDST(const char[] timezone); /** * Gets the timezone offset. * * @param timezone Timezone to determine the offset. * @return Query num, or -1 on failure. */ native int TZ_GetTimeOffset(const char[] timezone); /** * Callback for receiving asynchronous database query results. * * @param iQueryNum Query num. * @param iRetValue Result answer received from the query. */ forward void TZ_OnQueryFinished(int iQueryNum, int iRetValue); Examples: Code: #include <sourcemod> #include <tz> int iQuery; // For save query num public void OnPluginStart() { RegConsoleCmd("sm_tztime", cmd_tztime); } public Action cmd_tztime(int client, int args) { char sTemp[64]; GetCmdArg(1, sTemp, sizeof(sTemp)); iQuery = TZ_GetTime(sTemp); } public void TZ_OnQueryFinished(int iQueryNum, int iRetValue) { if (iQuery == iQueryNum) { char sTemp[128]; FormatTime(sTemp, sizeof(sTemp), "%d/%m/%Y - %H:%M:%S", iRetValue); PrintToServer(sTemp); } } Output: Code: sm_tztime Europe/Moscow 22/10/2018 - 08:03:56 With using GeoIP2 extension: Code: #include <sourcemod> #include <geoip> #include <tz> int iQuery; // For save query num public void OnPluginStart() { RegConsoleCmd("sm_tztime", cmd_tztime); } public Action cmd_tztime(int client, int args) { char sTemp[64]; GetCmdArg(1, sTemp, sizeof(sTemp)); if (GeoipTimezone(sTemp, sTemp, sizeof(sTemp))) // Get timezone and rewrite sTemp variable iQuery = TZ_GetTime(sTemp); } public void TZ_OnQueryFinished(int iQueryNum, int iRetValue) { if (iQuery == iQueryNum) { char sTemp[128]; FormatTime(sTemp, sizeof(sTemp), "%d/%m/%Y - %H:%M:%S", iRetValue); PrintToServer(sTemp); } } Output (America/Chicago on the basis IP): Code: sm_tztime 66.220.89.1 22/10/2018 - 00:06:51 Attached Files Get Plugin or Get Source (tz_api.sp - 3.5 KB) tz.inc (916 Bytes) Wyświetl pełny artykuł
  2. MYGO.pl

    Phoneburnia Redux

    Generic Feature Rundown: Prop spawning and ownership Prop feature and attribute management Build commands Trusted & Untrusted listing Included prop list for !spawn, untrusted restricted list available as well. (data/phoneburnia/prop_names.ini) and (data/phoneburnia/untrusted_props.ini) Prop list structuring: "alias" "entity_name^modelpath" - example: "bench" "prop_physics_override^models/props_c17/bench01a.mdl" Database Configuration: Phoneburnia Redux uses SQLite for the trusted list. Configuring this is very easy, by simply adding a section to the file located at: addons/sourcemod/configs/databases.cfg Code: "phoneburnia" { "driver" "sqlite" "host" "localhost" "database" "phoneburnia" "user" "root" "pass" "" } Server Variables (cvar): Quote: // Maximum props for untrusted // - // Default: "35" phoneburnia_maxprops "35" // Maximum props for trusted // - // Default: "400" phoneburnia_maxtrustedprops "400" Command Listing: Admin Commands: sm_createentity - Create an entity by classname - Generic Flag sm_clean - Clean the map of all spawned props - Generic Flag sm_delall - Delete all the props an individual player has spawned - Generic Flag sm_goto - Teleport to a player - Generic Flag sm_bring - Teleport a player to your crosshair - Generic Flag sm_teleport - Teleport a player to another player - Generic Flag sm_addtrusted - Add a player to the trusted list - Generic Flag sm_removetrusted - Remove a player from the trusted list - Generic Flag sm_setowner - Set the owner of a prop or entity to a player - Generic Flag sm_airboat - Spawn an Airboat - Generic Flag Player Commands: sm_freezeit - Freeze a prop in place sm_unfreezeit - Unfreeze a prop sm_noclip - Enable noclip sm_nokill - Enable godmode sm_copy - Copy a model's name sm_paste - Paste a model sm_spawn - Spawn a prop from the proplist sm_spawncount - Check your remaining prop allocation sm_dupe - Duplicate a prop sm_trail - Set a trail on something sm_skin - Set the skin of a prop sm_move - Move a prop, X/Y/Z sm_rotate - Rotate a prop, X/Y/Z sm_straighten - Reset a prop to default angles sm_delete - Delete a prop sm_collide - Enable prop collision sm_nocollide - Disable prop collision sm_weld - Weld a prop to another prop (parent) sm_unweld - Un/Deweld a prop from another (unparent) sm_what - Check the owner of a prop sm_whom - Check the owner of a prop sm_propowner - Check the owner of a prop sm_owner - Check the owner of a prop sm_paint - Set the color of a prop, RGBA OR #HEXHEX Attached are two things: Just the plugin (for updates, or in case you lost the .sp or .smx) and the archive .zip, which is for fresh install and includes the prop lists Want something written, revised, removed or altered in this? Let me know. I do custom and private requests as well. Attached Files Get Plugin or Get Source (phoneburnia_redux.sp - 44.2 KB) Phoneburnia Redux.zip (51.9 KB) Wyświetl pełny artykuł
  3. MYGO.pl

    [TF2] Simple Jetpack

    Small Note: This is my first plugin and unfortunately i don't know how to code on new syntax. Description A very simplistic jetpack plugin i made in 2 and a half hours as my first plugin to be released. When enabled, press SPACE for flying. Cvars: sm_jetpack_version - Plugin Version. sm_jetpack_enabled - Defines if the plugin is enabled, default: 1 sm_jetpack_soundfile - The sound file of the jetpack, default: "ambient/sawblade.wav". sm_jetpack_fallspeed - Falling speed, the higher the value, the slower you will fall, default: 7.0 sm_jetpack_jumpheight - Jetpack force/jumping height value, the higher the value, the higher it goes, default: 15.0 sm_jetpack_soundvolume - Volume of the Jetpack sounds, default: 0.3 sm_jetpack_soundpitch - Pitch of the Jetpack sounds, default: 140 sm_jetpack_particle - Spawns a Teleporter Glow particle while flying, default: 1 sm_jetpack - Opens Jetpack menu. * Requires More Colors Download: Attached Files Get Plugin or Get Source (simple-jetpack.sp - 4.9 KB) simple-jetpack.smx (13.5 KB) Wyświetl pełny artykuł
  4. Bot Practice Mode This plugin aims to keeps players busy with a dynamic amount of bots when there are not enough real players on the server. If someone connects to the empty server and joins a team, a bot is spawned to the opposite team. If the player wins the round against the bot, another bot is added to the bot team. If the player loses a round, the amount of bots gets reduced by 1 (cannot go below 1). Also bots' difficulty is managed depending on the player's performance against the bots. Winning multiple rounds leads to an increased difficulty, whereas losing will reduce it. It is possible for other players who join the server, after the practice mode has already enabled itself, to join the team with humans and fight against bots. However, if a player joins into the bots' team, then the practice mode gets disabled immediately (and bots kicked), since now there is at least 1 real human on both teams and the server can function normally. Features Code: - Let players fight against waves of bots if there are not enough real players on the server. - Vary the amount of bots and their difficulty by looking at the performance of the human team. CVAR list Code: bot_practice_max_bots 30 Sets the maximum number of bots that the plugin is allowed to spawn. Capped at (amount_of_slots - amount_of_human_players - 2). Changelog Code: 20.10.2018 (v1.0) * Initial release. Screenshots Spoiler Attached Files Get Plugin or Get Source (bot_practice_mode.sp - 7.6 KB) Wyświetl pełny artykuł
  5. Map Weapon Randomizer This plugin automatically replaces all weapon spawns on any map with random weapons. Grenades are excluded. The list of weapons can be changed by modifying the WEAPONS_LIST array at the start of the script. By default all primary weapons are included. How it works At the start of the map, this plugin will find all weapon spawns by searching for weapon_* entities, saves their locations, and deletes them. Then, at the start of every round, the plugin will spawn a weapon into the saved locations. Note that since creating weapons directly using weapon_* entities does not work anymore, this plugin spawns weapons using the fake client method, where it spawns a fake client, gives a weapon to it, and teleports it to the desired location on the map. This likely means that there has to be at least 1 free slot on the server for the plugin to work. Features Code: - Randomize weapon spawns either at the start of the map or every round. - Snap spawned weapons' angles to 90 degrees for a better look CVAR list Code: mwr_randomize_every_round 0 Randomize weapons every round if enabled, otherwise randomize once at the start of the map. mwr_snap_spawn_angles 1 Round spawned weapons' angles to the nearest 90 degrees for a more uniform look. Takes effect after a map change. mwr_debug 0 Enable debug console messages. Changelog Code: 19.10.2018 (v1.0) * Initial release. Attached Files Get Plugin or Get Source (map_weapon_randomizer.sp - 5.4 KB) Wyświetl pełny artykuł
  6. After you have this plugin in your L4D/L4D2 server, tanks can be knocked back by melee weapons e.g. fire axe. The original author is ztar, his/her homepage (In Japanese) is http://ztar.blog7.fc2.com/. I upgrade the code to the new syntax and add a threshold for the weapon size, with this new feature (if enabled by l4d2_homerun_largemelee, disabled by default), survivors can only knock back tanks with larger versions of melee weapons dropped by tanks (This is a feature of a plugin called "Melee Weapon Tank " which is available here) The rest of functions are not changed at all. Attached Files Get Plugin or Get Source (l4d2_homerun_bat.sp - 6.7 KB) Wyświetl pełny artykuł
  7. MYGO.pl

    [Any] Auth ID Checker

    . Auth ID Checker v1.0.0 Description: This is a simple plugin that checks player auth ID on connect. If false or if OnClientAuthorized isnt triggered for player, it kicks that player. Prevents exploits/bugs of plugins that utilize steam IDs. Information is then logged to addons/sourcemod/logs/authcheck/RetValChecker.txt Project here: Github Wyświetl pełny artykuł
  8. Description: Allows for the running of the helms deep reborn map on a sourcemod server and responds to built in commands Installation: put l4d2_helmsdeep.smx into /addons/sourcemod/plugins Credits: everyone who helped me in the sourcemod discord server The author of the map placed code inside the .vpk in a .nut file with the following code that would check if sourcemod was running and kick everyone who tried to join Code: if ( !HelmsServerInfo.checked_plugins ) { local metamodVersion = Convars.GetStr("metamod_version"); local sourcemodVersion = Convars.GetStr("sourcemod_version"); if ( !metamodVersion && !sourcemodVersion ) HelmsServerInfo.has_plugins = false; else HelmsServerInfo.has_plugins = true; HelmsServerInfo.checked_plugins = true; } if ( HelmsServerInfo.has_plugins ) { foreach( player in Players.Humans() ) { SendToServerConsole( "kickid " + player.GetSteamID() + " " + "This server is using plugins, please join a different server" ); } } what this plugin does is intercept the kickid command (with that matching string) and stop it from being used and allowing all players to join Attached Files Get Plugin or Get Source (l4d2_helmsdeep.sp - 2.0 KB) l4d2_helmsdeep.smx (4.9 KB) Wyświetl pełny artykuł
  9. MYGO.pl

    Target position show

    Need to compile and plugin operation -SMLIB : https://github.com/bcserv/smlib -Morecolors (css) : https://forums.alliedmods.net/showthread.php?t=185016 -ColorVariables (csgo) : https://github.com/PremyslTalich/ColorVariables Work with csgo and css Attached Files area.smx (19.1 KB) area-csgo.smx (24.8 KB) Get Plugin or Get Source (area-csgo.sp - 2.9 KB) Get Plugin or Get Source (area.sp - 2.9 KB) Wyświetl pełny artykuł
  10. MYGO.pl

    [CS:GO] hLiveCredits

    Description This is a very basic plugin to show the number of credits you have live. This plugin is meant for Zephyrus store. If any errors or additional features I could add do a quick reply and I'll get on it ASAP. Commands sm_chud (Enables or disables the hud text) Change Log Code: 1.0 - Plugin Released Attached Files Get Plugin or Get Source (hLiveCredits.sp - 5.0 KB) hLiveCredits.smx (6.5 KB) Wyświetl pełny artykuł
  11. Hello, Everyone This plugin basically blocks all the left clicks of your knife. Could be useful for 35hp knife servers if you only want to have right click... This plugin was originally made by "Bara", but didn't work with all the knives so edited it so now all the knives work including new ones. Regards Killer. Attached Files BlockKnifeUPkiller.smx (4.1 KB) Get Plugin or Get Source (blockleftknifeupkiller.sp - 2.2 KB) Wyświetl pełny artykuł
  12. MYGO.pl

    Player Information

    Title [CS:GO, TF2, CS:S] Player Information (v.1.4) Description Allows player to find out information about other players. Required GeoIPCity SourceMod 1.8+ CVAR/Command list CVARS sm_infoplayers_type 1/0 (1 - output in the menu, 0 - output in chat) sm_infoplayers_players_check_ip 1/0 (1 - show other players' IPs to players, 0 - hide) sm_infoplayers_enablemotd 1/0 (1 - enable the motd window to display the player's profile (in xgo will not work), 0 - turn off) sm_infoplayers_checkflags 1/0 (1 - enable check of flag (s) for access to IP and SteamID, 0 - disable) sm_infoplayers_adminflag "z" (You need to check the flag (there are several) Commands sm_info sm_players sm_infop sm_infoplayers Changelog Quote: Dec. 19, 2016 (v1.0) * Release. Dec. 22, 2016 (v1.1) * Remove MOTD in CS:GO. * New commands. Dec. 25, 2016 - Feb. 10, 2017 (v.1.1+) * Fixed commands. * Added colors. Feb. 24, 2017 (v.1.2) * Added GeoIPCity. * Fixed all cvars. * Fixed work MOTD window. Aug. 17, 2018 (v1.3) * Fix bug, when all clients shows as Admin Aug. 21, 2018 (v1.4) * Added new cvars. * Optimization. * Added back-button after selecting player. Wyświetl pełny artykuł
  13. I've been searching all over google and alliedmodders but i cant find anything related to this. Basically, all i need is a chat function that opens up the steam browser and loads them in to the server's steam group. Done via !group. Additionally, i would like to add a !donation and a !owner(preferably customized to my name but is not as important). Any help here would be gladly appreciated :D THANKS Wyświetl pełny artykuł
  14. Knife sound muter This is a basic plugin, it just disable the annoying knife sound when no damage is dealt (only if Ts knifes others Ts, or CTs knifes others CTs) If mp_teammates_are_enemies is 1, this plugin won't work Cvars mk_enable 1/0 - Enable or disable the plugin Client/players commands (3 same commands) sm_knifemute sm_muteknife sm_mk Future changes - Add sounds when some one type the command - Add an admin cvar to enable plugin for EVERY people in the server - Add an entry to save (or not) the plugin using clientpref Thanks to GAMMACASE for the help :) Video as an example here Attached Files Get Plugin or Get Source (sm_knifemute.sp - 3.7 KB) sm_knifemute.smx (9.4 KB) Wyświetl pełny artykuł
  15. [Retake RWS] Hello guys, I'm SoLo. Currently running A CS:GO Community Server in Hong Kong called HKHBC. I made my very first plugin called Round Win Share for Retake. It's a Rating System based on the Damage done by the player. Compared to other rating systems, RWS is more suitable for retake's limitations. This RWS system is not fully the same as other RWS system,s it has a few differences: When the player disconnects, the plugin will calculate their RWS by how many rounds they have played. The RWS system doesn't count the PLANTING BOMB or DEFUSING BOMB as a validate RWS action. The RWS system only counts the damage that done by the player. Requirements: A MySQL Database How to use: 1.Download the plugin 2.Create a new table in your MySQL database with the following SQL: PHP Code: CREATE TABLE IF NOT EXISTS `rws` ( `id` int(11) NOT NULL AUTO_INCREMENT, `steam` char(255) CHARACTER SET latin1 NOT NULL, `rws` float UNSIGNED NOT NULL DEFAULT '0', `rwscount` int(10) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; 3.Configure your /addons/sourcemod/configs/database.cfg and create a Database Entry for the plugin PHP Code: "RRWS" { "driver" "default" "host" "<host of your database>" "database" "<name of the database" "user" "<username of the database>" "pass" "<password of the database>" } How to compile: This plugin uses a color library called <kento_csgocolors> by Kento His profile: rogeraabbccdd You need to have <kento_csgocolors> in order to compile this plugin. if you do not have the library, just change the PPrintToChat, PPrintToChatAll, CPrintToChat and CPrintToChatAll to PrintToChat and PrintToChatAll. Notice: Since this is my very first plugin, the plugin is poorly-written, which may contain bugs. Leave all your problems in the GitHub Repository GitHub: https://github.com/dickylau20/Retakes-RWS Quote: Attachment 171767 Attachment 171768 Attached Files Get Plugin or Get Source (retakes_rws.sp - 11.6 KB) retakes_rws.smx (12.7 KB) Wyświetl pełny artykuł
×