#💻︱programming

1 messages · Page 10 of 1

silent quail
#

HAPPY THANKSGIVING 🦃

terse slate
#

intreresting way to declare var in C++.
Replace that:

auto str = "Hello World!";

to:

auto str {"Hello World"};

btw, u can use auto to automatically set data-type for var

brisk badge
quiet arrow
#

"Why isn't it working?" - me for the past hour 😭
Bottom one was the one my program was trying to do

meager grail
#

Does anyone know how to fix a custom persona skin pack being empty im trying to make a custom geometry skin

honest heath
#

hey :3

formal arch
meager grail
#

Cuz im not using his capes im using the create your own 4d skins by bionic ben on block bench

formal arch
#

then idk

meager grail
#

Ok

quasi oasis
hallow oasis
humble gull
#

fr

weary shuttle
#

what?

quiet arrow
#

patat

quiet arrow
#

who here doing advent of code eyes_shaking

spring tiger
#

I am, though I am not doing it daily since I don't really have the energy rn

#

I'm using it as an opportuntiy to do C++

quiet arrow
#

Cool cool, I did the first two in go. But was planning to switch to C++, had like one class in school and want to use it a bit more :v

brisk badge
#

Oooh that looks fun imma join tomorrow

lusty pagoda
#

anyone knows wtf is this?

#

i keep getting spammed

spring tiger
#

Are you running anything?

lusty pagoda
#

Today it did not appear despite opening 3 applications simultaneously

#

However yesterday I didn't open anything yet I was spammed by it

spring tiger
#

since it mentions realtek it is likely an issue with one of your audio drivers

lusty pagoda
spring tiger
#

probably can ignore it

opal flint
quiet arrow
# lusty pagoda no longer happens (for some reason). In case it does what should I do?

Ditch the windows, embrace the penguin. The time to convert is now, you can still save yourself from the clutches of bloated software and constant security concerns.
Bid farewell to the constraints of closed-source systems, and let the penguin guide you towards a computing experience that prioritizes efficiency, privacy, and a sense of community. The future of computing is open, and it's time to be part of the revolution.

lusty pagoda
calm sparrow
#

Yes

#

Linux 💪

brisk badge
lusty pagoda
#

The size?

brisk badge
#

I was kidding; Linux is quite hard to use in comparison to Windows or macos

quiet arrow
#

Meh, it's really not that hard

lusty pagoda
quiet arrow
#

🤭

calm sparrow
#

There is a lot of documentation around common issues though

quiet arrow
#

If you use mint, ubuntu or similar you'll even get a nice GUI installer and probably have no issues

#

Only issue I had with ubuntu was installing dotnet versios- lol

calm sparrow
#

I messed up my nvidia drivers once and had to reinstall ubuntu

#

But that is pretty much it

steep dagger
#

Best thing about Linux imo is installing stuff

#

It takes a fraction of the time and stuff is actually installed to a reasonable location

#

but I do hate penguins so I had to neutralise them

open needle
#

I too, started in Roblox Studio. Its one of the best place to start in my opinion ( for game development of course ). When I became good at it I started learning C# ( Unity and Visual Studio )

open needle
quiet arrow
#

Scratch HoloCool

#

Was the first one I used. Then the Python IDE included in the installer, which is not an IDE at all but hey, then vs code; now nvim or IntelliJ for Java

unborn dust
#

Linux is nice for hosting servers.

#

😄

steep dagger
#

at school we used this online python runner that was actually the slowest thing on earth

#

and it was always python 2 instead of 3 because that was premium or something

quiet arrow
#

My condolences

lusty pagoda
steep dagger
#

before I knew what I was doing I was looking for an ide to use at home

#

and I fr installed eclipse 💀

#

and of course eclipse is a buggy mess

#

I could have chosen anything else and had a better time

#

eclipse is on the same level as xcode

vernal iron
#

do you write boiler plate when you are doing it on paper too? 💀

quiet arrow
#

I'd rather do Java on paper than python where whitespace matters and I have to go align stuff

#

Which was an exam I had, not fun ..

brisk badge
#

there will be a day where i will be able to draw curly braces succesfully.

spring tiger
#

I don't mind indentation requirements in programming due to readability but to make you do that in a written exam is absurd

#

The extent of "programming" I did in written exams before university was psudeocode only

quiet arrow
#

Ye...

brisk badge
#

i just dont get why you would take a computer science exam on paper at all

#

like okay, when its only theory, but why are you tested on writing code on paper

quiet arrow
#

No it makes sense. But writing actual code from a real program language makes no sense

#

It's semantics anyway. They all do the same in the end

brisk badge
#

but why not in a text editor??

quiet arrow
#

Now I am wishing to have anything on paper. Everything is on laptops and I hate it

wise hound
brisk badge
#

i think im mature enough to not fix your typo in that sentence

wise hound
#

im sorry 😦

ivory flume
#

this might be the stupidest thing to ask but

#

how can I run a c++ code in vscode

#

I'm about to go insane

#

I already downloaded required compiler

#

but I still cannot

#

because apparently the directory can't be found and well, I can't find it either

#

I've been searching youtube but I can't find anything

ivory flume
#

I think I did it..?

quiet arrow
#

You have to compile it, I'd recommend just learning to do it via the command line. Can be the one integrated in vscode

#

It'll be something like <your compiler> file.cpp -o out if you're not using any 3rd party libs at least

#

I have to add which version I use, cause it defaults to a super old one with -std=c++<version>

vocal night
#

Fix your servers please

brisk badge
#

Did you try if they're correctly installed?

ivory flume
#

g++ thingie

#

I forgor the name

#

they kinda work?

brisk badge
#

Does it give an error when you do g++ --version in the command prompt?

#

@ivory flume

ivory flume
#

it doesn't, but it has some issues with dir

brisk badge
ivory flume
#

cc1plus no such file or directory

vernal iron
brisk badge
ivory flume
ivory flume
vernal iron
#

it literally took me 3 hours and multiple attempts to get gcc to work

vernal iron
#

you feel like a peasant trying to do any kind of debugging on vscode

sharp crystal
#

i hate wordpress

#

👍🏼👍🏼👍🏼

steep dagger
#

people hate WordPress because they don't understand wordpress

#

it takes years to build a relationship with it

#

a mutual tolerance like no other

subtle thorn
#

i hate wordpress

#

👍🏼👍🏼👍🏼

sharp crystal
steep dagger
#

give it 5 years

sharp crystal
steep dagger
#

my colleague has been doing it for 8 years and he likes WordPress

#

that's proof for you bro

quiet arrow
#

Gecondoleerd

cinder talon
#

Hello who can give the computer language cubecraft use

quiet arrow
#

Java

gleaming raptor
quiet arrow
ebon swift
#

the scilence is too loud (joke)

full wolf
#

