View Single Post
Frantz
Junior Member
Join Date: Mar 2020
Old 02-11-2022 , 05:03   Re: Laser/TripMine Entity
Reply With Quote #686

Hmm, maybe on my server has a conflict with some other plugin?
Just tested now the new code (3.31) and is backwards, but with DMG.

Zombies lasermines kill humans
Humans lasermines give dmg to zombies, but not instakill


Also, after a player dies (doesn't matter if he is zombie or human) his lasermine give 0 dmg to enemies.

Code:
bh_ltm_access "0"
bh_ltm_mode "0"
bh_ltm_laser_damage "1000"
bh_ltm_laser_damage_mode "0"
Code:
HLDS version:     48/1.1.2.7 8308 secure  (10)
Metamod version:     1.21.1-am
Code:
 [  1] AMX Mod X, v1.9.0.5294
 [  2] dproto_EF, v0.9.582
 [  3] CStrike, v1.9.0.5294
 [  4] CSX, v1.9.0.5294
 [  5] Fun, v1.9.0.5294
 [  6] Engine, v1.9.0.5294
 [  7] FakeMeta, v1.9.0.5294
 [  8] Ham Sandwich, v1.9.0.5294
 [  9] Admin Free Look, v1.5.4
Code:
 [  1] Advanced Bans           0.8.1
 [  2] Admin Base              1.9.0.5294
 [  3] Admin Commands          1.9.0.5294
 [  4] Admin Help              1.9.0.5294
 [  5] Slots Reservation       1.9.0.5294
 [  6] Menus Front-End         1.9.0.5294
 [  7] Commands Menu           1.9.0.5294
 [  8] Players Menu            1.9.0.5294
 [  9] Maps Menu               1.9.0.5294
 [ 10] Admin Chat              1.9.0.5294
 [ 11] Anti Flood              1.9.0.5294
 [ 12] Info. Messages          1.9.0.5294
 [ 13] Admin Votes             1.9.0.5294
 [ 14] NextMap                 1.9.0.5294
 [ 15] TimeLeft                1.9.0.5294
 [ 16] Pause Plugins           1.9.0.5294
 [ 17] Stats Configuration     1.9.0.5294
 [ 18] StatsX                  1.9.0.5294
 [ 19] admin_who               1.0
 [ 20] AdminListen             2.3x
 [ 21] Enhanced Map Searching  1.6
 [ 22] Exec                    1.0
 [ 23] Admin Snapshot          1.0
 [ 24] High Ping Kicker        1.0
 [ 25] Show IP                 1.0
 [ 26] AMX Toggle Immunity     3.12b
 [ 27] Amxx AM Like            0.1
 [ 28] Blind                   1.0
 [ 29] Blinding Flashlight     0.2.3SL
 [ 30] loading with music      2.0
 [ 31] Background Sounds       1.0
 [ 32] Sank Sounds Plugin      1.9.2
 [ 33] Countdown Fix           1.0
 [ 34] Full Server Idler Kick  0.1
 [ 35] Only Admin Spectators   2.1
 [ 36] Invisible Spectator     0.2
 [ 37] HudTextArgs Blocker     1.1
 [ 38] Last Maps               1.0
 [ 39] ResetScore              0.2.0
 [ 40] Automatic Unstuck       1.5
 [ 41] Lasermine for BIOHAZAR  3.31
 [ 42] Biohazard               2.0
 [ 43] smoke flare             0.1
 [ 44] zombie radar            0.3
LE: if bh_ltm_laser_damage "10000" zombies die instantly, but if bh_ltm_laser_damage "1000" they need to take like 4 hits to die. At the end of the round it displays 4000 dmg.

Code:
L 02/13/2022 - 10:31:45: [CSTRIKE] Player out of range (92)
L 02/13/2022 - 10:31:45: [AMXX] Displaying debug trace (plugin "lasermine_2.amxx", version "3.31")
L 02/13/2022 - 10:31:45: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 02/13/2022 - 10:31:45: [AMXX]    [0] lasermine_2.sma::is_valid_takedamage (line 329)
L 02/13/2022 - 10:31:45: [AMXX]    [1] lasermine_util.inc::lm_create_explosion_damage (line 424)
L 02/13/2022 - 10:31:45: [AMXX]    [2] lasermine_2.sma::lm_step_explosion (line 1205)
L 02/13/2022 - 10:31:45: [AMXX]    [3] lasermine_2.sma::LaserThink (line 930)

Last edited by Frantz; 02-13-2022 at 04:17.
Frantz is offline