Anti-Xray
Posted 19 August 2011 - 03:41 PM
With thisplugin set to send all stone to the client as ore, i dont think this would work at all unless you wrote some algorithm to find caves, then look for exposed ores in them, but again, it would only work like the texture pack without hacks.
Just some thoughts, and im curious
Posted 19 August 2011 - 03:47 PM
ajvpot said:
With thisplugin set to send all stone to the client as ore, i dont think this would work at all unless you wrote some algorithm to find caves, then look for exposed ores in them, but again, it would only work like the texture pack without hacks.
Just some thoughts, and im curious
Shit coders made the anti-xray plugins. They're quite easy to bypass. I've done it myself.
Posted 19 August 2011 - 03:50 PM
Get the seed of the server (I believe this is possible with Zombe's or something; I've never tried it).
Generate the seed yourself.
Find the diamonds, record their location.
Go to the location on the server.
Posted 19 August 2011 - 03:50 PM
Rallias said:
ajvpot said:
With thisplugin set to send all stone to the client as ore, i dont think this would work at all unless you wrote some algorithm to find caves, then look for exposed ores in them, but again, it would only work like the texture pack without hacks.
Just some thoughts, and im curious
Shit coders made the anti-xray plugins. They're quite easy to bypass. I've done it myself.
So you can bypass "All blocks are ores"? Please, tell me how, or point me in the right direction. It seems quite impossible, at least with the plugin linked in the OP.
silv3rbullet said:
Get the seed of the server (I believe this is possible with Zombe's or something; I've never tried it).
Generate the seed yourself.
Find the diamonds, record their location.
Go to the location on the server.
Wow. I'll have to try that.
Edit: holy fuck it works. 0.o
That seems like an original feature for a client, anti anti xray. Assuming that your target audience has enough cpu power to generate a map as they go, as in singleplayer, you could just have a client generate chunks, and overlay the ores. However this doesnt account for mined ores.
Posted 19 August 2011 - 04:36 PM
My question is does air get converted into stone?
If you know that there is air where a diamond block should be then it's clearly mined.
Posted 19 August 2011 - 07:05 PM
Shit coders made the anti-xray plugins. They're quite easy to bypass. I've done it myself.[/quote]
So you can bypass "All blocks are ores"? Please, tell me how, or point me in the right direction. It seems quite impossible, at least with the plugin linked in the OP.
[/quote]
Well, it takes quite a bit of ram, but if you keep a copy of the bukkit world generator, its not difficult.
Posted 19 August 2011 - 07:33 PM
Posted 19 August 2011 - 07:41 PM
I don't have an issue with ram consumption, and i cant imagine it would be that bad. You could save the generated world to disk, reference it then delete it if it was really necessary.
Posted 20 August 2011 - 06:36 AM
~,~@
Posted 21 August 2011 - 08:33 AM
So, anyone have more ideas on this. I may know how to prevent it, but i wont post it here. Im also working on coding an application to find ores. I'll keep you guys updated
Posted 21 August 2011 - 02:57 PM
Create a thread (if on the client and you h4s t3h sup3r 4we0me supah komput4h).
On the thread, you're going to want to use the same Perlin Noise function as MC, and use the same code MC uses to generate ores.
It's probably something a long the lines of
double noise = octaves.noise(x, z);
if(noise > 0.3f)
{
chunk.setBlock(x, y, z, Block.coal);
}
So basically, check the chunks for ores just like that.It'll probably slow your computer down, although I've never tried it before.
Posted 24 August 2011 - 07:12 PM
ajvpot said:
With thisplugin set to send all stone to the client as ore, i dont think this would work at all unless you wrote some algorithm to find caves, then look for exposed ores in them, but again, it would only work like the texture pack without hacks.
Just some thoughts, and im curious
If only there was a way to make texture packs toggleable in-game idk if this is possible
[img]http://i1037.photobu...images.jpg[/img]
Posted 25 August 2011 - 05:08 AM
This is effective against software that helps you find ores, but it's just biased in a way.
Posted 25 August 2011 - 07:35 AM
What do you mean biased? Its attempt is to cause xray-ers to not see valuable ores below.
Posted 26 August 2011 - 08:23 PM
Posted 26 August 2011 - 09:37 PM
ajvpot said:
Pseudo-code (once again...):
AntiAntiXray extends Thread
{
run()
{
for(int x = 0; x < chunkswidth * chunkwidth; x++)
{
for(int y = 0; y < 128; y++)
{
for(int z = 0; z < chunkslength * chunkslength; z++)
{
float noise = perlinnoiseoctaves.noise(x, y, z);
if(noise > 0.4f)
chunk.get(x, y, z).setBlock(x, y, z, block.ore);
}
}
}
sleep(5000);
}
}
Posted 04 September 2011 - 04:18 PM
Posted 04 September 2011 - 04:22 PM
Yomega said:
Anti-xray sends all unexposed stone blocks to the client as ores.
Posted 04 September 2011 - 04:34 PM
Musiphonix said:
Yomega said:
Anti-xray sends all unexposed stone blocks to the client as ores.
Posted 04 September 2011 - 11:53 PM
Yomega said:
Musiphonix said:
Yomega said:
Anti-xray sends all unexposed stone blocks to the client as ores.
It obfuscates ores as well as stone. It doesnt matter what they send to the client.