Dear Cubecraft staff,
Is there any way you guys would be willing to share with me data regarding the probability distributions of the various lucky blocks in bedrock lucky islands? This would save me a ton of time from conducting trials on my own. I plan on using this data to help document the game, create feedback, and develop other projects about lucky islands. I completely understand if this is something wanted to be kept secret or is very infeasible to share. Thank you for considering my request.

steep dagger
#

how much java would you like in your tea?

sharp crystal
quiet arrow
full wolf
quiet arrow
#

I'm not entirely sure that's how weighted systems works. Would need an actual dev to respond for that one, but I don't think it's that simple.

We probably also aren't able to give a full list, it's not stored in an easily shareable format (I think these are hardcoded 🤭)

And no worries! That's what the QA team is here for

full wolf
gleaming raptor
urban shell
#

Does anyone here know anything about q# ?

quiet arrow
#

q# 🤔

urban shell
#

its a quantum language ik its a long shot

#

was just curious

quiet arrow
#

I've only ever used python and lisp when going to talks about it

brisk badge
urban shell
wise hound
#
  playSound("Tokyo-Machine---FAR-OUT-(VIP)--Monstercat-Release-.mp3" || ("Solar-Eclipses-ft.-Dr.-Awkward.mp3" || "Water-Resistant.mp3"), true);
});
onEvent("stop", "click", function( ) {
  stopSound("Tokyo-Machine---FAR-OUT-(VIP)--Monstercat-Release-.mp3");
  stopSound("Solar-Eclipses-ft.-Dr.-Awkward.mp3");
  stopSound("Water-Resistant.mp3");
});
#

(ignore the sooper long names of stuff)

#

im tryin to figure out how to make the code stuff choose one of the 3 songs (FAR OUT, Solar Eclipses, or Water Resistant) at random but i cant seem to get it to work

#

only thing it plays is FAR OUT

#

*btw this is javascript

wise hound
#

nvm i found a workaround

#
var songName = getText("songSelector");
reset();

//Play Music 
onEvent("start", "click", function( ) {
  if (songName == "FAR OUT - Tokyo Machine") {
    playSound("Tokyo-Machine---FAR-OUT-(VIP)--Monstercat-Release-.mp3", true);
  } else {
    if (songName == "Solar Eclipses - Hollywood Principle") {
      playSound("Solar-Eclipses-ft.-Dr.-Awkward.mp3", true);
    } else {
      if (songName == "Water Resistant - Anamanaguchi") {
        playSound("Water-Resistant.mp3", true);
      }
    }
  }
  if (songName == "Choose a Song") {
    playSound("erro.mp3", false);
  }
});

//Stop Music
onEvent("stop", "click", function( ) {
  stopSound("Tokyo-Machine---FAR-OUT-(VIP)--Monstercat-Release-.mp3");
  stopSound("Solar-Eclipses-ft.-Dr.-Awkward.mp3");
  stopSound("Water-Resistant.mp3");
  onEvent("songSelector", "change", function( ) {
    stopSound("Tokyo-Machine---FAR-OUT-(VIP)--Monstercat-Release-.mp3");
    stopSound("Solar-Eclipses-ft.-Dr.-Awkward.mp3");
    stopSound("Water-Resistant.mp3");
  });
});

//Variable Reset Function
function reset() {
  onEvent("songSelector", "change", function( ) {
    songName = getText("songSelector");
  });
}
#

(added comments for no reason)

#

but it doesnt choose random songs (needs to select) but it works at least

minor roost
wise hound
#

Alr ill try that next time

quiet arrow
#

Does js not have this?

if () {
} else if () {
} else if () {
} else {
}
#

You'll probably also want to track which song is playing instead of stopping all songs you have all the time :)

quiet arrow
#

fieuw

steep dagger
#

gotta make those song names variables bro

vocal night
#

Should put them into a map or something

spring tiger
#

songs = for file in folder if file ends with mp3

long gust
#

I recommend using a switch case due to its performance than if-else

long gust
# wise hound ```//Variables + Variable Reset var songName = getText("songSelector"); reset();...

Replace this,

onEvent("start", "click", function( ) {
  if (songName == "FAR OUT - Tokyo Machine") {
    playSound("Tokyo-Machine---FAR-OUT-(VIP)--Monstercat-Release-.mp3", true);
  } else {
    if (songName == "Solar Eclipses - Hollywood Principle") {
      playSound("Solar-Eclipses-ft.-Dr.-Awkward.mp3", true);
    } else {
      if (songName == "Water Resistant - Anamanaguchi") {
        playSound("Water-Resistant.mp3", true);
      }
    }
  }
  if (songName == "Choose a Song") {
    playSound("erro.mp3", false);
  }
});

with this,

onEvent("start", "click", () => {
  switch (songName) {
    case "FAR OUT - Tokyo Machine":
      playSound("Tokyo-Machine---FAR-OUT-(VIP)--Monstercat-Release-.mp3", true);
      break;
    case "Solar Eclipses - Hollywood Principle":
      playSound("Solar-Eclipses-ft.-Dr.-Awkward.mp3", true);
      break;
    case "Water Resistant - Anamanaguchi":
      playSound("Water-Resistant.mp3", true);
      break;
    case "Choose a Song":
      playSound("erro.mp3", false);
      break;
    default:
      // something else
      break;
  }
});
brisk badge
#

If you rename the mp3 files to the exact song name, you don't need to check for the name at all

quiet arrow
#

If you need that performance difference, you're better off switching to a different language 😝

long gust
#

yeah just helping out @wise hound because his nesting is weird

vale nest
#

I am a Minecraft Thumbnail Maker DM me if You Want One

quiet arrow
#

Yes

#

There is a case study on CubeCraft on their website I think 🤭

sharp crystal
#

dedicated server ofcourse

#

a vps usually isnt strong enough

spring tiger
#

Not likely

quiet arrow
#

Copilot 💪

sharp crystal
quiet arrow
#

It's so helpful

vernal iron
#

can't wait for AI to kill computer science!

quiet arrow
#

My biggest nitpick with it, is that it stops lsp suggestions from displaying

blazing matrix
#

Why are y’all so smart 😭

terse slate
#
public class Program {

    public static void main(String[] args) {
        double PI = Math.PI; // 3.14
        double square = Math.sqrt(25); // 5
        System.out.println(PI  + "\n" + square);
    }
}
terse slate
vocal night
#

Do people actually use \n instead of just using a new println?

quiet arrow
#

Yes, a lot of languages also don't have automatic new lines in printf (or similar)

vocal night
#

I can understand if the language doesnt have it built in. But in Java?

brisk badge
vocal night
#

ig

wispy swift
#

.

blazing matrix
#

Y’all way to talented

open needle
#

Helloooooo :>

dreamy arrow
#
var songName = getText("songSelector");
reset();

