Raised This Month: $344 Target: $400
 86%   Almost there!

Laser/TripMine Entity


Post New Thread Reply   
 
Thread Tools Display Modes
Frantz
Junior Member
Join Date: Mar 2020
Old 02-08-2022 , 08:50   Re: Laser/TripMine Entity
Reply With Quote #681

I did when I saw the msg, now I`m waiting for the error to pop up
BUt why the zombie lasermines dont give dmg to humans?
Frantz is offline
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 02-08-2022 , 09:35   Re: Laser/TripMine Entity
Reply With Quote #682

Quote:
BUt why the zombie lasermines dont give dmg to humans?
Try turning on mp_friendlyfire to see if that helps.
If it does damage, the cause is BIOHAZARD, and it is not handling the team switching.
In that case, I'll take care of it.
__________________
GitHub
SteamWishlist

六四天安門事件

Last edited by +ARUKARI-; 02-08-2022 at 09:43.
+ARUKARI- is offline
Frantz
Junior Member
Join Date: Mar 2020
Old 02-08-2022 , 10:13   Re: Laser/TripMine Entity
Reply With Quote #683

Quote:
Originally Posted by +ARUKARI- View Post
Try turning on mp_friendlyfire to see if that helps.
I already tried that and no result.

Thing is, with the old code (v0.23) was working fine..
In the new code, humans lasermines act fine based on what the settings are in the \addons\amxmodx\configs\plugins\plugin-lasermine_bh.cfg but zombies lasermines act as tripping mines with 0 dmg

Last edited by Frantz; 02-08-2022 at 10:33.
Frantz is offline
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 02-08-2022 , 22:01   Re: Laser/TripMine Entity
Reply With Quote #684

I understand. Please give me some time to investigate.
__________________
GitHub
SteamWishlist

六四天安門事件
+ARUKARI- is offline
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 02-10-2022 , 11:47   Re: Laser/TripMine Entity
Reply With Quote #685

Doesn't seem to be a problem.
__________________
GitHub
SteamWishlist

六四天安門事件
+ARUKARI- is offline
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
Frantz
Junior Member
Join Date: Mar 2020
Old 02-17-2022 , 14:06   Re: Laser/TripMine Entity
Reply With Quote #687

Tested new 3.32 via GitHub.
Cant compile sma if I edit line5: "#define BIOHAZARD_SUPPORT"
Code:
amxmodx\scripting\lasermine.sma(1066) : error 017: undefined symbol "classname"
//
// 1 Error.
// Could not locate output file compiled\lasermine.amx (compile failed).
I dont have any .json files:
Code:
[LASERMINE] JSON FILE NOT FOUND => plugins/lasermine/resources.json
[LASERMINE] LOAD DEFAULTS
And I have the same problem as before:
If amx_ltm_laser_damage "10000" zombies die instantly, but if amx_ltm_laser_damage "1000" they need to take like 4 hits to die. At the end of the round it displays 4000 dmg.

addons/amxmodx/configs/ bhltm_cvars.cfg and ltm_cvars.cfg files are from old code

Last edited by Frantz; 02-17-2022 at 14:47.
Frantz is offline
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 02-17-2022 , 20:04   Re: Laser/TripMine Entity
Reply With Quote #688

I will not support this unless you remove it.
Code:
 [  2] dproto_EF, v0.9.582
__________________
GitHub
SteamWishlist

六四天安門事件
+ARUKARI- is offline
Frantz
Junior Member
Join Date: Mar 2020
Old 02-18-2022 , 05:30   Re: Laser/TripMine Entity
Reply With Quote #689

Quote:
Originally Posted by +ARUKARI- View Post
I will not support this unless you remove it.
Code:
 [  2] dproto_EF, v0.9.582
My server is ON from my local machine ONLY just when I test this plugin, with 1 friend who has a non-steam client

Test for v3.33
Code:
Forced unload plugin 'dproto_EF'
Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
 [ 1] AMX Mod X        RUN   -    amxmodx_mm.dll    v1.9.0.5  ini  Start ANY
 [ 3] CStrike          RUN   -    cstrike_amxx.dll  v1.9.0.5  pl1  ANY   ANY
 [ 4] CSX              RUN   -    csx_amxx.dll      v1.9.0.5  pl1  ANY   ANY
 [ 5] Fun              RUN   -    fun_amxx.dll      v1.9.0.5  pl1  ANY   ANY
 [ 6] Engine           RUN   -    engine_amxx.dll   v1.9.0.5  pl1  ANY   ANY
 [ 7] FakeMeta         RUN   -    fakemeta_amxx.dl  v1.9.0.5  pl1  ANY   ANY
 [ 8] Ham Sandwich     RUN   -    hamsandwich_amxx  v1.9.0.5  pl1  ANY   ANY
 [ 9] Admin Free Look  RUN   -    adminfreelook_am  v1.5.4    pl1  ANY   ANY
8 plugins, 8 running
Executing Biohazard mod configuration file
L 02/18/2022 - 12:38:54: Failed to auto generate config for lasermine.amxx, make sure the directory has write permission."
You managed to unload dproto and apparently it`s working, but bugged
Got banned from my own server, and I have steam client, nice job
Code:
L 02/18/2022 - 13:06:06: [admin.amxx] Login: "Frantz<1><STEAM_0:0:19019474><>" became an admin (account "STEAM_0:0:19019474") (access "bcdefghijklmnopqrstuv") (address "79.112.71.202")
[DPROTO]: banned ip 79.112.71.202 for 120.000000 minutes for fake players spamming or protocol violations
But anyway, that was my feedback. Good luck!

Last edited by Frantz; 02-18-2022 at 06:44.
Frantz is offline
maNIaRO
Member
Join Date: Nov 2014
Old 03-26-2022 , 18:05   Re: Laser/TripMine Entity
Reply With Quote #690

Hello,
I am trying to compile it locally and I have this error

Code:
// C:\Users\flori\OneDrive\Desktop\compilare amxx local\zp_lasermine.sma(25) : fatal error 110: assertion failed: "AMX Mod X v1.9.0 or greater library required!"
in include folder i have amxmodx_version.inc with this content

Code:
#if defined _amxmodx_version_included
  #endinput
#endif
#define _amxmodx_version_included

#define AMXX_VERSION_TAG            ""
#define AMXX_VERSION_CSET           "5eea3e5"
#define AMXX_VERSION_MAJOR          "1"
#define AMXX_VERSION_MAJOR_NUM      1
#define AMXX_VERSION_MINOR          "9"
#define AMXX_VERSION_MINOR_NUM      9
#define AMXX_VERSION_RELEASE        "0"
#define AMXX_VERSION_LOCAL_REV_NUM  5271
#define AMXX_VERSION_LOCAL_REV      "5271"
#define AMXX_VERSION                1.90
#define AMXX_VERSION_NUM            190

stock const AMXX_VERSION_STR[] = "1.9.0.5271";
Practically my amx version is greater than 1.9.0 but I cannot compile it
Please help
maNIaRO 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 13:36.


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