Raised This Month: $19 Target: $400
 4% 

[CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)


Post New Thread Reply   
 
Thread Tools Display Modes
Bez_z
Junior Member
Join Date: Jul 2018
Old 07-28-2018 , 15:56   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2841


Hey, So I got this problem with SM_Hosties v2, I am pretty new to all this so if anyone can help me out that would be great. As you can see, the top 3 lines after me joining the server are not very accurate, the first line is fine, the second line has no text & the 3rd line tells me that microphones will be enabled after 1 second when it is supposed to say 30. Can someone please tell me where I can edit the time for whih microphones will be enabled & how can I edit the '[SM]'

Also the only commands which seem to work are only !lr, !checkplayers & !rules. Why is this?


Last of all, why can I not exit out of the !rules tab, when I type in !rules and press enter... the rules pop out but I am unable to close them, it does say "press 0 to exit" but does not

If anyone can help I will really appreciate it, thank you so much.
Bez_z is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 07-28-2018 , 16:42   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2842

Quote:
Originally Posted by Bez_z View Post
[IMG]
Hey, So I got this problem with SM_Hosties v2, I am pretty new to all this so if anyone can help me out that would be great. As you can see, the top 3 lines after me joining the server are not very accurate, the first line is fine, the second line has no text & the 3rd line tells me that microphones will be enabled after 1 second when it is supposed to say 30.
I would say there is a problem with a bad translations file.
Translations most time made by the community, not by the author self. So there could be sometimes mistakes.
The blank line#2 is this: https://github.com/dataviruset/sm-ho...hrases.txt#L69 this translation is missing
The time line#3 is this: https://github.com/dataviruset/sm-ho...rases.txt#L293 this translation seems good on github.
Looks like on your screenshot is a {1] instead {1}. check the translation file on your server.

Quote:
Originally Posted by Bez_z View Post
Also the only commands which seem to work are only !lr, !checkplayers & !rules. Why is this?
These are the main and most used commands. Other commands are admin only or not implemented. What commands you missing?

Quote:
Originally Posted by Bez_z View Post
[IMG]
Last of all, why can I not exit out of the !rules tab, when I type in !rules and press enter... the rules pop out but I am unable to close them, it does say "press 0 to exit" but does not

If anyone can help I will really appreciate it, thank you so much.
It's a bug. This is fixed in beta branch at github.

Quote:
Originally Posted by Bez_z View Post
Can someone please tell me where I can edit the time for whih microphones will be enabled & how can I edit the '[SM]'
you have to edit this line https://github.com/dataviruset/sm-ho...osties.inc#L27 and compile the plugin again.

hope I could help ya!
__________________
free software
coding

Last edited by shanapu; 07-28-2018 at 16:43.
shanapu is offline
Bez_z
Junior Member
Join Date: Jul 2018
Old 07-28-2018 , 16:55   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2843

Quote:
Originally Posted by shanapu View Post
I would say there is a problem with a bad translations file.
Translations most time made by the community, not by the author self. So there could be sometimes mistakes.
The blank line#2 is this: https://github.com/dataviruset/sm-ho...hrases.txt#L69 this translation is missing
The time line#3 is this: https://github.com/dataviruset/sm-ho...rases.txt#L293 this translation seems good on github.
Looks like on your screenshot is a {1] instead {1}. check the translation file on your server.



These are the main and most used commands. Other commands are admin only or not implemented. What commands you missing?



It's a bug. This is fixed in beta branch at github.


you have to edit this line https://github.com/dataviruset/sm-ho...osties.inc#L27 and compile the plugin again.

hope I could help ya!
The commands which I am unable to use are:
!commands
!checkguns
!control
!hostiles

Thank you for the help, I really appreciate it ;)
Bez_z is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 07-29-2018 , 08:17   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2844

Quote:
Originally Posted by Bez_z View Post
The commands which I am unable to use are:
!commands
!checkguns
!control
!hostiles
Thank you for the help, I really appreciate it ;)
These are no commands of the official sm_hosties.
When you saw them on a server, these commands most likely comes from another plugin or an edited version.
__________________
free software
coding
shanapu is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 10-27-2018 , 09:56   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2845

Cant pick up deagle again after i throw it regardless of the settings i use, tried all many times. sometimes can pick it up but not always. annyone knows an sp edit?
PHP Code:
 // Enable LR Gun Toss: 0 - disable, 1 - enable
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_hosties_lr_gt_enable "1"

