#⌨coders-cave

1 messages · Page 25 of 1

orchid frigate
#

but there is no point in doing it

knotty root
#

ig

orchid frigate
#

if you wanna do it for the sake of fun then I understand I did that but otherwise its not practical

quartz pumice
#

16kb for a fucking triangle 😭

frozen ginkgo
#

Are there any good coding languages to start from?

wet girder
#

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

frozen ginkgo
#

Kk

main peak
#

Yeah

tulip lava
#

Listen, is it possible to make a bot in the Discord bot maker that crashes the servers after your ban?

soft nexus
#

.......

#

yeah

#

as long as you can somehow get the owners to trust it with admin perms

dusty kernel
#

Someone will give you the answer

orchid frigate
quartz pumice
#

People will literally not stop asking to ask

feral bramble
#

TLDR: just say the god damn fucking question in the first message

#

I hate the fact it's so prevalent that this website exists...

quartz pumice
barren shale
#

Who toucha my discord layout

feral bramble
#

Hmm the December 4th update hasn't reached me yet ig

#

is the lates 206.16 or is it something else?

wet girder
feral bramble
#

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

barren shale
#

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

quartz pumice
#

I wonder why

barren shale
#

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

feral bramble
#

Welp wonder how long it's gonna be before i get hit with it

lofty phoenix
#

enjoy the time you have left

jolly field
#

Jupe! This has the r-word in it!!

wet girder
#

oh fuck

jolly field
#

Reporting to admins.

dreamy vortex
#

Gn coders

barren shale
#

Why are people hating on the new layout

#

It looks fine

wet girder
#

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

knotty root
#

Also for the swipe reply

barren shale
#

Haven’t seen any bugs yet

knotty root
#

Yes but people are used to swipe to check members

#

Including me

#

Clicking the top of the screen is completely different to that

barren shale
#

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

knotty root
barren shale
#

Maybe just make a show members button instead of clicking the channels name to be more obvious

barren shale
#

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

knotty root
#

Also, when I check members it shows Jupe’s friend nickname

wet girder
barren shale
#

Android users be like:

#

But yeah from what I’ve been hearing there are lots of bugs for a released version

wet girder
#

Really feels like a beta to me

barren shale
#

But as for the looks it doesn’t really look bad

wet girder
#

It looks clean yeah

barren shale
#

I really like the new color too

wet girder
#

What new color

barren shale
#

The theme color

wet girder
#

I just selected the midnight one which looks the same as old AMOLED mode so idk anything about that

barren shale
#

Is it pure black for the midnight one?

#

That would be a great battery saver for oled screens

wet girder
#

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

quartz pumice
#

Damn

feral bramble
barren shale
# barren shale

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

wet girder
#

lol

feral bramble
#

Weird feature

feral bramble
barren shale
#

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

next lotus
#

c#

barren shale
#

CEE 🔪

naive sonnet
#

bro

barren shale
#

someone deleted my ip 😔

#

it was a very cool ip

feral bramble
#

x.x.x.x
that's the ip but without the numbers

barren shale
#

yeah 4 1 digit numbers

tropic dagger
#

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

quartz pumice
#

uwa

#

Looks like I can learn calculus before calculus class

tropic dagger
#

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

feral bramble
tropic dagger
feral bramble
#

for example the integral of x is (x²/2)+C

tropic dagger
#

which is what I'm going to be doing

feral bramble
#

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

tropic dagger
#

which isn't necessary considering that knowledge can be found much easier than using fucking calculus

feral bramble
#

yeah

tropic dagger
#

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 😭

feral bramble
#

Ah so that's what ur usin it for

tropic dagger
#

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

feral bramble
#

So what's the renderin gonna be for exactly?

tropic dagger
#

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

feral bramble
#

neat

tropic dagger
#

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 😭

quartz pumice
knotty root
#

L M F A O

late torrent
cobalt ember
#

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)

wet girder
#

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++

cobalt ember
quartz pumice
#

also why do all c libraries HAVED to be dynamic? Why cant it just be a header..

tropic dagger
#

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

cobalt ember
tropic dagger
#

I wish you luck, remember to take breaks

spare wraith
#

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

young flume
orchid frigate
#

100% true

quartz pumice
quartz pumice
#

