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

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


Post New Thread Reply   
 
Thread Tools Display Modes
namine
SourceMod Donor
Join Date: Jul 2010
Old 01-08-2011 , 12:40   Re: [CSS] SM_Hosties (v1.11)
Reply With Quote #591

Or just make it so one person has one bullet, and when they fire the other person gets one bullet. That will permanently stop major rebelling
namine is offline
jonboey
Junior Member
Join Date: Dec 2010
Old 01-08-2011 , 12:50   Re: [CSS] SM_Hosties (v1.11)
Reply With Quote #592

Hi guys,

I'm having a problem with the mod. I am unable to pick up the weapon.

Heres my SM List:

"Admin File Reader" (1.3.6) by AlliedModders LLC
"SQL Admins (Threaded)" (1.3.6) by AlliedModders LLC
"Admin Help" (1.3.6) by AlliedModders LLC
"Admin Menu" (1.3.6) by AlliedModders LLC
"Advanced admin commands" (0.15) by 3sigma
"Anti-Flood" (1.3.6) by AlliedModders LLC
"Anti-Rejoin" (2.0.0) by exvel
"Basic Chat" (1.3.6) by AlliedModders LLC
"Basic Comm Control" (1.3.6) by AlliedModders LLC
"Basic Commands" (1.3.6) by AlliedModders LLC
"Basic Info Triggers" (1.3.6) by AlliedModders LLC
"Basic Votes" (1.3.6) by AlliedModders LLC
"Client Preferences" (1.3.6) by AlliedModders LLC
"Fun Commands" (1.3.6) by AlliedModders LLC
"Fun Votes" (1.3.6) by AlliedModders LLC
"Homing Missiles" (2.0) by Blodia
"MapChooser" (1.3.6) by AlliedModders LLC
"Nextmap" (1.3.6) by AlliedModders LLC
"Map Nominations" (1.3.6) by AlliedModders LLC
"Player Commands" (1.3.6) by AlliedModders LLC
"Reserved Slots" (1.3.6) by AlliedModders LLC
"Rock The Vote" (1.3.6) by AlliedModders LLC
"Show Damage" (1.0.7) by exvel
"Evil Admin - Beam" (1.0.100) by <eVa>Dog
"Evil Admin - Health" (1.0.104) by <eVa>Dog
"Evil Admin - Pimp Slap" (1.0.102) by <eVa>Dog
"Evil Admin - Rocket" (1.0.110) by <eVa>Dog
"Fart" (1.0.102) by <eVa>Dog
"SM Parachute" (2.0) by SWAT_88
"SM Super Commands" (0.60) by pRED*
"Sound Commands" (1.3.6) by AlliedModders LLC
"SourceBans" (1.4.7) by InterWave Studios Development Team
"SQL Admin Manager" (1.3.6) by AlliedModders LLC
"TeamSwitch" (1.3) by MistaGee
"SM_Hosties" (1.11) by dataviruset
"NoBlock" (1.4.2) by Otstrel.ru Team

Any idea why this is happening?

Server is on Windows.

SDK Hook 1.3 is install along with Meta 1.8.5 and Sourcemod latest.
jonboey is offline
dataviruset
AlliedModders Donor
Join Date: Feb 2009
Location: Hong Kong
Old 01-08-2011 , 13:43   Re: [CSS] SM_Hosties (v1.11)
Reply With Quote #593

I've reviewed your code now and it looks fine. There's just one problem with weapon_fire, it fires multiple times if you hold down the firing key (default MOUSE1) just a liiiiiittle more than necessary. That's why I wrote all that OnGameFrame code.
Suggestions?

jonboey, pick up what weapon?
dataviruset is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 01-08-2011 , 17:55   Re: [CSS] SM_Hosties (v1.11)
Reply With Quote #594

Hmm, you're very right.. everything works fine normally but if you hold it down the whole time someone else is firing it will register as a doubleshot. I was hoping since it was the last bullet the weapon_fire events would translate to weapon_fire_on_empty events. =/

Maybe the ammo could be used to check for doubleshot.. as insurance against holding the +attack1 down, if the ammo stays the same as before then it won't register as a shot in the script.

Also, I did some other mods and added a "Rebel!" option to LR which gives the last T health and a gun to rebel.. so far it looks like it's working correctly.
databomb is offline
dataviruset
AlliedModders Donor
Join Date: Feb 2009
Location: Hong Kong
Old 01-08-2011 , 18:12   Re: [CSS] SM_Hosties (v1.11)
Reply With Quote #595

Quote:
Originally Posted by databomb View Post
Maybe the ammo could be used to check for doubleshot.. as insurance against holding the +attack1 down, if the ammo stays the same as before then it won't register as a shot in the script.
I was thinking of that one myself, a great idea. Or let's just strip the deagle then the player has made his shot.

Quote:
Originally Posted by databomb View Post
Also, I did some other mods and added a "Rebel!" option to LR which gives the last T health and a gun to rebel.. so far it looks like it's working correctly.
Cool. A little bit of "lol", but ok
dataviruset is offline
Bad_Boy95
Junior Member
Join Date: Nov 2010
Old 01-08-2011 , 19:05   Re: [CSS] SM_Hosties (v1.11)
Reply With Quote #596

Hi I need new slovak translation because old is not good... pls send me new version...
Bad_Boy95 is offline
jonboey
Junior Member
Join Date: Dec 2010
Old 01-08-2011 , 19:33   Re: [CSS] SM_Hosties (v1.11)
Reply With Quote #597

Quote:
Originally Posted by dataviruset View Post

jonboey, pick up what weapon?
When I try to pick up ANY weapon. During LRs, e.g. Hot Potato, I cannot pick up the gun. Same as Dtoss. I think its got to do with the NoBlock or SDKHooks. I'm not really sure though.
jonboey is offline
dataviruset
AlliedModders Donor
Join Date: Feb 2009
Location: Hong Kong
Old 01-08-2011 , 20:06   Re: [CSS] SM_Hosties (v1.11)
Reply With Quote #598

Quote:
Originally Posted by jonboey View Post
When I try to pick up ANY weapon. During LRs, e.g. Hot Potato, I cannot pick up the gun. Same as Dtoss. I think its got to do with the NoBlock or SDKHooks. I'm not really sure though.
There's a block on the "potato deagle" in the Hot Potato game, it may only be owned by one of the contestants, if another player picks it up, it will be dropped immediately.
Check that you have the latest gamedata files for SDK Hooks and SM_Hosties.
dataviruset is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 01-10-2011 , 23:27   Re: [CSS] SM_Hosties (v1.11)
Reply With Quote #599

Well, a few different ways tried, still no clear solution. Instead of worrying about ammo or stripping, now I'm thinking to check the entity index for the deagle to see if it matches any of the two we spawned. If not then they're probably cheating. I'll post back if I come up with anything solid.
databomb is offline
dataviruset
AlliedModders Donor
Join Date: Feb 2009
Location: Hong Kong
Old 01-11-2011 , 02:48   Re: [CSS] SM_Hosties (v1.11)
Reply With Quote #600

Quote:
Originally Posted by databomb View Post
Well, a few different ways tried, still no clear solution. Instead of worrying about ammo or stripping, now I'm thinking to check the entity index for the deagle to see if it matches any of the two we spawned. If not then they're probably cheating. I'll post back if I come up with anything solid.
Don't worry too much, I'll be having a look at this as well...
dataviruset 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 03:12.


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