#AI Chatbot in Minecraft!

479 messages ¡ Page 1 of 1 (latest)

manic tiger
#

where's the source code?

pliant nimbus
gilded escarp
#

you are using an open source license

pliant nimbus
gilded escarp
#

your mod uses cc0

pliant nimbus
#

it clearly says in the curseforge site

gilded escarp
#

from your mod jar

#

you may want to update the one in the jar then

pliant nimbus
pliant nimbus
timid schooner
pliant nimbus
timid schooner
pliant nimbus
timid schooner
pliant nimbus
unique totem
pliant nimbus
pliant nimbus
#

or encoded

unique totem
#

wdym

unique totem
pliant nimbus
#

yes

unique totem
#

like you used skidfuscator or something?

pliant nimbus
#

something like that yes

unique totem
#

Just asking out of courtesy

#

I do a lot of reverse engineering stuff

pliant nimbus
timid schooner
unique totem
timid schooner
unique totem
#

I learned that early

pliant nimbus
unique totem
#

(I put an unobfuscated discord webhook from my 2.5k member server in my mod)

unique totem
#

Lemme see

timid schooner
# unique totem Why?

I don’t ask my computer’s manufacturer for permission to disassemble the computer

unique totem
#

Ok recaf time

#

Oh yeah this is easily crackable

timid schooner
unique totem
#

It sends a HttpURLConnection to their endpoint which is static 🙁

#

Meaning that can't be changed later if they get new hosting

timid schooner
unique totem
#

My friends proved that with skidfuscator

timid schooner
unique totem
#

Lemme make a sh script rq

pliant nimbus
unique totem
#

Just remembered why I hate bash fr

pliant nimbus
unique totem
#

so ubuntu

pliant nimbus
pliant nimbus
#

to make executable

unique totem
pliant nimbus
unique totem
pliant nimbus
unique totem
#

I've done it before

#

But I don't want to close all my stuff on windows

#

Yep that was easy

pliant nimbus
#

vms are an option too

unique totem
#

@pliant nimbus @timid schooner

pliant nimbus
#

i see

unique totem
#

(I literally just pasted the src into chatgpt and asked it to make a shell script it would've been quicker if I hadn't forgotten to change line endings)

timid schooner
#

you’re brave for doing this in bash instead of python

unique totem
#

I was on wsl for another project rn and I've used bash in the past for webhook and networking stuff

timid schooner
pliant nimbus
unique totem
#

Python is not my default

#

For most things

#

I like java and bash although i'm probably best in python out of the 3

timid schooner
#

even the little shell commands i’ve implemented on my computer are all in python just with shebangs

timid schooner
unique totem
timid schooner
#

i do a lot of noise and other math-heavy stuff and i implement all those functions in numpy

#

and then for work i use python for like. running sims and analyses and such and writing flight code concern

timid schooner
unique totem
#

I also use java for game design for minecraft

#

And I've used a fair amount of bash in misc scripting to go with python automation

unique totem
#

and if you leak it you'll get banned

#

so

pliant nimbus
#

ik im not a devil

unique totem
#

I've had worse people get my ip

pliant nimbus
#

ips dont really appeal to hackers nowadays

#

they just want credit card information

unique totem
#

Which atp is kind of useless

pliant nimbus
#

you can iptrace

#

which can be used to get bank information if you use online banking

unique totem
#

Oh true

#
./notchnet.sh ask hwo do i beat the wither
To beat the Wither, you have two main strategies depending on your preference for a direct fight or an easier method.

**For a direct, fair fight:**
First, prepare with the best gear. Enchanted diamond or netherite armor and a sword, especially with the Smite enchantment, are highly recommended. Bring a bow, plenty of arrows, Instant Health II splash potions, golden apples, and a Strength II potion.

Spawn the Wither by placing four soul sand or soul soil blocks in a "T" shape and putting three Wither skulls on top. Immediately after spawning it, run far away to avoid its massive initial explosion.

Once the explosion happens, return and attack from a distance with your bow. Keep shooting until its health is reduced. Use your Instant Health splash potions to heal yourself and eat golden apples when needed. When the Wither's health drops to half (50%), drink your Strength II potion and finish it off with your sword. In Bedrock Edition, be extra careful when it reaches half health, as it will explode again, summon wither skeletons, and start using dangerous dash attacks.

**For an easier method, especially in Bedrock Edition:**
Find a location with a low, uneven bedrock ceiling in the Nether. Spawn the Wither in this area. It will get stuck in the bedrock, unable to move or attack you effectively, while you can safely shoot it with arrows until it is defeated. This method requires much less gear and potions.
#

This is a really good chatbot tho I gotta say

pliant nimbus
#

ive spent a lot of time on it

#

feels good to release a project

unique totem
#

