AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:S] Bhop - Features for BunnyHop's servers (https://forums.alliedmods.net/showthread.php?t=157374)

Mr.Dragonfly 05-20-2011 11:06

[CS:S] Bhop - Features for BunnyHop's servers
 
1 Attachment(s)
Bhop v1.2b


First, I'd like to thanks blodia, He found the best way to make bunnyhopping easier and let me use it :mrgreen:


Description:

This plugin is a rewrite of my ES addon Bhop which provides to your server useful features for all players who are playing.

Features:
  • You can activate or not the noblock on your server
  • You can activate or not the Easy Bunny on your server
  • You can activate or not the Auto Bunny on your server
  • You can activate or not messages of connection/deconnection of players (with their names and steamid)
  • All players cannot die
  • "!scout" allows you to take a scout (scouts are limited)
  • "!s" allows you to save a checkpoint
  • "!t" allows you to teleport yourself in your saved checkpoint
  • "!lowgrav" allows you to have a lower gravity (better for players who just begin BunnyHop)
  • "!normal" gives you the normal gravity
  • "!bhop" opens a menu where all the commands can be used directly
  • "!bhophelp" opens an help menu about the commands
  • "!autobhop" enable/disable the auto bunny on the player
  • And of course, dead players cannot take scout or save a checkpoint or take a lower gavity

ConVars:
  • sm_bhop_enabled - If set to 1, this plugin will be activated (1: enable, 0: disable)
  • sm_bhop_noblock - If enabled, this will set your server in noblock (1: enable, 0: disable)
  • sm_bhop_landslowdown - If enabled, this will remove slowdown caused by landing from a jump (1: enable, 0: disable)
  • sm_bhop_damageslowdown - If enabled, this will remove slowdown caused by damage (1: enable, 0: disable)
  • sm_bhop_autobhop - If enabled, Auto Bunny will be activated on the server (1: enable, 0: disable)
  • sm_bhop_msg_show - If enabled, the plugin will show a message on connection/deconnection of players (1: enable, 0: disable)
  • sm_bhop_gravity - If enabled, low gravity will be allowed on the server. If not, you cannot use !lowgrav and !normal (1: enable, 0: disable)
  • sm_bhop_gravity_value - Set the multiplier of gravity you want with lowgrav
  • sm_bhop_max_scout - Set the number of scouts a player can receive per rounds (default: 2)
  • sm_version_bhop - Version of Bhop's plugin

Requirements:

Installation:

Download Bhop v1.2b.zip and extract it in your cstrike folder.
Then restart your server, and configure bhop.plugin.cfg in "cfg/sourcemod"

Don't forget to install SDK Hooks 2.0

Changelogs:


Code:

Version 1.2b:
- fixed the auto bunny, players are not blocked on ladders anymore and blocked in the water when jumping

Version 1.2a:
- fixed !bhop and !bhophelp, I created two menus for the same thing now juste one is created.
- fixed translations in !bhop menu, replacement of "%t" for "%T"
- added sm_bhop_gravity_value to set the value of gravity for lowgrav, 1 will be the normal gravity, 0.5 half gravity, etc...

Version 1.2:
- removed sm_bhop_easyhop
- added sm_bhop_landslowdown to remove slowdown caused by landing from a jump (Thanks to blodia)
- added sm_bhop_damageslowndown to remove slowdown caused by demage (Thanks to blodia)
- added sm_bhop_autobhop to enable/disable auto bunny on the server (Thanks to blodia)
- changed "!bhop" to "!bhophelp"
- now "!bhop" opens a menu where you can use all the commands directly

Version 1.1:
- Added cvar sm_bhop_enabled to activate the plugin
- Added cvar sm_bhop_gravity for servers which don't want !lowgrav
- Added ConVar Hook to modify the plugin with the cvars
- Now checkpoints are erased only if map change or players disconnect from the server

Version 1.0:
- Initial Release


Thanks:

  • Silvers for his help
  • blodia for the Easy Bunny and the Auto Bunny

teabag1980 05-24-2011 23:10

Re: [CS:S] Bhop - Features for BunnyHop's servers
 
