See you started some scripting client-side. I expect to receive even more questions why I haven't used js instead :). Btw, can't find you on discord for some reason.
Haha, maybe :P btw I'd be interested in supporting the scarpet language too, if perhaps an easy API is added where I can run scarpet scripts without running carpetmod, and be able to add my own "builtin" functions. It would also be nice (although I don't know how practical this would be), if the Minecraft server interface in scarpet could be decoupled from the Minecraft server itself. That would allow someone to easily implement scarpet scripting in Minecraft 1.12, which I'm sure would make a lot of people happy :)
@Earthcomputer (Boosting your chat YT score, by replacing temporarily inability to talk over discord). At some point I am planning to yeet scarpet out of carpet mod entirely (not even as a carpet dependency) as it doesn't need it to be part of it honestly, but currently since scarpet and mc both change quite rapidly, maintaining a few independent active projects (scarpet, carpet, carpet-extra, carpet-client?) would be too much for me. Your demo showed me that I really don't need certain API functions to be server only, and will likely decouple server specific calls to its own class allowing to have client scripts as well. Scarpet is extendable right now, as MC api is just an addon to the code language implementation and defining build-in functions is quite straightforward. I am more than happy to continue this discussion here.
@Earthcomputer Actually, giving it a second thought - extending it to the client, while doable would be very, very dangerous. Running scripts on the server is fine because you own it, but running scripts to control player and analyze world around it is the cheatest cheat you can do (I assume you would be able to run scripts on vanilla servers with that). I will probably still separate generic mc api and server api, but I won't probably do the client portion or don't talk publically about it.
@gnembon I made nuclear reactor for everyone. I will not make nuclear bomb for everyone. And I will not talk about the fact, thet reactor is basically bomb, just bit different
I might sound stupid but I have a question about enchantment cracking. You once said that servers send you the first 12 bits of enchantment seed to show the displays, if it is possible to retrieve these 12 bits from a game's memory(pointers, etc), is it even viable to try to guess the rest stuff based on these 12 bits in the same way enchantment cracker guesses the player seed from 2 enchantment seeds?
The mod already takes advantage of these 12 bits. I'm not sure how pointer paths work in Java, but those 12 bits should be accessible through ((ContainerEnchantment) Minecraft.instance.openContainer).xpSeed
Is it possible to calculate where the next position of a dragon egg would be on a 1.8.8 Minecraft Server?
1 like
I am Indecent.2020-12-19 09:29:43 (edited 2020-12-19 09:33:26 )
maybe add some perimeters to avoid water/lava overall pretty cool edit: looked at code maybe you fixed it? with the: var canWalkOn = function(block) { if (canWalkThrough(block)) return false; if (BlockState.defaultState(block).liquid) return false; return true; }; right?
I thought about using scarpet before making the scripting API. However, this is on the client, and iirc gnembon had coupled scarpet too much with server logic for me to easily reuse it, so I went with javascript instead.
@Earthcomputer I thought that scarpet itself is currently decoupled from MC altogether, but its true that the actual API that it uses relies pretty much on the server information. It is actually a really good point that I should separate what is universal in the MC API and separate from the server API, so that with carpet-client I could just add clientAPI for client side scripts.
Well, you should really be able to leave it and trust that it doesn't break. You can see in the video a couple of times it broke and I had to take over manual control. Also it sometimes misses ores under the players feet.
@Earthcomputer I have a question whitch randomseed is used to determine whitch Player collects an item if your throw it in a mess of Players? And can you manipulate this so that you will always collect the Item?
@MsCovado It's a Minecraft bot client which includes an auto branch miner. I haven't tried it out myself so I don't know how it compares, but this was meant to be a quick test script to test my scripting API :)
it's not legal on most servers. there are definitely servers that would be okay with it but usually AFKing things that aren't afk-able in vanilla minecraft aren't allowed. Plus, with the camera moving so quickly from block to block it's sure to alert any good anticheat
I was wondering what it would do when it hit lava, lol. I guess that just means there's some room for improvement.
50 likesSee you started some scripting client-side. I expect to receive even more questions why I haven't used js instead :). Btw, can't find you on discord for some reason.
41 likesReplies (5)
Haha, maybe :P
11 likesbtw I'd be interested in supporting the scarpet language too, if perhaps an easy API is added where I can run scarpet scripts without running carpetmod, and be able to add my own "builtin" functions.
It would also be nice (although I don't know how practical this would be), if the Minecraft server interface in scarpet could be decoupled from the Minecraft server itself. That would allow someone to easily implement scarpet scripting in Minecraft 1.12, which I'm sure would make a lot of people happy :)
@Earthcomputer (Boosting your chat YT score, by replacing temporarily inability to talk over discord). At some point I am planning to yeet scarpet out of carpet mod entirely (not even as a carpet dependency) as it doesn't need it to be part of it honestly, but currently since scarpet and mc both change quite rapidly, maintaining a few independent active projects (scarpet, carpet, carpet-extra, carpet-client?) would be too much for me. Your demo showed me that I really don't need certain API functions to be server only, and will likely decouple server specific calls to its own class allowing to have client scripts as well. Scarpet is extendable right now, as MC api is just an addon to the code language implementation and defining build-in functions is quite straightforward. I am more than happy to continue this discussion here.
8 likes@Earthcomputer Actually, giving it a second thought - extending it to the client, while doable would be very, very dangerous. Running scripts on the server is fine because you own it, but running scripts to control player and analyze world around it is the cheatest cheat you can do (I assume you would be able to run scripts on vanilla servers with that). I will probably still separate generic mc api and server api, but I won't probably do the client portion or don't talk publically about it.
8 likes@gnembon Yeas it would be very dangerous..
4 likes@gnembon I made nuclear reactor for everyone. I will not make nuclear bomb for everyone. And I will not talk about the fact, thet reactor is basically bomb, just bit different
0 likesAh so this is what mojang wanted with this "maximize player interaction" over farms... it makes sence now, player meant in game player....
19 likeslove your work my dude
0 likesAlways love your videos, Earthcomputer
1 likeBranch mining is always music to my ears...
2 likesDoes it have any major differences in behavior compared to baritone?
0 likesI might sound stupid but I have a question about enchantment cracking. You once said that servers send you the first 12 bits of enchantment seed to show the displays, if it is possible to retrieve these 12 bits from a game's memory(pointers, etc), is it even viable to try to guess the rest stuff based on these 12 bits in the same way enchantment cracker guesses the player seed from 2 enchantment seeds?
1 likeReplies (1)
The mod already takes advantage of these 12 bits. I'm not sure how pointer paths work in Java, but those 12 bits should be accessible through ((ContainerEnchantment) Minecraft.instance.openContainer).xpSeed
1 likeIs it possible to calculate where the next position of a dragon egg would be on a 1.8.8 Minecraft Server?
1 likemaybe add some perimeters to avoid water/lava overall pretty cool
0 likesedit: looked at code maybe you fixed it? with the:
var canWalkOn = function(block) {
if (canWalkThrough(block))
return false;
if (BlockState.defaultState(block).liquid)
return false;
return true;
};
right?
lol that's pretty crazy!
103 likesReplies (6)
yes
0 likesyes
0 likesyes
0 likesyes
0 likesyes
0 likesyes
0 likesYou're controlling Minecraft in Javascript? How does that compare to using scarpet?
9 likesReplies (2)
I thought about using scarpet before making the scripting API. However, this is on the client, and iirc gnembon had coupled scarpet too much with server logic for me to easily reuse it, so I went with javascript instead.
6 likes@Earthcomputer I thought that scarpet itself is currently decoupled from MC altogether, but its true that the actual API that it uses relies pretty much on the server information. It is actually a really good point that I should separate what is universal in the MC API and separate from the server API, so that with carpet-client I could just add clientAPI for client side scripts.
4 likes4:20 music syncs with mining
1 likeThe ending is tragic, almost made me sad.
5 likesVery cool! What's wip about it?
1 likeReplies (1)
Well, you should really be able to leave it and trust that it doesn't break. You can see in the video a couple of times it broke and I had to take over manual control. Also it sometimes misses ores under the players feet.
2 likeshow do you change it's direction, mine always mine east
1 likeSo, when bot digging perimeters xD great job!
14 likesReplies (4)
or bot that builds world eater.
4 likes@Doctor Sploosh the future is now
0 likesYou should both try baritone, it can be used for exactly that
0 likes@Doctor Sploosh I thought schematica printer does it
0 likesawesome! also why did you delete discord?
15 likesBut can it be used on server?
2 likesReplies (1)
Should work, clientcommands is Clientside.
2 likesThat isn’t actually a bot, the server is just laggy.
8 likesDo the bot rely on unseen things? If so, anti-xray affect a lot
0 likesReplies (1)
Nope, shouldn't do
1 likeLegit mine from baritone have the same functions
0 likesis this work at servers?
0 likesI think you can just fork Baritone
0 likesCOOL!!!
1 likeDid you have a thing to crack minecraft server world seed ?
2 likeslol that's insane
1 likecool to see some early baritone footage (i'm joking of course)
0 likesHaha awesome :D
5 likesnow that is cool
0 likesHow download branchmine.js?
1 likeReplies (1)
I find how download, but when I run the script, minecraft crashes. May you can help me?
0 likesEnding is oof
0 likesNice
0 likesWhat exactly are you doing with RNG manipulation?
9 likesReplies (8)
Unbreaking manipulation. The pickaxe had unbreaking 3, and you can see that until the player sprinted, the pickaxe took no damage :)
12 likesWait what??? Infinite durability pick axes??????
0 likes@Sploshwazere yes
0 likes@Earthcomputer I have a question whitch randomseed is used to determine whitch Player collects an item if your throw it in a mess of Players? And can you manipulate this so that you will always collect the Item?
1 likeSuper Hase imagine using that at a drop party on a server
0 likes@Sploshwazere that`s what i thought
0 likesSuper Hase I would happily have a copy :)
0 likesOf whatever is used to do that
1 likebaritone has competition 😎
1 likeReplies (1)
@MsCovado It's a Minecraft bot client which includes an auto branch miner. I haven't tried it out myself so I don't know how it compares, but this was meant to be a quick test script to test my scripting API :)
2 likesI like the music. What is it called?
0 likesReplies (1)
See the video description
1 likei mean, fabritone isnt working for me so...
0 likesmine keeps having a error after it mines one block. hmmm
0 likesReplies (3)
mee too, any solutions?
1 liketurns out, you need torch
1 like@Nedi Sawego Yogya a torch? Hm thats weird. Thxx doe
0 likesis it legal on most of servers? uk it do not use xray
0 likesReplies (1)
it's not legal on most servers. there are definitely servers that would be okay with it but usually AFKing things that aren't afk-able in vanilla minecraft aren't allowed. Plus, with the camera moving so quickly from block to block it's sure to alert any good anticheat
0 likesA pickaxe that doesn't break :thinking:
6 likesReplies (4)
big brain rng manip :P
2 likesMending
0 likes@karolak kolo nonono. there isnt even durability loss on that pick. plz watch the video before replying to my comment x.x
0 likes@RR_Minecraft ohh nevermind
0 likescool
1 likeNoice
0 likesÞhaþ just like baritone
0 likes:D
0 likespokeholes?
0 likes0 point in using this when you could use baritone
5 likesReplies (3)
Well hello there. Fancy seeing you here.
0 likesThat's probably true, it was made more to test my scripting API, for a bit of fun. I wasn't expecting anyone to use it :)
4 likes@Earthcomputer now a good scripting api is always a good thing
1 likeКуплю канал за денги, отпишыте пожалуйста!
0 likes