//Play Music 
onEvent("start", "click", function( ) {
  if (songName == "FAR OUT - Tokyo Machine") {
    playSound("Tokyo-Machine---FAR-OUT-(VIP)--Monstercat-Release-.mp3", true);
  } else {
    if (songName == "Solar Eclipses - Hollywood Principle") {
      playSound("Solar-Eclipses-ft.-Dr.-Awkward.mp3", true);
    } else {
      if (songName == "Water Resistant - Anamanaguchi") {
        playSound("Water-Resistant.mp3", true);
      }
    }
  }
  if (songName == "Choose a Song") {
    playSound("erro.mp3", false);
  }
});

//Stop Music
onEvent("stop", "click", function( ) {
  stopSound("Tokyo-Machine---FAR-OUT-(VIP)--Monstercat-Release-.mp3");
  stopSound("Solar-Eclipses-ft.-Dr.-Awkward.mp3");
  stopSound("Water-Resistant.mp3");
  onEvent("songSelector", "change", function( ) {
    stopSound("Tokyo-Machine---FAR-OUT-(VIP)--Monstercat-Release-.mp3");
    stopSound("Solar-Eclipses-ft.-Dr.-Awkward.mp3");
    stopSound("Water-Resistant.mp3");
  });
});

//Variable Reset Function
function reset() {
  onEvent("songSelector", "change", function( ) {
    songName = getText("songSelector");
  });
}
steep dagger
#

why is bro pasting that code again

wise hound
#

to look smart 🤓

wise hound
long gust
#

@wise hound what js app are u building actually

lusty pagoda
#

for(int year=0;year<mylife.length;i++){
if(mylife[year] instance of IsMiserable)
break;
}

#

BUILD STOPPED SUCCESFFULY ! (19 years)

brisk badge
inner mango
#

anyone know what this means?

grim whale
#

anyone know the best application for website making

#

with html

quiet arrow
#

Fabric should give quite detailed crash reports

#

In their own window

lusty pagoda
steep dagger
silent quail
#

MERRY CHRISTMAS 🎄🎄🎄

glossy phoenix
#

MERRY CHRISTMAS 🎄🎄🎄

paper void
#

Yeah merry Christmas

terse slate
#
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import javax.script.ScriptException;

public class ScriptEngineExample {
    public static void main(String[] args) {
        ScriptEngineManager manager = new ScriptEngineManager();
        ScriptEngine engine = manager.getEngineByName("python");

        try {
            engine.eval("print('Hello, Python!(From java, naturally ;))')");
        } catch (ScriptException e) {
            e.printStackTrace();
        }
    }
}
#

bruh moment

#

Java is universal language

#

That can execute javascript, python, ruby and php code with ScriptEngine

spring tiger
#

That sounds like a nightmare

tranquil ice
#

Probably ought to use Graal instead of jython, if that's what you're using

somber quarry
#

interesting...

minor roost
#

Hello

quiet arrow
#

Heya!

signal berry
#

Looks confusing

full fable
#

Hello guys

lusty pagoda
#

are there getters and setters in c++ just like java?

surreal rain
ionic umbra
#

Can I report a person named kgizzle for saying bad stuff in the skywars game mode

steep dagger
#

go to reports website for that

kind solar
#

Hi

terse slate
#

😎👍

use discord_db;

SELECT password FROM users;
#

(its a joke naturally)

#

How to create Database-Logger in SQL:

CREATE DATABASE logger_db;

CREATE TABLE logger (id INTEGER PRIMARY KEY AUTO_INCREMENT, time DATETIME, log TEXT);

# insert data
INSERT INTO logger (time, log) VALUES ('2023-12-30 00:00:00', 'example log'); 

# select logs
SELECT time, log FROM logger;

# delete logs
DELETE FROM logger;

# drop table
DROP TABLE logger;
# drop database
DROP DATABASE logger_db;
plush walrus
brisk badge
#

@terse slate thanks for sharing your code here

terse slate
steep dagger
#

ain't no way java is universal

#

all my homies use LLVM (the cool ass dragon)

vital fox
#

Use wormgpt for coding

#

Not the dark web version tho

lusty pagoda
#

There's always someone watching

steep dagger
#

I hope its a cool ass dragon

lusty pagoda
#

13 y/o in a nutshell

quiet arrow
ivory flume
#

What does pointers do

#

Like okay, they point to an adress, they change the value stored in that adress etc but

#

What are they ultimately used on

#

Cpp, also

#

I have been having trouble understanding pointers and strings, for some reason

#
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;

int main() {
    int x = time(0);
    srand(x);

    int count[6] = {0}; // Initialize an array to count occurrences of each number

    for (int i = 0; i < 1000; i++) {
        int result = rand() % 6 + 1; // Generate a random number between 1 and 6
        count[result - 1]++; // Increment the count for the corresponding number
    }

    // Print the counts for each number
    for (int i = 0; i < 6; i++) {
        cout << "Number " << i + 1 << ": " << count[i] << " times" << endl;
    }

    return 0;
}

My latest code was this, a simple dice roller

#

Got help from chatgpt sure, but for the last part(printing the amount)

#

Cuz I wasn’t sure how to banter

zinc steppe
#

i do not C#

brisk badge
ivory flume
#

Ye, just a code I was happy about

#

Finally learned arrays somewhat

brisk badge
#

Oh haha looks good!

ivory flume
#

But like

#

Pointers 😭

#

Is there like any yt video you guys suggest?

brisk badge
#

Strings are just arrays of characters, but since arrays are a bit tricky to work with sometimes in cpp, they build a non-primitive type around it. For example, you can easily pass a string to another function, while with arrays, you need to pass a pointer and the length of the array.

#

Pointers are a bit trickier. They are basically variables that hold an address in memory, not a value. If you increase a pointer by 1, it shifts 1 element the right, and to the left if you decrease it.
How many bytes it shift depends on what type the pointer is. If it's an int*, it will shift 4 bytes, since an int contains 4 bytes.

If you have an array of integers, you can go to the next element by adding 1 to the pointer. This is possible, because the elements in an array are stored next to each other.

You can convert a variable to a pointer and vice versa like this:

int var = 10;
int* pointer = &var; //an * behind a variable indicates that its a pointer, and the  & operator returns the address of a var
int sameVar = *pointer; // the * operator converts an address back to a value
#

If you have a pointer ptr that points to the first element of an array, writing this:

array[4]

Is the same as:

*(ptr  + 4)

Because ptr == &array[0]

#

@ivory flume ^^

ivory flume
#

Am I dumb or is it just confusing 😭

quiet arrow
# ivory flume What are they ultimately used on

You use pointers because you don't want to pass an entire object through a function each time you call it. That's slow, and memory heavy

You also want to mutate stuff