// Deagle marking (requires sm_hosties_lr_gt_mode 1): 0 - markers straight up where the deagles land, 1 - markers starting where the deagle was dropped ending at the deagle landing point
// -
// Default: "0"
sm_hosties_lr_gt_markers "0"

// Displays a distance meter: 0 - do not display, 1 - display
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_hosties_lr_gt_meter "1"

// How Gun Toss will be played: 0 - no double-dropping checking, deagle gets 7 ammo at start, 1 - double dropping check, deagle gets 7 ammo on drop, colouring of deagles, deagle markers
// -
// Default: "1"
sm_hosties_lr_gt_mode "0" 

Last edited by Robin955; 11-01-2018 at 03:04.
Robin955 is offline
Xorinaes
New Member
Join Date: Sep 2018
Old 10-27-2018 , 14:58   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2846

Is there any way to ONLY have the last request component? I don't really need all the custom banners, sounds, rebel functionality and stuff, and as far as I can see there's no plugin that would only add last requests.
Xorinaes is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 02-17-2019 , 09:55   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2847

Development of this plugin even stopped?
__________________
paulo_crash is offline
jugule
AlliedModders Donor
Join Date: Apr 2020
Old 04-27-2020 , 17:20   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2848

can I add lastrequest on myjailbreak?
jugule is offline
hartii14
Junior Member
Join Date: Aug 2017
Old 07-23-2020 , 10:12   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2849

Does anyone know how to fix this problem in error logs?


Quote:
L 07/23/2020 - 15:13:50: [SM] Call stack trace:
L 07/23/2020 - 15:13:50: [SM] [0] SetPackPosition
L 07/23/2020 - 15:13:50: [SM] [1] Line 1668, hosties/lastrequest.sp::LastRequest_PlayerJump
L 07/23/2020 - 15:13:54: [SM] Exception reported: Invalid data pack position, 120 is out of bounds ( 18 )
L 07/23/2020 - 15:13:54: [SM] Blaming: sm_hosties.smx

Last edited by hartii14; 07-23-2020 at 10:13.
hartii14 is offline
xfaktor20
New Member
Join Date: Dec 2020
Old 12-07-2020 , 16:27   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2850

