#⌨coders-cave
1 messages · Page 25 of 1
ig
if you wanna do it for the sake of fun then I understand I did that but otherwise its not practical
16kb for a fucking triangle 😭
Are there any good coding languages to start from?
Honestly any language will work as long as you stick to one until you're good with it
I recommend C# to most people but most languages will work
Kk
Yeah
Listen, is it possible to make a bot in the Discord bot maker that crashes the servers after your ban?
wat
i mean
.......
yeah
as long as you can somehow get the owners to trust it with admin perms
Hey man can I ask something
thank you very much
yeah you can ask everything I think
Someone will give you the answer
no bro its illigal
People will literally not stop asking to ask
TLDR: just say the god damn fucking question in the first message
I hate the fact it's so prevalent that this website exists...
Hmm the December 4th update hasn't reached me yet ig
is the lates 206.16 or is it something else?
I have the new layout and I'm on 206.16
Weird
I'm on 206.16 as well and only have access to a new layout toggle which is different than what people have been showing
its not about the update
we all have the layout but discord is slowly pushing it to people for some reason
all these big apps do this for some reason
they push the new things but they keep them hidden for a while
I wonder why
i think its so everyone would have the features by the time they push them out
not everyone updates their apps at the same time
so if you wait two weeks most people wouldve updated
Welp wonder how long it's gonna be before i get hit with it
enjoy the time you have left
Jupe! This has the r-word in it!!
oh fuck
Reporting to admins.
Gn coders
It's buggy
Atleast for me
And the right bar is now hidden so I have to press up from channel name and not swipe to the right
When I swipe like before it answers message
Bugs, mostly
Also for the swipe reply
Yes but people are used to swipe to check members
Including me
Clicking the top of the screen is completely different to that
Yeah I think having to click on the channel name to see the members is not very clear
But I like the swipe to reply
Replying is used way more than looking at members
Hold + press for reply is too much friction
Sometimes chat names go blank
Maybe just make a show members button instead of clicking the channels name to be more obvious
Yeah
Hmm
Haven’t happened to e
But bugs are expected I’m sure they are going to fix it
And then it’s gonna be better than the old one
Yeah
Also, when I check members it shows Jupe’s friend nickname
True dat
I have bugs every time I open the app, one time the app thought I was in dms when I tried to send message in #🌎general and told me I needed to send friend request to the person I'm trying to connet and one time the bottom bar thing just disappeared
Android users be like:
But yeah from what I’ve been hearing there are lots of bugs for a released version
Really feels like a beta to me
But as for the looks it doesn’t really look bad
It looks clean yeah
I really like the new color too
What new color
I just selected the midnight one which looks the same as old AMOLED mode so idk anything about that
Is it pure black for the midnight one?
That would be a great battery saver for oled screens
Yep, saves battery for me because I have AMOLED screen on my oneplus nord ce 2 5G
Almost all pixels are just turned off when I use discord
Damn
I still have the new UI toggle
When switching from old to new the experimental AMOLED mode becomes midnight theme.
they be the same thing
why does discord not draw the corner pixels on IOS is the real question
wtf i just noticed
you cant tell on the phone because it's rounded but wtf
lol
Weird feature
wait is it just discord screenshots that does that for you?
Yeah it’s only on discord
They probably rounded the edges of the whole app for some reason
But then why only one pixel
It’s weird
c#
CEE 🔪
bro
x.x.x.x
that's the ip but without the numbers
yeah 4 1 digit numbers
I'm about to do some calculus
I'll be implementing it in C++ and I might put the header on GitHub because everyone needs a little calculus in their lives
good luck, this shit is so rough I have to go to sleep 💀
hard to process this shit even after I learned how to do it two different ways
You only need C if doing indefinite integrals
or just assume that C = 0
there's really no use for calculating integrals that I can think of anway, it's nowhere near as important as derivates, tangents, and normals
for example the integral of x is (x²/2)+C
which is what I'm going to be doing
Yeah
Really only thing i can think off the top of my head is like how much distance traveled if at X acceleration
from this time to that time
which isn't necessary considering that knowledge can be found much easier than using fucking calculus
yeah
but normals and tangents are nice to know
especially for rendering, which my current project involves
I was going to have to do calculus eventually 😭
Ah so that's what ur usin it for
yeah
that, and I'm going to either sell it to the guy in the screenshot or post it publicly on github for weirdos and losers to use freely
depending on how charitable I feel and how much I could use $5
So what's the renderin gonna be for exactly?
game
I'm just shitting out a minecraft clone to prove I can
plus I'll keep the header in case I need it later, it's already got a lot of other useful code
some geometry formulas and structs
neat
it's got a weird name though, I don't want to name it math.h because of the C header file (I know I can, but that could cause problems later on when I use it as a library file and it's just not good practice) so I named it maths.h
it's british 😭
L M F A O
i'm interested
Yoo guys! I recently started learning coding, so sry for stupid questions ofc(if they are). I've started from c++ and now I want to combine VS with database. So.. what technology coders usually use? :p MySQL with C++ connector? Or maybe other libraries, or ODBC(still don't really understand what is this thing lol)
I don't know if anyone on this server is really knowledgeable on C++ with databases. I personally do .NET development with C# and VB so I know about databases but now how to use them with C++
nvm, anyway thank you, I'll just continue googling
Me and sqlite meanwhile
also why do all c libraries HAVED to be dynamic? Why cant it just be a header..
If you've started learning C++ recently, I recommend following through with that a bit more before you start trying to learn a library or API. Just fiddle around with the language features and find the subset you like working with before moving onto more grandiose things.
At least know the core of C++ like classes, structs, pointers and some of the object library
I've been working with it for about 3 years now and I can say from experience that knowing more of the language itself will help you learn other skills faster as you don't need to worry yourself with how to do basic tasks and can focus entirely on implementing your shiny database
Sorry for the paragraph
Well, not that recently at all xd, I know OOP, stl, pointers, links and other ordinary stuff. I said that recently, cause my tongue still doesn't dare to describe my skills as if I am capable of writing something useful lol. My next task is to write a desktop application using Qt and databases, but moving on after learning the basics is still hard
Moving on from the basics is always going to be hard. It's just as hard as starting from scratch (because you basically are) and don't give into your imposter syndrome; there's plenty of applications for just the core features of just about any language
I wish you luck, remember to take breaks
Hey I lost my iOS account and I was wondering if I could get it on my Android or if you cannot help me where to go to get help
both were from complete different device, please come here #🚑help-chat
100% true
lmao yeah
Rust is an unholy language used by the apostates, and as such, we shall fight against them
if rust is an unholy language then im the devil himself
insane
bro please don’t ss this ☠️☠️
Too late.
Insane.
⛸️
⛸️
too late
did u delete it?
no 👽
by common sense you would delete it before you ask this question
almost like you don't actually care and just joking
and its almost like