Rust is an unholy language used by the apostates, and as such, we shall fight against them

orchid frigate
#

if rust is an unholy language then im the devil himself

warped haven
#

rust is a texture

#

wait this isn’t general my bad ☠️

dreamy vortex
#

insane

warped haven
dreamy vortex
jolly field
jolly field
#

⛸️

pallid ice
#

⛸️

warped haven
rose pawn
warped haven
#

no 👽

rose pawn
#

almost like you don't actually care and just joking

#

and its almost like

warped haven
rose pawn
#

that's completely acceptable

#

almost like

#

that's how people

#

act and socialize

warped haven
#

what is bro yapping about

rose pawn
#

all im yapping is your mom and "yap" means "to do" in turkish

still bramble
lilac bay
#

hi

rugged field
#

hey how do i make a worldbox mod

young flume
# rugged field 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

GameBanana

A WorldBox (WORLDBOX) Tutorial in the Mods category, submitted by AdinizWarcraft

The Official Worldbox Wiki

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...

Here you will learn how to make Streets of Rogue mods using BepInEx.
I assume you have basic knowledge of C#, so I'm not going to explain how classes and attributes work....

next lotus
#

oh fuck

#

i accidentally

#

nvm

still sinew
#

If you do <void on Java, does it delete clones?

wet girder
#

Void does nothing more than tell that the function returns nothing

flat valley
#

you use void in the place of the parameter if you arent returning anything

orchid frigate
#

Void is used when the function associated isnt meant to return anything

next lotus
#

guys is cloudflare down?

cloud wigeon
barren shale
#

me when the

rose pawn
#

replace one of those ; with greek question mark character

barren shale
#

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 >:)

orchid frigate
barren shale
#

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 👍

gleaming widget
#

So much knowledge beyond my understanding :0

quartz pumice
#
static solar
barren shale
#

All of them

#

Why would they be there if I’m not using them

barren shale
static solar
#

They‘re just so many

wet girder
#

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...

quartz pumice
#

Are they allowed to not contact you?!??!

orchid frigate
prime kiln
#

hello people of the cave

#

goodbye people of the cave

wet girder
glacial horizon
#

I think I can ask the local Python developers of the discord bots ||treesmile|| about this problem? If there are any of course.

wet girder
#

oh wait

#

nvm

#

you don't need the {} you've got there

#

it thinks you're giving it a list for description

glacial horizon
#

Oooh hagrid

#

Ok, thanks, I hope this help

lapis flint
orchid frigate
# lapis flint

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

lapis flint
#

So they don't know even front-end

barren shale
#

my OS lecturer said that java and jvm run webbrowsers

quartz pumice
#

Lmao

austere wren
#

Men . . But in C+

quartz pumice
#

whar

austere wren
#

It makes sense

quartz pumice
#

Yed

austere wren
#

Yem

flat valley
next lotus
#

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

fair quarry
#

Advice №1. Don't

next lotus
#

bruh

#