I have friends who won't run a mod unless it's opensource or they've decomped it

pliant nimbus
unique totem
#

Even if it's posted on MR/CF

pliant nimbus
#

besides i am still learning cybersecurity

#

its not really my strong point

unique totem
#

but like if it was actually good

#

Merl

pliant nimbus
#

merl was horrible

#

i can sell mine to mojang

#

easy money

unique totem
#

XD

pliant nimbus
#

millionare at the age of 15

unique totem
#

Mojang wouldn't pay a mil for this

#

I could do this myself if I wanted to

pliant nimbus
#

tru

unique totem
#

Sell it to them beat you to it

#

/j

pliant nimbus
#

you need some beefy computers though

#

im paying ÂŁ150 per month for these computers

unique totem
#

Oh wow

#

What is it running on?

#

4090s?

pliant nimbus
#

gcloud

unique totem
#

50x0?

pliant nimbus
#

nvidia t4s

wild snow
#

lwk was expecting the bot to just say "I don't know" to everything

pliant nimbus
timid schooner
pliant nimbus
timid schooner
#

in this thread we’re just playing around but someone’s gonna fuck you over bc your api key is exposed

pliant nimbus
#

plus im limiting requests to only java clients

gilded escarp
#

base64 encoding MY_REAL_API_KEY is not really the best solution clueless

#

jshell

#

setting the user agent

#

whatever you end up doing won't be sufficient as you don't control the jvm so anything in the jar is effectively public no matter how much you put into it

plain pebble
#

reading this thread is just making me go concernedtater every few messages

pliant nimbus
#

most of my effort has gone into the backend

timid schooner
#

you must assume that a hacker can read all data and code on the client side

#

because they can

pliant nimbus
timid schooner
gilded escarp
#