Quote:
Originally Posted by dataviruset View Post
[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:

  • 33 Last Request Games included as default
    • Drunken Boxing
    • Most Jumps
    • Farthest Jump
    • Brink of Death
    • Race
    • Russian Roulette
    • Rebel
    • Low-Grav Knife Fight
    • Hi-Speed Knife Fight
    • Third Person Knife Fight
    • Drugged Knife Fight
    • Vintage (Normal) Knife Fight
    • Rock Paper Scissors
    • NoScope with any scoped weapon (4 choices)
    • Dodgeball
    • Hot Potato
    • Chicken Fight
    • Shot4Shot with any pistol (6 choices for CS:S, 7 for CS:GO)
    • Mag4Mag with any pistol (6 choices for CS:S, 7 for CS:GO)
    • Gun Toss
  • Third-party plugins for Custom Lastrequests
  • Check Players Command
  • Freekill Detection & Prevention
  • Game Description Override
  • Mute System with BaseComm Integration
  • No Block
  • Rules Command
  • Starting Weapons Payloads for CT & T
  • Round End Team Overlays

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:
  • !rules
  • !lastrequest (also: !lr)
  • !checkplayers

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:
  1. Be sure that your server meets the requirements for SM_Hosties v2 (see above)
  2. Scroll down a bit on this page and download the ZIP file attached to this post (or from the mirror)
  3. Extract all files from the ZIP file into the cstrike folder of your server (all directories should match up with the folders in the ZIP file)
  4. Restart your server or let it change map
  5. Configure settings in cfg/sourcemod/sm_hosties2.cfg
  6. Done!

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.

  1. Copy all files in the scripting/hosties/ directory to addons/sourcemod/scripting/hosties/
  2. Copy all files in the translation/ directory to addons/sourcemod/translations/
  3. Copy the hosties.inc and lastrequest.inc files to addons/sourcemod/scripting/include/
  4. Download sourcebans.inc, emitsoundany.inc and SteamWorks.inc from the links above and put them in addons/sourcemod/scripting/include/
  5. Copy lastrequest_shotgunwars.sp, lastrequest_fruitninja.sp and sm_hosties.sp to addons/sourcemod/scripting/
  6. If you are going to compile lastrequest_fruitninja, check that you have SMLIB in the include folder (all versions of SM_Hosties don't have it bundled), otherwise download it and put the include files in the addons/sourcemod/scripting/include/ folder.
  7. Compile sm_hosties, lastrequest_shotgunwars and lastrequest_fruitninja and move SMX files to addons/sourcemod/plugins/
  8. Run plugin for the first time and configure all settings in cfg/sourcemod/sm_hosties2.cfg

Upgrade Instructions:

  1. Rename your original sm_hosties2.cfg in cfg/sourcemod/ to sm_hosties2.backup.cfg
  2. Let the new version of the plugin start for the first time and create the new cfg file (or use the .cfg file that comes with the .zip).
  3. Look at the sm_hosties2.backup.cfg and merge your original settings with the new one.

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.

  • sm_hosties_lr_ts_max: This now controls the number of Ts allowed to have LRs going at the same time.
  • sm_hosties_mute_immune: This now uses flag CHARACTERS instead of names. (E.g. use "z" instead of "root".)
  • sm_hosties_lr_hp_teleport: Added new option (2)- teleport and freeze players.
  • sm_hosties_ct_start and sm_hosties_t_start should now include "weapon_knife" in the list.
  • sm_hosties_lr_s4s_shot_taken now applies to Mag4Mag as well as Shot4Shot.
  • sm_hosties_roundend_overlay_ct & sm_hosties_roundend_overlay_t now must specify the VTF file only
  • sm_hosties_lr_ns_delay is now an integer instead of a float.
  • sm_hosties_lr_s4s_dblsht_action now determines if sm_lr_rebel_action is followed or not (0 - no punishment, 1 - follow rebel_action)
  • sm_hosties_lr_s4s_shot_taken now includes Mag4Mag announcement when magazines are emptied

Special Thanks for Version 2:

  • psychonic - Answering any question I've had with SourceMod plugin coding
  • johan123jo - The blocking LR damage code and various bug fixes
  • MomemtumMori - Hosting the SVN for SM_Hosties v2 while under development
  • Berni - For helping with hull traces
  • dvander - Pointing out some architectural flaws with the Hosties API
  • Crosshair - Inspiration
  • CoMaNdO - Helping out with the development of SM_Hosties 2.1.0+ and the support for CS:GO
  • Bara - Helping out fixing things for 2.2.0

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):

Settings (cvars) for fruitninja LR:



Links:

Latest changes (source code and changelog) available on GitHub
Download mirror for the ZIP file (release package)


there are a million errors in the logs, the roulette does not work, when a player shoots a player, he is killed with the reason "Such and such a player tried to cheat during roulette", the melody of death does not work yet, always patronizes the first time

L 12/08/2020 - 00:04:04: [SM] Call stack trace:
L 12/08/2020 - 00:04:04: [SM] [0] GetEntPropEnt
L 12/08/2020 - 00:04:04: [SM] [1] Line 5630, hosties/lastrequest.sp::OnEntitySpawned
L 12/08/2020 - 00:04:04: [SM] Exception reported: Property "m_hOwnerEntity" not found (entity 277/env_beam)
L 12/08/2020 - 00:04:04: [SM] Blaming: sm_hosties_e.smx
L 12/08/2020 - 00:04:04: [SM] Call stack trace:
L 12/08/2020 - 00:04:04: [SM] [0] GetEntPropEnt
L 12/08/2020 - 00:04:04: [SM] [1] Line 5630, hosties/lastrequest.sp::OnEntitySpawned
L 12/08/2020 - 00:04:04: [SM] Exception reported: Property "m_hOwnerEntity" not found (entity 290/env_beam)
L 12/08/2020 - 00:04:04: [SM] Blaming: sm_hosties_e.smx
L 12/08/2020 - 00:04:04: [SM] Call stack trace:
L 12/08/2020 - 00:04:04: [SM] [0] GetEntPropEnt
L 12/08/2020 - 00:04:04: [SM] [1] Line 5630, hosties/lastrequest.sp::OnEntitySpawned
L 12/08/2020 - 00:04:04: [SM] Exception reported: Property "m_hOwnerEntity" not found (entity 291/env_beam)
L 12/08/2020 - 00:04:04: [SM] Blaming: sm_hosties_e.smx
L 12/08/2020 - 00:04:04: [SM] Call stack trace:
L 12/08/2020 - 00:04:04: [SM] [0] GetEntPropEnt
L 12/08/2020 - 00:04:04: [SM] [1] Line 5630, hosties/lastrequest.sp::OnEntitySpawned
L 12/08/2020 - 00:04:04: [SM] Exception reported: Property "m_hOwnerEntity" not found (entity 986/instanced_scripted_scene)
L 12/08/2020 - 00:04:04: [SM] Blaming: sm_hosties_e.smx
L 12/08/2020 - 00:04:04: [SM] Call stack trace:
L 12/08/2020 - 00:04:04: [SM] [0] GetEntPropEnt
L 12/08/2020 - 00:04:04: [SM] [1] Line 5630, hosties/lastrequest.sp::OnEntitySpawned
L 12/08/2020 - 00:04:04: [SM] Exception reported: Property "m_hOwnerEntity" not found (entity 987/instanced_scripted_scene)
L 12/08/2020 - 00:04:04: [SM] Blaming: sm_hosties_e.smx
L 12/08/2020 - 00:04:04: [SM] Call stack trace:
L 12/08/2020 - 00:04:04: [SM] [0] GetEntPropEnt
L 12/08/2020 - 00:04:04: [SM] [1] Line 5630, hosties/lastrequest.sp::OnEntitySpawned
L 12/08/2020 - 00:06:41: [SM] Exception reported: Property "m_hOwnerEntity" not found (entity 152/func_dustmotes)
L 12/08/2020 - 00:06:41: [SM] Blaming: sm_hosties_e.smx
L 12/08/2020 - 00:06:41: [SM] Call stack trace:
L 12/08/2020 - 00:06:41: [SM] [0] GetEntPropEnt
L 12/08/2020 - 00:06:41: [SM] [1] Line 5630, hosties/lastrequest.sp::OnEntitySpawned
L 12/08/2020 - 00:06:41: [SM] Exception reported: Property "m_hOwnerEntity" not found (entity 153/func_dustmotes)
L 12/08/2020 - 00:06:41: [SM] Blaming: sm_hosties_e.smx
L 12/08/2020 - 00:06:41: [SM] Call stack trace:
L 12/08/2020 - 00:06:41: [SM] [0] GetEntPropEnt
L 12/08/2020 - 00:06:41: [SM] [1] Line 5630, hosties/lastrequest.sp::OnEntitySpawned
L 12/08/2020 - 00:06:41: [SM] Exception reported: Property "m_hOwnerEntity" not found (entity 442/water_lod_control)
L 12/08/2020 - 00:06:41: [SM] Blaming: sm_hosties_e.smx
L 12/08/2020 - 00:06:41: [SM] Call stack trace:
L 12/08/2020 - 00:06:41: [SM] [0] GetEntPropEnt
L 12/08/2020 - 00:06:41: [SM] [1] Line 5630, hosties/lastrequest.sp::OnEntitySpawned
L 12/08/2020 - 00:06:41: [SM] Exception reported: Property "m_hOwnerEntity" not found (entity 577/func_dustmotes)
L 12/08/2020 - 00:06:41: [SM] Blaming: sm_hosties_e.smx
L 12/08/2020 - 00:06:41: [SM] Call stack trace:
L 12/08/2020 - 00:06:41: [SM] [0] GetEntPropEnt
L 12/08/2020 - 00:06:41: [SM] [1] Line 5630, hosties/lastrequest.sp::OnEntitySpawned
L 12/08/2020 - 00:06:41: [SM] Exception reported: Property "m_hOwnerEntity" not found (entity 819/func_dustmotes)
L 12/08/2020 - 00:06:41: [SM] Blaming: sm_hosties_e.smx
L 12/08/2020 - 00:06:41: [SM] Call stack trace:
L 12/08/2020 - 00:06:41: [SM] [0] GetEntPropEnt
L 12/08/2020 - 00:06:41: [SM] [1] Line 5630, hosties/lastrequest.sp::OnEntitySpawned
L 12/08/2020 - 00:06:41: [SM] Exception reported: Property "m_hOwnerEntity" not found (entity 833/func_dustmotes)
L 12/08/2020 - 00:06:41: [SM] Blaming: sm_hosties_e.smx
L 12/08/2020 - 00:06:41: [SM] Call stack trace:
L 12/08/2020 - 00:06:41: [SM] [0] GetEntPropEnt
L 12/08/2020 - 00:06:41: [SM] [1] Line 5630, hosties/lastrequest.sp::OnEntitySpawned
L 12/08/2020 - 00:06:41: [SM] Exception reported: Property "m_hOwnerEntity" not found (entity 273/env_beam)
L 12/08/2020 - 00:06:41: [SM] Blaming: sm_hosties_e.smx
L 12/08/2020 - 00:06:41: [SM] Call stack trace:
xfaktor20 is offline
Reply


Thread Tools
Display Modes

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 06:26.


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