my java teacher doesnt know ternary operators :(

barren shale
#

Don’t worry my two years ago my OOP lecturer asked me what the f after numbers do

#

They didn’t know

quartz pumice
#

Naww

barren shale
#

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

quartz pumice
#

oof

hollow bronze
#

it does give you a piece of paper that allows you to make more money

sage valley
#

Hey, how would i add common knowledges into the game, then correlate them to in game things

#

Im new to c# btw

knotty root
barren shale
#

If you spend your time learning on your own you can get so much more

quartz pumice
#

I'm under the impression that it is very difficult to make money without the piece of paper

hollow bronze
#

it is a gatekeeping thing in certain places

barren shale
#

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

barren shale
#

most simple linq expression

#

actually this is pretty simple compared to some of the other ones i wrote

orchid frigate
#

I might actually like linq

barren shale
orchid frigate
barren shale
wet girder
#

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

rose pawn
#

jupe lore dropped

brittle trout
#

and education is 50k a year so he saves 100k a year

next lotus
next lotus
brittle trout
orchid frigate
#

And want to give them a happy and prosporous future

barren shale
dusty kernel
hollow bronze
#

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

brittle trout
austere wren
#

Pluh

wicked trail
#

Pluh

quartz pumice
#

Teachers that teach html getting their 200k salary vs teachers that teach c getting 30k

still bramble
orchid frigate
#

thats the point

next lotus
#

html is more in demand

#

but hell nah im never teaching java even if you pay me 200k

barren shale
#

what is there to teach in html

#

you could learn everything about it in like 4 hours

austere wren
#

I didn't even have to study for my exam bro 😭

quartz pumice
#

Yeah but bonuses arent enough to up your salary by 170k

knotty root
#

jeez

#

it was my first language

#

and i am perfectly

#

fine

quartz pumice
#

You are not fine, you do not look fine, everyone who says they are fine without coincidence is not fine

orchid frigate
knotty root
#

and how do you know that?

orchid frigate
#

You just gotta trust

stone fractal
#

steam gifts!

3W5WI-aye 6LRIX-ZNY4C
2W09Y-JBVVB-aye 0Q4WB
WABY7-Blessed 3Z4XM-N2XV4

young flume
#

TAKES

#

COME ON

terse shadow
#

taken by my friends ez

#

now my whole gang has the game

frosty jackal
young flume
#

considering it's yesterday

#

unfortunately i think it's already taken ny someone else

astral basin
#

Free steam gift codes

||DV4KX-KD503-maximpog65MNH||
||6CI8W-maximpogDXV88-8VAXV||

dreamy vessel
#

Free steam gift codes from mastef

#

mwa emoji_1 emoji_1 emoji_1 emoji_1 emoji_1

dreamy vortex
#

shoot i gotta get steam

#

on my computadora

dreamy vessel
#

viener buy me wb premium on mobile plz

heavy fjord
sudden coyote
#

Anyone for mobile?

still bramble
knotty root
#

hello

#

is anyone here

torpid isle
#

hi

knotty root
#

hi are you good with computing

knotty root
#

how to run this please?

#

no .exe

quartz pumice
#

Is there a releases page

knotty root
#

But it's OK I fixed it by installing all the missing dll and put it in the folder

quartz pumice
#

Nice

quartz pumice
brittle trout
#

i forgot to save my project i’m shooting myself

wet girder
#

Relatable also don't shoot yourself

visual falcon
#

hey question how can i like make the border bigger or the map bigger

tropic dagger
knotty root
hollow sky
#

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

}

quartz pumice
#

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
}
orchid frigate
#

Its a code block

#

Omg thats a code block

barren shale
dusty kernel
barren shale
#

its C

#

main has to be called main

#

and it is upperCamelCase

#

you are talking about PascalCase

static solar
#

Book said so 🤓

#

I will just remove my statement

barren shale
#

as you should

#

there's no space for inaccuracy in this channel smh my head

quartz pumice
#

For some reason I don't like seeing upperCamelCase

#

And sometimes I like seeing it

dusty kernel
#

You don't like and like at once

#

I like upperCamelCase

orchid frigate
#

Its the ugliest good looking thing

feral bramble
#

Oh so that's what it's called

#

never knew that

#

Ok if specifying kind of camel case lowercase letter first is lowerCamelCase

barren shale
#

oh uppercamelcase

#

i thought he said camelcase

#

ive never heard of uppercamelcase

#

its either PascalCase or camelCase normally

#

🐪

feral bramble
#

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

orchid frigate
#

just say caseThis/CaseThis/case_this

feral bramble
#

mmm simple

next lotus
#

what im about to drop is an information hazard

feral bramble
#

😠

quartz pumice
#

😠

smoky atlas
smoky atlas
#

oh fuck

#

I should have expected lmao

young flume
#

lmao

barren shale
#

its time to go

young flume
smoky atlas
#

Cya, blue but turtle

barren shale
#

im not going to sleep smh its 6 pm

young flume
#

💀

barren shale
#

good idea though 👍

young flume
#

unreal

inner tangle
#

Anyone know lua?

wet girder
#

I know the basics of it. I don't like the language tho

static solar
inner tangle
#

Yea ig

barren shale
#

im making a compiler using javacc 🤢

#

uni do be torturing us

#

it doesnt even have intelisense

inner tangle
#

Oh

#

Hamza

rose pawn
#

happy new year

brittle matrix
#

HAPPY NEW YEAR

tall dune
#

Can I ask something is the new update release early or in mid year?

orchid frigate
#