how to enable this plugin it doesnt load on server start and doesnt create the cfg file in ../cfg/sourcemod folder

DaRk56 05-25-2011 09:41

Re: [CS:S] Bhop - Features for BunnyHop's servers
 
Code:

L 05/25/2011 - 15:03:42: [SM] Native "GetClientAuthString" reported: Client index 0 is invalid
L 05/25/2011 - 15:03:42: [SM] Displaying call stack trace for plugin "bhop.smx":
L 05/25/2011 - 15:03:42: [SM]  [0]  Line 106, bhop.sp::Event_player_disconnect()
L 05/25/2011 - 15:03:42: [SM] Native "GetClientAuthString" reported: Client index 0 is invalid
L 05/25/2011 - 15:03:42: [SM] Displaying call stack trace for plugin "bhop.smx":
L 05/25/2011 - 15:03:42: [SM]  [0]  Line 106, bhop.sp::Event_player_disconnect()


Mr.Dragonfly 05-25-2011 11:26

Re: [CS:S] Bhop - Features for BunnyHop's servers
 
@teabag1980: Could you show me the errors that you see in your logs ? the cfg file isn't created if the plugin doesn't want to load.

@DaRk56: Ce message s'affiche parfois quand le plugin est chargé ? ou le plugin ne se charge même pas ?

DaRk56 05-25-2011 11:39

Re: [CS:S] Bhop - Features for BunnyHop's servers
 
When the plugin is loaded, can add a cvar to disable the grav? And to put a flag for those who can use it if you like

Mr.Dragonfly 05-25-2011 12:20

Re: [CS:S] Bhop - Features for BunnyHop's servers
 
Quote:

Originally Posted by DaRk56 (Post 1475355)
When the plugin is loaded

On my server, I haven't got this message in my logs. I'll try to solve this issue.
But you can use the plugin? If yes, with some bugs?

Quote:

Originally Posted by DaRk56 (Post 1475355)
can add a cvar to disable the grav? And to put a flag for those who can use it if you like

Not a bad idea to add a cvar for the grav, thanks, I'll add it on my next version ^^.
For the flag, I wait to have more experience of sourcespawn. For now I'm just a beginner.

DaRk56 05-25-2011 12:36

Re: [CS:S] Bhop - Features for BunnyHop's servers
 
The plugin is working correctly by the error

3nemesis 05-25-2011 20:14

Re: [CS:S] Bhop - Features for BunnyHop's servers
 
Quote:

Originally Posted by Mr.Dragonfly (Post 1475382)
On my server, I haven't got this message in my logs. I'll try to solve this issue.
But you can use the plugin? If yes, with some bugs?

everything seems to work fine, but the error logs keeps growing

i don't know if it's a bug oh just a feature i'd like to see soon
but if i save a checkpoint and then go in spec, to finally return in T ou CT, the checkpoint is erased
that's rather a problem, i can't go in spec to help someone then go back where i was

btw nice plugin ;)

edit:
i just see we can use sm_t & sm_s in console instead of !t & !s
but it's not written in the help sentence in the !bhop menu
it could be a good thing to write that we can write !s in chat or sm_s in console

Mr.Dragonfly 05-27-2011 14:31

Re: [CS:S] Bhop - Features for BunnyHop's servers
 
Plugin Updated:

Version 1.1:
- Added cvar sm_bhop_enabled to activate the plugin
- Added cvar sm_bhop_gravity for servers which don't want !lowgrav
- Added ConVar Hook to modify the plugin with the cvars
- Now checkpoints are erased only if map change or players disconnect from the server.


Quote:

Originally Posted by 3nemesis (Post 1475620)
i just see we can use sm_t & sm_s in console instead of !t & !s
but it's not written in the help sentence in the !bhop menu
it could be a good thing to write that we can write !s in chat or sm_s in console

I saw this just after my release ^^, I'll add it in a next version and also to keep your checkpoint when you go in spec but don't leave the server.

DaRk56 05-27-2011 17:20

Re: [CS:S] Bhop - Features for BunnyHop's servers
 
Thanks for update :)


All times are GMT -4. The time now is 20:46.

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