ottomated / turtle-gambit

[OLD] code to connect to minecraft turtles
242 stars 65 forks source link

The Ultimate Guide To Run The Turtle Gambit #40

Open FOREVEREALIZE opened 3 years ago

FOREVEREALIZE commented 3 years ago

How to run the Turtle Gambit

Prerequisites:

Note

I strongly suggest you also open the world.json file and replace its contents with {"world":{}} before running the turtle gambit for the first time. If you have already ran the turtle gambit, don't worry, you can just stop everything, replace the file and start it all again.

If you need help do the following:

Edit: Wow this got pinned I feel special lol

LostGameDev commented 2 years ago

as soon as I did yarn dev in the back end It opened up for a second then closed and I got this Error: net::ERR_CONNECTION_REFUSED at http://localhost:3000/ at navigate (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\node_modules\puppeteer-core\lib\FrameManager.js:101:37) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async FrameManager.navigateFrame (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\node_modules\puppeteer-core\lib\FrameManager.js:75:17) at async Frame.goto (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\node_modules\puppeteer-core\lib\FrameManager.js:385:12) at async Page.goto (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\node_modules\puppeteer-core\lib\Page.js:662:12) at async Window.load (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:347:5) -- ASYNC -- at Frame. (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\node_modules\puppeteer-core\lib\helper.js:108:27) at Page.goto (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\node_modules\puppeteer-core\lib\Page.js:662:49) at Page. (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\node_modules\puppeteer-core\lib\helper.js:109:23) at Window.load (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:347:22) at processTicksAndRejections (node:internal/process/task_queues:96:5)

FOREVEREALIZE commented 2 years ago

as soon as I did yarn dev in the back end It opened up for a second then closed and I got this Error: net::ERR_CONNECTION_REFUSED at http://localhost:3000/ at navigate (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\node_modules\puppeteer-core\lib\FrameManager.js:101:37) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async FrameManager.navigateFrame (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\node_modules\puppeteer-core\lib\FrameManager.js:75:17) at async Frame.goto (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\node_modules\puppeteer-core\lib\FrameManager.js:385:12) at async Page.goto (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\node_modules\puppeteer-core\lib\Page.js:662:12) at async Window.load (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:347:5) -- ASYNC -- at Frame. (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\node_modules\puppeteer-core\lib\helper.js:108:27) at Page.goto (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\node_modules\puppeteer-core\lib\Page.js:662:49) at Page. (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\node_modules\puppeteer-core\lib\helper.js:109:23) at Window.load (C:\Users\Ehren_je8q7zl\OneDrive\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:347:22) at processTicksAndRejections (node:internal/process/task_queues:96:5)

Moved to #42

darkwolfie37 commented 2 years ago

43

LostGameDev commented 2 years ago

you should add to the guide on how to empty the world.json file so that they don't get the wrong blocks i figured it out so that the world.json file should look like this (assuming you haven't already used it in a world of your own) : {"world":{}}

HishTheBirb commented 2 years ago

Hey, ive done this before and it all went normal, but then after the ngrok session ran out, i tried again and it always got stuck on this, please help image

HishTheBirb commented 2 years ago

Hey, ive done this before and it all went normal, but then after the ngrok session ran out, i tried again and it always got stuck on this, please help image

And ive even reinstalled the turtle-gambit controller like 3 times, should i try to reinstall all the required things?

HishTheBirb commented 2 years ago

i got it to work, but i cant seem to find out how to do mitosis, how do you do it? like how do you craft the turtles

darkwolfie37 commented 2 years ago

@HishTheBirb Please move this to #44

Apachedrag427 commented 2 years ago

46

arch-user-france1 commented 2 years ago

Why didn't it get pinned? Would be a good idea..

arch-user-france1 commented 2 years ago

I had to Set-ExecutionPolicy unrestricted

