Raised This Month: $ Target: $400
 0% 

[CS:S] Ammo From Dead


Post New Thread Reply   
 
Thread Tools Display Modes
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-10-2012 , 09:09   Re: [CS:S] Ammo From Dead
Reply With Quote #71

Quote:
Originally Posted by blue zebra View Post
New version works for me well. Thanks again for your work.
Can you do a slower dissolve process for the weapon and the ammo pack?
Like in the Healthkit on death?
The code is the same - it was taken from that plugin. Make sure you're using the same dissolvetype as you are on the healthkit from dead.
__________________
View my Plugins | Donate
TnTSCS is offline
blue zebra
BANNED
Join Date: Jun 2010
Old 04-10-2012 , 09:31   Re: [CS:S] Ammo From Dead
Reply With Quote #72

Bad news.
I only changed on my server this plugins version today morning. From 0.2.1.0 to 0.2.1.1
Maybe the new version do this?
When i update the older version, i remove all parts of this plugin. .smx , .sp , gamedata.txt , and .cfg
After this i copy the new version and start the server. The new .cfg was created. Edit this and restart the server.
When i started the server, was all ok. After 4-5 hours from the server start i see this:
Attached Thumbnails
Click image for larger version

Name:	prop_error_1.jpg
Views:	98
Size:	96.1 KB
ID:	101929   Click image for larger version

Name:	prop_error_2.jpg
Views:	108
Size:	95.3 KB
ID:	101930   Click image for larger version

Name:	prop_error_3.jpg
Views:	96
Size:	97.1 KB
ID:	101931  

Last edited by blue zebra; 04-10-2012 at 23:24. Reason: error in the plugin?
blue zebra is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-10-2012 , 18:01   Re: [CS:S] Ammo From Dead
Reply With Quote #73

You're getting bouncing props?

Let me check it out.
__________________
View my Plugins | Donate

Last edited by TnTSCS; 04-10-2012 at 18:10.
TnTSCS is offline
relicek
Member
Join Date: Mar 2012
Old 04-11-2012 , 09:52   Re: [CS:S] Ammo From Dead
Reply With Quote #74

hiya, can be added noblock for those ammo boxed because sometimes when i pass through them i move very fast. thx
relicek is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-11-2012 , 09:56   Re: [CS:S] Ammo From Dead
Reply With Quote #75

Quote:
Originally Posted by relicek View Post
hiya, can be added noblock for those ammo boxed because sometimes when i pass through them i move very fast. thx
I'll have to look at the code again, I never noticed that...

Version 0.2.1.2
* Changed the prop type to avoid the mayhem bug and changed to collision alteration to before the prop is spawned.

If you have Updater and have this plugin set to auto-update, you'll receive the update soon, if not, get the updated files from the OP.


...:: TnT Edit ::...
relicek, if that happens occasionally, it's normal according to a few sr sourcemod folks. Some attested to getting stuck on a deagle and then being flung very fast before. I have the model emulate a dropped weapon, so it shouldn't behave like you're explaining very often. It is "noblock" - same as the healthkit from dead model.
__________________
View my Plugins | Donate

Last edited by TnTSCS; 04-11-2012 at 10:11.
TnTSCS is offline
relicek
Member
Join Date: Mar 2012
Old 04-11-2012 , 11:19   Re: [CS:S] Ammo From Dead
Reply With Quote #76

now i test it more and i thing that ammoboxes are good. i using money drop too and now i find out that money make me jump and move faster, box was on cash so i thought that boxes make that speedjump but your are author of money drop too can you look at that please? thx

edit: it happend when you got full $16000 and move over cash on ground.

edit2: little bug on ammo, when i setup that all can take pistol, shutgun or rifle ammo for weared weapon, shutgun take rifle ammo too to refill.

Last edited by relicek; 04-11-2012 at 12:49.
relicek is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-11-2012 , 17:05   Re: [CS:S] Ammo From Dead
Reply With Quote #77

post your config please... Also, I'll look at my drop cash plugin
__________________
View my Plugins | Donate
TnTSCS is offline
relicek
Member
Join Date: Mar 2012
Old 04-11-2012 , 17:53   Re: [CS:S] Ammo From Dead
Reply With Quote #78

PHP Code:
// This file was auto-generated by SourceMod (v1.4.1)
// ConVars for plugin "ammo_from_dead.smx"