myMassiveObject o = ...
doCoolStuff(o)
printf(o)

You'll probably want the o that you're printing to contain the changes from your function. Which doesn't happen if you pass by value, but does if you pass by pointer

#

Also yes, pointers may be confusing 😝

#

We had to make a bunch of questions where you mis match pass by pointer, reference and value in functions. And then print stuff. Makes it very clear what's happening

surreal rain
quiet arrow
#

Yeah. I would very recommend just playing around with them! Doing is (one of) the best learning exercises for stuff like this

brisk badge
# quiet arrow You use pointers because you don't want to pass an entire object through a funct...

An important detail to add is that there is a difference in passing variables by value, reference and pointer.

Passing by **value **is very easy: You just copy the value of a var to another one and give that to a function. Whatever the function does with their variable, will not affect the original i.

int i = 10;
doSomething(i);
// i is still 10;
[...]
void doSomething(int j) {
  j += 10;
}```


If you pass by reference (indicated by the symbol `&`, you pass the same variable to the function (so same value and same address), but it is not a pointer variable. The following code example **will **affect `i`:
```c++
int i = 10;
addTen(i);
// i is now 20
[...]
void addTen(int& j) {  // the & makes sure we get the address as well
  j += 10;
}

Lastly, passing by pointer passes only the address (so it is a pointer variable. You will have to dereference it in order to get the value:

int i = 10;
addTen(&i); // the & will make sure we are sending the address, not the value
// i is now 20
[...]
void addTen(int* j) {  // parameter is a pointer, indicated by int*)
  int value = *j;      // dereferencing ( = converting to a normal variable again), j is the same as i now
  value += 10;
}
ivory flume
#

I'll spend a few days understanding these topic, thank you all!

plush walrus
#

One of the hardest things for new programmers to learn is pointers. Whether its single use pointers, pointers to other pointers, pointers to structures, something about the concept drives new programmers crazy. The C programming languages is recognized as one of the most difficult programming languages to learn. The reason for this is the limitl...

▶ Play video
brisk badge
boreal fractal
#

ohh interesant

limpid juniper
#

Im profuse

lusty pagoda
#

Question

#

I'm so confused

#

i really need help

#

issues:
while(pirState==LOW){
digitalWrite(led1, LOW);
digitalWrite(led2, LOW);
digitalWrite(led3, LOW);
lcd.clear();
noTone(buzzer);
delay(200);
}
sometimes happen sometimes don't

#

and when printSmokePercentage();
activates, the whole program stops working

steep dagger
#

@mellow glen people

lusty pagoda
steep dagger
#

I'm only a Web developer so I know nothing :(

lusty pagoda
brisk badge
# lusty pagoda

It might be useful to explain what you are trying to do, what happens and what not happens. This also seems more like an arduino (?) question than a programming question.

lusty pagoda
quiet arrow
#

If the loop is looping, I'd assume it doesn't like the while loop as it'll start several of these while loops after each other

quasi oasis
#

@cerulean oracle @silver imp give me dev

#

@sweet barn give me protocol

warm edge
#

@quasi oasis palombo give me rank

quasi oasis
#

I cannot do that good sir

sweet barn
warm edge
sweet barn
#

or @honest heath

quasi oasis
#

@cerulean oracle give me protocol

#

Youni wouldn’t know how to give a rank if you called him a stone

sweet barn
#

TRUE

quasi oasis
#

You could call him a Falcon he still wouldn’t know

sweet barn
#

Or a multicraft

quasi oasis
#

He’s just as expensive as a multicraft

sweet barn
#

good point

cerulean oracle
brisk badge
cerulean oracle
cerulean oracle
#

so demanding

silver imp
cerulean oracle
#

<@&1101600672987754596>

silver imp
#

Don't you mean <@&1101600672987754596> ?

cerulean oracle
#

ohhhhh my bad yeah i meant <@&1101600672987754596>

spring tiger
#

can't be <@&1101600672987754596> if you're offline

cerulean oracle
#

i know sadcatblanket <@&1101600672987754596>

silver imp
true mantle
#

😭

quiet marlin
#

OMG famous

steep dagger
#

least famous gamer:

solar igloo
#

.

gleaming raptor
quasi oasis
#

OMG IM FAMOUS

wise hound
#

i should be famous fr

#

ill let you know that i have 0 followers on twitter or x whatever its called

wise hound
#

totally not the name of some candy bar

surreal rain
#

None that I've ever heard of

wise hound
#

exactly

honest heath
quiet arrow
wise hound
final stirrup
solar igloo
#

its for people that are <@&1101600672987754596>

steep dagger
#

If they were truly famous, would they need a sign?

#

😤😔

half scarab
ivory flume
solar igloo
halcyon bronze
quasi oasis
#

My fame is fake

true mantle
wise hound
#

im the real mr beast 💪

neat patrol
#

try doing the same thing when u have a higher rank

lusty pagoda
slate rampart
#

hey, sorry I got banned for a macro in battle arena

wind kite
#

F

sudden basalt
#

Hamburger

rustic tinsel
#

@sweet barn

#

Could u help me on a code?

steep dagger
#

least based request

#

bro u gotta at least say ur issue

brisk badge
final bone
grizzled pagoda
#

I use vim btw

little crater
grizzled pagoda
#

Niks

little crater
#

hz speel je nog altijd mc

grizzled pagoda
#

Nee

little crater
#

meme

rancid trail
#

There ya go @final bone

compact schooner
#

ummm, what does this channel have to do with cubecraft?

limpid juniper
#

code and stuff

brisk badge
steep dagger
#

top programming tip!!!

#

get ergonomic chair

steep dagger
stark horizon
#

no way its andy

steep dagger
#

NO WAY its doggo

#

I have to talk in here now because I'm a real developer

stark horizon
#

can i get a signature

steep dagger
#

Andyuu

#

:)

stark horizon
#

;o

#

im gonna put that above my bed

steep dagger
#

Ikr I have beautiful handwriting

stark horizon
#

yee

steep dagger
#

what do u do now bro

stark horizon
steep dagger
#

yea bro! 💪

stark horizon
#

and i recently bought a scooter 🛵

#

been working on this for the past few weeks

steep dagger
#

yooo that's sick

#

how fast can it go tho 👀

stark horizon
steep dagger
#

pop in a nitro boost rq

stark horizon
#

gonna try to bring it up to 70km/h soon 😂

stark horizon
steep dagger
#

I remember my Mormon friend in school always used to roll up with a scooter

#

idk about there but here I think you can drive a scooter under 40mph at 16 and other things at 17

stark horizon
#

here only 45km/h is allowed

steep dagger
#

so he was first one to have a sick ride

stark horizon
#

and you can only drive them if you’re 16+ and got a scooter license

#

they are super strict here

steep dagger
#

yea I can imagine

stark horizon
#

