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

[CS:S] Trikz (Redux v1.8.0) (10/August/2017)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Plugin ID:
3942
Plugin Version:
1.8.0
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
Servers with this Plugin:
3 
Plugin Description:
Redux of the original Trikz plugin, that has more unique features like the partners system.
Old 10-22-2013 , 11:37   [CS:S] Trikz (Redux v1.8.0) (10/August/2017)
Reply With Quote #1

Update (10/August/2017) - v1.8.0:
I have "rewrote" the plugin to be compatible with the newest SourceMod stable/dev builds (as of today) and I have removed the dependency of alongub/zipcore's bhop timers.

Instead, I have implemented support for my own bhoptimer instead: https://github.com/shavitush/bhoptimer - version 1.5b or above (get the latest GitHub commits) is required.

Changes in v1.8.0 (FINAL VERSION):
* Made the plugin compatible with the newest versions of SourceMod.
- Removed checkpoints, as they now exist in my bhoptimer's misc plugin.
- Removed the hit bug fixer. Use Tengu's plugin instead: https://github.com/tengulawl/scripti...r/boost-fix.sp - it works much better.
- Removed !tpto as it exists in my bhoptimer's misc plugin.
+ Added better support for partnerships - your timer cannot start without your partner starting it, and your timer finishes at the same time it does for your partner.
* Fixed a memory leak.
* Changed chat prints to be done from my bhoptimer. Configure like so: https://github.com/shavitush/bhoptim...tion:-Messages

---


This plugin is a complete remake of the original Trikz plugin for CS:S by johan123jo, inspired by CrazyTrikz that was originally made for ES.

Requirements:
SourceMod 1.8+
Latest version of shavit's simple bhoptimer.
[CS:S] Flashbang tools (newest gamedata here)

Optional requirements:
SteamTools to change the game description. (Download an 0.8.3 release)
CollisionHook to make partners only block themselves with their bodies/flashbangs.

Features:
Game description changing.
Auto flashbang giver.
Auto flashbang switcher.
Trikz menu.
Partners system.
Flashbangs can only hit your partner.
Players can't start their timer without a partner. (Finishing also does it for your client)
Partners must have the same styles to start their timer.
Block toggler.
sv_enableboost/sv_enablebunnyhopping 1 forcer.
Only partners can block you. (depends if the cvar is on 1, which is the default)
Kill a flashbang once it hits somebody. (disabled by default)

Commands:
Code:
sm cmds trikz_redux
[SM] Listing commands for: Trikz (Redux)
  [Name]            [Type]   [Help]
  sm_af             console      Toggle auto flash
  sm_as             console      Toggle auto switch
  sm_autoflash      console      Toggle auto flash
  sm_autoswitch     console      Toggle auto switch
  sm_bl             console      Toggle blocking
  sm_block          console      Toggle blocking
  sm_f              console      Obtain a Flashbang
  sm_flash          console      Obtain a Flashbang
  sm_flashbang      console      Obtain a Flashbang
  sm_ghost          console      Toggle blocking
  sm_giveflash      console      Obtain a Flashbang
  sm_mate           console      Select your Trikz partner.
  sm_menu           console      Trikz menu
  sm_nomate         console      Disable your partnership.
  sm_p              console      Select your Trikz partner.
  sm_partner        console      Select your Trikz partner.
  sm_respawn        console      Respawn yourself
  sm_switch         console      Toggle blocking
  sm_t              console      Trikz menu
  sm_trikz          console      Trikz menu
  sm_unp            console      Disable your partnership.
  sm_unpartner      console      Disable your partnership.
- Commands can be used on chat too with ! or / instead of the sm_ as a prefix as default.

Convars:
Code:
// ConVars for plugin "trikz_redux.smx"

// Trikz (Redux) is enabled?
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_trikzredux_enabled "1"

// If SteamTools' installed, what should be the new game description?
// The original is Counter-Strike: Source.
// Hint: Change to 0 or "none" if you want it to remain the same.
// -
// Default: "CS:S Trikz"
sm_trikzredux_overwrite "CS:S Trikz"

// Require players to have a partner in order to set their solidity to blocking?
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_trikzredux_partnerblock "1"