// If ON, players can refill their pistol ammo by picking up any pistol ammo box, same for shotguns with shotgun ammo box, and the same for rifles (SMG, Rifle, Sniper Rifle, and Machine Gun) with rifle ammo box.  
// 1=ON, 0=OFF
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afd_anymixedammo "1"

// Do bots drop ammo?  
// 1=yes, 0=no
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afd_botsdrop "1"

// How should the ammo model be destroyed?
// 0 = Do not destroy, leave forever
// 1 = Just make disappear
// 2 = Use disolve feature.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_afd_destroymode "0"

// If sm_afd_destroymode=2, choose dissolve type
// 0 = Energy
// 1 = Heavy electrical
// 2 = Light electrical
// 3 = Core effect
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
sm_afd_disolvetype "3"

// Am I enabled?  
// 1=yes, 0=no
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afd_enabled "1"

// How should the gun model be destroyed?
// 0 = Do not destroy, leave forever
// 1 = Just make disappear
// 2 = Use disolve feature.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_afd_gundestroymode "0"

// If sm_afd_destroymode=2, choose dissolve type
// 0 = Energy
// 1 = Heavy electrical
// 2 = Light electrical
// 3 = Core effect
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
sm_afd_gundisolvetype "3"

// How many seconds gun model will stay.  Less than 1.0 is disabled.
// -
// Default: "20"
// Minimum: "0.000000"
sm_afd_gunlifetime "20"

// How many seconds ammo model will stay.  Less than 1.0 is disabled.
// -
// Default: "20"
// Minimum: "0.000000"
sm_afd_lifetime "20"

// Should plugin abide by the weapon's max ammo when picking up dropped ammo?  
// If yes, then the left over ammo will remain on the ground.  If all of the ammo is picked up, then the ammo box will disappear.  
// 1=yes, 0=no
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afd_maxammo "1"

// Allow player to pickup ammo if "ammo type" is the same regardless of if "gun type" is different (UMP vs glock)?  
// 1=yes, 0=no
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afd_mixedammo "0"

// Drop pistol ammo?  
// 1=yes, 0=no
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afd_pistols "1"

// Who should hear the sound?
// 1 = Only the player 
// 2 = Everyone in the vicinity (like normal item pickups)
// -
// Default: "1"
// Minimum: "1.000000"
// Maximum: "2.000000"
sm_afd_playsound "2"

// Drop rifle (shotty, awp, auto, rifle) ammo?  
// 1=yes, 0=no
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afd_rifles "1"

// Which sound should we play when ammo is picked up?
// 1 = cstrike/items/itempickup.wav 
// 2 = hl2/items/ammo_pickup.wav 
// 3 = cstrike/items/ammopickup.wav
// -
// Default: "1"
// Minimum: "1.000000"
// Maximum: "3.000000"
sm_afd_sound "3"

// Utilize 'Updater' plugin to auto-update Ammo From Dead when updates are published?
// 1=yes, 0=no
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afd_useupdater "0" 
also i find little bug, happend to me few times, when i take ?/0 weapon, take box, refill and then i saw better gun i throw that old one away,take that another gun, it have ?/0, i return to my box which i used first time and it do nothing. Maybe some limitation for box that can refill only one ?/0 gun... is not very big bug but people will ask why they cant take rifle ammo when they dont have bullets thanks

Last edited by relicek; 04-11-2012 at 18:04.
relicek is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-11-2012 , 18:52   Re: [CS:S] Ammo From Dead
Reply With Quote #79

I'll look into the issues you brought up and get back to you.
__________________
View my Plugins | Donate
TnTSCS is offline
blue zebra
BANNED
Join Date: Jun 2010
Old 04-11-2012 , 23:49   Re: [CS:S] Ammo From Dead
Reply With Quote #80

I use money on death, healthkit from death too and this plugin same time. Never not see this problem.
CSS, Linux, MM 1.9.0-devV and SM 1.3.8

* Edit *
Sorry but i found a bug in 0.2.1.2 version too. Sorry. Game CSS.
The dissolve function works well, but when you want to pick up an ammo pack, nothing not happen.
Not pick up the ammo.

Last edited by blue zebra; 04-12-2012 at 00:46.
blue zebra 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 09:22.


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