police sometimes even puts your scooter on like a testing machine to test how fast it goes

steep dagger
#

ohhh really so it's not even just how fast you go it's the max speed

stark horizon
#

after 50+ they will take your scooter and you wont get it back

steep dagger
#

gotta mark your scooter 17+ xd

#

so you can go faster with a driving licence right?

stark horizon
#

some people build limiters in their scooters which they can turn off and on with their phone

steep dagger
#

considering yours already goes faster

#

ooooh wow

stark horizon
#

no matter the speed

steep dagger
#

quick make this conversation about programming

stark horizon
#

uhh

#

i haven’t programmed in a while

steep dagger
#

really neat stuff tho I've not learnt to drive yet because I just haven't had the need xd

steep dagger
#

can't beat walking to work bro

stark horizon
#

i hate cycling to school at 7am

stark horizon
steep dagger
#

ohh damn

stark horizon
#

😭

steep dagger
#

15km sounds rough on bike

stark horizon
#

you will get used to it

#

but it isnt fun to do every day

steep dagger
#

aren't you a sweaty mess after that lol

#

10 mins late gotta make it up

stark horizon
#

when we arrive at school we swap t-shirts on the toilet

steep dagger
#

do you have one those boxes at the front to put your bag in

#

that's really smart fr

stark horizon
#

cuz steering with a full schoolbag at the front is quite heavy

steep dagger
#

ohh true yea

stark horizon
#

especially today with the snow its dangerous to do

steep dagger
#

i wish bikes were more common here they just seem so much better

stark horizon
#

when i arrived at school i was literally a snowman

steep dagger
#

there's literally only one person that I see using a bike when I'm going to work xd

stark horizon
#

here we have more bikes than people

steep dagger
#

no snow here :(

stark horizon
#

i have 4 bikes myself

#

so ig im a typical dutchy

steep dagger
#

yoooo

#

bike pilled

stark horizon
#

😂

steep dagger
#

I've never even had a bike lmao

stark horizon
#

what

steep dagger
#

there's a few places where bikes are pretty common

#

yea fr

stark horizon
#

here its a tradition to get a bike on your 4th birthday 😂

steep dagger
#

but mostly it only teenagers who wanna be cool

#

maybe I'll get one for my 40th

stark horizon
#

haha

desert mulch
#

Hi, question for all of you:
Singular or plural names for sql tables?

brisk badge
#

I don't believe that there is a standard convention

#

But I like plural as it sounds more natural in queries

surreal rain
steep dagger
#

plural for main tables and singular for pivots :)

civic fable
#

hello

final bone
#

can i pls get tiktok rank tiktok name aagringe

dusk karma
true mantle
dusk karma
true mantle
#

W

wise hound
minor roost
pallid axle
#

@shadow orbit

green viper
#

ip

solar igloo
lucid chasm
#

Is this the chat to talk about one of the cubecraft marketplace items

lusty surge
vital summit
paper python
vital summit
#

Russian version

#

Mod somehow thought it was bad word

autumn patio
#

Does cubecraft have the option to turn the msg from the server of in an other langues (i mean not english)cause its hard to understand every thing so fast on english

quiet arrow
#

We currently don't support any other languages sorry HoloSad we are looking into solution for this in the future however

cobalt patio
#

i have a gambling addiction 💀

plush walrus
#

🎰

lusty surge
#

Not sure if it's possible tho

terse slate
#
#include <bits/stdc++.h>

using namespace std;

int main(int argc, char* argv[]) {
    for (int i = 0; i < argc; i++) {
        cout << argv[i] << "\n";
    }
}
#

argv - args array

#

argc - args count

#

Arrays is **** cuz needed int with value of args count

#

vectors better 🙂

autumn patio
#

Also i mean on the minecraft server(bedrock)

terse slate
sullen jacinth
#

but what is that code meant for

terse slate
#

🙂

terse slate
#

Guys, don't use std libraries:

#include <iostream>
#include <string>

and more, cuz you can include all this with only:

#include <bits/stdc++.h>
brisk badge
brisk badge
#

But if you want to create everything from scratch, I won't stop you

surreal rain
brisk badge
surreal rain
# terse slate However its comfortable 🙂

Sure and that's fine if you want to do it that way for learning.

I'm just saying, as somebody who writes code for a living, it is a bad practice to import more than you need.

terse slate
#

cuz they just will don't know

#

which libraries needed to import

#

to use somewhat

#

hm

#

but for experienced coders

#

I think that isn't bad idea

surreal rain
#

An experienced programmer would not import bits/stdc++.h

They probably wouldn't even have using namespace std


int main(int argc, char* argv[]) {
    for (int i = 0; i < argc; i++) {
        std::cout << argv[i] << '\n';
    }
    return 0;
}
terse slate
surreal rain
#

Not sure why the formatting is weird on mobile, but this is the industry equivalent of what you had

surreal rain
#

What I'm saying is that when it comes to performance, industry-level code doesn't take shortcuts.

"using namespace std" is a shortcut.

" #include <bits/stdc.h>" is a shortcut.

It's perfectly fine to use shortcuts when you're just learning code. But these things impact performance and compilation time. I understand that it's more convenient to use shortcuts and it's totally fine to do that when you're just learning and practicing.

Just friendly advice for if you get a job in the industry. Don't use shortcuts

brisk badge
#

It is also just to make it more obvious that you are using a function from the standard library, not one that you have implemented yourself.

terse slate
#

Lvl 1. Ruby

puts "Hello World!"

Lvl. 5. Python

print("Hello World!")
#

Lvl. 100. C++

#include <iostream>

using namespace std;

int main(int argc, char* argv[]) {
    cout << "Hello World!\n";
}
#

Lvl. 100.000. Assembly

section .data
    message db "Hello World!", 0x0a
    len equ $ - msg

section .text
    global _start

_start:
    mov eax, 4
    mov ebx, 1
    mov ecx, message
    mov edx, len
    int 0x80

    mov eax, 1
    xor ebx, ebx
    int 0x80
#

Lvl. 1.000.000. Brain***k

>++++++++[<+++++++++>-]<.>++++[<+++++++>-]<+.+++++++..+++.>>++++++[<+++++++>-]<+
+.------------.>++++++[<+++++++++>-]<+.<.+++.------.--------.>>>++++[<++++++++>-
]<+.
#

Lvl. 1.000.000.000.000.000. Malbolge. Most hard programming language 👺💀☠️

