Raised This Month: $99 Target: $400
 24% 

[CS:S] Ammo From Dead


Post New Thread Reply   
 
Thread Tools Display Modes
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 05-04-2015 , 16:12   Re: [CS:S] Ammo From Dead
Reply With Quote #171

Quote:
Originally Posted by TnTSCS View Post
You don't need to edit the .sp, you can just change the CVar for those.

I think I compiled it against 1.6, but I can't remember. I'll try and see if compiling against 1.7.1 causes errors for me.
Yes, but I wanted to fix a model dirs (pistol model was used for all types) and to be sure it's recompiled with SM 1.7.1.

(...and I've read somewhere there are some problems with SMLib 0.11 Beta and 1.7.1 compiler. They say it's fine using 1.6.X one.)

Last edited by GrO; 05-04-2015 at 16:16.
GrO is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 05-04-2015 , 17:55   Re: [CS:S] Ammo From Dead
Reply With Quote #172

Oh yea, I forgot this had SMLib. I can look at it when I get time for compiling against 1.7.1
__________________
View my Plugins | Donate
TnTSCS is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 05-04-2015 , 22:59   Re: [CS:S] Ammo From Dead
Reply With Quote #173

Quote:
Originally Posted by TnTSCS View Post
Oh yea, I forgot this had SMLib. I can look at it when I get time for compiling against 1.7.1
Got it.
GrO is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 05-05-2015 , 13:39   Re: [CS:S] Ammo From Dead
Reply With Quote #174

Attached 0.2.1.5

Fixed the CVars for model files and removed requirement for SMLib include file for compiling. Added the required SMLib functions directly to the SP file.

Still requires include files for updater and autoexecconfig (attached)

compiles with SM 1.7.1
Attached Files
File Type: smx ammo_from_dead.smx (20.0 KB, 66 views)
File Type: sp Get Plugin or Get Source (ammo_from_dead.sp - 100 views - 47.1 KB)
File Type: inc autoexecconfig.inc (16.5 KB, 59 views)
File Type: inc updater.inc (2.3 KB, 131 views)
__________________
View my Plugins | Donate

Last edited by TnTSCS; 05-05-2015 at 13:41.
TnTSCS is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 05-05-2015 , 23:05   Re: [CS:S] Ammo From Dead
Reply With Quote #175

Quote:
Originally Posted by TnTSCS View Post
Attached 0.2.1.5

Fixed the CVars for model files and removed requirement for SMLib include file for compiling. Added the required SMLib functions directly to the SP file.

Still requires include files for updater and autoexecconfig (attached)

compiles with SM 1.7.1
Great job, will test it, thanks.
GrO is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 05-09-2015 , 20:57   Re: [CS:S] Ammo From Dead
Reply With Quote #176

Quote:
Originally Posted by GrO View Post
QUESTION:
Would this plugin drop 2 boxes (i.e. rifle ammo box and pistol ammo box), while the server also runs [CSS] Drop on Death plugin by bigbalaboom?
Quote:
Originally Posted by TnTSCS View Post
Attached 0.2.1.5

Fixed the CVars for model files and removed requirement for SMLib include file for compiling. Added the required SMLib functions directly to the SP file.

Still requires include files for updater and autoexecconfig (attached)

compiles with SM 1.7.1
Works great and no errors in logs (I've used the attached SMX):



EDIT:
There were no errors, until I've disabled AFD for a warmup time (only grenades in warmup, so...). Drop on Death plugin is running all the time:

Quote:
L 05/10/2015 - 078:26: SourceMod error session started
L 05/10/2015 - 078:26: Info (map "de_cpl_fire") (file "errors_20150510.log")
L 05/10/2015 - 078:26: [SM] Native "SDKHook" reported: Entity 5 is invalid
L 05/10/2015 - 078:26: [SM] Displaying call stack trace for plugin "ammo_from_dead.smx":
L 05/10/2015 - 078:26: [SM] [0] Line 1000, C:\Sourcemod\TnTSCS\scripting\ammo_from_dead. sp::OnEnabledChanged()
Quote:
AFD CFG


DOD CFG
EDIT II:
When downscaling the models, sometimes they hang too high for some parts of some popular maps (awp_india_v2, de_losttemple_pro or de_cpl_fire). The same is happening with drop-on-death plugin removed/unloaded:



Regards.

Last edited by GrO; 05-10-2015 at 03:35.
GrO is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 05-11-2015 , 04:16   Re: [CS:S] Ammo From Dead
Reply With Quote #177

I'll look at the code for the error message and fix it. As for the models not sitting on the ground fully, I'll have to play around with it and see if I can reproduce.
__________________
View my Plugins | Donate
TnTSCS is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 05-11-2015 , 14:15   Re: [CS:S] Ammo From Dead
Reply With Quote #178

Quote:
Originally Posted by TnTSCS View Post
I'll look at the code for the error message and fix it. As for the models not sitting on the ground fully, I'll have to play around with it and see if I can reproduce.
BTW, I'm using sv_turbophysics "1".
GrO is offline
pubhero
Veteran Member
Join Date: Aug 2012
Location: Central Europe
Old 09-17-2015 , 22:49   Re: [CS:S] Ammo From Dead
Reply With Quote #179

The latest CS:S update kill this plugin for me. When i using this, got server freezing. Maybe need new gamedata?
pubhero is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 09-18-2015 , 20:40   Re: [CS:S] Ammo From Dead
Reply With Quote #180

quite possibly - you can try modifying the values by an increment of one.
__________________
View my Plugins | Donate
TnTSCS 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 09:26.


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