Raised This Month: $32 Target: $400
 8% 

Weapon Modifier v1.56 (Damage, Recoil, Speed and more...)


Post New Thread Reply   
 
Thread Tools Display Modes
chuttenjr
Member
Join Date: Sep 2018
Location: Saipan
Old 09-28-2018 , 07:56   Re: Weapon Modifier v1.56 (Damage, Recoil, Speed and more...)
Reply With Quote #121

Im also getting this error,otherwise the plugin works fine:

PHP Code:
 Invalid CVAR pointer
[AMXXDisplaying debug trace (plugin "weapon_modifier.amxx"version "v1.56")
[
AMXXRun time error 10native error (native "get_pcvar_string")
[
AMXX] [0weapon_modifier.sma::event_AmmoX (line 266)

This is line 266 from .sma

get_pcvar_string
(g_cvar_weapon[g_weapon[id]][WEAPON_UNLIMITED_BPAMMO], bpammo_cvarcharsmax (bpammo_cvar)); 
chuttenjr is offline
XuberAxel
Junior Member
Join Date: Dec 2017
Old 07-03-2020 , 23:28   Re: Weapon Modifier v1.56 (Damage, Recoil, Speed and more...)
Reply With Quote #122

Does not work in amx 1.9. Not even the amx recognizes it...
XuberAxel is offline
Old 06-20-2021, 12:35
CubyXX543
This message has been deleted by CubyXX543. Reason: inappropriate
DZHEX
Junior Member
Join Date: Mar 2015
Old 03-18-2024 , 11:29   Re: Weapon Modifier v1.56 (Damage, Recoil, Speed and more...)
Reply With Quote #123

The bots I use needed the specialbot = true in the relevant `RegisterHam`s, which required moving from amxmodx 1.8.2 to 1.8.3, but after that the damage seems to work.

...is there a reason for HE grenades being excluded from the damage modification

edit - I started messing around with it, and it seems that the plugin applies the damage based on the active weapon - works fine for hitscan, but it's kinda funny how pulling out a boosted gun makes the grenade cause the boosted damage, but dropping that weapon makes it do regular damage. It seems that it needs some sort of special exception for inflictor entity of class "grenade". I will try to make this work.

edit2 - attached a version where grenades seem to work. I only focused on damage, no idea whether any other feature works, probably not. Needs amxmodx 1.8.3: http://www.amxmodx.org/snapshots.php
I wanted the updated version for hamsandwich weird bot compatibility thing, but you can edit the RegisterHam lines that have the true argument to make it work with 1.8.2 - remove the trues (the `, true` part, the comma has to go, too) and it *should* be good to go on 1.8.2.
Attached Files
File Type: sma Get Plugin or Get Source (weapon_modifier.sma - 12 views - 36.0 KB)

Last edited by DZHEX; 03-19-2024 at 14:36. Reason: specifying what to remove
DZHEX 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 21:26.


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