// Kill a flashbang once it hits someone?
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_trikzredux_killflash "1"

Developers' API:
This plugin comes with an API to use with other plugins, currently, it only supports the partners system.
Code:
/**
 * Check if the client has a partner.
 * 
 * @param client                    Client index.
 * @error                            Throw error if client is invalid.
 * @return                            True if the client has a partner, else false.
 */
native bool Trikz_HasPartner(int client);

/**
 * Get the client's current Trikz partner.
 * 
 * @param client                    Client index.
 * @error                            Throw error if client is invalid.
 * @return                            Trikz partner, or -1 if none.
 */
native int Trikz_FindPartner(int client);
You can request features to be added to the API!

Example of using the API:
Code:
#include <sourcemod>

#undef REQUIRE_PLUGIN
#include <trikz>

#pragma semicolon 1

public void OnPluginStart()
{
    RegConsoleCmd("partnerinfo", PartnerInfo);
}

public Action PartnerInfo(int client, int args)
{
    PrintToConsole(client, "Partner info:");
    PrintToConsole(client, "Has a partner? %s", Trikz_HasPartner(client)? "Yes":"No");
    
    if(Trikz_HasPartner(client))
    {
        PrintToConsole(client, "Partner name: %N", Trikz_FindPartner(client));
    }
    
    return Plugin_Handled;
}
Servers using this plugin:
http://www.gametracker.com/search/?s...l&sort=&order=

Installation:
1. Install the requirements, and the optional requirements if you want to.
2. Download trikz_redux.smx and place it in addons/sourcemod/plugins.
3. Download trikz_redux.phrases.txt and place it in addons/sourcemod/translations.
4. Restart your server or manually load the plugin and viola

Translations:
Currently, this plugin has an English translation only. If you'd like to translate it to your language, I'd like if you do so and attach the file with the new language.

How to translate: http://wiki.alliedmods.net/Translati...29#File_Format

Changelog:
Code:
Changes in v1.8.0 (FINAL VERSION):
* Made the plugin compatible with the newest versions of SourceMod.
- Removed checkpoints, as they now exist in my bhoptimer's misc plugin.
- Removed the hit bug fixer. Use mev's plugin instead: https://forums.alliedmods.net/showthread.php?p=2250515 - it works much better.
- Removed !tpto as it exists in my bhoptimer's misc plugin.
+ Added better support for partnerships - your timer cannot start without your partner starting it, and your timer finishes at the same time it does for your partner.
* Fixed a memory leak.
* Changed chat prints to be done from my bhoptimer. Configure like so: https://github.com/shavitush/bhoptimer/wiki/2.3.-Configuration:-Messages

v1.7.3 (06 April 2014) -
Fixed a possible crash.

v1.7.2 (31 January 2014) -
Hotfix for Timer 2.0 users. AGAIN

v1.7.1 (31 January 2014) -
Hotfix for Timer 2.0 users.

v1.7.0 (29 January 2014) -
Probably fixed the "ultra flash" bug.
Added a cvar to kill a flashbang once it hits somebody.

v1.6.1 (26 November 2013) -
Fixed a bug with the "sm_trikzredux_partnerblock" cvar.

v1.6.0 (25 November 2013) -
Error fixes.
Hit bug fixer minor update.
Added new cvar "sm_trikzredux_partnerblock".

v1.5.9 (04 November 2013) -
Error fix.

v1.5.8 (03 November 2013) -
Hit fixer improvements: Added some security checks.

v1.5.7 (02 November 2013) -
Hit fixer improvements:
x2+ should work all the times now.
Fixed "megaflash" bug. (MLs turned to ML+MH sometimes)

v1.5.6 (28 October 2013) -
Now SteamTools is no longer required for this plugin to run.

v1.5.5 (26 October 2013) -
Improved the flash hit bug fixer: (Thanks backwards)
Now it's realistic as a real flashboost.
All types of flashboosts are now supported to be fixed. (Before that update, only MH [mega high] was supported, now ML [mega long], 180s, leetstyle boost and some more are supported too)