We are currently developing it but due to the amount of content being added its expected to release some time next year

barren shale
#

why you lying to people

#

smh

quartz pumice
#

I managed to convince an intern to do all the work I was supposed to do

static solar
prisma grail
static solar
#

So we‘ll work from there

torpid isle
#

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.

prisma grail
static solar
#

They said we need to go back to the roots

#

Our faithfulness shall pay off

torpid isle
#

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

prisma grail
static solar
#

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

prisma grail
#

Well, why would they, you don't have even nearly enough microtransactions planned in your proposal!

static solar
#

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

prisma grail
#

How genius, I'm sure that everyone would love spending their live savings on watching a meaningless number go up! ^.^

young flume
#

that's sounds hilarious

jolly field
feral bramble
#

is all of this satire i assume

young flume
#

no, i don't think so

hardy field
#

No it isn't, the 3d modern update shall come soon (in a geological timespan, at least)

orchid frigate
#

so the update will be delayed for a little longer

#

maybe a few centuries or so no biggie

outer coyote
#

Can they add miniguns and beans

#

And how do i see my rank

#

!rank

split parrotBOT
outer coyote
#

😦

next lotus
#

did someone say java

wet girder
#

I hope not

rose pawn
#

java

next lotus
short chasm
#

Java seems like it is miserable to use

#

But it also looks very useful

#

Should I learn it?

next lotus
#

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

static solar
#

But no

old mural
torpid isle
#

anyone who's played both would know Bedrock is simply better mechanically and performance-wise.

tropic dagger
#

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

eager jasper
#

Hello, what language do you like to use most for programming?

wet girder
#

I personally prefer C# but I don't use it for everything. Only the stuff it actually properly works for

young flume
#

C# too

frosty jackal
#

C# but Chicken close second tho (i have never used chicken)

prisma grail
frosty jackal
wet girder
#

VB.NET is goofy ahh. The && operator from C# is AndAlso in VB.NET and & is And Similarly for || it's OrElse and | is Or

#

goofy ahh language

prisma grail
wet girder
#

Have you ever used & operator in C#?

#

It's used for bitmasks mostly

prisma grail
wet girder
#

nope it is not the same

prisma grail
prisma grail
#

Though I do believe I know what a bitmask is.

wet girder
#

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

prisma grail
wet girder
#

In Java apparently you can use & in place of && and it will work but might introduce unwanted behavior

prisma grail
next lotus
#

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#

orchid frigate
#

then im the opposition

#

because I breath C/C++

#

I eat Rust

#

and my reality is written in assembly

#

#LowLevelMatters

next lotus
#

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

orchid frigate
still bramble
#

It’s extremely popular

prisma grail
feral bramble
#

You're giving such good suggestions frfr

prisma grail
#

||(If we filter out everyone but the AMP dev team.)||

#

||((And invert the resulting list.))||

feral bramble
#

real

prisma grail
#

UwU

static solar
prisma grail
#

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.

static solar
#

Oh. Misread it to read if they filter out the AMP dev team

static solar
#

Therefore saying the AMP dev team needs to be filtered out, else they would be better than you, if the list was inverted

#

:P

prisma grail
#

Yeah, yeah, makes sense. IwI

next lotus
#

what is going on

#

what is amp dev team

prisma grail
next lotus
#

what's this mod about?

prisma grail
#

And it's just a random assortment of features useful for this specific server.

feral bramble
#

~throw keymasterer

#

:(

prisma grail
feral bramble
#

there we go -w-

jolly field
#

?

primal spire
#

hey anyone know how to open .wbox files to expand a world

frosty jackal
#

if not then the general way to open a .wbox file is by using the game

frosty jackal
primal spire
#

Damn

#

Still thanks tho

#

I changed my plan now

#

Im gonna make a mod for wb

north dune
barren shale
#

cody lurks here apparently

#

smh

prisma grail
feral bramble
#

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

quartz pumice
#

Are you guys talking about modding in coders cave? Shame on you

feral bramble
#

¯_(ツ)_/¯

#

I'm just talkin bout how worlds determine what the land in em is

quartz pumice
#

maybe just 12 lines python

feral bramble
#

Yeah just need to add more lines

#

changing the width of a world requires you to edit what's in the arrays

quartz pumice
#

Oof

#

Save everything in the arrays and make a new array then have some offset????

#

I'm so bored rn

feral bramble
#

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]