(Currently not on my computer, I don't use Windows)

Cake3996 commented 2 years ago

How do I control the turtle?

darkwolfie37 commented 2 years ago

How do I control the turtle?

You can do it using wasd

ShyGuy001 commented 2 years ago

my terminal cannot find the dektop directory

Nowamax1337 commented 2 years ago

How can i make this work? C:\Users\User\Desktop\turtle-gambit\frontend>yarn dev yarn run v1.22.19 $ next Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/parser' is not defined by "exports" in C:\Users\User\Desktop\turtle-gambit\frontend\node_modules\next\node_modules\postcss\package.json at new NodeError (node:internal/errors:393:5) at throwExportsNotFound (node:internal/modules/esm/resolve:340:9) at packageExportsResolve (node:internal/modules/esm/resolve:619:3) at resolveExports (node:internal/modules/cjs/loader:492:36) at Module._findPath (node:internal/modules/cjs/loader:532:31) at Module._resolveFilename (node:internal/modules/cjs/loader:941:27) at Module._load (node:internal/modules/cjs/loader:803:27) at Module.require (node:internal/modules/cjs/loader:1021:19) at require (node:internal/modules/cjs/helpers:103:18) at 552 (C:\Users\User\Desktop\turtle-gambit\frontend\node_modules\next\dist\compiled\postcss-scss\scss-syntax.js:1:11590) { code: 'ERR_PACKAGE_PATH_NOT_EXPORTED' } error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

FOREVEREALIZE commented 2 years ago

How can i make this work? C:\Users\User\Desktop\turtle-gambit\frontend>yarn dev yarn run v1.22.19 $ next Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/parser' is not defined by "exports" in C:\Users\User\Desktop\turtle-gambit\frontend\node_modules\next\node_modules\postcss\package.json at new NodeError (node:internal/errors:393:5) at throwExportsNotFound (node:internal/modules/esm/resolve:340:9) at packageExportsResolve (node:internal/modules/esm/resolve:619:3) at resolveExports (node:internal/modules/cjs/loader:492:36) at Module._findPath (node:internal/modules/cjs/loader:532:31) at Module._resolveFilename (node:internal/modules/cjs/loader:941:27) at Module._load (node:internal/modules/cjs/loader:803:27) at Module.require (node:internal/modules/cjs/loader:1021:19) at require (node:internal/modules/cjs/helpers:103:18) at 552 (C:\Users\User\Desktop\turtle-gambit\frontend\node_modules\next\dist\compiled\postcss-scss\scss-syntax.js:1:11590) { code: 'ERR_PACKAGE_PATH_NOT_EXPORTED' } error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Please see #54

FOREVEREALIZE commented 2 years ago

you should add to the guide on how to empty the world.json file so that they don't get the wrong blocks i figured it out so that the world.json file should look like this (assuming you haven't already used it in a world of your own) : {"world":{}}

Done

Nowamax1337 commented 2 years ago

image i got stuck on this, please help

darkwolfie37 commented 2 years ago

image i got stuck on this, please help

Hey so Did you edit the script at ./turtle/startup.lua on line 598 to a ngrok url?

arch-user-france1 commented 2 years ago

