#⌨coders-cave
1 messages · Page 55 of 1
Ok
I will actually try to create the eternal engine after 30th of june
Also I gave up on the roguelike
Now I'm making a 3d survival game
I have changed my mind around 6 times in the past 2 months
Hello guys
I cannot code myself
But for the people who create updates on this game
Please maybe create a tech tree
Like research windmill
Increase farming speed
Research advanced combat
Increased damage
For soldiers
This is not a channel for suggestions.
This is for those who know how to code to discuss how coding works. If you want to suggest something do “~vote” without the “, then put your suggestion, for example, do
~vote add boats
and i just realized arrays have 0(1) time complexity for adding, removing, accessing
Can you get worldbox simple GUI on mobile
Yeet da code
maybe 
ye just download bonzi
bonzi is not available for mobile
if i were to test my server
for multiple client
should i chunk them with processes
or threads
because im already using async to handle the clients
but to make it more concurrent
so i was wondering why my code doesn't work
spend a few minutes
and i forgot to add await
in this one line

If you use async you have to run every client connected on seperate threads
otherwise you're going to have problems
damn
wait no mean
uh
i handle the server fully asynchronous
and for the client
i made it chunked
so every 1024 client will run in separate process
but on each process
it runs asynchronously
all im benchmarking is the receiving message
i dont even know why im doing this
That's the problem, asynchronous waits for longer processes to finish so basically shuts everything else down for the time one code is ran. That's why you should run everything on seperate threads or the server is going to feel laggy when more than 1 persons connect
ah
that's why
because when i try to
connect like
4096 client
it just exited arbitrarily
xd
lmao
You shouldn't use async tho if you don't really need it
i do
because the module
uses async
Ah then, seperate threads for everyone maybe 
yes
Don't connect so many clients lmao
Honestly I don't know. Never worked on server side
Thats sync not async

For receiving you need a thread for each client
For sending you can have a thread per an amount of client
Which you can determine by testing
Id start with 1 sending thread
It probably can handle 5k clients if your internet speed is fast
I used to play with networking a lot and ive read a lot about it
Its really confusing
damnit
im confused by everything I just agree
also i know what i have to do
basically create like 6 instances
of ws server
and then use nginx

time to learn ws with nginx
time to scel horizontally
or maybe i should just use socket.io
So theres a main thread that you can start other threads from when you call an asynchronous method it creates a different thread to run it but if you use await when you run the asynchronous method it will freeze the main thread until they asynchronous method finishes
So using await makes the asynchronous method synchronous
ohh intresting
but also slower i thonk
because the event loop need to iterate once
all over the pending tasks
and better off running it as callback than async function
Its not slower
if its something like this
async () => {
console.log("hi");
};
yes
its just a few ms slower
Yes creating a new thread will take time
Thats why you see async methods and none async methods
its not a thread 
Instead of just using await
applies to "why make async function if its not async"
i said if its not async
also most languages wont allow await outside of async function
Like downloading
like
download();
its often async
like
await SomeData.download();
returns buffer of the data
in a very nice language that controls async
you need await explicitly
IF ITS LIKE JAVASCRIPT
you can freaking
run async function normally
and it will run in background
Guys
GAN Theft auto is now a thing (GameGAN with GTA5 Data)
Can we do this but for Worldbox 
The old version of world box ofcourse
Physics base research finally can be Quicker to 
There GitHub
interesting
I kinda think if this can save storage space for more bigger games(Probably a much more Efficient Gan system)
what makes a game have huge memory usage
is it the actual code base
or is it the assets
Assets I guess
Whats a gan
im not sure..
Oooh
Looks hot
GAN Theft Auto is a Generative Adversarial Network that recreates the Grand Theft Auto 5 environment. It is created using a GameGAN fork based on NVIDIA's GameGAN research.
With GAN Theft Auto, the neural network is the environment and you can play within it.
Github: https://github.com/sentdex/GANTheftAuto/
Unboxing and reviewing the DGX St...
No
Unless you have 10k laying around somewhere in your house
Code for gta5 probably isnt even 1 gb
Its the high quality textures
That makes games huge
lol im not forcing someone or this community to make one(It just seem like a lovely idea)
Probably the amount of assets to
Making the dataset isnt the problem
It's a GAN, People work on this
Ofc the method will get better
But it wont be as big of a difference
It would be a minor change
Process probably be desame but probably some new ways to render it a bit better
Yup
But GPUs are getting very good very fast
But nonetheless this can probably be better at simulating realistic physics (probably real time) then the RL methods
Really exciting nonetheless
I hate it when it doesn't collapsed the link 
Nonetheless yeah this is like RL method,Takes a bit longer
put <
and >
Thanks for the help:o
anytime friend 
This is simulating physics
Completely different imo
I think things like simulating physics will come to games really soon
But using GAN to simulate a game still has a long way
.
Sent your suggestion!
Back #🤖bot-commands Where you bots belong
Yo, @astral basin, may i make a worldbox fangame?
yes
uhm i dont know if i should reinvent the wheel
im really bored right now and...
i dont know what to do
i usually make something like a ghetto webserver framework
or async implementation
but now im starting to think otherwise 
create a nas
There's really good software for that
or learn full stack web development and create website
I just do coding challenges when im bored
They make me even more bored lmao
ok we start with a json parser that takes 8 minutes to load some json file that could be loaded in 1 minute
Then you're picking easy ones
This is worldbox not gta5
Jk dont ban plz