feral bramble
quartz pumice
#

wat

#

okay so is it a legitimate 2d array or a 1d array pretending to be 2D

feral bramble
#

1d array pretending to be 2d it seems like @quartz pumice idk

feral bramble
#

so many fuckin linebreaks

quartz pumice
#

fr

quartz pumice
#

even easier (I think)

feral bramble
#

ok guess it is a 2d array?

feral bramble
quartz pumice
#

Itz a 2D array of it's stored like this { { 500 rows}, { 500 rows } ... 498 rows.. }

feral bramble
#

Oh has to be a consistent amount in each bracket?

quartz pumice
#

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

feral bramble
#

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

quartz pumice
#

thx

feral bramble
#

Also reason for multi KB file size is cause i trait spammed some guy

#

would only be a couple or few without that lol

#

~help

#

oh right can't use amp in here

north dune
frosty jackal
feral bramble
#

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 wbsuffer

frosty jackal
#

why would you use codepen to do that

feral bramble
#

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

frosty jackal
#

damn

#

should get worldbox on steam then LMAO

feral bramble
#

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

frosty jackal
#

maxim and mastif posted some keys in here a while ago

feral bramble
#

all them are used

frosty jackal
#

they lasted a surpsingly long time sorry you didn't get one of them tho

feral bramble
#

yeah they lasted a while cause nobody ever looks in here

#

Yeah sucks

frosty jackal
feral bramble
#

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

frosty jackal
#

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

feral bramble
feral bramble
#

Didn't bother including the cybercore or tnt on tile stuff

feral bramble
#

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

frosty jackal
#

mk

#

yeah what exactly is broken with more detailed like it won't generate or load

feral bramble
feral bramble
#

despite it working just fine for simpler images like the one you see in the codepen

frosty jackal
#

incorrect values in tileAmounts possibly?

feral bramble
#

ok imma look closely at the erroring one yet again

frosty jackal
#

i remember having a similar error, forget how i solved it

feral bramble
#

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

frosty jackal
#

the manual checking

#

painful

feral bramble
#

wtfff

#

Where the hell am i getting an out of bounds error at

frosty jackal
#

maybe i can try and find the line of code where it is erroring and see if that can help?

feral bramble
#

ok lemme run it rq on my worldbox the

hollow bronze
#

oh you're not limited to 64 in tile amounts iirc

feral bramble
#

to make manually checking it easier

hollow bronze
#

yeah ive done that

#

a ton

#

truly a pain

#

I've reworked AMP with a new convertor recently (its not on public amp though)

feral bramble
#

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

hollow bronze
#

and Had to rewire and rework an entire new convertor in a different language

#

truly an experience

feral bramble
#

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

hollow bronze
#

weird

#

i dont think I had that issue in particular

#

Ive had weird duplication or glitches

feral bramble
#

I fixed all the formatting issues a while ago

hollow bronze
#

(because of code shenanigans)

feral bramble
#

no stray commas or what not

hollow bronze
#

@feral bramble what is the result of a complex image

feral bramble
feral bramble
feral bramble
hollow bronze
#

is it a 1x1

feral bramble
#

ye

frosty jackal
hollow bronze
#

I rewrote it into c++

#

should be super fast

#

works great on large maps

feral bramble
#

noice

hollow bronze
#

my decoder doesnt like your file

feral bramble
#

oof

hollow bronze
#

An error occurred: Error -3 while decompressing data: incorrect header check

feral bramble
#

wait decompressing

#

it's already decompressed

#

I made an autosave file

#

map.wbax

frosty jackal
#

so then i learned go instead-

hollow bronze
#

lul

#

its convoluted and complicated

#

but it is good at achieving speed

frosty jackal
#

do you mind if we "race" them lmao

#

i want to see which is faster

hollow bronze
#

you'd need an image to compare

frosty jackal
#

could be anything

feral bramble
#

that's what pushed me to make my own

frosty jackal
#

amp doesn't have every biome?

hollow bronze
#

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

hollow bronze
feral bramble
#

oooh

#

so it's selectable like the image2map mod

#

nice

#

well not quite ig based on how you describe it

hollow bronze
#

