[CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
1 Attachment(s)
[CS:S/CS:GO] SM_Hosties v2 by: databomb, dataviruset and DorCoMaNdO Description: This is a re-write of SM_Hosties v1.x from dataviruset. This allows support for multiple LRs occuring simultaneously as well as a plethora of additional last request games and new cvars for the most customizable Hosties yet. It opens up a new API for plugin developers to ask questions like if a player is a rebel as well as the ability to add third party last request games for each server independent of the Hosties plugin. Features:
Hosties API (For developers): For integration there are two natives provided: IsClientRebel and IsClientInLastRequest. For adding custom LRs there are three natives provided: AddLastRequestToList, RemoveLastRequestFromList, and ProcessAllLastRequests. Feel free to have a look at lastrequest_shotgunwars.sp and lastrequest_fruitninja.sp as they can be used as a reference to last request scripting. ChangeRebelStatus is new in v2.1.0. DorCoMaNdO developed an autostart feature which enables developers to add custom menus (for example, the menues on Knife Fight or Shot4Shot lastrequests). Learn how by checking this example code. General Chat Commands:
Admin Commands: !stoplr (also: !abortlr and !cancellr): Requires slay admin flag and will abort any and all active last requests. Requirements: SourceMod 1.7.0+ Needed for successful compilation: EmitSoundAny Uses natives from these plugins if found: SteamWorks SourceBans Automatic Install Instructions: The easiest way to install SM_Hosties v2 is this:
Manual Install Instructions: NOTE: Do not compile any individual file such as lastrequest.sp in the hosties/ directory, compiling sm_hosties.sp will include these files. If you'd like only lastrequest.sp then that is a separate discussion.
Upgrade Instructions:
Changes to Existing Cvars: A few of the existing cvar settings in SM_Hosties v1.x have changed slighlty in v2. The v2 config file has been given a new name intentionally. Really, you should consider to redo all configuration if you're upgrading from 1.x.
Special Thanks for Version 2:
Thanks to the servers willing to run beta versions of this (for all the problems you never had to deal with, thank them): Groger, OnlyFriends Silence, XenoGamers Help The Cause: SM_Hosties v2 is over 5,500 lines of code and growing. There are a variety of ways you could help the project. Firstly, we have a healthy list of new features that could be added if you have any experience with SourceMod and plugin development and would like to lend a hand. Also, with the addition of the Hosties API, we could make a custom LR game for your server in exchange for a small fee. AlliedMods is gracious enough to host all of this so, if you haven't already, make them a donation to support the hosting costs. Lastly, consider making a donation to us to help offset the cost of development and hosting. The barrage of DDoS attacks drives up the cost of hosting and without active servers, our interest in development would wither. Donations to Vintage Jailbreak or '][' E H \/\/ARRiORS will be split amongst databomb and dataviruset, just be sure to reference this is for the Hosties project. Donate Translations: The translations file has been heavily updated and we are in need of translators! If you have a language to add, reply to this topic or get in touch with one of us. Plugin Settings (Cvars): Quote:
Spoiler
Latest changes (source code and changelog) available on GitHub Download mirror for the ZIP file (release package) |
Re: [CSS] SM_Hosties
Wow I was waiting for somebody to make a sm hosties... in fact just yesterday me and a mate were considering making it ourselves. Great to see it on here... may start using it, since the latest hosties EST has a memory leak in it.
Can you add all of the other commands in, like !checkplayers to show who is a rebel... I think there was a !checkguns command for seeing if any Ts had guns as well. Also, an option to enable/disable !rules as people may have it managed by something else already. Also, needs a cvar for enabling/disabling dropping the deagle twice in Guntoss, as sometimes players accidently drop their guns but cant rethrow. Just found a bug, after a guntoss you can't drop your deagle |
Re: [CSS] SM_Hosties
Okay, version 1.01 released, see changelog for more info.
Thanks for the feedback bobbobagan, in fact, I had the same thoughts a while ago, that's why I made this =) I'll add those "other commands" to the to do-list, I knew about them, but I thought they were a bit unused and obsolete today, so I ignored them completely :P But, it's no big deal adding it, and it can be controlled via convars so the plugin fits every server ^^ Just spam me with feedback :wink: |
Re: [CSS] SM_Hosties
Theres another bug...
a T !lr's a CT and the !lr starts. Another CT kills the T in !lr, but the !lr still continues as if both players are alive. You need to add some kind of checking to see if the players are in !lr are alive, and if they are killed by another player not in the !lr a message should be displayed or something. Also, we have sm_hosties_lr_cf_slay = 0 and after somebody wins a chicken fight, the beacons turn off. IMO, the beacons should stay on until one of the players dies. Also, another suggestion... you should add multilingual support and add events to game logs so we can use HLStatsX :P Events like, winning an LR, killing a rebel, killing a CT... That kind of thing would be cool :P Yesterday me and a mate had a go at making !checkplayers... we managed to kind of get it working, although its not working correctly. Rather than displaying the rebels name, it shows the servers name... and sometimes the victims name. Not exactly sure what is going on, but feel free to have a look Last thing is you need to add a version cvar (eg: sm_hosties_version), and fill out all the top information in the first post in order for your plugin to be approved... |
Re: [CSS] SM_Hosties
Version 1.02 released, thanks for your continous help, bobbobagan :)
|
Re: [CSS] SM_Hosties
!checkplayers works great, glad you could get it working :D anyway... more bugs for you :P
When a T last requests a CT, then another CT kills the T, the beacons are turned off on both LR players, and starts beaconing the CT that wasn't even participating in the LR. When no Ts are rebelling, and somebody types !checkplayers, the message saying that there are no rebelling Ts is broadcasted to the whole server, rather than just the person who said !checkplayers. Also, not sure if it was just a random bug... but at the end of a s4s that I won, I was left with no ammo in my gun as a CT. But we tried again and I *think* it worked fine. We are doing all this testing on a test server :P We are waiting for you to put in some sort of way to tell who won gun toss before we use this plugin on our real hosties server. Distance meter works best :P |
Re: [CSS] SM_Hosties
After some developing, version 1.03 is released, yaaaaaarr! :gyar:
Many thanks bobbobagan :wink: |
Re: [CSS] SM_Hosties
My server crashes with this plugin :cry: I join and it's okay, but once someone else joins a team (Terrorist or Counter-Terrorist) my server crashes. Help please?
|
Re: [CSS] SM_Hosties
Quote:
|
Re: [CSS] SM_Hosties
21:29:36 sm plugins load sm_hosties
21:29:37 [SM] Loaded plugin sm_hosties.smx successfully. Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "x" Unknown command "x" Unknown command "x" Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "0" Unknown command "x" Unknown command "x" Unknown command "x" Unknown command "0" |
Re: [CSS] SM_Hosties
Hey I have some thoughts you could possibly add... Also GJ I was waiting for someone to make it for SM. If I knew SourcePawn more I would have done it...
Add Deagle Marker and Distance Announcer/Chat Add Race and Hot Potato Auto Team Balance - This would make the teams auto 2:3 (Ct:T) ratio or 1:3 (Ct:T) but have a Cvar to set that. You could also add something where if a CT kills a T that was a rebel they would get x hp or x speed. But anyways Good Job and More power to you! |
Re: [CSS] SM_Hosties
Quote:
|
Re: [CSS] SM_Hosties
I guess it was the .so for SDK HOOKS that was bad, i downloaded a different one on page 4 or something on SDK HOOKS page. It works now :)
|
Re: [CSS] SM_Hosties
Love to see hosties/jail for SM :twisted: could it be possible for you to add translations support, because our SM is completely translated to our native language (czech) and most of our players are noobs, who don't speak english a bit:)
|
Re: [CSS] SM_Hosties
Hey there is an error with guntoss. It will not allow people to drop weapons during it. Sometimes it lets T but CT's it will not allow.
|
Re: [CSS] SM_Hosties
Getting massive error when I recompile it with changing to Reply to Client thingy o_O. It shouldnt be since all I change was the chat to players D:
Code:
L 11/19/2009 - 17:04:11: [SM] Native "GetClientTeam" reported: Client index 0 is invalid |
Re: [CSS] SM_Hosties
After attacking a CT or a CT attacking a T, the gun is not able to be dropped.
|
Re: [CSS] SM_Hosties
Is there a way to limit the amount of CTs?
|
Re: [CSS] SM_Hosties
Yeah, apparently there are still some bugs... As you can see, there is no "amount of CTs" cvar at the moment.
|
Re: [CSS] SM_Hosties
No matter, someone developed a plugin, but you should check your code, produces a lot of errors and Chicken doesn't work at all.
|
Re: [CSS] SM_Hosties
Quote:
Someone else experiencing problems with chicken fight? |
Re: [CSS] SM_Hosties
If we choose chicken fight, it drops both our weapons and we just stand there with nothing...so whats the point of it?
|
Re: [CSS] SM_Hosties
The point of chicken fight is to get on the other player's head.
|
Re: [CSS] SM_Hosties
Odd...but yea your plugin shows a lot of errors in the error log.
|
Re: [CSS] SM_Hosties
Some example:
Quote:
|
Re: [CSS] SM_Hosties
As I told you before, if you made a Hosties plugin for SM I would declare you as god.
You are GOD! :) Haven't had the time to test it yet but I will be back with as much feedback humanly possible. Great work and once again thank you Mr. God :) |
Re: [CSS] SM_Hosties
It would be really cool if you could add a few features :
- Limit for non-rebel T killed per map (if the CT kills XX non-rebel T he'll get banned / kicked) - Limit of non-rebel T killed by X seconds - A cvar to set the X seconds - Two or tree cvars to set punishment for all those features (teamswitch with a team restriction of the bad CT, slay, weapon strip, kick, ban, chicken skin runing faster + 500 HP + permanent weapon strip so the T can hunt this free killer down ! :P) |
Re: [CSS] SM_Hosties
Its a pretty good hosties addon much better than the ES one already imo there is a few things
1. Disabling the rules menu doesn't work for me. 2. Chat text spam is annoying for some reason all the messages are repeated twice or more. 3. A distance counter for gun toss would be nice. 4. An easy way to change the messages that are displayed when you attack rebels, lr starts etc 5. Easier way to add custom equipment on spam like kevlar and nv etc 6. If someone was a rebel and then they get a respawn they will respawn as a rebel and not a normal player. 7. If a player within LR dies by typing kill in console or falling of something LR doesn't end and then the other play is then stuck with a beacon and on one else can LR. 8. When LR starts and a player gets beaconed it says "[SM] Console: toggled beacon on player." it would be nice to have that hidden. That is all I can think of atm *edit* To add onto number 1 if I remove all the rules from hosties_rules.ini the window will no longer be displayed when !rules is typed. |
Re: [CSS] SM_Hosties
@dataviruset
Are you still planning on updating this to fix the reported errors? |
Re: [CSS] SM_Hosties
Quote:
|
Re: [CSS] SM_Hosties
I'm working on it, version 1.04 is not far from here =)
|
Re: [CSS] SM_Hosties
Quote:
|
Re: [CSS] SM_Hosties
Right now I'm focusing quite much on the bugs, so 1.04 will be kind of a bug fixing version, probably released in ~2 weeks.
|
Re: [CSS] SM_Hosties
Looking forward to it. Keep it up :)
|
Re: [CSS] SM_Hosties
Hey,
Great work on the SM version of the hostie plugin. I would much rather prefer to use this SM version of the code. By the way, would it be possible for you to extract the scripting pertaining just to the !LR section of the code? It would make an awesome LR script. Im about to launch a jailbreak server, and I've been busting my ass just to find a simple LR script. Your plugin would do the trick, and im sure many JB owners would benefit from it. |
Re: [CSS] SM_Hosties
I'm absolutely working on this, I can assure you that. You should see me now, like :grrr: or something :mrgreen:
lvlikon, to answer your question a bit rough, I have no plans "extracting" the LR part of the plugin right now... |
Re: [CSS] SM_Hosties
i can't get it work i don't know why, i've everything installed
help plz |
Re: [CSS] SM_Hosties
Quote:
MetaMod:Source installed? SourceMod? SDK Hooks? What exactly did you do when you tried installing SM_Hosties? |
Re: [CSS] SM_Hosties
i downloaded metamod:source and sourcemod and sdkhooks i extracted metamod and source mod to cstrike and sdkhooks to cstrike/addons/sourcemod and this mod i extracted to cstrike
|
Re: [CSS] SM_Hosties
Quote:
For example, what happens when you type "meta version" and "sm plugins list" in your server console? Have you got the correct version of SDK Hooks for your MetaMod:Source and SourceMod install? |
All times are GMT -4. The time now is 09:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.