I don't like harder ones either, I just don't achieve anything with them. Feeling of actually creating something I want to use or someone else will use is why I code so coding challenges bore me because it never achieves product I created to use
Practice for possible job interviews
High paid job interviews give you a hard problem
To see how fast you can solve it
And how efficient is your solution
I don't imagine myself working for companies. I want to create my own products and make money that way
But that doesn't always work
And it might take a long time
You can't stay without a job
1 out of 10 projects succeed
So your first product probably wont work out
tru
Thats why people advise on getting a job
Then on your extra time work on a side project
If it seems to be successful you quit the job and focus on it
You'd have some money from the job to give the project a boost
Yeee true
is that like uhm
uhh
a json parser that takes json as configuration

like when i try to use npm and apparently my json lib is broken
i need json lib to parse json and to install json lib i need to parse a json
which then requires a json lib to parse it
so on and so forth
(人 •͈ᴗ•͈)
it's a reference to this https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times-by-70/
Ah that epicness
that was surprisingly intresting to read
we're making a fangame of worldbox and we need programmers who are intermediate-advanced in c# and unity
we currently have a team of 11 ppl
That's a lot of devs
i was making game and have 4 developer on the code part
and it was chaotic
we criticize each other code

More people ≠ more productivity.
In lower numbers, it does but as more and more people are added to the team the overall benefit starts to curve and flatten as time goes on.
It may be due to faction formation in the team. One side has a vision of the project versus the other side. It often creates a very strange dynamic that often isn't really maintainable. These can also lead to team relationship decreasing, lowering productivity as those assigned to the team no longer want to work as hard.
It may be caused by too much unity. If the team is too tight, they're less productive as they're more interested in the team than the team's work.
Tl;Dr:
The less people there, the better the productivity in most cases. 2-3 (maybe 4 or 5) are required to create a decent product (at least for the coding part). Any other hires should be centered toward asset creation (sprites, models, music, sound etc...), planning (story (if applicable), features), and advertising.
Wow that fit in the character limit.
Anyways, I started to do a bit of Java, and in under a fraction of the time I spent on C++, I was able to do more in Java than C++.
But I'm still staying with C++.
AMP is created in a team of three devs and there's 0 problems so far
Other than everything breaking every now and then
I mean what do you expect having maddox will do ?

Bugs happen on anything
Especially when it's Maddox's code
Would you get more people?
I learned somethings at boolean math
what is your experience with unity and c#?
No so much but I know how to make fps movements and some other things
And c# I'm not learning it yet
But you can creat make an big project if you was 11 advanced c# devs
yes
exactly
like worldbox a good game but it need just some more features and all that is just by 2 or 3
Anyone wanna try to attend python discord 2021 summer code jam with me?
Well there isn't teams for it but if anyone's intrested I can send links and info to it
I'm gonna try to study the TUI libraries allowed to it before qualifiers
qualifier is here if anyone wants to have a go on it
I'm gonna try getting in the code jam
would be my first
I can do that
This might be foreshadowing but the qualifier doesn't seem all that bad
And I'd love to work with other devs for a code jam
tru, let's try to both get qualified and see who's team gets better position
I hate changing between JS and python. I tried to help a guy in Python discord server but used str as variable name and used .lenght() operator
oh that's my birthday
nice
Adversities kick
im banned in python server

now im on my own with dozens of stupid questions i want to ask
damn, stackoverflow might help you
they got a ton of stupid questions too so no need to be ashamed
#🎲game-room message
how to make this working :
thanks for I have actually not that much things to add or edit :3c
well thats a new information added to my collection