easier for non programmers to just add to a text file

frosty jackal
feral bramble
#

can just use a plugin for noncompression

hollow bronze
#

349 ms

frosty jackal
feral bramble
#

wow

frosty jackal
#

i don't even need to count mine ik its slower LMAO

feral bramble
hollow bronze
#

about 1.5 seconds for discord users because it has to save and upload the file

feral bramble
#

gib

hollow bronze
feral bramble
#

mmmm roast beef

#

I wanna do a world on roast beef or some goofy shit wbsuffer

frosty jackal
hollow bronze
#

to be fair im using all tiles

jolly field
hollow bronze
#

and you dont want all tiles

frosty jackal
#

oh yeah 100%

#

1 grey tile-

feral bramble
#

like what method

hollow bronze
#

plus all tiles adds to compute time

feral bramble
#

like just direct 3d distance

#

or the human vision corrected one

frosty jackal
hollow bronze
#

so actually this is probably slower than if I did it with less tiles

jolly field
frosty jackal
#

lmao

#

my ego has been bruised i was proud of this program

#

i must rectify it

hollow bronze
#

not using dithering so not as cool

frosty jackal
#

compression is the issue

hollow bronze
frosty jackal
#

(old screenshot)

jolly field
hollow bronze
#

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

feral bramble
#

oof the color method i used sucks ass

frosty jackal
feral bramble
#

looks similar to Igniz act ually

frosty jackal
#

what palette you all use btw

hollow bronze
feral bramble
#

im using all biomes high and low

frosty jackal
hollow bronze
#

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

frosty jackal
#

ik i have the old source

hollow bronze
#

the guys code still pretty good though

#

its a fun project so its neat to see other people tackle it

frosty jackal
hollow bronze
#

if nothing else other than its fun

#

oh I have a few test images to stress test

#

that was one of them

frosty jackal
#

yeah i think ive done the same proccess of creating one three times it is always fun

feral bramble
#

What formulas did ya'll use for color difference

#

did this tbh

hollow bronze
#

uhhh

barren shale
#

use C#

#

use multithreading

#

ez fast speed

frosty jackal
feral bramble
#

oh you dither yours

hollow bronze
feral bramble
#

cool

hollow bronze
#

square root of them added (and multiplied)

barren shale
frosty jackal
#

its like

hollow bronze
feral bramble
hollow bronze
#

and pretty much every speed trick

feral bramble
#

good exmaple

barren shale
#

make it a shader

#

run it on the gpu

frosty jackal
frosty jackal
#

writing the compute shader rn

hollow bronze
#

im sure the bot VPS I put it on will have a massive gpu

feral bramble
frosty jackal
hollow bronze
#

in-game mod is what I'd use just cause im a steam player

#

makes things simpler

feral bramble
#

i want dat amp bot on new code

hollow bronze
#

i was planning on dropping it when the new update comes out

#

because there will be new biomes and stuff

frosty jackal
hollow bronze
#

also reworking amp to be more modern, but its been coded by the team so much that its a lot harder and longer process

frosty jackal
#

why aren't you still on the team?

hollow bronze
#

I am technically

#

But people like cloud have the hot potato stuff and its probably got more code than most of the bot

frosty jackal
#

damn

hollow bronze
#

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

frosty jackal
#

sounds like an annoying dilemma i can see why you have a private version

#

do you still pull updates from the public one

hollow bronze
#

no

#

its straight up just an entire rewrite

barren shale
#

How about you take speciesbox attractive

hollow bronze
#

trust me the original AMP code is horrible

barren shale
#

And I take this ez thing

frosty jackal
hollow bronze
#

like really really bad

barren shale
frosty jackal
#

yeah i have that code and i just

hollow bronze
#

you should see the else if section for mapsize

frosty jackal
#

i can't bring myself to look at it for longer than 5 min

#

now i want to see

#

i am going looking

hollow bronze
#

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

frosty jackal
#

i am still disapointed the bot is python

hollow bronze
#

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

frosty jackal
#

best comment

frosty jackal
#

i never liked python

hollow bronze
#

fair

frosty jackal
hollow bronze
#

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)

frosty jackal
#

no way

hollow bronze
#

literally the meme

frosty jackal
#

that hurts

hollow bronze
#