Oh god gotta unsubscribe. So many e-mails :(

darkwolfie37 commented 2 years ago

Oh god gotta unsubscribe. So many e-mails :(

so true

arch-user-france1 commented 2 years ago

What the heck I thought it unsubscribed, why did it not work :( Oh, you mentioned me. BRUH.

Oh god gotta unsubscribe. So many e-mails :(

so true

darkwolfie37 commented 2 years ago

What the heck I thought it unsubscribed, why did it not work :( Oh, you mentioned me. BRUH.

Oh god gotta unsubscribe. So many e-mails :(

so true

HAHAHAHAH Im sorry

Nowamax1337 commented 2 years ago

image i got stuck on this, please help

Hey so Did you edit the script at ./turtle/startup.lua on line 598 to a ngrok url?

yes

darkwolfie37 commented 2 years ago

image i got stuck on this, please help

Hey so Did you edit the script at ./turtle/startup.lua on line 598 to a ngrok url?

yes

Everytime you open ngrok you will need to update it. As Ngrok will reset to a new URL everytime.

FOREVEREALIZE commented 2 years ago

image i got stuck on this, please help

Hey so Did you edit the script at ./turtle/startup.lua on line 598 to a ngrok url?

yes

Everytime you open ngrok you will need to update it. As Ngrok will reset to a new URL everytime.

Moved to #55

PrintedScript commented 1 year ago

58

PiersPikachu commented 1 year ago

TypeError: Cannot read properties of undefined (reading 'createCDPSession') at App.init_ (C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:56:29) at Object.launch (C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:625:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

i get this message when i use yarn dev, how do i fix this issue?

Nealavo commented 1 year ago

59

harmonie-durrant commented 1 year ago

TypeError: Cannot read properties of undefined (reading 'createCDPSession') at App.init_ (C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:56:29) at Object.launch (C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:625:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

i get this message when i use yarn dev, how do i fix this issue?

Any Idea how to fix this?

TheRavenSeb commented 1 year ago

TypeError: Cannot read properties of undefined (reading 'createCDPSession') at App.init_ (C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:56:29) at Object.launch (C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:625:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

any ideas on how to fix this

Cyktard commented 1 year ago

64

Java-Codes-Bots commented 1 year ago

65 plz help

InactiveGaming13 commented 1 year ago

66

LostGameDev commented 1 year ago

hi all I recommend using this fork: https://github.com/PrintedScript/turtle-control instead of the original ottomated version

b0xLUL commented 1 year ago

TypeError: Cannot read properties of undefined (reading 'createCDPSession') at App.init_ (C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:56:29) at Object.launch (C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:625:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

any ideas on how to fix this

@PiersPikachu @reuban-bryenton @TheRavenSeb

I fixed it by installing an older version of chrome (version 86 worked for me. I used this site for it, and found no problems, but still, be careful as always when downloading stuff from the internet: https://www.slimjet.com/chrome/google-chrome-old-version.php ). Hope this helps.

Edit: little guide on wiping turning off autoupdates: https://browserhow.com/how-to-uninstall-google-chrome-and-wipe-data-completely/#delete-google-update-service-files and https://browserhow.com/how-to-uninstall-google-chrome-and-wipe-data-completely/#disable-google-update-task

TheRavenSeb commented 1 year ago

TypeError: Cannot read properties of undefined (reading 'createCDPSession') at App.init_ (C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:56:29) at Object.launch (C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:625:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

any ideas on how to fix this

@PiersPikachu

@reuban-bryenton

@TheRavenSeb

I fixed it by installing an older version of chrome (version 86 worked for me. I used this site for it, and found no problems, but still, be careful as always when downloading stuff from the internet: https://www.slimjet.com/chrome/google-chrome-old-version.php ). Hope this helps.

Edit: little guide on wiping turning off autoupdates: https://browserhow.com/how-to-uninstall-google-chrome-and-wipe-data-completely/#delete-google-update-service-files and https://browserhow.com/how-to-uninstall-google-chrome-and-wipe-data-completely/#disable-google-update-task

Will this work with the newer version of CC/CC: restitch

hecker2000 commented 1 year ago

when making another turtle, the new one doesn't know where it is and defaults to 0 0 0, any way to fix this?

b0xLUL commented 1 year ago

TypeError: Cannot read properties of undefined (reading 'createCDPSession') at App.init_ (C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:56:29) at Object.launch (C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:625:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

any ideas on how to fix this

@PiersPikachu @reuban-bryenton @TheRavenSeb I fixed it by installing an older version of chrome (version 86 worked for me. I used this site for it, and found no problems, but still, be careful as always when downloading stuff from the internet: https://www.slimjet.com/chrome/google-chrome-old-version.php ). Hope this helps. Edit: little guide on wiping turning off autoupdates: https://browserhow.com/how-to-uninstall-google-chrome-and-wipe-data-completely/#delete-google-update-service-files and https://browserhow.com/how-to-uninstall-google-chrome-and-wipe-data-completely/#disable-google-update-task

Will this work with the newer version of CC/CC: restitch

For me, it does work with CC: Restitched (Tested with Create Astral modpack, fabric in mc 1.18.2 by Laskyyy, which contains cc-restitched-1.100.8)

Jackaroo05 commented 1 year ago

Which Turtle gambit are we using? This one or the new one?

On Tue, Jun 27, 2023 at 7:15 PM Yolopro177 @.***> wrote:

TypeError: Cannot read properties of undefined (reading 'createCDPSession') at App.init_ (C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:56:29) at Object.launch (C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:625:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

any ideas on how to fix this

@PiersPikachu https://github.com/PiersPikachu @reuban-bryenton https://github.com/reuban-bryenton @TheRavenSeb https://github.com/TheRavenSeb I fixed it by installing an older version of chrome (version 86 worked for me. I used this site for it, and found no problems, but still, be careful as always when downloading stuff from the internet: https://www.slimjet.com/chrome/google-chrome-old-version.php ). Hope this helps. Edit: little guide on wiping turning off autoupdates: https://browserhow.com/how-to-uninstall-google-chrome-and-wipe-data-completely/#delete-google-update-service-files and https://browserhow.com/how-to-uninstall-google-chrome-and-wipe-data-completely/#disable-google-update-task

Will this work with the newer version of CC/CC: restitch

For me, it does work with CC: Restitched (Tested with Create Astra modpack, fabric in mc 1.18.2 by Laskyyy, which contains cc-restitched-1.100.8)

— Reply to this email directly, view it on GitHub https://github.com/ottomated/turtle-gambit/issues/40#issuecomment-1610344957, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKSDGXULSFKOUE5ZI5N5M3XNNSP5ANCNFSM5EX6DGJQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

TheRavenSeb commented 1 year ago

Which Turtle gambit are we using? This one or the new one?

On Tue, Jun 27, 2023 at 7:15 PM Yolopro177 @.***> wrote:

TypeError: Cannot read properties of undefined (reading

'createCDPSession') at App.init_

(C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:56:29)

at Object.launch

(C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:625:15)

at process.processTicksAndRejections

(node:internal/process/task_queues:95:5)

any ideas on how to fix this

@PiersPikachu https://github.com/PiersPikachu

@reuban-bryenton https://github.com/reuban-bryenton

@TheRavenSeb https://github.com/TheRavenSeb

I fixed it by installing an older version of chrome (version 86 worked for

me. I used this site for it, and found no problems, but still, be careful

as always when downloading stuff from the internet:

https://www.slimjet.com/chrome/google-chrome-old-version.php ). Hope this

helps.

Edit: little guide on wiping turning off autoupdates:

https://browserhow.com/how-to-uninstall-google-chrome-and-wipe-data-completely/#delete-google-update-service-files

and

https://browserhow.com/how-to-uninstall-google-chrome-and-wipe-data-completely/#disable-google-update-task

Will this work with the newer version of CC/CC: restitch

For me, it does work with CC: Restitched (Tested with Create Astra

modpack, fabric in mc 1.18.2 by Laskyyy, which contains

cc-restitched-1.100.8)

Reply to this email directly, view it on GitHub

https://github.com/ottomated/turtle-gambit/issues/40#issuecomment-1610344957,

or unsubscribe

https://github.com/notifications/unsubscribe-auth/AFKSDGXULSFKOUE5ZI5N5M3XNNSP5ANCNFSM5EX6DGJQ

.

You are receiving this because you are subscribed to this thread.Message

ID: @.***>

There's a new one?

hecker2000 commented 1 year ago

Which Turtle gambit are we using? This one or the new one? On Tue, Jun 27, 2023 at 7:15 PM Yolopro177 @.***> wrote:

TypeError: Cannot read properties of undefined (reading

'createCDPSession') at App.init_

(C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:56:29)

at Object.launch

(C:\Users\user\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:625:15)

at process.processTicksAndRejections

(node:internal/process/task_queues:95:5)

any ideas on how to fix this

@PiersPikachu https://github.com/PiersPikachu

@reuban-bryenton https://github.com/reuban-bryenton

@TheRavenSeb https://github.com/TheRavenSeb

I fixed it by installing an older version of chrome (version 86 worked for

me. I used this site for it, and found no problems, but still, be careful

as always when downloading stuff from the internet:

https://www.slimjet.com/chrome/google-chrome-old-version.php ). Hope this

helps.

Edit: little guide on wiping turning off autoupdates:

https://browserhow.com/how-to-uninstall-google-chrome-and-wipe-data-completely/#delete-google-update-service-files

and

https://browserhow.com/how-to-uninstall-google-chrome-and-wipe-data-completely/#disable-google-update-task

Will this work with the newer version of CC/CC: restitch

For me, it does work with CC: Restitched (Tested with Create Astra

modpack, fabric in mc 1.18.2 by Laskyyy, which contains

cc-restitched-1.100.8)

Reply to this email directly, view it on GitHub

#40 (comment),

or unsubscribe

https://github.com/notifications/unsubscribe-auth/AFKSDGXULSFKOUE5ZI5N5M3XNNSP5ANCNFSM5EX6DGJQ

.

You are receiving this because you are subscribed to this thread.Message

ID: @.***>

There's a new one?

yes PrintedScript made a version that does not use Carlo, making it work on Windows

Rushi-Xd commented 1 year ago

image_2023-08-28_123955194 I'm stuck on this error after downloading the browserlist.