if you want to join one of the best toxic friendly python server
it is like the stack overflow for discord

Nice 👀
the dpy server
im full of commitment and sheer will
also my sdcard came
oh my character
tehee

its actually 256gb
instead of the 128gb
Nice 
Owwww :O

well
the actual price is
$15
but promo

sadly my pi wont boot
it just shows ext4 errors
HEngine is officially 2,069 lines of code
nevermind
its just that
i corrupted my sdcard several times
it works just fine except my psu sucks

tehee
Not that many for game engine
Problem with psu sucking is that there's possibility of the psu giving too much voltage and frying your raspberry pi
That's the correct
I just have to make Translation, pic and that kind of Codes
so- kinda easy XD
nope
its not even powerful enough to
use hdmi
or maybe it's the signal
because my hdmi cable is sortof long
although it works when not the first one
so like
if i flash the image
and then use it in the pi
its always gonna be "no signal" on the hdmi
but if the sdcard is corrupted
like when i unplug the power when its writing
it works but shows me error
ext4-fs
reading lblock 0
now it shows me
sdcard never left busy state
does it have something to do with the
sdcard being 256gb
I am madly infuriated by the fact that trees take a very long time to grow leaves. How do I fix this?
i made this with flexbox
first time i actually do something good in frontend

now my stepfather told me to learn grid
Lovely :o
thankss
ello to anyone that's here
Heya
haii 
Heyo 
haii 
hi
Hi.
boat ye
YAYYY
so apparently i found a switching power source
its AC to DC
(´∩。• ᵕ •。∩`)
it has some nice output
but it uses the pin
instead of the micro usb charger
for the raspberry pi
i hope this works
It will probably work
He says unknowing what he just read
Haven't coded in some long I'm scared I have forgotten how to do it
Also 1 month later still can't render anything in opengl
I have coded lately but not that much this week
I should code more ngl
My school ended 2.5 weeks ago
I haven't really taken a break from stress tho
I should
I have school until 30th of june
After which I have even more school headaches to go through
I have 1.5 months of summer break left 
@barren shale I know what a loop is and how to use it so I'm basically the best coder ever 
I will get rid of July as a part of the school break as dealing with all the documents and shit to do with changing school takes alot of nerves so I will have.... 1 month and a half
I'd have 8 weeks of summer break if I didn't change my school
now I have only 7 weeks of summer break
and 2.5 has already gone
I remember when I was fifth grade and had like 3-3.5 months of school break
that's a lot
i only get two weeks 
on my last mid semester exam
there wasn't even a break
we just go straight back into normal schedule
and even now when i have school break because i got promoted to 8th grade
we have freaking assignment
why can't we just take a break 
should i make a abstracted framework from an already existing framework

because its missing some features
also because its functional programming
not objects

unity ragdoll wizard be like
places every joint and collider at 0,0,0
Eternal engine developer chad be like
I like this engine
Yes
what the heck is this?
Cave for weird people who smash on their keyboard and make computer magic happen
This^
We played 1 and 0
we played with quantum mechanics
i-
i ended up rewriting the async framework i designed

but its already night time and im going to sleep baii baii everyone 
hope you all have a wonderful day 
I have rewritten the same goddamn code for the 15th time now I have it memorized from start to end please help
It's not small code either it's like 6 classes of 100 lines of code
https://youtu.be/HeQX2HjkcNo
I've just watched this whole video
Not everything that is true can be proven. This discovery transformed infinity, changed the course of a world war and led to the modern computer. This video is sponsored by Brilliant. The first 200 people to sign up via https://brilliant.org/veritasium get 20% off a yearly subscription.
Special thanks to Prof. Asaf Karagila for consultation on...
I understood not much lol, but in the end I'm happy I learned stuff like what a turing machine is
default template is like 20 lines
xd
Good afternoon NERDS
its 12 am
Stfu

Lmao dude, that legit is the only thing you say on this server
Yes but it's openGL code
And it's also the same code
It's a good video, I understood the video pretty easily because veritasium is just so gosh damn great at explaining
It went a bit fast for me and I wasn't following along that well
Well I've been reading about infinity a bit because of the videoz veritasium made about infinity and it's a very interesting topic so I automatically paid attention to the video
Nice
me too 
its currently still on 3 files but each of them is like 100-300 lines of code

I was 3:07 :D
Oh cool I didn’t know we had a room for people that program
You all do it professionally or just for fun ?
both
C# funny
:(
i learned how select works 
now i just need to make a compatibility with window system
how do i...
err
how do i do I/O multiplexing on windows
because apparently
something is very wrong with select()
Idk why ur asking here
Community too small for people who know about these things to be here
The only advanced things i know are in C#
wha-
I mostly know python so kinda hard to help
woah what a coincidence
the problem was abstracted from python

have you used selectors
module
Uhhh nope, what does it even do
its for
high level I/O multiplexing
which uses the native select module
it works normally on unix but on win
its a hell

Sounds interesting 🤔
Him who?
my dad 
Ok
but i also love everyone 

Really Lovely
Also It's kinda dissapoting the product im looking at and saving up money the past few 6months (A Laptop) And planning to learning programming and Neural Network is gone
I can probably look at other things for the moment I guess
Nonetheless Python seems nice on this type of goals 👀
Maybe he like laptop?
I Like To be on the go (different places and not lock in a single place as always)
People are offering some Scammy type prices (But it's definitely real)
and that's why i have a terminal on my phone with linux installed in it

its more affordable than buying a laptop
and also on the go
but lack functionality like synchronizing tools or lower level api needed to use certain function
goodluck with that 
Thanks 😄
Maybe you're using the wrong one then
Never have i found something that worked better on linux
Its always more practical onwindows
Maybe because i use C# which is made by Microsoft

that's definetly the reason
most of the time stuff works better on linux
but .net is handled by microsoft so obviously it works well with windows
Most multi platform languages work well in all languages
Its the third party stuff that might not work
i-
LISTEN HERE
its like how there's unix socket
only unix can use it
also select() is native from the os lib
and the win lib sucks
and now we have to use Iocp which is like rebuilding the whole select()
but for windows

haha...
@wet girder guess what
i spent like 3 hours debugging
and found this
i forgot to pass self
to my call_soon

lmao
yay i ended up making 591 line of package
(´∩。• ᵕ •。∩`)
its small but works quite nicely
it has 0.01s delay on callbacks
but it doesn't work normally on windows system
Normally I hear programmers use ms 
tru
i think its 10ms then
tehee
it was 12am
now its 2am
my mind is alot better

