Inactive [SEC] AntiXRay v0.6.10 - protecting ore from XRay mod and transparent texturepacks [1000]

Discussion in 'Inactive/Unsupported Plugins' started by asdaarg, Apr 11, 2011.

  1. Offline

    asdaarg

    AntiXRay
    Version:v0.6.10

    Reporting Errors the follow things have to be mentioned:
    • CB Version and AXR version
    • Whether you started the AXR version with a fresh ore file or not (doing /axr off before upgrade)
    • If not, since what version you've been using the same ore file.
    • If you get any errors in console, check the debug.log for "Error"s and "Warning"s. and post those.

    Upcoming features for 0.7:
    - AXR Chest chest hiding feature developed by MrSelfDestrukt
    - New advanced visibility test (almost done, only need to test it now and decide whether its going to replace or be an alternative to the original light based test) Details here and here



    Description:

    AntiXRay hides ores from players by turning them into stone until they have been exposed, thus making it impossible for any client side hacks to detect them, as their location is not sent to the client.

    Backup your world(s) I cannot guarantee that ore doesn't disappear from them due to this plugin. Even if you did not backup, there is a foolproof solution here. If you decide to uninstall, type /axr off, and not delete the ore data file before your ore is restored unless your intention is to strip your worlds from ore.



    Downloads:
    If you upgrade from 0.5.21 it is recommended that you do /axr off first flush out errors from the ore file. If you do not have enough RAM, you can do this in steps using 0.6.9 but you need to set lenient=true in the config file to allow the file to be loaded
    NSCommand <-- Required
    AntiXRay
    Source and old versions

    Features:
    - Specify what ores to hide(works with non ore blocks too as long as they don't use data values or extra data such as chests and signs (use some chest locking plugin for keeping your chests from xrayers)
    - Multi world support
    - Permissions support
    - Stores ore data in binary files (one per world) and only keeps data about loaded chunks in physical memory. It is on average 400 bytes per chunk in and guesstimatedly around 450 in physical memory, so it is reasonably small, but some people might play on huge worlds and want to conserve memory.
    - Saves data about chunks immediately on any changes (they are assumed to be by far sufficciently rare that any performance is won by buffering is neglible. As such it also prevents potential ore duplication on server crashes)
    - chunk and world statistics
    - ingame map of loaded chunks
    - background processes that does not freeze the server
    - dump ore statistics into file and compare them to see the changes in ore content.
    - lots of configuration options

    Ores will become visible under any of these circumstances:
    - A surrounding block is lit by torch and player is within the chunk or adjacent chunk and within 16 blocks to player on Y axis.
    - A surrounding block is lit by a third block broken falling or removed by explosion and player is within the chunk or adjacent chunk and within 16 blocks to player on Y axis (occurs once every 2 seconds, but configurable).
    - A surrounding block is broken or falls or removed by explosion
    - A surrounding block is changed by another plugin (can be cpu intensive if you worldedit a big area for instance - might do a workaround for this)

    Current Limitations:
    - Ores at light level above pitch black on chunk generation will not be hidden e.g. near lava or surface cave entrances.
    - Ores will not be found exploring caves in pitch black (who does that anyway?) These two limitations was to allow a light based visibility test that relies on a test already built into the server, thus avoiding extra performance overhead as well as headache of coding it myself. Despite these limitations, AntiXRay should make it far beyond pointless to search for ores using XRay or transparent textures.
    - Gravel and sand dropping on chunk generation may expose ore. This is assumed to be rare enough to have neglible effect.
    - The data file will not repack itself. The ratio between generated ore and mined ore is assumed to be very high, and the file size is considerably small but nonetheless, should you want to "repack" it, just turn axr off and on and the new file will be smaller excluding the gaps between chunk entries. But again, do some basic math and count the amount of ore blocks mined in total, multiply that by 2 bytes. After a month of mining 10000 ore blocks, you shaved 20k off that 3M file.
    - If you place a torch there is a tiny delay as seen in the video due to client side prediction and lag between the time the info of the ore to get back to the client from the server. This can seem unnatural so I might make a better vision test later that doesn't rely on light. However it would be more expensive in terms of cpu cycles.
    - If you have a slow server or a lot of players, you might want to remove coal from the config list. It speeds it up at least 200%. There are some optimizations I can do that I might add later that will speed up things further.

    Commands:

    /axr on - hides all unlit ore
    /axr off - reveals all hidden ore (and deletes the data file!)
    /axr on <world> - hides all unlit ore in specified world
    /axr off <world> - restores ore in specified world
    /axr worlds - world statistics
    /axr chunk - chunk statistics at chunk player is on
    /axr chunk <x> <z> - chunk statistics at specified chunk
    /axr map -shows map of loaded chunks in current world
    /axr map <world> -shows map of loaded chunks in specific world
    /axr map <zoom>
    /axr map <world> <zoom>
    /axr map <x> <z>
    /axr map <world> <x> <z>
    /axr map <zoom> <x> <z>
    /axr map <world> <zoom> <x> <z>
    /axr show
    /axr show <world>
    /axr hide
    /axr hide <world>
    /axr dump <world> <file>
    /axr diff <filein1> <filein2> <fileout>
    /axr gen <world> <x1> <z1> <x2> <z2> command for generating a rectangular area of chunks
    /axr gen copy <world1> <world2> command for generating all the chunks in world2 that are registered in world1
    /axr pack <world> - removes dead space in ore file (not that there is much from just mining but the axr chest will create significant amount of dead space.
    Auto-backup, that will backup your ore file on startup
    /axr backup <world> - backs up the ore file of the world if and only if the file passes the corruption test
    /axr test <world> - test the ore file and memory for errors for a specific world
    /axr test - test the ore file and memory for errors for all worlds
    /axr mirrorworld <world1> <world2> - creates a world world2 with the same seed as world1.
    These functions are not recommended for use unless you know what you're doing: (they can be destructive of tile entites)
    /axr chunk regen - regenerate chunk (to as it was when world was initially generated)
    /axr chunk regen <x> <z> - same but for specified chunk
    /axr chunk regen <x1> <z1> <x2> <z2> - same but for axis aligned rectangular area
    /axr chunk regen ore - only regenerate ores in chunk at player position
    /axr chunk regen ore <x> <z> - same but for specified chunk
    /axr chunk regen ore <x1> <z1> <x2> <z2> - same but for axis aligned rectangular area

    Note about regeneration: ores, trees, flowers and mushrooms are random each time and not tied to world seed (bukkit/mc issue)

    permissions:

    antixray.axr.on
    antixray.axr.off
    antixray.axr.worlds
    antixray.axr.chunk
    antixray.axr.chunk.regen
    antixray.axr.chunk.regen.ore
    antixray.axr.map
    antixray.axr.show
    antixray.axr.hide
    antixray.axr.dump
    antixray.axr.diff
    antixray.axr.gen
    antixray.axr.gen.copy
    antixray.axr.test
    antixray.axr.pack
    antixray.axr.backup
    antixray.axr.mirrorworld
    config.txt:

    timerms - the time between light check by broken third block in milliseconds.
    maxdep - buffer size for number of ores that can occur in a chunk - don't change unless you have another plugin that adds tons of ore.
    maxheight - is the number of Y-levels in your map.
    ChunkFileBuffer - sets how much is buffered for new chunks to be stored until the index is rewritten (at the end of the file.)
    Materials - what ores you want to hide. (has to have same number of elements as maxys)
    maxys - the first Y level from bottom they cannot occur at. (has to have same number of elements as Materials)
    worlds - what worlds are loaded at startup (comma separated)
    autostart=all (normal) worlds are loaded at startup (unless CFGworlds is set)
    nounload = keeps all ore data in physical memory
    debug - turning on writes to a debug file keeping track of important info that may be needed to solve bugs or figure out why lag occurs
    fileindexdebug - turning on debug file needed as a quick check of the consistency of your ore file
    mapcol - the chatcode colour of each type of block in ascending order, shown in /axr map
    mapwidth - the width of the map shown in /axr map
    mapheight - the height of the map shown in /axr map
    schedulerload - 0-100 percentage of time going to execute any background process.
    schedulerstatustimer - time in millisecs between each status report of a background process
    filterorenotinstone - filters ore upon exposition that is not in stone (can be used to restore ore from a backupped ore file or ore file generated from a fresh world with same seed)
    autorepack - pack ore files automatically at startup - on by default
    autobackup - backup ore files automatically at startup(requires autorepack) - on by default
    maxfaces - specify max amount of exposed faces per chunk before error occurs
    lenient - ignore lindex errors when loading file (useful if you have them from before and want to filter them out)
    All CMD_... options are for redefining the commands so you can type something else.


    changelog:
    v0.6.10
    • Fixed Array index out of bounds in listindex accessing materials that has not been loaded yet.
    v0.6.9
    • Added /axr mirrorworld <world> <mirrorworld> command
    v0.6.8
    • Fixed NPE when trying to expose ores in world hole.
    v0.6.7
    • checking whether wrong file exist during repack.
    v0.6.5
    v0.6.6
    • fixed NPEs in some commands that can occur if you use it and the world is off.
    v0.6.5
    • fixed open file pointers during repack.
    v0.6.4
    • fixed NPE during repack when load fails.
    v0.6.3
    • fixed NPE when running test on all worlds and not all worlds are on
    • added various memory checks and chunk data entry overwrite checks
    v0.6.2
    • fixed NPE when trying to flush the debug file when debug file is turned off.
    v0.6.1
    • added lenient config option to ignore lindex errors when loading file (useful if you have them from before and want to filter them out)
    • added more information on error when loading from file
    • added config option maxfaces to specify max amount of exposed faces per chunk before error occurs
    v0.6
    • /axr off now gradually unregisters chunks - as a workaround to what appears to be a problem with chunks not getting fully removed from memory despite trying both unloadchunk calls through bukkit. This allows one to shut down the server and continue restoration after a restart if one does not have enough RAM
    • /axr pack <world> - removes dead space in ore file (not that there is much from just mining but the axr chest will create significant amount of dead space.
    • /axr backup <world> - backs up the ore file of the world if and only if the file passes the corruption test, also packs the new file.
    • /axr test <world> - test the ore file and memory for errors for a specific world
    • /axr test - test the ore file and memory for errors for all worlds
    • autorepack config option - pack ore files automatically at startup (if and only if the file passes the corruption test) - on by default
    • autobackup config option - backup ore files automatically at startup(if and only if the file passes the corruption test, and also requires autorepack) - on by default
    • new .ore extension for ore files (rename your old files)
    • removed glowing redstone ore from default ore list (never occurs naturally anyway)
    • fixed faulty scanning issue
    • fixed hopefully last exposed ore face index error
    • fixed false positive in memory check
    • debug.log flushed when error occurs (it is otherwise flushed once in a period of time)
    • more details in debug log when error occurs
    • removed lindex spam in debug log until lindex error occurs
    v0.5.21
    • Fixed /axr gen not triggering scan anymore
    • Fixed /axr gen not unloading chunks
    • Fixed (workaround) huge memory leak during /axr off /axr show /axr hide and /axr gen caused by bukkit's unloadchunk function
    v0.5.20
    • Additional file corruption checks that will make noise as soon as something goes wrong
    v0.5.19
    • Fixed another potential index derangement bug.
    v0.5.18
    • Fixed array out of bounds exception during previous fix
    v0.5.17
    • Fixed a couple of bugs offsetting exposed ore face indicies when mining adjacent block potentially causing array out of bounds exceptions at a later stage and the revealing of wrong ores when exposed to light.
    • Added debug logging of exposed ore face indices when found, as well as fault intolerant check that will warn you about any corruption of the indices after the event.
    v0.5.16
    • fixed half of ore not being hidden when a chunk is generated on load.
    • removed various unnecessary details to be logged in debug.log
    v0.5.15
    • fixed bug restoring ore, hiding and showing in wrong world
    • revert hack to set block material of a chunk to physical updates due to lacking javadocs to figure out what function to call
    v0.5.14
    • Switched to non physics updating block material setting hack
    • Updated to #733
    v0.5.13
    • Added detailed debug logging of background processes.
    • removed logging of filepointer
    v0.5.12
    • fixed failed scan after /axr gen unloading chunks that were originally not loaded, consequently also /axr gen causing server to freeze and timeouts on clients.
    v0.5.11
    • fixed /axr gen not unloading chunks that were originally not loaded
    v0.5.10
    • /axr gen and /axr gen copy now actually usable
    v0.5.9
    • ore in stone filter now also applies to /axr off and /axr show (not just when it is found by light detection)
    v0.5.8
    • added /axr gen command for generating a rectangular area of chunks
    • added /axr gen copy command for generating all chunks that are registered in another world
    v0.5.7
    • Configuration option CFGfilterorenotinstone implemented, that allows filtering of ores not in stone (can be useful in recovering lost ore from a world with the same seed)
    v0.5.6
    • fixed ore regen not working when axr is off in that world
    • removed physics lock spam
    v0.5.5
    • fixed more concurrency errors during background processes (hopefully for the last time)
    v0.5.3
    • fixed more concurrency errors during background processes
    v0.5.2
    • fixed concurrency errors during background processes
    v0.5.1
    • fixed debug off in config file causing unable to start (again! although different place now)
    v0.5
    • ore stats dump - listing all chunks ore counts into a text file
    • ore stats diff - showing difference between two ore stats dump files (these two tools are useful if you are worried that your ores might disappear)
    • show command - reveals the ore but does not unregister them or delete the file
    • hide command - hides again ore that was revealed with show.
    • show, hide and ore stat dump are background processes that does not freeze the server.
    • axr off is now a background process
    • load percentage of background processes can be configured
    • specify map zoom and center
    v0.4.1
    • Fixed file index debug listing not showing
    • file index debug listing can be turned off in config.txt (fileindexdebug)
    • area regeneration functions now tolerate any two coorner in rectangle in any order.
    • fixed debug off in config file causing unable to start
    v0.4
    • added axr map command for showing map of loaded chunks
    • fixed light expose unmapped material (probably why you got grass/smooth stones)
    • fixed light expose restored block being block at exposed face
    • fixed light expose no chunk location offset (why you got it at spawn)
    • fixed exposed face location wrong axis (probably floating blocks)
    • removed unnecessary cacheing of chunks at startup by not using chunks as keys for file index(probably solve memory problems for large worlds)
    • bypassing unnecessary cacheing of blocks using minecraft hackery.
    • revised scan algorithm, bypassing bukkit wrapcode resulting in at 5-10 times faster scanning.
    • fixed queries on unloaded sidechunks during scan resulting in loading and even generation of chunks that on top of it due to eventlock get ignored by onChunkLoad, thus leaving chunks of unhidden ore.
    • fixed light expose filling 0s after removed index
    • probably more bug fixes, can't remember them all
    v0.3.3
    • world statistics: type axr world - shows also what worlds are on/off
    • chunk statistics when axr is off no longer causes world to be registered without any chunks being loaded
    • axr on doesn't show NaN when there is nothing to hide
    • proper colouring
    • empty chunks are no longer ignored.
    v0.3.2
    • Fixed potential ore type shift bug
    • Moved listindex before file is loaded so debug info can be displayed even if it crashes while loading.
    • added rectangular area regen functions
    v0.3.1
    • Fixed silly nullpointer exceptions
    v0.3
    • Specify what worlds to turn on and off
    • Specify what worlds to load at startup
    • option to keep all ore data in memory
    • chunk statistics (useful for checking that your ore doesn't disappear or duplicate)
    • chunk regenertaion (restore a chunk to state at world generation)
    • chunk ore regenertaion (restore only ore)
    v0.2.5
    • Fixed some other bugs related to exposed-face-to-ore index
    • Index debug file working again (it was still expecting 0.1.5 files)
    • Added potential ore file corruption warnings to debug file output
    v0.2.4
    • Fixed bug locating exposed-face-to-ore index elements having no array bounds check.
    v0.2.3
    • Fixed bug exposed-face-to-ore index elements not being removed
    v0.2.2
    • Fixed bug exposed-face-to-ore index not being updated when ores are recovered and removed from hidden ore list (new bug in 0.2)
    • Fixed bug at y levels above 128-16 looking for ores above the map
    v0.2.1
    • Uses NSCommand now (it did right from the start but its now a separate plugin)
    • auto-creation of config files
    • defaults to ops only when permissions is not present
    v0.2
    • Light detection optimization based on a separate list of faces exposed to nonsolid materials (this might not work with all materials yet such as stairs and singlesteps, but its not like the world generator puts them in the caves anyway) resulting in at least 10 times faster execution of light checks. This should reduce all lag that's not due to scanning new chunks for ore.
    • Once again more detailed debug log
    v0.1.5
    • Fixed bug in ore restoring function causing large veins of ore to be generated out of nothing
    • More detailed debug log
    v0.1.4
    • Removed file corruption check that's hogging up some cpu cycles during file load and write events (the latter occured during scan event) - so this should speed up scan events.
    • pseudo error "load error 1" moved to debug log.
    • Added 1 tick delay of scan in onload event since it appears bukkit fires it before the chunk is populated with ore. This fixed the bug of ore appearing if you teleport or walk far away from initially scanned chunks.
    • removed physics event logging since it appears to always be neglible.
    • Added message at startup informing you about the waiting time of scanning all loaded chunks may take a while.
    v0.1.3
    • Fixed bug starting server without plugin data folder causing it unable to write debug file
    • Added more debug file details (when its scanning, loading from file, or just loading from memory when neither is shown)
    • Those who who don't hide coal, should experience faster chunk scanning now
    v0.1.2
    • Fixed bug due to player location being null for some weird reason
    • Added debug logging of time spent on the main time consuming procedures.
    v0.1.1
    • Fixed config file not loading properly
    • Removed wtfexception spam
    v0.1
    • Initial Release
    Donate (Not necessary but appreciated)
     
  2. Offline

    asdaarg

    see first post for usage
     
  3. Offline

    Donny

    Was just about to edit ;)

    how do I go about finding the coords for the world borders?
    flying will work
    but is there an easier way?

    world:
    radius: 2000
    z: 346.29689269608036
    x: 32.081907233510975

    ^above is center of my world and the radius around it. Is there anyway I can figure it out from that? (its actually square)
     
  4. Offline

    asdaarg

    There are various map software out there that you can use. Anyways divide by 16 to get chunk coordinates
     
  5. Offline

    Donny

    /axr gen <world> <x1> <z1> <x2> <z2>
    ^I need to do that for every chunk? (if so would you name one of the map softwares)
    I'm confused

    I thought it was a cuboid selection say one being north west corner other south east?

    Regarding the settings for axr
    "mapwidth=500
    mapheight=200"
    ^ is that all it covers? So I would just need to get the chunks from this area? I don't understand how this is plausible.
     
  6. Offline

    asdaarg

    What sort of errors did you get? What version are you using?

    x1,z1 is one corner
    x2,z2 is the opposite corner

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  7. Offline

    Donny

    I tried, still an invalid command

    "/axr gen world 1550 -1650 -1550 1650"
    Only "/axr gen" works when axr is on
    Nothing is working that you are telling me.
    also "Anyways divide by 16 to get chunk coordinates" what does anything have to do with this? You are very confusing.
     
  8. Offline

    Ratchet

    when going from 064 to 065 do you need to axr off on?
     
  9. Offline

    mmerner

    running 0.6.4, i see 0.6.5 is out.


    this was the first startup with antixray.
    2011-05-18 21:46:07 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-18 21:46:07 [INFO] Loading properties
    2011-05-18 21:46:07 [INFO] Starting Minecraft server on *:25565
    2011-05-18 21:46:07 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-729-g5ee3f0f-b766jnks (MC: 1.5_02)
    2011-05-18 21:46:07 [INFO] Preparing level "world"
    2011-05-18 21:46:07 [INFO] Preparing start region
    2011-05-18 21:46:09 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-05-18 21:46:09 [INFO] LWC Loading shared objects
    2011-05-18 21:46:09 [INFO] LWC Native library: plugins/LWC/lib/native/Linux/amd64/libsqlitejdbc.so
    2011-05-18 21:46:09 [INFO] [LogBlock] Connecting to root@jdbc:mysql://localhost:3306/minecraft...
    2011-05-18 21:46:10 [INFO] motd version 1.0 is enabled!
    2011-05-18 21:46:10 [INFO] MCBans: mcbans version 2.9.1 is enabled!
    2011-05-18 21:46:10 [INFO] MCBans: Debug mode active!
    2011-05-18 21:46:10 [INFO] MCBans: Checking for premium!
    2011-05-18 21:46:10 [INFO] MCBans: Server NOT premium!
    2011-05-18 21:46:10 [INFO] NSCommand 0.2 enabled.
    2011-05-18 21:46:10 [INFO] [LogBlock] Permissions enabled
    2011-05-18 21:46:10 [INFO] [LogBlock] Scheduled consumer with bukkit scheduler.
    2011-05-18 21:46:10 [INFO] Logblock v0.15b enabled.
    2011-05-18 21:46:10 [INFO] [Permissions] version [2.7.3] (Phoenix) loaded
    2011-05-18 21:46:10 [INFO] AXR: Loading/Scanning Chunks
    2011-05-18 21:46:11 [INFO] 0/625 chunks loaded
    2011-05-18 21:46:13 [INFO] 512/625 chunks loaded
    2011-05-18 21:46:14 [INFO] AXR: hidden:160028 ores in 625 chunks 0.78138671875%
    2011-05-18 21:46:14 [INFO] AntiXRay 0.6.4 enabled.
    2011-05-18 21:46:14 [INFO] [iChat] Found Permissions (v2.7.3)
    2011-05-18 21:46:14 [INFO] iChat (v2.2.3) enabled
    2011-05-18 21:46:14 [INFO] LWC Loaded 116 locale strings (0 overrides)
    2011-05-18 21:46:14 [INFO] LWC Using Nijikokun's permissions plugin for permissions
    2011-05-18 21:46:14 [INFO] LWC Loading SQLite
    2011-05-18 21:46:14 [INFO] SQLite Using: Native
    2011-05-18 21:46:14 [INFO] LWC At version: v2.31
    2011-05-18 21:46:14 [INFO] [EasyTP] Enabled.
    2011-05-18 21:46:14 [INFO] Done (0.650s)! For help, type "help" or "?"
    2011-05-18 21:46:15 [INFO] MCBans: Sent From: Console .::. Potential Login
    2011-05-18 21:46:15 [INFO] MCBans: Sent From: Console .::. Player triggered prelogin event!
    2011-05-18 21:46:15 [INFO] MCBans: Sent From: Console .::. Online Mode.
    2011-05-18 21:46:15 [INFO] MCBans: Sent From: Console .::. Player check with mcbans.com started.
    2011-05-18 21:46:15 [INFO] MCBans: Sent From: Console .::. Recieved reply.
    2011-05-18 21:46:15 [INFO] MCBans: Sent From: Console .::. Check completed!
    2011-05-18 21:46:15 [INFO] james_saccone [/173.238.xxxx:62607] logged in with entity id 139
    2011-05-18 21:46:22 [INFO] MCBans: Sent From: Console .::. Potential Login
    2011-05-18 21:46:22 [INFO] MCBans: Sent From: Console .::. Player triggered prelogin event!
    2011-05-18 21:46:22 [INFO] MCBans: Sent From: Console .::. Online Mode.
    2011-05-18 21:46:22 [INFO] MCBans: Sent From: Console .::. Player check with mcbans.com started.
    2011-05-18 21:46:22 [INFO] MCBans: Sent From: Console .::. Recieved reply.
    2011-05-18 21:46:22 [INFO] MCBans: Sent From: Console .::. Check completed!
    2011-05-18 21:46:22 [INFO] mmerner [/174.102.xxx:56810] logged in with entity id 388
    2011-05-18 21:46:22 [WARNING] Task of 'AntiXRay' generated an exception
    java.lang.NullPointerException
    at com.asdaarg.bukkit.antixray.AWorld.BandExpose(AWorld.java:463)
    at com.asdaarg.bukkit.antixray.AXR.Expose9Chunks(AXR.java:56)
    at com.asdaarg.bukkit.antixray.AntiXRay$2.run(AntiXRay.java:105)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:360)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-18 21:46:25 [INFO] [§cMod§f] james_saccone: hi
    2011-05-18 21:46:51 [INFO] MCBans: Sent From: Console .::. Potential Login
    2011-05-18 21:46:51 [INFO] MCBans: Sent From: Console .::. Player triggered prelogin event!
    2011-05-18 21:46:51 [INFO] MCBans: Sent From: Console .::. Online Mode.
    2011-05-18 21:46:51 [INFO] MCBans: Sent From: Console .::. Player check with mcbans.com started.
    2011-05-18 21:46:51 [INFO] MCBans: Sent From: Console .::. Recieved reply.
    2011-05-18 21:46:51 [INFO] MCBans: Sent From: Console .::. Check completed!
    2011-05-18 21:46:51 [INFO] Abby999 [/70.48.xxxx:50219] logged in with entity id 959
    2011-05-18 21:47:14 [INFO] Connection reset


    this has been fixed in 0.6.5 it sounds?:
    (I think I did /axr off and /axr on a few times and my client crashed? I forget)

    2011-05-18 22:57:21 [INFO] FILE LINDEX ERROR 7
    2011-05-18 22:59:23 [INFO] FATAL ERROR: negative face count:-1@877598
    2011-05-18 23:05:04 [INFO] mmerner lost connection: disconnect.quitting
    2011-05-18 23:05:04 [INFO] Connection reset
     
  10. Is there any way you could make an addon to counterract the mod that highlights special ores? It still makes the other blocks invisible, but this mod doesnt stop them from seeing the highlighted spots where the diamond and other junk is. It comes with Zombe's mod and a few others. All my friends have it and i dont want them in my server mining all the good stuff.
     
  11. Offline

    RazMaTaz

    Use minemapper to find min / max coordinates. And I'm sure you are using your world name for "world" ?

    http://minemapper.codeplex.com/

    I can say that /axr gen does work when axr is off unless something is broken in new builds, that I have not tested.

    World coordinates/ 16 = chunk coordinates.. look at your x,z with then /axr chunk to get your chunk info and you should notice that x/16, z/16 = the chunk coord.

    Correct me if I'm wrong Asdaarg

    See post http://forums.bukkit.org/threads/se...nt-texturepacks-766.12527/page-12#post-229063 and ignore the /axr gen copy command

    If you do a big area you will need to give the server lots more memory.. when I did my world chunks were 200x200 and took 5 gigs.
     
  12. Offline

    fugue2005

    is there a difference between light from lava and sunlight levels?


    also, is this supposed to hide the ore automatically on server restart?
     
  13. Hi !

    Is there a way to use it for players (so they can cheat) and not for admin (cause i use to see hidden tunnel, etc ...) ?

    What do Show and Hide command exactly ?
     
  14. Offline

    asdaarg

    Huh? Players can cheat while admins cannot? What do you mean hidden tunnel?
    They will reveal all ore, respective hide them again without unregistering the ore.

    I'm not entirely sure but I think the function i'm using now will hide ore that would be lit at full sunlight level.
    The ore is replaced by stone until you use /axr off or /axr show so they will stay hidden even when you restart.

    There is a way that i've been working on for some time, but it is not fully complete.

    I hope. Nobody has reported errors with 0.6.5 yet, so maybe that was it.

    It shouldn't really matter because 0.6.5 will repack it. Unless you changed it in confix.txt

    It's all correct.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  15. Offline

    EliteSoldier

    This doesn't hide half of lava, pretty many ores can be found near it, and however, iff you move a bit more far from spawn, ores can be simply seen. And dunno, but it takes a lot of my pc speed to use, when i am launching a server without it, CPU usage: 20%, and when with it, 60% dunno why.
     
  16. Offline

    lucky257

    I have looked at that and i think im fing something up i cant find the chunks with a world editor (i guess cause i am a noob?) but if any 1 can tell me a good program to use that would be grate. Also I would love to help u but i think i would do more harm than gain because i messed up and i have 10 different debug logs nd i don't know which 1 was the first. I than you for making this plugin even though i have had problems i do not blame you if i have any more i will be sure to send you the debug log.
     
  17. Offline

    Ratchet

    064 to 065:

    2011-05-20 15:01:19 [INFO] AXR: Loading/Scanning Chunks
    2011-05-20 15:01:21 [INFO] repack
    2011-05-20 15:01:21 [INFO] CORRUPTION WARNING: suspicious face count:25394@11803
    2011-05-20 15:01:21 [INFO] Error: Repack failed - Please contact the author.
    2011-05-20 15:01:21 [INFO] AXR: hidden:0 ores in 0 chunks NaN%
    2011-05-20 15:01:21 [INFO] world 'Niflheim' does not exist
    2011-05-20 15:01:21 [INFO] AntiXRay 0.6.5 enabled.

    why can't it find that world? what does repack failed mean, why are no ores being hidden? :(
     
  18. Offline

    asdaarg

    Use minemapper, Raz linked to above.

    because the repack failed. It failed because your ore file got corrupted probably during a repack in 0.6.4. I still don't know if 0.6.5 fixed this - for that you have to start with a fresh file.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  19. Offline

    Ratchet

    will the ore in my world be there or will it be turned to stone?
    should I revert to 064 and axr off then start anew with 065?

    I went back to 064 and i'm still getting this:

    2011-05-20 15:23:59 [INFO] AXR: Loading/Scanning Chunks
    2011-05-20 15:24:01 [INFO] repack
    2011-05-20 15:24:01 [INFO] CORRUPTION WARNING: suspicious face count:25394@11803
    2011-05-20 15:24:01 [INFO] Error: Repack failed - Please contact the author.
    2011-05-20 15:24:01 [INFO] AXR: hidden:0 ores in 0 chunks NaN%
    2011-05-20 15:24:01 [INFO] world 'Niflheim' does not exist
    2011-05-20 15:24:01 [INFO] AntiXRay 0.6.4 enabled.

    this really sucks. why the heck do things keep getting corrupted? the plugin is not stable *at all* probably causing more problems than just letting xrayers go to town.. yeesh :(

    can you advise me on what to do? I feel like everything I do just makes the problem worse
     
  20. Offline

    lucky257

    what would be the rectangle are of 465920
     
  21. Offline

    asdaarg

    I honestly don't know. It doesn't get corrupted for me at all. You can restore the ore using the method described under description

    no idea what that is suppose to mean

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  22. Offline

    Ratchet

    based on what I pasted is it only the world Niflheim that seems to be broken then?
     
  23. Offline

    asdaarg

    try /axr off <world> on the others
     
  24. Offline

    lucky257

    I'm sorry i said the wrong thing. with the x x1 z n z1 with Min:(-564|-125) and Max(83|736) be?
     
  25. Offline

    Ratchet

    will /axr chunk regen ore <x1> <z1> <x2> <z2> - not regenerate ore without having to go through the map copying stuff? does it regen the ore based on the AxR index files or based on the seed?

    also my maps are like 500mb each but I know that the border limit is set to 10k, could I not just enter the command to regenerate ore across the entire map? what would be the <x1> etc for that? if I were to download and reupload my maps my server would be offline for like half the day, my upload speed sucks. a method to fix it on-server would really be best
     
  26. Offline

    asdaarg

    divide them by 16 then pair them as you like, one x and one z into a corner, then pair the other two and you have both corners.

    regen functions are not recommended. Signs, chests and such will not fare well.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  27. Offline

    Ratchet

    okay then can you tell me exactly what is corrupt? because my index file for the world Niflheim has no errors in it, so is it the .ore file? I also have a .new file for it too. can I not restore them based on the index file? I thought I read that somewhere in this thread.

    strange thing is there is a ton of errors in the main worlds index file but it's only complaining about the other world being corrupted?
     
  28. Offline

    lucky257

    So it will be /axr chunk regen ore -35.25 5.1875 -7.8125 46
     
  29. Offline

    asdaarg

    Yes if your index file shows reasonable chunks and no errors, you should be able to do it. Start with lenient=true and then use a multiworld plugin to import the other world (e.g. with my netherportal: /world create <worldname> normal)

    gen, not regen, and leave out the decimals. Also put in world name

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  30. Offline

    Ratchet

    i'm not sure I understand you, the world is already "imported" and part of the server, I was thinking more along the lines of deleting the ore files and then doing /axr off/on or something to get it to "refresh" based on the index file? or will that just not work
     
  31. Offline

    asdaarg

    you have to import a copy of the world with the same seed and deleted region folder so it can generate a identical world with the ore where it used to be. Then when that is done, the next gen will be done with axr on so it scans them. Then you have the ore locations in the ore file. Then you remove the copy world from your server again, and rename the ore file so your world that lost ore can use it to get it back. But anyways follow exactly the instructions in the list, but this is just the general idea.
     

Share This Page