what is bro yapping about
all im yapping is your mom and "yap" means "to do" in turkish
hi
Turkish rizz
hey how do i make a worldbox mod
𝙼͢𝚘͢𝚍͢𝚍͢𝚒͢𝚗͢𝚐͢ 𝚃͢𝚞͢𝚝͢𝚘͢𝚛͢𝚒͢𝚊͢𝚕͢
Want to learn how to make mods?
NCMS
https://gamebanana.com/tuts/16266
Native
https://the-official-worldbox-wiki.fandom.com/wiki/How_to_make_mods_(native_modding_system)
Bepinex
https://steamcommunity.com/sharedfiles/filedetails/?id=2106187116
Download Visual Studio Community 2019. Run downloaded file. After all preparations have done, you need to select .NET desktop development, and select checkboxes in right side menu: .NET Framework...
vs 😭
If you do <void on Java, does it delete clones?
Void does nothing more than tell that the function returns nothing
you use void in the place of the parameter if you arent returning anything
Void is used when the function associated isnt meant to return anything
guys is cloudflare down?
No?
me when the
replace one of those ; with greek question mark character
no thanks i dont wanna die
i should make a virus that goes to all code files and replaces all of the semi colons with the greek question mark
that would be very evil >:)
Atp cant you just include everything
no
the correct way to do this is to split them into multiple files
makes ordering better too
because currently this is how im using all of these dependencies
there's more it cant fit though
so yeah but im lazy to split them into files so its gonna be like this for now 👍
So much knowledge beyond my understanding :0
https://devforum.roblox.com/t/introducing-unreliableremoteevents/2724155 holy shit roblox is an absolute W
Hi Creators! We are excited to announce the release of UnreliableRemoteEvents! This is available immediately and adds a new creatable instance, UnreliableRemoteEvent, that sends the event unreliably and unordered through the network. This is in contrast to RemoteEvents which are sent reliably and ordered. UnreliableRemoteEvents are useful for ...
Are those all?
(edited)
Dunno
They‘re just so many
I just found out that easypark had been hacked and some customers data leaked to the open internet through reddit and found guide how to know if I was affected as I am easypark customer and I was affected. Would've been nice if the company contacted me about it like any reputable company does...
Are they allowed to not contact you?!??!
Atp roblox may be better quality than unity is some aspects
They technically did but only through their app that I use once every 2 months because I don't need parking spots that often
I think I can ask the local Python developers of the discord bots ||
|| about this problem? If there are any of course.
You have { instead of ( on line 94
oh wait
nvm
you don't need the {} you've got there
it thinks you're giving it a list for description
im convinced anyone who writes a book about programming is intermidiete at best and only knows front-end, enough to get him a job
I have a 600 page book about c#
which could easily be cut to 100 pages or less
and the shit they teach isnt even useful
If they know front-end, they know that js is not a java
So they don't know even front-end
my OS lecturer said that java and jvm run webbrowsers
Lmao
Men . . But in C+
whar
It makes sense
Yed
Yem
Burn this book
same lmfao
lets be honest, if you're a really skilled programmer are you going to waste your time teaching on a school that pays minimum wage?
nope, the stress aint worth it man
Advice №1. Don't
Don’t worry my two years ago my OOP lecturer asked me what the f after numbers do
They didn’t know
Naww
Teaching salaries are so trash here so it’s basically the bottom of the pit
Most of them have not made a useable app ever
I probably make double their salaries
oof
it does give you a piece of paper that allows you to make more money
Hey, how would i add common knowledges into the game, then correlate them to in game things
Im new to c# btw
Ok I won’t
Not worth the time tbh
If you spend your time learning on your own you can get so much more
I'm under the impression that it is very difficult to make money without the piece of paper
it is a gatekeeping thing in certain places
the gatekeeping seems to be going down
and if you used the 4-5 years to work on yourself the right way it wont be that big of a deal since your resume should be filled with projects anyway
or just do what im doing and work for yourself
most simple linq expression
actually this is pretty simple compared to some of the other ones i wrote
looks like rust
I might actually like linq
Damn rust be copying C# smh
😠
I had a teacher in vocational school that worked in software for 15 years before teaching. He went from junior to leading multiple high value projects before teaching and he's super skilled. The vocational school pays software development teachers well tho, it's not as much as they do make actually doing software development but it's like double what regular teachers make
He has since gone to university of applied sciences to teach software development, I'm guessing he's getting a good amount of money there as well
jupe lore dropped
my teacher gets paid 200k + housing + free education for his children a year
and education is 50k a year so he saves 100k a year
hello new to c#
get me a job for that school
go to the uk which isn’t worth it
I suddenly love children
And want to give them a happy and prosporous future
bro wtf does this dude teach
slang language
not here anyways
and not all people function the same way
I prefer self-taught as far as knowledge, but I'm pretty bad about self-projects
Some people I know struggle with self taught as well
I think either way theres no one size fits all, and people should go the path that best suits them
most basic computer science shit
Pluh
Pluh
Teachers that teach html getting their 200k salary vs teachers that teach c getting 30k
That sounds extremely unfair
thats the point
The certifications are just easier and thus better bonuses
I didn't even have to study for my exam bro 😭
Yeah but bonuses arent enough to up your salary by 170k
why do people have so many problems with java
jeez
it was my first language
and i am perfectly
fine
You are not fine, you do not look fine, everyone who says they are fine without coincidence is not fine
Anyone who didn't start with a c language, unity or html and JavaScript is mentally insane by definition
and how do you know that?
You just gotta trust
steam gifts!
3W5WI-
6LRIX-ZNY4C
2W09Y-JBVVB-
0Q4WB
WABY7-
3Z4XM-N2XV4
not me trying to redeem one despite already owning the game...
What are they contains
free worldbox but i don't know if all of them taken
considering it's yesterday
unfortunately i think it's already taken ny someone else
Free steam gift codes
||DV4KX-KD503-
65MNH||
||6CI8W-
DXV88-8VAXV||
viener buy me wb premium on mobile plz

Anyone for mobile?
Sadly no
hi
hi are you good with computing
The installer was broken a bunch of missing dll
But it's OK I fixed it by installing all the missing dll and put it in the folder
Nice
You might not have gotten the dll from building it
i forgot to save my project i’m shooting myself
Relatable also don't shoot yourself
hey question how can i like make the border bigger or the map bigger
not a question for us
ordenador
Yo guys
Is this good enough for a forth wall break in my game?
using UnityEngine;
public class FourthWallBreak : MonoBehaviour
{
private bool hasTriggered = false;
private void Update()
{
// Trigger the fourth-wall break once (adjust conditions as needed)
if (!hasTriggered && Input.GetKeyDown(KeyCode.Space))
{
StartCoroutine(TriggerFourthWallBreak());
}
}
private System.Collections.IEnumerator TriggerFourthWallBreak()
{
hasTriggered = true;
// Change window title
SetWindowTitle("I AM A GOD. DO NOT DENY IT");
// Simulate shaking effect (adjust intensity and duration as needed)
for (float t = 0; t < 1.0f; t += Time.deltaTime / 2.0f)
{
float offsetX = Random.Range(-0.1f, 0.1f);
float offsetY = Random.Range(-0.1f, 0.1f);
transform.position += new Vector3(offsetX, offsetY, 0);
yield return null;
}
// Reset window title
SetWindowTitle("Your Game Title");
// Reset position (if applicable)
transform.position = Vector3.zero;
hasTriggered = false;
}
private void SetWindowTitle(string title)
{
// Code to set window title (platform-specific)
#if UNITY_STANDALONE_WIN
SetWindowText(GetActiveWindow(), title);
#endif
}
#if UNITY_STANDALONE_WIN
[System.Runtime.InteropServices.DllImport("user32.dll")]
private static extern System.IntPtr GetActiveWindow();
[System.Runtime.InteropServices.DllImport("user32.dll", EntryPoint = "SetWindowText")]
private static extern bool SetWindowText(System.IntPtr hwnd, System.String lpString);
#endif
}
No
I'm not reading that
You need to use code blocks or send it as a file
#include <stdio.h>
void main() {
printf("omg guys it is codeblock") // holy shit it is codeblock
}
Please use code blocks
Holy shit
Its a code block
Omg thats a code block
bro cant even semicolon smh my head
YEAH OMG THAT'S A REAL CODE BLOCK
its C
main has to be called main
and it is upperCamelCase
you are talking about PascalCase
ew
For some reason I don't like seeing upperCamelCase
And sometimes I like seeing it
?
You don't like and like at once
I like upperCamelCase
Its the ugliest good looking thing
Oh so that's what it's called
never knew that
Wait PascalCase and UpperCamelCase same thing?
lowerCamelCase
https://wiki.c2.com/?LowerCamelCase
Ok if specifying kind of camel case lowercase letter first is lowerCamelCase
oh uppercamelcase
i thought he said camelcase
ive never heard of uppercamelcase
its either PascalCase or camelCase normally
🐪
From what I can tell camelCase generally refers to the lowercase first.
Though you would use the terminology i brought up earlier if trying to be specific
Goddamn this is actually a huge topic
just say caseThis/CaseThis/case_this
mmm simple
😠
😠

lmao
shush
bye-bye hamza, sleep well
Cya, blue but turtle
im not going to sleep smh its 6 pm
💀
good idea though 👍
unreal
Anyone know lua?
I know the basics of it. I don't like the language tho
Same actually
Yea ig
Shake em shake
im making a compiler using javacc 🤢
uni do be torturing us
it doesnt even have intelisense
happy new year
HAPPY NEW YEAR
Can I ask something is the new update release early or in mid year?
We are currently developing it but due to the amount of content being added its expected to release some time next year
didnt we agree that its gonna be out in 2034?
why you lying to people
smh
I managed to convince an intern to do all the work I was supposed to do
I thought 3034, don’t wanna stress anyone
Really? I thought one of you accidentally completely wiped all branches from the local and remote repositories a few hours ago. IwI
Yeah, yeah, but we still have the source from the pre-Steam release
So we‘ll work from there
i feel like you guys don't check beta testing channels enough, Maxim clearly said they're switching from C# to Rust so it'll take another 2 years.
Oh dear, isn't that written in Python with a transpiler/code minifier into C#? TwT
Actually, it was Java
They said we need to go back to the roots
Our faithfulness shall pay off
no, they're using a hacked version of Unreal Engine that works with Rust
which also means we're getting a 3D lighting update
that's why Cody's gone inactive recently, he's sulking that his 3D mod has to be discarded
Hopefully Java 8. 
Still think we should just scrap WorldBox and make WorldChest Deluxe Edition, which will be a 3D Battle Royale Shooter, but management won‘t listen to me
Well, why would they, you don't have even nearly enough microtransactions planned in your proposal!
Right, we have to innovate!
How about we add two battle passes?!
We can add two battlepasses which last for a day, and only give XP, that adds nothing, you can pay extra money to skip to the end of the battlepass immediately
How genius, I'm sure that everyone would love spending their live savings on watching a meaningless number go up! ^.^
that's sounds hilarious

What?
wait what
is all of this satire i assume
no, i don't think so
No it isn't, the 3d modern update shall come soon (in a geological timespan, at least)
I talked to administration about adding an open world survival gamemode with triple A graphics, cars, guns and hookers and they agreed
so the update will be delayed for a little longer
maybe a few centuries or so no biggie
😦
did someone say java
I hope not
java
😡
Java seems like it is miserable to use
But it also looks very useful
Should I learn it?
its miserable and not useful
every code you write in java is instant legacy code
companies avoid java for a reason, google made kotlin, microsoft made c#, minecraft has a bedrock version
everything is avoiding java, so should you
Well, some people might respect your traditionalism
But no
but apparently minecraft java edition is better?
people who say it's better are usually referring to the modding and community side of it, that and the fact it's not filled with micro-transactions
anyone who's played both would know Bedrock is simply better mechanically and performance-wise.
Java is vastly outdated, especially now that oop is becoming less prevalent
Plus the JVM has some unfortunate restrictions last I checked, anything that is made in Java can be made faster and better in several other languages, it's a shock it still receives updates, not to say that it's objectively bad, just that there're better options available usually
Hello, what language do you like to use most for programming?
I personally prefer C# but I don't use it for everything. Only the stuff it actually properly works for
C# too
C# but Chicken close second tho (i have never used chicken)
Nah, whitespace is better. 
||Jokes aside though, it's C# for me too, it's a great language, and, in my opinion, also what works best for most things I do.||
chicken is chicken + 66% of it is whitespace its just better
Never before have I heard of an "AndAlso" tbh...
Like, idk if this is a stupid question, but what's the difference? IwI
It it the same as the one in Java? If yes, then yes.
nope it is not the same
(Based on that, I'd assume it's a yes.)
Ok, then I have no idea.
Though I do believe I know what a bitmask is.
Picture shows what it's in java link is for C# documentation on bitwise operators that explains what it does in C#
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/bitwise-and-shift-operators#logical-and-operator-
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
well it's close to being the same
you can use it for bitwise operators in Java as well
but in C# if you try using & instead of && it won't work too well
Oh, I only knew about the bitwise functionality in Java.
In Java apparently you can use & in place of && and it will work but might introduce unwanted behavior
Yeah, imagine doing that when e.g. the first condition is a null check of a variable that you then access in the second condition. xD
we are all politically aligned here
the air we breathe, thats c#
the food that we eat, it's c#
reality is written in c#
then im the opposition
because I breath C/C++
I eat Rust
and my reality is written in assembly
#LowLevelMatters
nah you're good you dont write in java
if i see a java devloper i jump at them
everytime my java professor comes in the room the entire session becomes a debate club
Assembly but only because im too lazy to finish the one thing I have started doing in it and without finishing it I cant move on to another language
The language “brain fuck”
It’s extremely popular
Don't recommend such beginner languages, true programmers use malbolge. 
||(This is still sarcasm, like my previous contribution to the question.)||
You're giving such good suggestions frfr
I'm the best programmer of this server! 
||(If we filter out everyone but the AMP dev team.)||
||((And invert the resulting list.))||
real
UwU
Do you say that the AMP dev team sucks??
Wdym, I called myself the least competent AMP dev with those instructions.
Because I said that to be on top of the list, it needs to be inverted.
Implying that if it's not inverted, I'm the worst AMP dev.
Making Cloud and Jupe better than me.
Like, the only bad AMP dev is the 2020 version of Jupe, deciding to use Python, change my mind.
Oh. Misread it to read if they filter out the AMP dev team
Therefore saying the AMP dev team needs to be filtered out, else they would be better than you, if the list was inverted
:P
Yeah, yeah, makes sense. IwI
The people coding @bitter sedge .
what's this mod about?
AMP isn't a mod, it's the bot that I just pinged.
And it's just a random assortment of features useful for this specific server.
...
What were you expecting that to do? IwI
there we go -w-
?
hey anyone know how to open .wbox files to expand a world
if you mean make an already existing world bigger idk if that exists
if not then the general way to open a .wbox file is by using the game
know cody created something, don't think he ever posted it
it was a feature of mapsizes for a while, but janky, so removed
I would say he only looks at good channels, but that wouldn't make sense when considering his occasional messages in #🌎general . 
Can do it manually
easiest way to do so is taking the .wbax autosave format as that's actually uncompressed
If making a world bigger vertically that's no problem, just make new lines.
red circle corresponds to the bottom layer of pixels in a world
order of stuff in tileMap determines what number is assigned. and in this case deep ocean is 0 and sand is 1
if i wanted a horizontal 16 pixel long tile of sand at the south west corner of the world
the resulting tileArray and tileAmounts pair would be
[1,0]
[16,112]
Total number of lines is dependent on vertical world size
What tileAmounts have to sum up to is dependent on horizontal world size
both only increment by 64
Are you guys talking about modding in coders cave? Shame on you
It seems really easy to expand a world bottom and top
maybe just 12 lines python
Yeah just need to add more lines
changing the width of a world requires you to edit what's in the arrays
Oof
Save everything in the arrays and make a new array then have some offset????
I'm so bored rn
Ok lets say in a 2by2 world at line 64 of tileArray you have [0,1,0]
and at line 64 of tileAmounts [63,1,64]
if you want to make the world 4 wide and keep the sand in the center...
the pair becomes
[0,0,1,0,0]
[64,63,1,64,64]
could just shorten it but the game be fine reading it like this thankfully
1d array pretending to be 2d it seems like @quartz pumice idk
like look at this shit
so many fuckin linebreaks
fr
ok
even easier (I think)
cause without the line breaks it just be
[[0],[0]....[0]]
Itz a 2D array of it's stored like this { { 500 rows}, { 500 rows } ... 498 rows.. }
Oh has to be a consistent amount in each bracket?
No
It would probably be the only way that works practically though
Bruh
Where do I download maps so I can see it myself when I get home? I don't have pc version
Ok i can give ya the map.wbax i used as an example
it consists of ocean with a 16 by 16 square of sand on the north west
thx
Also reason for multi KB file size is cause i trait spammed some guy
would only be a couple or few without that lol
#🌐map-downloads message ok gonna see if I can expand this map while keeping it centered
~decode
~help
oh right can't use amp in here
no
giving me nightmarish flashbacks when i was trying to understand it a while ago
:d
I figured it out when I was tryin to use codepen.io to make a image to map generator
The thing is not detailed images work just fine, but when doin more than that i get an index outta bound error 
why would you use codepen to do that
cause I used my phone
and i don't have worldbox on steam
so modding outta the question
it was just more convient for me pre tty much
im not payin $20 or whatever for it
all i do is run games long term anyways
waitttt i have a old laptop and and android VM on it...
oooooh
maxim and mastif posted some keys in here a while ago
all them are used
they lasted a surpsingly long time sorry you didn't get one of them tho
yeah they lasted a while cause nobody ever looks in here
https://codepen.io/Deathrobloxian/pen/ExGozRg
code pen if curious
Original Pen by James N Wasson with help from Welling Guzman at https://css-tricks.com/manipulating-pixels-using-canvas/ Currently the choose file isn...
Yeah sucks
does this do the latest save version format?
It does map.wbax
last i tried a few weeks ago it still works
Still have no fucking clue how to fix the bug of more detailed images not working
also tried adding a way to replace image by uploading file but didn't get that working either
OH you just set out every tile in the tileMap LMAO
i was confused for a second
why didn't i do that-
thats so much less complicated
not as much as the imagetomap mod but ye lol
issue with quantizing?
Didn't bother including the cybercore or tnt on tile stuff
I doubled check the autosaves and the generated arrays seem to be in bounds
sum up to proper map width, proper amount of lines
but could be miscounting somewhere
lemme go grab an exampl of a working and not working one i got
my code makes teh save file just fine, it's just not a valid one somehow
despite it working just fine for simpler images like the one you see in the codepen
incorrect values in tileAmounts possibly?
ok imma look closely at the erroring one yet again
i remember having a similar error, forget how i solved it
ok tileArray count is fine
time to check tile amount
Ok 64 [...]s in both
the amount of arrays within them is fine
ok time to see if all the tile amounts arrays add up to 64
ok tile array is within bounds of the 36 items i put in tile map
ok time to run some code to make sure tileAmount sums up properly to 64 in each array
Checked via javascript and yup all the tile amounts add up to 64
wtfff
Where the hell am i getting an out of bounds error at
maybe i can try and find the line of code where it is erroring and see if that can help?
ok lemme run it rq on my worldbox the
I don't understand what makes it outof boudnsss
the tileAmount map is literally all just [1,1,1,...1]
oh you're not limited to 64 in tile amounts iirc
I made a 1 by 1 world
to make manually checking it easier
yeah ive done that
a ton
truly a pain
I've reworked AMP with a new convertor recently (its not on public amp though)
Somehow despite having 64 arrays in tileArray and tileMap
and everything in the tileMap sums up properly to 64 i still get a fuckin indexoutofboudn somehow
and Had to rewire and rework an entire new convertor in a different language
truly an experience
What's so fucking fustertaing is that my things works. just only for the not detailed images
doing somethign that looks like this is fine
but try to insert a discord screneshot or whatever and it goes to crap
weird
i dont think I had that issue in particular
Ive had weird duplication or glitches
I fixed all the formatting issues a while ago
(because of code shenanigans)
no stray commas or what not
@feral bramble what is the result of a complex image
this is the result
and this what it gives in worldbox
this is what a working one looks like
is it a 1x1
ye
i can look when im done eating
which language?
noice
my decoder doesnt like your file
oof
An error occurred: Error -3 while decompressing data: incorrect header check
interesting i tried to do it in c++ but i didn't want to bother learning it
so then i learned go instead-
you'd need an image to compare
could be anything
Oh yeah does it do more biomes than what amp currently does?
that's what pushed me to make my own
amp doesn't have every biome?
latest amp was updated ages ago
purely because of the new format
(less file size)
but wasnt updated beyond
because I wasnt bothered to maintain it
this one just has an input that makes it fairly simple to add
oooh
so it's selectable like the image2map mod
nice
well not quite ig based on how you describe it
easier for non programmers to just add to a text file
@hollow bronze is this an ok image (zipped so discord doesn't ruin it)
can just use a plugin for noncompression
349 ms
DAMN
wow
i don't even need to count mine ik its slower LMAO
mf i can see that even without the highlighting
about 1.5 seconds for discord users because it has to save and upload the file
gib
the red is so deep in that
to be fair im using all tiles
Rare?
and you dont want all tiles
what u doing to match colors to nearest biome exactly
like what method
plus all tiles adds to compute time
barely any
so actually this is probably slower than if I did it with less tiles
You’d assume the opposite.
compression is the issue
I spent ages reducing time
(old screenshot)
I’d eat it.
and there are still portions that take too long but ive just lived to accept it
I have an image that takes like 3 seconds and it annoys me
oof the color method i used sucks ass
i need to step up my game
looks similar to Igniz act ually
what palette you all use btw
im using all biomes high and low
i was bragging to cody about how mine was faster than a bunch of others.... not so much anymore now
the ones on amp is just the first one ever made in 2019
with slight adjustments to fit new map standards but no code change (like major structure)
than the guy who made it
ik i have the old source
the guys code still pretty good though
its a fun project so its neat to see other people tackle it
i see why the file name-
if nothing else other than its fun
oh I have a few test images to stress test
that was one of them
yeah i think ive done the same proccess of creating one three times it is always fun
uhhh
can't with dithering
oh you dither yours
same thing
cool
square root of them added (and multiplied)
what is dithering?
its like
using c++ multithreading
and pretty much every speed trick
good exmaple
no you are not
make it a shader
run it on the gpu
it spreads "error" to make it look better if that makes sense its hard to describe
writing the compute shader rn
im sure the bot VPS I put it on will have a massive gpu
So when using an restricted palette you either have it hella saturated, or not hella saturated and look grainy due to dither
not an issue for the mod hehe
i want dat amp bot on new code
i was planning on dropping it when the new update comes out
because there will be new biomes and stuff
need to benchmark that still but its current dev version is broken beyond believe
also reworking amp to be more modern, but its been coded by the team so much that its a lot harder and longer process
why aren't you still on the team?
I am technically
But people like cloud have the hot potato stuff and its probably got more code than most of the bot
damn
And I cant just like pop in and commit a shit ton of changes to that
and also I just dont wanna convert boring ass moderation stuff
no fun in coding that
sounds like an annoying dilemma i can see why you have a private version
do you still pull updates from the public one
How about you take speciesbox 
trust me the original AMP code is horrible
And I take this ez thing
probably for the best
like really really bad
I saw it once 💀💀
yeah i have that code and i just
you should see the else if section for mapsize
i can't bring myself to look at it for longer than 5 min
now i want to see
i am going looking
its basically if you did crack and coded all of the code in an hour and had barely any python experience
and then did it in the python ide
i am still disapointed the bot is python
new rewrite is still in python
but its pretty simple and straight to the point
im not much into js
and I tried C# and after making a bunch of wrappers decided I didnt want to use their API to make another API
so that I can get to the part where i actually make stuff
fair
this what you talking about?
I find it simple in a bot if you're not coding a whole ass game or whatever
no but thats up there
(in terms of being god awful)
no way
literally the meme
that hurts
but for real
wtf is that language
oh wait i only got half the ifs-
the other half
lmao
I remember fever dreaming through that to make it align properly
Python devs amirite
python devs on their way to overengineer code that can be written in a single line
oh found it

also why is the code repeated twice-
no idea
yeah they have to unroll that loop to get better performance
went away for a couple months, came back, was confused, and rewrote it
yeah pretty much me every project
i am making one rn
seems simple so far
made a simple command handler
nice
I dont remember what library I used at this point
probably been a year or two
you have to ascend to a higher plane of consciousness to write c#, thats why every c# developer is an ascended, we're basically gods at this point
well you see im a centrist andy
so I just use the programming language thats appropriate for what im doing
i just use whatever one i felt like at that moment-
probably the root cause of many issues
note: don't try and mess with dlls in javascript
anime girls do hold all languages though
do a pull
too much effort
glad to see holyc got its representation
LMAO
☠️
dont tell anyone
rip terry davis 😔
i thought it would be fun to do Kingdoms again
make it -0.01$ and you got a deal
its fun but too big of a headache
left us too soon
and its so huge right now
he is an inspiration to us all
I just wanna rule a kingdom
and hog 90% of the map
(what is speciesbox)
uhh dnd maybe? I never got deep into it
idk what it was supposed to be
but nikon wasnt great at making games when he made it a couple of years ago
im leaking the codebase one file by one
lmao have fun
all like 400 files
(i still don't know what it is)
it has channels
actually there's some interesting shit there
ITS A BOT
public Task<IEnumerable<ZoneEvent>> RotateZoneAsync(Zone zone)
{
var statuses = _adventureRepository.GetInZone(zone.ZoneInfo.Id);
var events = new List<ZoneEvent>();
foreach (var status in statuses)
{
if (!status.IsActive)
{
continue;
}
var newPos = Random.Shared.Next(zone.ZoneObjects.Length);
if (newPos >= zone.ZoneObjects.Length)
{
events.Add(new EmptyEvent()
{
Id = Guid.NewGuid(),
ZoneId = zone.ZoneInfo.Id,
Adventure = status
});
continue;
}
var zoneObject = zone.ZoneObjects[newPos];
switch (zoneObject.ObjectInfo)
{
case GatherableResource resource:
events.Add(new GatherEvent()
{
Id = Guid.NewGuid(),
ZoneId = zone.ZoneInfo.Id,
Adventure = status,
Resource = resource
});
break;
case EnemyInfo enemy:
events.Add(new EncounterMobEvent()
{
Id = Guid.NewGuid(),
ZoneId = zone.ZoneInfo.Id,
Adventure = status,
EnemyInfo = enemy
});
break;
case DungeonEntrance dungeon:
events.Add(new DungeonEvent()
{
Id = Guid.NewGuid(),
ZoneId = zone.ZoneInfo.Id,
Adventure = status,
Entrance = dungeon
});
break;
}
}
return Task.FromResult((IEnumerable<ZoneEvent>)events);
}
this function rotates the events in a zone and gives new events to the players
I did a beta of a game idea somewhat related before SB but never got to finish it
monsterous, putting the brackets on the next line
where you just build up kingdoms like worldbox, collect stuff, have big faction fights
as it should be you mean
that's sb
huge L
same line brackets >
microsoft has no style
unfortunately im on team seperate lines
you mean you are cool
i bet you also support var and single line if statements
ah neat
i do
as i should
wonder if nikon was inspired or simply wanted to do same thing (probably more likely that he thought of same idea)
not the idea fraud
i am going to be sick
if(true) return false;
no brackets
ok good
I like all the spaces and indents and whatnot
do you make your comments red
LMAO
i love how you recognized that
what do you do if you have a really long condition in an if statement
hard to miss
everytime, im just like "this hurts my eyes"