although im still confused what to do with the win select

i already put it on github if you wanna see it
i have a class that doesn't do anything
for Window system
Yay, someone in Python discord server explained me how my code working 
Really lovely :v
I'm trying to make Blessed an inheritable trait, but I keep getting a syntax error when I try to add the code string in.
Wait, I just realized.
Each trait modifier has a , when it moves to the next correlating modifier, but stops when it moves to a new trait
Yep, that was the issue, nevermind.
oh god sorry to ask but
if (Console.ReadLine("/reset"))
{
cash = 300;
}
why does this not work what would be a solution
c#
Disturbances in the magnesite-nitron subspace phase variance is not responding?
To fix it use Multidimentional subspace tube with command converter.
Uhhh what
Change it to:
if (Console.Readline() == "/reset"){
cash = 300;
}```
went back to unity
dont have the nerves to go through 3d opengl
the good part about this is that i will, for once actually know what im doing :)
I will
Unity code is ez
Unlike stupid openGL which is stupid and also stupid >:(
wha-
i like how my code has O(1) for this example code

it stays on 2.0160000000000764
second
every iteration
also i fixed my code 
Yey😄
eeek i finally have a working mini socket client

and i documented my code
which is not much useful
since i already heavily typehint my code
Man the way professional programmers give tips is so annoying sometimes
Everything you ask is answered with a riddle or a harder question
😂
Programmers are like that sometimes
basically senior programmer tehee
its better than giving away the answer
its called

and its bad
tehee
Tehee
i used windows and i'm happy, even it's not special something
Hi
haiii 
Hello😄
Heya
jupe soup poem

Hi long time no see
haii 
I'm currently playing with the world box unit json and trying to figure it out, my goal is to try creating custom races one being an undead group(ones that build cities) and the other being fish people (live underwater and have landships). Where should I look for things such as sprites and building code
Also trying to have something for the undead like the spore mechanic
sounds complex 
I'm already struggling, but I just need to work out the locations for the assets so I can set up a foundation for the undead.
No, You're still doing something nonetheless
Also it's amazing
sank you 
Rebuilding the wheel is good for understanding how the wheel works
Maybe you can ask cody for help
what if i were to make wheel 2.0 😳
Doubt
You're describing a ball
That's a cylinder
Then wheel 3.0
It can even spin in the 4th dimension
how can something spin in time
Also Guys Are You interested on Text-to-image Models?
Like dallE
I do wonder if there dataset have Worldbox assets/pictures
not really 
Nonetheless just something to show
A Plastic Container With Kimchi | Kimchi Inside of a Plastic Container | There's a Plastic with kimchi inside of it
This is fully AI generated
You can check my tweeter if you're interested for more
Click my pfp
okieee
Thanks for checking nonetheless
Sure 😄
This is really a Early project but Month by month results are getting better
A Plate with a Piece of Red velvet Cake on top of it. A Piece of Red velvet Cake on top a Plate
Like this
The notebook and models are created by a group of people aiming to make a Dalle Like model
And Open source it
They have a discord server But I'll Get warm here
Because bots
😄 nonetheless please do enjoy and share your results in the discord server, There repo link is in the Notebook
And has the server link
Also @main brook
The prompt is A Character Design of A Light Mastery Especialist Book of Flames mage Rei With Flaming spell book , HDR , Rendered in Detailed Engine , Rendered in Super sharp Engine , Details
Nonetheless that all for the moment
Can't wait for future models from there group,And Create some lovely works
doesnt have to be time
Lovely
Who???
rename this place to coders dungeon
Who are we fighting?
@pearl ingot #🤖bot-commands
your mom
wha-
hmmm can i modify an array during enumeration
i kinda need to do that as im constantly creating new blox during a foreach loop
ntodo
something like this
let ntodo = list.length;
for(let i = 0, i++, i < ntodo) {
print("uwu");
};
i don't know if this works but you get the idea

ohhhhh
Wait what
This wont work if you remove anything from the list
your late smh my head
im not removing anything so...
well i will need to add
but cant i just update the ntodo every frame
Can you show some code
you dont wanna see it
on the list
my previous relationship is worse
you will block me if you see it
than your code
get ready for ALOT of code

idk how it will look like hope its not too floody
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

paste service exists tho-
tehee
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
dont block me 
In yhe foreqch
@orchid frigate
just use a while loop
tehee
and get the item from how many iteration you've done
so like
int index = 0
while (true) {
item = list[index];
index += 1
};
generate alot of blox
reinventing the wheel is the best way to learn the wheel
Whats a blox
block
Is it just a sprit e
blocks
empty game object with some code attached to it
ik but its gonna be created only in the render distance
yes thats kinda what im doing
something like this
that's like asking a pedophile what are you gonna do with the kid
nooo my network

the block code is just setting up the size of the block
So it doesnt have anything in update ?
no
To generate this many objects you need a maximum distance for generating
Or loading lets call it
And you need to make your world chunk based
also did that
or im in the process of doing so
When you load a chunk if it hasnt been generated you generate it
And if it has been generated you enable the sprite renderes of the objects in yhe chunk
But thats still very slow for big amount of sprites
hmmm so i dont generate the blocks i generate chunks with blocks 
this might make relationships between blocks kinda hard but i will try
also i passed my exams with a high score so now i can make wheel 3.0
now that i think about it wouldnt having a list with like 10000 blocks kinda lag
Yea
same with chunks
10000 chunks is a lot more than what you need
If each chunk is 16x16 then 10000 chunks are 160000x160000 blocks

my chunks are 20 blocks
blocks also dont really exist
they are like placeholders
for models
So they are sprites
no
yea they are just empty game objects with a gizmos drawn to them
and a size of 1.5
just figured out how to not lag as much
so after i generate the chunk, i put it in the list, and after i generate the chunks around it, i remove it
900iq codes

isn't that what caching is

cache this area
and then cache this one
but to optimize the cache
remove unused one
or like every business ever
"quick the customer is in the other room, put the junks here"
i have decided to finally try and make a mod for worldbox.. damn, there are like, thousands of classes and cs files. This is gonna take days or even weeks to figure out.. i'm not used to such amounts of files. I guess, if i change something in one class, it would require to change hundreds of other classes
look i will take full credit for the idea
chunking isnt caching at all
instead of calculating the position of thousands of gameobjects every frame to load and unload them
you just calculate the positions of a couple of chunks
and load them and unload them
you might load unnessccary stuff but its still much more efficient
finally managed to make it
:o
is this 2d minecraft 😳
oh
video wallpaper basically
you got my hopes up
does it have to do with 2d minecraft 😳 or HEngine 😳 ?
dont let it die