=`#9]~67Y32Vx/4Rs+0No-&Jk"Fh}|Bcy?
`=*2]Kw9ooG4UUSO/@-ejc(:'8dc
brisk badge
#

I'd say that bf is actually easier that assembly

terse slate
#

oh

#

translator mistaked

terse slate
#

its a hard programming language

#

Brain***k

lusty pagoda
#

Because it ****s the brain?

terse slate
#

that created for fun

#

lmao

terse slate
minor roost
#

Do you use the lady one

lusty surge
solar igloo
lusty surge
#

In case that wasn't already obvious

brisk badge
quiet arrow
#

@dusky fern can you run several minecraft accounts at the same time with the library you use? And does it require a GUI?

#

Like, several on the same PC at the same time

dusky fern
quiet arrow
#

Ah cool. I might look into it cause I need a bunch og accounts for testing something and you can only have one client open on the same pc lol

dusky fern
#

There is a way to duplicate mc and have diff accounts but its hard to control

dusky fern
quiet arrow
#

Yeah idk. Just using the lib probably easier for me. They just need to join a server haha

dusky fern
#

Js one is bedrock-protocol

quiet arrow
dusky fern
quiet arrow
#

Well, it's going on the pile "to take a look at" anyway 🫠

#

Thanks for the info 🙂

dusky fern
#

Oki I hope you will finish it 😋✅

minor roost
#

c

jade spindle
#

import random

puan = 0
kackere = int(input("How many times should we do this?"))
for i in range(kackere):
x = random.randint(1,100)
y = random.randint(1,100)
xy = x + y
print(x , "+" , y)
cevap = int(input())
if cevap == xy:
print("Correct!")
puan = puan + 1
else:
print(xy)
print("The correct answer is count:" , puan)

#

Orginal is Turkish, but i translate for you.

#

Example, "puan" is "point" meaning in English.

#

And my English is a little bit bad

orchid meteor
surreal rain
#

Who told you this lie?

orchid meteor
orchid meteor
#

no one told me

surreal rain
#

It's not normal to insult yourself, no

orchid meteor
surreal rain
#

Do you?

orchid meteor
surreal rain
#

Don't do that

#

You have no reason to

orchid meteor
rigid widget
#

What this stuff looks like to me... Kuxckutticlfjfctjmkchkuctrckurckxrj

steep dagger
#

I'd be concerned if someone didn't ever insult themselves

#

but fr don't hate yourself

#

everyone is just as flawed but you don't see it that way

visual oxide
#

/player

#

shi

wise hound
surreal rain
jade spindle
#

What is the problem?

#

But thanks for your answer.

#

This is a Python code

steep dagger
#

are you asking for help with it?

vestal ridge
#

can some one tell me what the best tutorial is to learn programming or whatever you guys used

brisk badge
brisk badge
#

Then i'd recommend looking into Unity. It has a pretty steep learning curve, but there are endless possibilities

surreal rain
#

If you're going to go that hard into learning, it's better to learn unreal engine instead of unity

open needle
surreal rain
#

C++ is a great first language imo. It makes all the other languages seem easier lmao

#

And C++ lets you have much more fine-tuned control than C# does so if they really want to get into optimizations, they have those options

sharp crystal
#

just learn java

#

totally

surreal rain
#

Java is not a standard language for game development

vapid mountain
surreal rain
#

Learn the basics of C++ first, then go use it to learn UE5

vapid mountain
surreal rain
#

It gets a lot easier

#

UE5 code is very intricate compared to beginner tutorials. You'll get there, it just takes time

vapid mountain
#

Well it doesn't help that the editor isn't picking up my changes from Visual Studio.
Spent all day trying to tweak one of the template games, but Unreal was not detecting any modified code files...

dusk karma
ivory flume
#

c++ is painful

#

I agree

terse slate
#
>++++++++[<+++++++++>-]<.>++++[<+++++++>-]<+.+++++++..+++.>>++++++[<+++++++>-]<+
+.------------.>++++++[<+++++++++>-]<+.<.+++.------.--------.>>>++++[<++++++++>-
]<+.
#
section .data
    message db "Hello World!", 0x0a
    len equ $ - msg

section .text
    global _start

_start:
    mov eax, 4
    mov ebx, 1
    mov ecx, message
    mov edx, len
    int 0x80

    mov eax, 1
    xor ebx, ebx
    int 0x80
#

Better than C++

dusk raft
#

malbolge is goated

terse slate
#

Hmmm

#

Is typeScript good?

#

And better than javaScript

brisk badge
orchid meteor
spring tiger
#

That is a program that just says Hello World

orchid meteor
#

oh

#

kk

terse slate
orchid meteor
terse slate
#

For CPU

orchid meteor
#

For you but not for me

terse slate
#
fun main() {
    println("I used in android development");
}
#
package org.example;

public class Main {

    public static void main(String[] args) {
        System.out.println("I used in backend and bank systems");
    }
}
regal elk
#

I want to tell you, owner of Cube Craft, to bring back games like before 1.12

slate swift
#

Hi

#

Online कौन-कौन hai

orchid meteor
brisk badge
orchid meteor
#

cool!!!

terse slate
brisk badge
#

Python is used more

terse slate
#

Golang: back-end, desktop

#

C++: desktop, gamedev

#

Java: back-end, android

#

C#: desktop, gamedev, back-end

#

Kotlin: android

#

Swift: ios

#

Hmmm

#

Python and C++

brisk badge
#

A beginner does not really care what it is used for. Python is easier to learn, and it can be used for a lot of tasks, even though it might not be the industries standard.
Besides, programming is a skill, so if you learn to think like a programmer, language differences will not be a problem

terse slate
#

But transition from Python to C++ or Java 💀

brisk badge
#

Not bad at all, if you compare it with starting with c++

terse slate
brisk badge
#

Me too, but i don't recommend that

#

Functional programming is a lot easier for beginners

terse slate
#

And C++ isnt difficult for me

brisk badge
terse slate
brisk badge
#

That's what generally makes it hard

terse slate
#

Yeah

brisk badge
#

But it also provides the ability to customize your program to your needs

terse slate
#

And he not have build tools with easier library connection

brisk badge
terse slate
#

Like maven/gradle in Java

#

Or pip in python

#

Or nuget in C#

quiet arrow
#

And all of these are a big pain

surreal rain
#

I think python is the best beginner language because the syntax is easiest to pick up for new coders. Then they can just focus more on learning the concepts that they can use in any other language they go on to learn

orchid meteor
#

ok i will start from tommorow

#

welp i need to have a brain because you have all the knowledge

cursive quail
#

Hi I was starting to learn Java and I wanted to know if any1 would recommend me new Programs to try on Eclipse and Bluej

#

And I would also like to learn Minecraft Modding on both Java 'n' Bedrock

wintry rover
#

Eclipse for sure.

zinc glacier
#

:v

plucky sky
#

Hii, i wanna learn about advanced commands in minecraft bedrock, can someone help me with that?

nocturne echo
#

Needing a pro montage editor dm me

dreamy arrow
terse slate
#

raspberry Pi

dreamy arrow
#

Like I'm not old enough to study 650606006050650 programming languages

#

Im just 13 lol

#

But I like robotics and programming

dreamy arrow
terse slate
#

so

#

I'm living in Russia

dreamy arrow
#

It's 7500000 iraqi dinars

dreamy arrow
terse slate
#

for example arduino nano: ~400 RUB (not expensive)

dreamy arrow
#

15000 is not expensive

#

But...

terse slate
#

raspberry Pi: ~5 000 RUB (expensive)

dreamy arrow
#

Wanna play cc?

terse slate
dreamy arrow
#

Cube craft

terse slate
#

oh

dreamy arrow
#

Vc too?

#

I dont mind muting

terse slate
#

I'm now not on home

#

oh my broken english lmao

dreamy arrow
dreamy arrow
terse slate
#

lmao

dreamy arrow
#

Yes

terse slate
#

oh my

dreamy arrow
#

???

terse slate
#

arabic?

#

ok

dreamy arrow
#

So yes

terse slate
#

I gtg

#

bye

dreamy arrow
#

I'm arabic

dreamy arrow
ivory flume
knotty niche
shell ocean
#

سلامو عليكو

dreamy arrow
dreamy arrow
smoky skiff
#

السلام عليكم

dapper pebble
#

hi guys

#

minecraft is getting killed by an force

#

virus

#

DM me for more info we need help we need to do something

swift monolith
#

Bet

midnight echo
#

yoo

haughty violet
snow trench
#

nooo! not minecraft :(

minor roost
#

@opal dune im sorry

#

what do i have to do

#

for you to unblock me

vast ferry
#

hey there is a problem on cubecraft skyblock with crafting tables

wise hound
#

dont spam ping

wise hound
modern plume
#

@minor roost Please do not spamtag other users :)

silver imp
#

Bruh, I've only just noticed the description of this channel....

brisk badge
silver imp
wise hound
#

|| sign ||

zinc violet
#

why is that sign a thing

#

lol

shell ocean
cerulean oracle
#

3 years ago

#

lmao

brisk badge
cerulean oracle
jolly palm
#

Is there a CubeCraft API?

spring tiger
#

No, there isn't @jolly palm

jolly palm
spring tiger
#

We don't have the developer resources to put towards implementing one, so there are no plans

jolly palm
#

Sad but understandable

quiet arrow
#

There are community ones for leaderboards

#

A few other general things

sharp crystal
quiet arrow
#

Mine is, and I think FreezeEngine's is as well

jolly palm
quiet arrow
pseudo sorrel
#

c

vital summit
vital summit
#

Interesting

rigid widget
spring tiger
#

"like a menu in a restaurant"

solar igloo
#

I love this ^

rigid widget
vital summit
lusty pagoda
fleet rain
#

cubecraft I have an idea why you don't put survival mode like lifeboat but cube craft doesn't have a script and it's very good so you can put a survival mode

limpid juniper
#

They left already

#

Damn

vital summit
#

^^

crimson sable
#

^^

terse slate
#
print(eval(input("enter example: ")))
minor roost
#

ok where do i start if i wanna program ?

zinc violet
#

it's a good, not to complicated language

#

go on youtube and find a good tutorial

#

there are lots

#

or chose any language... it depends on what you want to do with programming

minor roost
#

ok thanks

zinc violet
#

ur welcome

#

good luck btw :D

minor roost
#

ty

wise hound
brisk acorn
tired temple
#
"how "
terse slate
sinful pollen
#

how to center a div

night pivot
#

center it inside the body or inside another div?

autumn charm
sharp crystal
zinc violet
#

Every programmer can relate...

brisk badge
zinc violet
#

idk...

unborn dust
#

Hey @quiet arrow, I was wondering is it possible to add Cubepanion on to a modpack?

quiet arrow
#

It requires LabyMod

unborn dust
#

So without it. It is not possible?

quiet arrow
#

LabyMod does support the Fabric Mod Loader, so you can do it that way

quiet arrow
unborn dust
quiet arrow
#

If the mod pack you want to use, is all far Fabric, you can most likely load them along side LabyMod by using their Fabric Loader Addon

unborn dust
#

So basically I would bring the modpack to laby, right?

#

Ah, I see now thank you Fesa. 😊

wary dawn
quiet arrow
#

My condolences

sharp crystal
lilac tundra
#

How to make a stick in minecraft that summons lightning when right clicked?

#

I need help

spring tiger
#

What version are you on @lilac tundra

quick briar
#

Hey can anyone help me?
I m 19yr old college student and wants to join cubecraft in near future as developer so how should i start to work on it.. like which skills i must have?

wise hound
#

idk tho

#

me is noob

limpid widget
warm rover
#

Yes?

warm rover
#

My what and why?

wise hound
warm rover
wise hound
#

🤷‍♂️ theyre asking so idk why either

tardy laurel
#

hello

#

there's a name tag stuck in the air after install health indecator plugin

#

how can i fix that

#

@magic rapids

quiet arrow
#

That does not look like Cube

tardy laurel
#

sorry mb

quiet arrow
#

wut

tardy laurel
#

huh

tardy laurel
#

fixed

#

i do /kill @e xd

terse slate
#
int palindrome = 12321;
String original = String.valueOf(palindrome);
String reverse = new StringBuilder(original).reverse().toString();
boolean isPalindrome = original.equals(reverse);
#

hmm

dapper pebble
#

hi guys
i am really sad
i was like flying with elaytra in my survival world. i litrally beated minecraft got elaytra i had nethrite armour of full protection and just one mistake killed me. i just hate it... i was flying and i had to go to wc and so i gone and left my Minecraft open and when i came i was dead like i crashed to a mountain and falled from hiegth
mohjang plsss add an feauture that if the person is not near pc then pause game
by using camera sensing and ai and a lot tools

rapid grotto
brisk badge
terse slate
#
public static boolean isPalindrome(int i) {
        return new StringBuilder(String.valueOf(i)).reverse().toString().equals(String.valueOf(i);
    }
#

hmmm

#

in 1 line

quiet arrow
#

Just putting the same code on one line won't change much of the speed :v

austere pivot
#

Unimer?

brisk badge
# terse slate hmm I agree

Converting to strings is really unnecessary, although it seems like the easiest solution.
I made this O(logN) solution for a problem the other day

int n = number;
int rev = 0;
while (n) {
rev = rev * 10 + n%10;
n /= 10;
}
return number == rev;
#

Excuse the poor readability; it was for a contest

steep dagger
#

'string'.toString().toString().toString()

terse slate
#
String s ="string".repeat(5);
System.out.println(s);
stringstringstringstringstring
west jay
#

wow

brisk badge
night gyro
#

hi

steep dagger
#

I smell div users in the chat

urban blaze
#

Does anyone know the value for the size of an enitiy in minecraft bedrock?

brisk badge
#

Their hit box?

urban blaze
#

I mean the size of the appearance/ model of the enitiy

brisk badge
#

One block is one meter, so every pixel (in a normal sized texture pack) is 6.25 cm. You can just count pixels to get their heights.

urban blaze
#

Okay, thanks

dusky fern
#

Hello!
I was wondering, if player laggs and gets delayed hits, might their reach exceed 3.0 server side sometimes?

indigo iron
steep dagger
#

its most noticeable when the the laggy player is chasing someone

#

however the inverse can be true for other situations where that works in the other player's favour

dusky fern
#

While yes, I would like to know how it looks for the server, because there are "3 sides of the story" ie 3 povs

#

Server, player1, player2

steep dagger
#

you can't block all attacks that are >3 hits in distance because there needs to be some leeway accounting for ping

#

yea the impact of it still reaches the server

#

if you want to make some sort of anticheat you'll have to account in movement to determine whether that hit can make sense

dusky fern
steep dagger
#

yes very often

#

of you blocked all those attacks, it would be technically "correct" but leads to a frustrating experience where players feel like their hits are not registering when they should be

dusky fern
#

I quess its hard to calculate reach even for low ping because some sort of mismatch might happen too + real reach is a vector from your camera to point on a hitbox of other player you look at and server cant calculate that perfectly due to innacurate and delayed head rot info

dusky fern
steep dagger
#

I'd only block attacks that are at an unreasonable distance and log suspicious reach in some sort of reporting tools

#

I don't actually know how much ability there is to actually block attacks tho xD

zinc violet
#

I've seen pvp servers that kick you if your ping is too high

visual quiver
#

Dont share cheat codes in heree

#

ok

steep dagger
#

cheat codes? lol

obsidian elbow
#

hi

#

who code with pocketmine

slow imp
severe scroll
# steep dagger I don't actually know how much ability there is to actually block attacks tho xD

Minecraft Java and Bedrock use a light based pvp system. The more direct contact your players POV has with a entity model, the more sufficient your pvp will be.

Essentially your player outputs 300+ lines pointing towards every direction, the more these lines connect with an entity, the more calculations that will happen, middle waring these calculations and setting a variable for accuracy or kb, can allow anticheat developers to do some seriously cool stuff. Take hypixel for example.

Simplest and most effect way to do these is with a private static variable in java.

leaden mortar
#

hi

wild cargo
#

How to make a stick in minecraft so when I right click it summons a lightning on me

brisk badge
eternal plank
#

what is the equapurim triangle size of a piece of snow?

#

oh and can someone send me a diagram of a snowball?

eternal plank
#

ye

#

its in a new coder thingy forgot the name

#

i dont think the coder popular

brisk badge
#

What does equapurim mean?

eternal plank
#

i think its the volume of a entity

brisk badge
#

I have no clue what you are talking about :)

eternal plank
#

oh

#

like the length and height of a entity

#

in this case a snowball

brisk badge
#

Oh, the dimensions of the bounding box of the snowball entity?

eternal plank
#

ye

#

oh and can i have a diagram of it?

brisk badge
#

The collision box is 0.25 x 0 .25

eternal plank
#

k

#

ty

#

but can i have a snowball diagram

brisk badge
#

What do you mean with diagram :p

eternal plank
#

like the specific colour codes and pixels in the entity (In this case a snowbal

brisk badge
#

Oh the texture

eternal plank
#

ye

#

like what colour codes it has

#

btw wanna know something

brisk badge
eternal plank
#

wanna know smth

#

i suck at coding

brisk badge
#

That one might be compromised

eternal plank
#

ive just been messing with u

#

i was just saying random stuff

#

lo

brisk badge
#

Your terminology was a bit odd, yes

eternal plank
#

lol

#

lol

brisk badge
#

But thanks for wasting my time

eternal plank
#

lol

gentle patio
vital summit
zinc violet
steep dagger
#

😭

lusty hare
#

i need assistance where it should redirect back to my homepage immediately after the marquee function finishes instead of being in a timer

#

so that it'll be compatible with most screen resolutions

steep dagger
#

actually using a marquee, so based :0

#

not sure why you have random p tags that don't do anything, you should be able to use gap, margin or padding

#

marquee is dead tho, you probably can't do it

#

look at mdn Web docs for marquee they have js alternatives u can copy

lusty pagoda
#

question

#

What was the font command that made very characters?

#

That continously change

spring tiger
#
Minecraft Wiki

Formatting codes (also known as color codes) add color and modifications to text in-game.
Text in Minecraft can be formatted with the section sign (§). In Bedrock Edition, the section sign can be used in signs, world names, book and quills, anvils and cartography tables (to rename items and maps), and in the chat input field (including in comman...

lusty pagoda
#

§k

steep dagger
#

does the change to a lot of command sntax in a recent snapshot have a big impact on the server?

brisk badge
steep dagger
#

is there a lower level api for example giving a player an item than the command syntax?

#

I always thought what you can do is limited by what commands are available, it's not like a minecraft server can edit client memory on a whim

#

@brisk badge

brisk badge
#

The server is built with plugins, written in Java. Commands are really the highest level of programming you can do within minecraft.

steep dagger
#

forgive my ignorance, but how would you achieve the above example without using the command api?

#

I've never done minecraft server stuff lol

brisk badge
#

I don't have much experience with plugins either 😄

#

You can look into scripting if you want to do some lower level programming for Minecraft Bedrock, with more possibilties

steep dagger
#

mfw the scripting is in typescript

#

that's actually insane

#
// Spawns a bunch of item stacks
import { ItemComponentTypes, ItemStack, Player } from '@minecraft/server';
import { MinecraftItemTypes, MinecraftEnchantmentTypes } from '@minecraft/vanilla-data';

function giveFireSword(player: Player) {
    const ironFireSword = new ItemStack(MinecraftItemTypes.DiamondSword, 1);

    const enchantments = ironFireSword?.getComponent(ItemComponentTypes.Enchantable);
    if (enchantments) {
        enchantments.addEnchantment({ type: MinecraftEnchantmentTypes.FireAspect, level: 1 });
    }

    const inventory = player.getComponent('minecraft:inventory');
    if (inventory === undefined || inventory.container === undefined) {
        return;
    }
    inventory.container.setItem(0, ironFireSword);
}
#

well I found it

brisk badge
#

Yeah, it's very powerful. Keep in mind that this not what the server development team uses, though.

steep dagger
#

Cubecraft definitely has the most insane system

quiet arrow
steep dagger
#

thanks

#

I was looking at that bedrock dev wiki but I'm unlikely to get into that

#

it's interesting how much work goes into the apis and commands but the game gets hardly any survival features

terse slate
#
fn main() {
   println!("Hello World");
}
steep dagger
#

based

quiet arrow
quiet arrow
brisk badge