v1.5.4 (22 October 2013) -
Public release.
Credits:
johan123jo for the original Trikz plugin for SourceMod and a function that I used and helped me.
m20072, ofir753 and xNos for helping me during beta tests of this plugin.
databomb/dataviruset for SM_Hosties 2, I used the code that checks if a player is too close to a wall from them.
Attached Files
File Type: zip trikz_redux_v1.8.0.zip (32.3 KB, 1395 views)
__________________
retired

Last edited by shavit; 10-03-2017 at 06:25. Reason: v1.8.0
shavit is offline
ofir753
Senior Member
Join Date: Aug 2012
Old 10-23-2013 , 07:42   Re: [CS:S] Trikz (Redux v1.5.4) (22 October 2013)
Reply With Quote #2

Really good plugin i recommend to use this if you running sourcemod trikz server.
ofir753 is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 10-23-2013 , 08:00   Re: [CS:S] Trikz (Redux v1.5.4) (22 October 2013)
Reply With Quote #3

Quote:
Originally Posted by ofir753 View Post
Really good plugin i recommend to use this if you running sourcemod trikz server.
Forgot to mention that you helped me during the beta testings of this plugin, gonna add you to the credits column.
__________________
retired
shavit is offline
Fragkiller
Member
Join Date: Jun 2012
Old 10-23-2013 , 08:03   Re: [CS:S] Trikz (Redux v1.5.4) (22 October 2013)
Reply With Quote #4

realy nice work , keep it up
Fragkiller is offline
ofir753
Senior Member
Join Date: Aug 2012
Old 10-23-2013 , 08:18   Re: [CS:S] Trikz (Redux v1.5.4) (22 October 2013)
Reply With Quote #5

Quote:
Originally Posted by shavit View Post
Forgot to mention that you helped me during the beta testings of this plugin, gonna add you to the credits column.
It's not necessary i just helped because i had fun play trikz with you
ofir753 is offline
xNos
SourceMod Donor
Join Date: Dec 2012
Location: Israel
Old 10-24-2013 , 13:40   Re: [CS:S] Trikz (Redux v1.5.4) (22 October 2013)
Reply With Quote #6

Like that plugin!
xNos is offline
Send a message via Skype™ to xNos
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 10-26-2013 , 16:12   Re: [CS:S] Trikz (Redux v1.5.5) (26 October 2013)
Reply With Quote #7

v1.5.5 (26 October 2013) -
Improved the flash hit bug fixer: (Thanks backwards)
Now it's realistic as a real flashboost.
All types of flashboosts are now supported to be fixed. (Before that update, only MH [mega high] was supported, now ML [mega long], 180s, leetstyle boost and some more are supported too)
__________________
retired
shavit is offline
cREANy0
SourceMod Donor
Join Date: Jul 2012
Location: Germany
Old 10-28-2013 , 10:37   Re: [CS:S] Trikz (Redux v1.5.5) (26 October 2013)
Reply With Quote #8

Possible to add CS:GO support?
__________________
cREANy0 is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 10-28-2013 , 12:08   Re: [CS:S] Trikz (Redux v1.5.5) (26 October 2013)
Reply With Quote #9

Quote:
Originally Posted by cREANy0 View Post
Possible to add CS:GO support?
Test it in CS:GO and tell me if it works, if it does, I will add the "CS:GO" to the title. If not, tell me what's broken.
__________________
retired

Last edited by shavit; 10-28-2013 at 12:08.
shavit is offline
cREANy0
SourceMod Donor
Join Date: Jul 2012
Location: Germany
Old 10-28-2013 , 12:51   Re: [CS:S] Trikz (Redux v1.5.5) (26 October 2013)
Reply With Quote #10

Steamtools and CollisionHook doesn't work in CS:GO

Code:
L 10/28/2013 - 17:49:33: [SM] Unable to load extension "steamtools.ext": libvstdlib_srv.so: cannot open shared object file: No such file or directory
L 10/28/2013 - 17:49:33: [SM] Unable to load plugin "trikz_redux.smx": Native "Steam_SetGameDescription" was not found
L 10/28/2013 - 17:49:33: [SM] Unable to load extension "collisionhook.ext": libvstdlib_srv.so: cannot open shared object file: No such file or directory
__________________

Last edited by cREANy0; 10-28-2013 at 12:52.
cREANy0 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 10:54.


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