AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Weapon Modifier v1.56 (Damage, Recoil, Speed and more...) (https://forums.alliedmods.net/showthread.php?t=165075)

chuttenjr 09-28-2018 07:56

Re: Weapon Modifier v1.56 (Damage, Recoil, Speed and more...)
 
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)); 


XuberAxel 07-03-2020 23:28

Re: Weapon Modifier v1.56 (Damage, Recoil, Speed and more...)
 
Does not work in amx 1.9. Not even the amx recognizes it...

DZHEX 03-18-2024 11:29

Re: Weapon Modifier v1.56 (Damage, Recoil, Speed and more...)
 
1 Attachment(s)
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.


All times are GMT -4. The time now is 07:58.

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