but for real

next lotus
#

wtf is that language

frosty jackal
#

the other half

hollow bronze
#

lmao

frosty jackal
#

oh wait theres two more

#

well you get the point

hollow bronze
#

I remember fever dreaming through that to make it align properly

barren shale
next lotus
#

python devs on their way to overengineer code that can be written in a single line

barren shale
#

They don’t use for loops

#

It’s too slow

frosty jackal
#

oh found it

barren shale
frosty jackal
#

also why is the code repeated twice-

hollow bronze
next lotus
#

yeah they have to unroll that loop to get better performance

hollow bronze
#

it was all made in a fever dream

#

but it does run

frosty jackal
#

know the feeling

#

made like 7 rewrites of a discord bot over 2 years

hollow bronze
#

Ive made a few python bots

#

I think a couple of js ones

#

I tried one C# one

frosty jackal
#

went away for a couple months, came back, was confused, and rewrote it

hollow bronze
#

yeah pretty much me every project

frosty jackal
#

seems simple so far

#

made a simple command handler

hollow bronze
#

nice

#

I dont remember what library I used at this point

#

probably been a year or two

next lotus
# hollow bronze I tried one C# one

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

hollow bronze
#

well you see im a centrist andy

#

so I just use the programming language thats appropriate for what im doing

frosty jackal
#

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

hollow bronze
#

anime girls do hold all languages though

frosty jackal
#

wheres chicken lang

#

this is insulting

hollow bronze
#

do a pull

frosty jackal
#

too much effort

hollow bronze
#

glad to see holyc got its representation

frosty jackal
#

LMAO

barren shale
#

speciesbox codebase for sale

#

0.99$

young flume
#

☠️

barren shale
frosty jackal
#

rip terry davis 😔

hollow bronze
frosty jackal
barren shale
hollow bronze
#

left us too soon

barren shale
#

and its so huge right now

frosty jackal
#

he is an inspiration to us all

hollow bronze
#

and hog 90% of the map

frosty jackal
#

(what is speciesbox)

barren shale
hollow bronze
#

uhh dnd maybe? I never got deep into it

barren shale
#

idk what it was supposed to be

#

but nikon wasnt great at making games when he made it a couple of years ago

frosty jackal
#

i'll take it

#

deal

barren shale
hollow bronze
#

lmao have fun

barren shale
#

all like 400 files

frosty jackal
#

(i still don't know what it is)

hollow bronze
#

it has channels

barren shale
#

actually there's some interesting shit there

frosty jackal
#

ITS A BOT

barren shale
#
    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);
    }
hollow bronze
#

yeah

#

dnd

barren shale
#

this function rotates the events in a zone and gives new events to the players

hollow bronze
#

I did a beta of a game idea somewhat related before SB but never got to finish it

frosty jackal
hollow bronze
#

where you just build up kingdoms like worldbox, collect stuff, have big faction fights

barren shale
frosty jackal
#

same line brackets >

#

microsoft has no style

hollow bronze
#

unfortunately im on team seperate lines

barren shale
#

you mean you are cool

frosty jackal
#

i bet you also support var and single line if statements

hollow bronze
barren shale
#

as i should

hollow bronze
#

wonder if nikon was inspired or simply wanted to do same thing (probably more likely that he thought of same idea)

barren shale
#

not the idea fraud

frosty jackal
hollow bronze
#

single line if?

#

like

barren shale
#

oh no i dont use single line if statements

#

that's ew

frosty jackal
#

if(true) return false;

hollow bronze
#

if (balls) { return; }

#

or whatever

barren shale
frosty jackal
#

no brackets

hollow bronze
#

oh

#

yeah no thats weird

frosty jackal
#

ok good

hollow bronze
#

I like all the spaces and indents and whatnot

frosty jackal
#

that is good

#

that

#

is not good

#

inflated line count

hollow bronze
#

thats fine

#

i just do it for readability

frosty jackal
#

do you make your comments red

hollow bronze
#

im not cody

#

(a madman)

frosty jackal
#

LMAO

#

i love how you recognized that

#

what do you do if you have a really long condition in an if statement

hollow bronze
#

everytime, im just like "this hurts my eyes"

frosty jackal
#

hes just

#

putting errors in his code before run time

#

horrible