AntiXray (Fabric)

AntiXray (Fabric)

42.6k Downloads

Mod seems to do nothing on 1.18.2

scstonick opened this issue ยท 7 comments

commented

I installed the mod in the server's mod folders and edited the config to enable it. Still nothing happens. Plus, there are no errors in my logs. (Also, I tried v1.2.2 off curseforge and I tried v1.2.1 from the releases on this GitHub)

I am on Minecraft 1.18.2, forge 40.1.68, and here is my mod list:
(I also tried to run the server with just this one single mod but it didn't work and it wouldn't generate the config file for the mod)

Screenshot 2022-07-21 234300

also here is my config file on the server with all the mods:

# Default configuration file for Fabric AntiXray mod by DrexHD

# Default values
enabled = true

# World specific values
[overworld]
enabled = true
engineMode = 2
maxBlockHeight = 256
updateRadius = 2
lavaObscures = false
hiddenBlocks = ["copper_ore", "deepslate_copper_ore", "raw_copper_block", "gold_ore", "deepslate_gold_ore", "raw_gold_block", "iron_ore", "deepslate_iron_ore", "raw_iron_block", "coal_ore", "deepslate_coal_ore", "lapis_ore", "deepslate_lapis_ore", "mossy_cobblestone", "obsidian", "chest", "diamond_ore", "deepslate_diamond_ore", "redstone_ore", "deepslate_redstone_ore", "clay", "emerald_ore", "deepslate_emerald_ore", "ender_chest"]
replacementBlocks = ["stone", "deepslate"]

[the_nether]
enabled = true
engineMode = 1
maxBlockHeight = 128
updateRadius = 2
lavaObscures = true
hiddenBlocks = ["ancient_debris", "nether_quartz_ore", "nether_gold_ore"]
replacementBlocks = ["netherrack"]
commented

I'll bring forge down to 40.1.0 and try it again and then Ill let you know the results, thanks!

commented

I am unable to reproduce this issue on Forge version 1.18.2 - 40.1.0, with just anti-xray-1.2.2-Forge-1.18.2.jar installed.
I also don't really know what might be causing this, if you have already tested it with just anti-xray installed. Please attach a server log file, so I can take a look at that.

  • Drex
commented

I switched to 40.1.0 on 1.18.2 and the only thing in my mods folder is "anti-xray-1.2.2-Forge-1.18.2.jar". I am still not seeing anything working... heres a screenshot and my server log

[16:52:09] [ServerMain/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[16:52:12] [ServerMain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[16:52:12] [ServerMain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[16:52:12] [ServerMain/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[16:52:12] [ServerMain/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[16:52:12] [ServerMain/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[16:52:13] [Worker-Main-17/INFO]: Loaded 7 recipes
[16:52:13] [Worker-Main-17/INFO]: Loaded 1141 advancements
[16:52:14] [Server thread/INFO]: Starting minecraft server version 1.18.2
[16:52:14] [Server thread/INFO]: Loading properties
[16:52:14] [Server thread/INFO]: Default game type: SURVIVAL
[16:52:14] [Server thread/INFO]: Generating keypair
[16:52:14] [Server thread/INFO]: Starting Minecraft server on *:25565
[16:52:14] [Server thread/INFO]: Using epoll channel type
[16:52:15] [Server thread/INFO]: Preparing level "world"
[16:52:21] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[16:52:21] [Worker-Main-23/INFO]: Preparing spawn area: 0%
[16:52:21] [Worker-Main-26/INFO]: Preparing spawn area: 0%
[16:52:22] [Worker-Main-25/INFO]: Preparing spawn area: 0%
[16:52:22] [Worker-Main-17/INFO]: Preparing spawn area: 2%
[16:52:23] [Worker-Main-28/INFO]: Preparing spawn area: 5%
[16:52:23] [Worker-Main-21/INFO]: Preparing spawn area: 7%
[16:52:24] [Worker-Main-17/INFO]: Preparing spawn area: 10%
[16:52:24] [Worker-Main-22/INFO]: Preparing spawn area: 14%
[16:52:25] [Worker-Main-16/INFO]: Preparing spawn area: 17%
[16:52:25] [Worker-Main-21/INFO]: Preparing spawn area: 17%
[16:52:26] [Worker-Main-26/INFO]: Preparing spawn area: 18%
[16:52:26] [Worker-Main-21/INFO]: Preparing spawn area: 23%
[16:52:27] [Worker-Main-17/INFO]: Preparing spawn area: 26%
[16:52:27] [Worker-Main-17/INFO]: Preparing spawn area: 31%
[16:52:28] [Worker-Main-24/INFO]: Preparing spawn area: 34%
[16:52:28] [Worker-Main-20/INFO]: Preparing spawn area: 37%
[16:52:29] [Worker-Main-16/INFO]: Preparing spawn area: 43%
[16:52:29] [Worker-Main-16/INFO]: Preparing spawn area: 45%
[16:52:30] [Worker-Main-20/INFO]: Preparing spawn area: 51%
[16:52:30] [Worker-Main-16/INFO]: Preparing spawn area: 55%
[16:52:31] [Worker-Main-18/INFO]: Preparing spawn area: 58%
[16:52:31] [Worker-Main-25/INFO]: Preparing spawn area: 64%
[16:52:32] [Worker-Main-30/INFO]: Preparing spawn area: 68%
[16:52:32] [Worker-Main-21/INFO]: Preparing spawn area: 72%
[16:52:33] [Worker-Main-24/INFO]: Preparing spawn area: 77%
[16:52:33] [Worker-Main-17/INFO]: Preparing spawn area: 83%
[16:52:34] [Worker-Main-20/INFO]: Preparing spawn area: 84%
[16:52:34] [Worker-Main-17/INFO]: Preparing spawn area: 89%
[16:52:35] [Worker-Main-26/INFO]: Preparing spawn area: 95%
[16:52:35] [Server thread/INFO]: Time elapsed: 14309 ms
[16:52:35] [Server thread/INFO]: Done (20.373s)! For help, type "help"

image

commented

I am not a forge expert, but your logs look like unmodified / vanilla logs. The logs on my test forge server however have been modified by forge.

I have just created a version with debug messages.

To download that version, click this link github actions, unzip the file and navigate to forge/build/libs and grab anti-xray-1.2.2-Forge-1.18.2.jar

If you use that version a message like this should be printed during server startup.

[18:27:35] [modloading-worker-0/INFO] [me.dr.an.AntiXray/]: Successfully initialized antixray on forge

And for every chunk packet that has been modified, a message like this should pop up

[18:28:26] [Server thread/INFO] [me.dr.an.AntiXray/]: Modifying packet for chunk at [17, -4]
[18:28:26] [Server thread/INFO] [me.dr.an.AntiXray/]: Modifying packet for chunk at [17, -3]
[18:28:26] [Server thread/INFO] [me.dr.an.AntiXray/]: Modifying packet for chunk at [17, -2]
[18:28:26] [Server thread/INFO] [me.dr.an.AntiXray/]: Modifying packet for chunk at [17, -1]
commented

Thank you so much for helping me out with this!

For some reason this is what I see when I click that link :
image

I am used to running 1.16.5 servers but moved to 1.18.2 recently. I was under the impression that the server.jar was the same for vanilla and forge servers cause when I tried it out it seemed to launch with all the mods. So maybe I have the wrong server.jar. I'll look into it, thanks for the lead.

commented

Sorry, the link was incorrect, please try this one: github actions

commented

Just figured it out I was definitely running vanilla! no idea how the other mods were working