if you want to protect the api key you use for your endpoint, first you will need to not use a jvm language (in a scenario where. you don't control the jvm), second you will need to assume that all clients have complete access to everything you give them (including obfuscated natively compiled content) and there's not really anything you can do about it

unique totem
#

The way I ended up handling it for my webhook was making a cloudfare worker that requests were sent to, it processed it and sent it to the discord webhook stored in a secret key

#

-# and filtered out the @ everyone and @ here that some mf spammed the first time

unique totem
pliant nimbus
worn frost
#

one time i put a webhook in the source code of a website in plain text... it did not end well lol

#

lukily it was for a private server but the things that people sent to it should not be repeated

unique totem
frosty tartan
#

You'd need some way of filtering out legitimate users from spammers, but that's really hard to do. Furthermore, what even defines a legitimate user here?

pliant nimbus
gilded escarp
#

you can't improve security in any meaningful fashion

#

no matter what you do

pliant nimbus
# gilded escarp I feel like you missed the point

i did something different, first it goes through an auth server, which first checks if the userClient is java, then it makes the request to the rag server and returns an answer, im still working on things like randomising tokens, and obfuscation

gilded escarp
#

won't matter, you can try, I'll show you that it can still be cracked

neon nymph
gilded escarp
#

No, and theres not really a point in trying. The issue is with the fundamentals of the tools being used

#

Even companies that use advanced DRM software to stop crackers fail

#

the way you would do it is you have an account system where the user logs in and is given a token then. Each token is attached to the user and all the logic is done on the server side. That way you can track mis-use and terminate accounts. But even then that's flawed as you can have people making multiple accounts

manic tiger
gilded escarp
#

or even more trivially, you add a debug agent and stop the execution right before the prompt is sent and intercept the token

#

and voila you have a valid token

#

I mean the entire mod could just be a black box, you just watch for outgoing net requests and get the token from there

#

burpsuite, postman, wireshark, and more can all do that

#

there is a reason most ai companies put a price / token on their apis

#

you can't really offer llms for free because they will be abused to hell and back

pliant nimbus
#

isn't that against the minecraft eula?

gilded escarp
#

indeed

#

you cannot satisfy all the requirements you want for your project in this environment

pliant nimbus
gilded escarp
#

well yes, that's part of it

#

you can't realistically prevent misuse without charging for use

#

and you can't charge for use

#

so you can't realistically prevent misuse

pliant nimbus
#

i've been trying to do it for the past couple minutes

gilded escarp
#

you do know that this entire community is built around modding an obfuscated game

#

additionally doesn't stop

I mean the entire mod could just be a black box, you just watch for outgoing net requests and get the token from there

gilded escarp
#

you can't

pliant nimbus
manic tiger
#

make requests to the llm

pliant nimbus
gilded escarp
pliant nimbus
manic tiger
#

so it won't be free

#

soon

pliant nimbus
#

besides i might downgrade the computers if needed because im only using 0.8% of the cpu

manic tiger
#

is that when you're using the llm

pliant nimbus
#

yes

gilded escarp
#

why say you're paying if you're not paying questionable

pliant nimbus
#

why does that matter

gilded escarp
#

because if its free than leaving it open is fine

#

because it doesn't cost you anything

#

if it does cost you something you can't leave it open

pliant nimbus
#

i have future methods of monetising it

gilded escarp
#

well those methods cannot involve mc but sure

unique totem
#

twonick is calling

pliant nimbus
unique totem
#

i have a way to call the LLM

pliant nimbus
#

ive updated the mod on curseforge and modrinth

unique totem
#

just release updated versions

#

We all have the jar anyway

pliant nimbus
#

couldnt be asked

unique totem
#

It's not good practice to release and overwrite a numbered release

unique totem
#

why is splitting your api into 3 text files any better

#

I can crack this too lmao

pliant nimbus
#

but then i couldnt be asked to change it back

unique totem
#

There are a lot of people here, including me, that could just reverse engineer it

unique totem
#

The entire fucking game is obfuscated

#

Hasn't stopped us from modding it and getting basically the entire source code

pliant nimbus
#

we dont directly mod minecraft, we use either forge or fabric

unique totem
pliant nimbus
#

wheres the source code then?

unique totem
unique totem
#

The IDE does it for us

#

Or you can get MCP and edit the base code and recompile it, although it's not that easy

pliant nimbus
unique totem
#

it should take you to the src

pliant nimbus
unique totem
#

probably

#

i will refrain from making a comment about macs

pliant nimbus
#

not minecraft

#

ai is my top priority

unique totem
#

why the fuck would you get a mac for AI???

#

You need a beefy graphics card

pliant nimbus
#

not neccessarily

unique totem
#

I got a dell gaming laptop for AI

pliant nimbus
#

it also requires ram

unique totem
#

With a 4070

manic tiger
pliant nimbus
#

a fuck ton of it

unique totem
pliant nimbus
#

macs use shared memory

unique totem
#

"Here tim, another $200!"

pliant nimbus
#

which means it uses ram that the cpu and gpu use

unique totem
pliant nimbus
#

at the same time

unique totem
#

They're still shitty for AI

pliant nimbus
#

so it can transfer data more seamlessly between the gpu and cpu

#

a gaming laptop cant do that

#

plus mobile graphics cards are too underclocked

unique totem
#

You just need beefy hardware

#

Like a 4070 and 32gb ram

pliant nimbus
unique totem
#

with an i9 14900hx

pliant nimbus
#

for example

manic tiger
unique totem
pliant nimbus
#

if windows computers had shared memory

#

you would require a 5060 at most

#

for running a 671b parameter model

#

macs are designed like that

#

thats why its great for ai at home

#

plus ollama is starting to introduce mlx

#

where it uses the npu inside apple silicon chips

unique totem
pliant nimbus
unique totem
#

Gimme a sec to crack your latest bot and then i'll see where we are

gilded escarp
#

I feel like you were conned by someone

unique totem
#

He drank the coolaid

pliant nimbus
gilded escarp
#

anyway

gilded escarp
unique totem
#

Macs don't cut it

#

There's a reason I got rid of mine

pliant nimbus
#

so its not apple silicon

unique totem
pliant nimbus
#

the intel ones are horrible

gilded escarp
#

I have had more than one laptop bruh

#

and a desktop

pliant nimbus
#

whats your point

gilded escarp
#

you don't know what you are talking about but think you do

#

which is a bad place to be tbh

pliant nimbus
manic tiger
unique totem
gilded escarp
unique totem
#

We have more experience than you if I had to guess

unique totem
#

It's not good for any powerhungry computing, especially AI

pliant nimbus
#

its a multitude of things

manic tiger
#

like?

unique totem
gilded escarp
#

we should wait for them to pull up another llm to give them a good point

unique totem
#

@plain pebble is gonna have his work cut out for him with concern

unique totem
pliant nimbus
# manic tiger like?

ai peformance isnt purely about wattage, they run ai models faster per watt than traditional x86 systems

#

as well as that

#

things like core ml

#

are deeply integrated

unique totem
pliant nimbus
#

which is very optimised

unique totem
#

Like something from NVIDIA

gilded escarp
#

performance per watt is like how efficient you are at reaching a certain compute, you still can't reach a high compute

#

you can get to low compute at low cost

#

but you can't get to high compute at all

unique totem
#

He is clearly dedicated beyond belief to Macs for AI, even I was never that big of an Apple fanboy

manic tiger
#

good way to pass time

unique totem
#

Okie

#

Yk I'll just crack notchnet 1.0.1 while i'm waiting

pliant nimbus
unique totem
#

And please I beg of you don't overwrite numbered releases like you did with NotchNet 1.0.0

gilded escarp
#

I mean yes, macs are efficient, its the main selling point but for $$/compute you can't beat nvidia at the moment

#

you don't need to know the why, you just look at the market

unique totem
#

I can get 5x the compute for the same price on a PC compared to a Mac

pliant nimbus
#

its also memory bandwith

#

latency

#

software

gilded escarp
#

keyword

unique totem
#

buzzword

plain pebble
unique totem
#

I thought we were done too

gilded escarp
#

uhh this ai had other goals previously

unique totem
gilded escarp
#
"My context discusses two main topics.\n\nThe first topic is about creating symbolic links on a Windows computer using an elevated command prompt and the `mklink` command. It explains that you need to run the command prompt as an administrator, even if you are the administrator, to avoid a privilege error.\n\nThe second topic covers renaming items in a game interface. It states that if you leave the name field blank or use only spaces, the item will revert to its default name. If you try to set the name to what it already is, a red \"X\" will appear on the arrow in the interface. It also notes that named items will not stack with unnamed items or items that have different names, even if they are the same type of item.\n"
gilded escarp
#

I asked it what it's been trained on

unique totem
#

Ah

gilded escarp
#

getting there, it's a google ai

#

cracking it is definitely not as straight forward as others

#

google's context separation is pretty damn good, prompt injection is clearly something they put a lot of thought into

#

I can get the context out but can't get to the exact prompt

pliant nimbus
#

😂

#

its not google

#

its my own custom ai

gilded escarp
#

then it was trained on something by google

#

at some point

pliant nimbus
#

nope

#

its just hosted on google

timid schooner
#

unified memory ==> very high vram which you want for very large models

#

cause if your gpu has like. 12 gb vram you have to quantize a large model a TON to get it all to fit in there

#

versus unified memory where the gpu can directly access larger amounts of memory

gilded escarp
#

64gb is the max unified memory you can get out of silicon series chips at a cost which just doesn't make sense if your goal is to train llms

pliant nimbus
#

macs are easy to carry

timid schooner
gilded escarp
#

at the moment, around 4k euros

pliant nimbus
timid schooner
gilded escarp
#

with the mac you're capped at low compute

pliant nimbus
timid schooner
pliant nimbus
#

well it does but its not what its based on

gilded escarp
#

and these gpus should not be this expensive, they just are at the moment because of the inflationary costs of gpus due to low supply relative to demand

pliant nimbus
#

they would be a lot cheaper

gilded escarp
#

macs cheaper?

#

since when

timid schooner
pliant nimbus
#

but its cheaper than buying a 5090 setup

#

which can result in better efficiency

gilded escarp
#

you wouldn't use a 5090 anyway

#

you'd use like an a100

pliant nimbus
#

or intel xeon

#

to prevent bottlenecking

#

then on top of that more ram

#

the costs keep going up and up

gilded escarp
#

yeah

timid schooner
#

like ravistar did make a horribly insecure frontend on this mod, yes

#

but they seem to know their shit when it comes to ai 🤷‍♀️

gilded escarp
#

the point being you don't really train models locally

pliant nimbus
#

i made the mod in like 2 days lmao

gilded escarp
#

you use a cloud provider

#

because non-commercially it doesn't make sense

pliant nimbus
#

no i didnt?

#

when did i ever say that

gilded escarp
#

this is a theoretical

pliant nimbus
#

i HOST it on gcloud

gilded escarp
#

"you" the general you, as in people in general, use a cloud provider

pliant nimbus
timid schooner
pliant nimbus
#

mines just minecraft datasets

gilded escarp
#

theres no way what you trained was just on mc's dataset

pliant nimbus
#

not even a gb

gilded escarp
#

the outputs don't make any sense if that's all you trained it on

timid schooner
#

you get like

#

a base model

gilded escarp
#

so fine-tuned

timid schooner
#

and then you train it on your specific dataset

#

idk if thats what ravistar did but

pliant nimbus
#

for example llama3.1:8b

gilded escarp
#

you know, this makes a whole lot more sense now

#

you did not train an llm from the ground up as implied

#

you fine tuned an existing model on an mc dataset

#

or rag, or whatever similar technique

timid schooner
#

that to someone who knows about local AI development

#

the meaning would have been clear

gilded escarp
#

why does your llm have answers about modding via forge and how to debug path issues in windows related to sym links

#

and why does it keep insisting its a google ai

pliant nimbus
#

because its closed source, its not something like chatgpt which is open source

unique totem
#

that was a pretty good one

pliant nimbus
#

thats the whole point of closed source

unique totem
#

And we don't really need that if we can access it externally

pliant nimbus
#

and sell it

#

i have full control over the model

unique totem
#

That is true

plain pebble
tropic river
unique totem
halcyon agate
#

@pliant nimbus but what do you use? RAG or a fine tuned model?