#code-talk

2 messages · Page 30 of 1

unreal cloak
#

I think you would definitely not be out of your league at one of those places

long raft
#

oh i think i would, ive known microsoft employees, they impress me

unreal cloak
#

Meta pays a ridiculous amount but the reviews are mixed

barren quarry
#

I always dreamt of working with drones actually

long raft
#

sun/oracle employees impress me greatly also

barren quarry
#

Or robots

long raft
#

yea meta does not impress me (from a computer science perspective) lol

unreal cloak
#

Well actually I guess Principal devs maybe

#

I’m basically an infant

#

Sun/Oracle people are OGs, actual wizards

long raft
#

yes actual wizards

unreal cloak
#

Not sure what for

neat fossil
#

java 2

long raft
#

lol

#

i remember when microsoft was hiring huge for windows phone

#

i figure oracle is on its way down, but i am still impressed with the reputation like ... i dunno bell labs

unreal cloak
#

Ah yes the classic

#

Yeah 2 giants

neat fossil
#

when i bought foxhole my excuse was to learn how to actually speak english, but i ended up not saying a single word in vc since i bought it

unreal cloak
#

It’s amazing to me how nearly everything traces back to bell

long raft
neat fossil
#

thanks, but i already suffer from stutter, and my spoken english is really bad

barren quarry
#

How old are you

neat fossil
#

so that compounds into a incomprehensible mess

#

i'm 17

long raft
#

hmm foxhole would be a good place to practice huh

neat fossil
#

one time i tried to tell a guy in a fixed AT i had brought him filters

#

and the words just wouldn't get out of my mouth

unreal cloak
#

That does sound a bit frustrating

#

If it’s any consolation a guy I work with has a stutter and english is his second language and he’s way smarter than me and younger lol

long raft
#

interestingly ive heard a lot of people say they overcame fear of speaking in foxhole, and it helped them become more social, but also theyre probably coming of age and that might be more the cause

barren quarry
#

I'm deathly scared of using micro with strangers cause I have stutter issues too

neat fossil
#

damn

long raft
#

i sound completely normal and i never use the mic derpthink

unreal cloak
long raft
#

i cannot imagine, seabass. im sure its been rough

unreal cloak
#

Especially for kids that were about 13-14 when the pandemic started

long raft
#

it has opened my eyes certainly that i want to work from home not an office anymore

barren quarry
#

I have been living like it's covid since 2018

unreal cloak
#

Being in high school at that time was shitty but definitely a necessary stage in my social development

long raft
#

yea schooling ... has been awful i bet. but then again high school was tough for me, maybe its a blessing not to be there in person

neat fossil
#

now that i think about it

#

most of my memories from 2021 are from foxhole

long raft
#

thats just foxhole

#

its been a huge part of my memories since i started playing too

#

its a unique experience that has taught me a lot about experiences i didnt get as a kid, e.g. team sports

neat fossil
#

yeah i feel that

unreal cloak
#

ngl War 23 on Shard 2 made me depressed

#

When Ashtown fell

long raft
#

yea foxhole can affect emotions

barren quarry
#

It's taught me a bit of leadership even when I never considered myself a leader

#

I accidentally propped myself up to a position too high

long raft
#

haha yea ... thats an experience in life, when you feel like a follower but realize youre a leader

#

because everyone else is a bigger follower

neat fossil
#

i always get depressed when i realised how many times i could have rallied people to do the right thing if i just used the mic

unreal cloak
#

The other day I was commanding 3 tanks. I didn’t think I had enough experience but we did pretty well.

#

And then I saw a major get his entire line annihilated by attacking an EAT head-on lol

neat fossil
#

lmao

neat fossil
#

clan man are overranked

long raft
#

when you become a leader because everyone else is ... too dumb

unreal cloak
#

But I think tank ops align with my personality. Very patient and conservative when it comes to risk taking.

long raft
#

i too enjoy tanks

#

i do not think its universal among programmers in foxhole tho

#

dont think ive ever seen hayden in a tank

#

i bet we are all drawn to building tho

olive hamlet
#

Boat's and tanks fan here, and SWE

neat fossil
#

most of my memories from war 83 is repairing and following lt cols around with a shovel while they complain about their wife

unreal cloak
#

It seems very strongly gatekept

long raft
#

seems like all i do is frontline building now because theres no gates

unreal cloak
#

I realized that my first couple wars were before they changed the logistics hubs

long raft
#

builders are generally happy to share their knowledge

unreal cloak
#

I remember it being much easier to supply the frontline

neat fossil
#

well, i hate the shooting because i have high ping, and every front already has more medics than regular people, and logi is pain, so i just stick to building because i like the atmosphere

unreal cloak
#

I love scrooping and driving Ironships up to the seaports

neat fossil
#

in solo?

long raft
#

yea the building vibe can be chill

neat fossil
#

i envy your will

neat fossil
#

i recorded so much of war 83 and posted on fod

#

and most of it is just people chilling around or partisan hero, instead of actual battles

unreal cloak
long raft
#

its nice to be on the front but not dying constantly

neat fossil
#

i see

unreal cloak
#

But it’s fun to drop a map marker saying “drop off containers, get scrap” and just load up people’s flatbeds

#

Actuallt I think I’ll go do that now

neat fossil
#

nice

long raft
#

i think id rather just play other games than do logi lol

#

or do household chores, those actually directly benefit me

unreal cloak
neat fossil
#

every time i play any video game i feel like i'm wasting time now, so i just talk in FOD instead lol

unreal cloak
#

it's also probably the most high-impact activity you can have in the game

long raft
#

im glad its satisfying to somebody

unreal cloak
#

like if I ship an ironship of shirts to a seaport I can keep that hex going for like 6 hrs

#

when I first played the game I was like "who in their right minds would ever do logi"

#

I reckon that the time I spend doing logi would not have been spent productively regardless

neat fossil
#

that's interesting

long raft
#

building feels like a game of solitaire to me, but logi feels like a root canal

#

and i mean root in the australian sense of the word

long raft
#

jeez did this justine tunney make their own standard c library?! wtf

#

i am wondering how hard it would be to modify the dotnet runtime to use this portable format

#

the host program used for single file applications i mean

unreal cloak
#

You should check out Redbean in her site

long raft
#

yea i noticed that, seems very useful

unreal cloak
#

Also Sectorlisp

#

And the binary Lambda calculus

long raft
#

no thanks gonna steer clear of any more lisp lol

unreal cloak
#

It’s Lisp implemented in like 400 bytes

#

Turing complete

neat fossil
#

ok turns out the LookAt script isn't that expensive

#

it's just the sheer number objects itself that is killing performance

#

all methods i know like setting it static and optimising the material didn't work, so i'm looking for more ideas now

unreal cloak
#

how many do you have?

#

Could use DOTS for them

neat fossil
#

let me do a count

#

wait unity is skill issuing

long raft
#

i think billboards require a matrix inverse

#

otherwise not mathematically intense

#

transparency can be costly if youre rendering that

#

in the old days we used to use a z threshold to pixels on billboards to avoid alpha blend calculations

#

if your shader has to read the frame buffer to write to it, i imagine that could be expensive

#

but generally you can load up shit tons of billboards without performance problems

neat fossil
#

ok with just the 4096 hexes it works fine with no performance decline what so ever

long raft
#

hexes as in what 6 triangles?

neat fossil
#

but once i add the trees which is about 639 extra objects everything just falls apart so i think it's a mesh issue

neat fossil
long raft
#

you want to render things in batches for performance

neat fossil
#

yes i set all of them to static

#

still no luck

unreal cloak
#

if they are all calling lookatt

long raft
#

or like ... make your own point sprites by using a mesh shader lol

#

take a single point, generate the billboard for it

unreal cloak
#

and dont interact with other objects, try using DOTS

long raft
#

im not super up to date on unity tho

neat fossil
#

i commented out lookat

#

still the same exact performance

#

here's a comparison between the 2

unreal cloak
#

DOTS still may help

neat fossil
#

i will look into it

unreal cloak
#

since everything is batched efficiently

#

I have barely used it

long raft
#

are you calling the tree rendering like thousands of times?

#

ideally you could render them all in a single batch

neat fossil
#

i already set them static and enabled dynamic batching

long raft
#

oh im not familiar with that, so theyre being grouped together?

unreal cloak
#

what about your LOD?

#

do you have LOD enabled?

long raft
#

the whole reason we used billboards was because of their cheap cost

#

but it could be the alpha blending if its using it

neat fossil
#

they are the same texture, they are not 3D models no matter how close you are to them

neat fossil
long raft
#

i.e. its a cutout shape, with a texture that has 0 and 1 alpha values. you wouldnt want to actually read the frame buffer (cache misses) and then do alpha blending math on it

#

if its 1 you draw it, if its 0 you dont

#

so the shader can handle that i would think

#

does give an ugly border to the trees tho

#

i cannot imagine a modern card cant render thousands of polygons with ease tho even with alpha blending, thats shocking

neat fossil
#

ok i messed around with the compression and anti alising settings for the texture and it seems to be way better now

neat fossil
unreal cloak
#

bro how

long raft
#

batches 5219

#

that seems like a lot of batches.

#

is that like ... a total count over time?

neat fossil
#

no in render

#

i do have a lot of hexagons though

#

i will probably replace the sea hexagons with a single object

#

since they are kinda useless

long raft
#

there should be 2 batches for that lol

neat fossil
#

now that you mention it

long raft
#

if you remove the trees do the batch numbers come down?

neat fossil
#

not drastically

long raft
#

interesting!

neat fossil
#

yeah the hexagons themselves are the problem

long raft
#

so its not the trees then right?

neat fossil
#

yeah

long raft
#

when i was a kid i looked at this example for cumulative days

#

it was the first vertex shader i ever saw, it had animation in a vertex shader (it transitioned between 2 or 3 states at a vertex level)

neat fossil
#

damn

long raft
#

back when the directx software renderer was still a reasonable speed

#

you could run vertex shaders in the software emulator, but not pixel shaders

neat fossil
#

as in like make your own models and stuff?

long raft
#

one of the examples was this tesselated mesh, and it used to boggle my mind how they rendered 100,000 polygons at real time

#

like vertex shaders change the points in the mesh, and pixel shaders render the mesh to ...pixels

neat fossil
#

the metro games teached me to fear tessellation

long raft
#

i learned game programming on directx 7, the one before shaders were introduced, it was fixed pipeline

#

thinking about stuff like batch size brings me back to all that stuff

#

maybe there are still fundamentals that dont change

neat fossil
#

i see

#

from the little i know

#

unity can only batch together objects with the same material

#

and dynamically batch static objects

long raft
#

the material is the shader, right?

neat fossil
#

it's basically an abstraction of a instance of a shader

long raft
#

its both the vertex and pixel shaders i assume

neat fossil
#

so you can have 5 materials with different textures using the same shader

long raft
#

i wrote a few in unity but it was 10 years ago i cant remember

neat fossil
#

yeah

#

i was gonna say i would ignore the hexes for now to work in the actual gameplay, but i just realised i don't know what i want this to be about

long raft
#

lol

#

its a graphics demo then

neat fossil
#

my original plan was to make a game where you were given an island from the king to settle, and then you had to explore it and not die

#

which was a card game we made in high school

#

but that sounds so ambitious now

unreal cloak
#

strategy games are hard

#

so much logic

neat fossil
#

yeah

unreal cloak
#

I made an unfinished RTS game for Unity back in college

neat fossil
#

the amount of hoi4 clones i tried to make were insane lmao

unreal cloak
#

had to abandon t because my code was bad

neat fossil
#

what was it like?

unreal cloak
long raft
#

i feel like ive seen that ... a long time ago, maybe not

unreal cloak
#

it would have been like early 2020

#

I stopped working on it after a year because my code was horrendous

neat fossil
unreal cloak
#

I didn't know what conventions were lol

cloud magnet
#

Since the activity log can be accessed by everyone on anyone I assume its public information. Would the Devs be so kind to make an public API for the activity log? I would make a rank website with that API. So we can see who built the most, highest damage, materials submitted etc. and at the end of the war give out a Top 3 List of Builders, Scroopers etc.

unreal cloak
#

this will probably burn your eyes @long raft

neat fossil
#

I had so many crackhead rts ideas when i was a child

#

Did you do that for uni?

unreal cloak
#

no it was just for fun

#

I initially wanted to make a MMORTS like Foxhole but RTS when I was a kid

#

I quickly realized that that would not work

#

maybe if you only let each individual have a few dozen units

#

my next idea was that you would have a map with finite resources that would run out very quickly so you had to be aggressive and capture territory, as well as be strategic about your unit placement and also make dynamic alliances. So basically a Battle Royale RTS

neat fossil
#

I see

#

It reminds me of paradox games in a way

long raft
#

its not bad

#

quite readable

unreal cloak
long raft
#

as a former c++ programmer yes

#

its pretty damn easy in c#

unreal cloak
#

Oh man I tried understanding my old school projects in C++

#

I could not

#

I really need to learn C C++ again

long raft
#

i learned c++ i think in the late 90s

#

so i missed all the real evolution of it 😦

#

c++ 11 (and up) is cool probably

unreal cloak
#

I have heard that smart pointers take a lot of the pain out ofpointers

long raft
#

ive heard theyre losing popularity and nobody wants garbage collection in c++

#

hope its untrue but w/e

#

garbage collection in the c++ way seems pointless

#

i see no advantage if its not defragmenting the memory block and running garbage collection on a separate thread

unreal cloak
#

are smart pointers garbage collected?

long raft
#

Yes on deconstruction

#

Using reference counters

unreal cloak
#

Ah ok

#

Yeah that sounds unnecessary for C++

neat fossil
#

ah fuck it

#

do you think i should i start with c++ or c first

long raft
#

c

neat fossil
#

any reasoning?

long raft
#

it's simpler, its more useful to know, there are more resources for learning

#

i can not overstate just how big of a language c++ is

#

and everything you learn in C can potentially be used in c++, but not vice versa

neat fossil
#

i see that makes a lot of sense

#

thanks

unreal cloak
neat fossil
#

I see

#

I decided to pick up c for now

neat fossil
#

not exactly code talk per say

#

but is there any good way to make interior maps in unity?

#

i have always struggled with meshbuilder because it always turns into a mess

#

and now i started working with pre made modular rooms in blender but they already proved to also be a hassle to work with

long raft
#

that might be the nature of indoor

#

it makes me think ... variable bit rate, compared to outdoor constant bit rate

#

terrain is just very uniform

neat fossil
#

i see

#

i was doing it as actual game objects

#

and i just gets visual glitches everywhere and it's a pain to work with

#

but honestly i think i might just take the L

long raft
#

visual glitches?

neat fossil
#

it's kinda hard to show in an image let me make a gif

long raft
#

in the old days interiors are segmented using binary space schemes, whereas terrain is usually tesselation or geo mip mapping

#

i think its almost entirely geo mip mapping now, if its not a voxel engine

#

but if you just have ... backwards normals on your triangles for your model, you just fix those

neat fossil
#

like they are not cubes

#

each surface is it's own plane with the texture projected on both sides if it makes sense

#

but yeah i think the main problem is me fucking up in blender and not this approach on itself

long raft
#

mm modeling is hard

#

the only modeling i ever used to do for game stuff was really low polygons, to make it more manageable to fix that kind of stuff

neat fossil
#

i'm uploading the gif

#

it gets this jiggering lines where the modules intersect and in the roof

#

god screentogif really fucked up the colors

long raft
#

oh

#

weld your vertices

neat fossil
#

how?

long raft
#

i think they are simply not touching

neat fossil
#

is that in blender or in unity?

long raft
#

blender i assume

neat fossil
#

each surface is it's own object

long raft
#

like combine the vertices that are touching, it will find really near vertices and then set them to be the same

#

oh wait the flicker thats not ... seams

#

i think the flicked is you have two polygons in the same place

#

like a copy of the mesh, or a copy of the triangles

neat fossil
#

true that might be it

long raft
#

they are doing what is called z-fighting, where they are the same depth and swap back and forth due to rounding errors

neat fossil
#

i will try to remake the modules in blender as actual cubes and see if that helps

long raft
#

i assume cubes are two sided

neat fossil
#

yes

#

the ones in the gif are simple surfaces

long raft
#

or turn on backface culling, perhaps they are triangles facing the other way and should not be drawn (when you see the cube from inside) but are being drawn anyway

neat fossil
#

is that in the material?

long raft
#

im not sure, not ... super familiar with unity anymore

#

just theorizing things that could cause that effect

neat fossil
#

something, something is not right...

long raft
#

well thats ... definitely alpha stuff

#

is it supposed to be transparent? seems like a definite material issue

neat fossil
#

it is not supposed to be this way

#

but yeah thanks, i think i figured it out, about the hassle bit

#

is making modular stuff in blender and then building the level in unity the best option

#

or do you know another method?

long raft
#

i do not

neat fossil
#

i see

long raft
#

i know a lot of modelers work in maya or 3ds

neat fossil
#

hmmm

long raft
#

i try not to get bogged down in the art side of development since im not good at it

neat fossil
#

i think i will try making the rooms themselves as modules instead of just the surfaces to see if that helps

long raft
#

like in code?

neat fossil
#

no in blender, so i can like chain them together to make interiors

long raft
#

oh

neat fossil
#

searching in blender community a bit

#

i think i fixed all of the issues with this approach

kind glacier
long raft
#

nobody uses z buffers anymore but we dont call it w fighting for some reason

kind glacier
neat fossil
long raft
#

it could only happen if you have 2 polygons overlapping that are facing the same direction, or 2 polygons overlapping and backface culling is not being used

neat fossil
#

well it was kinda

#

instead of the geometry going over each other

#

the lightmap was

#

only the roof was actual geometry

#

i'm now having issues with light baking

#

all the materials have the same settings besides the texture

#

and all the models have the same import settings

#

and all are static

#

so i still have no clue what's going on

#

i suspect it has something to do with my lighting settings

#

maybe they can't fit in tightmap or something but changing the size didn't do much besides improve the resolution in the already ligthed objects

#

so i honestly have no clue

#

nvm i just needed to restart my computer apparently bruh

long raft
#

are your normals facing the right way on the mesh?

#

or perhaps the light map texture is ... too small? hmm

neat fossil
#

it was none of that

#

Unity just didn't feel like working until i restarted my computer

kind glacier
#

I should get back to working on unity tbh

neat fossil
#

lmao

#

when it works it feels so good to use

unreal cloak
#

i will never understand Unity's lighting engine

jovial lake
#

do you guys like ECS better then OOP?

long raft
#

its very useful in software that has a lot of assets/media

jovial lake
#

true

#

its pretty nice for gamedev

unreal cloak
#

I have never really made use of OOP in games

#

jsut component system really

#

maybe command and visitor pattern oince

long raft
#

i assure you the game engines themselves are heavily using OOP

unreal cloak
#

do you like OOP?

#

I'm not a huge fan

long raft
#

yes

unreal cloak
#

I'm also very new to large codebases so maybe I haven't been around enough to experience the pitfalls of a non-OOP design. But OOP just seems so complicated to me

long raft
#

well it sure is in c++

#

its pretty straight forward in c#, java

unreal cloak
#

so many builders and factories and nothing seems to actually implement any logic

long raft
#

oh well ... you dont have to make things that way

#

thats just people optimizing what they can

unreal cloak
#

I guess I just haven't worked with it enough to get in the groove

long raft
#

OOP reduces your code base's size generally, you have deeper levels of abstraction, but less code, so theres a tradeoff

unreal cloak
#

I'm more used to just having functions

long raft
#

well its still a function. only now it has a this object

#

in its guts its just shortcuts you end up building yourself with structures

jovial lake
#

i like OOP but sometimes people overcomplicate it by making everything a class

long raft
#

seems fine to me

#

i was bothered by a lot of the techniques at first, like accessors, but ive come to rely on all that stuff so heavily now

#

i remember a project i did in college, everyone else in the class had like 15 pages of code and i did it in 3

#

the power of properly used inheritance

#

also i dont know how i tolerated OOP before c# and it's pattern matching functionality

neat fossil
#

i found a game i was working on for the birthday of a friends server

#

but i don't remember why i gave it that subtitle

stable terrace
#

functions are cool

#

they're pretty readable and straightforward

jovial lake
#

yes

barren wedge
neat fossil
#

i didn't knew any furry

#

at the time

#

and everyone was a weeb

coral sundial
#

Ive never met a furry but seen plenty

barren wedge
#

then maybe it's just natural to put a furry as an enemy of weeb?

#

or friend if want to

coral sundial
#

I wonder what goes on in their mind sometimes

#

Like, what makes you put on a fur suit and have a peep

#

How did you get into this

#

I am just intrigued

neat fossil
#

i will try to find the design document we wrote for it

#

i think i purged my google drive but let's hope

#

oh yeah the furries were some annoying people we used to find in tf2

#

damn i kinda want to finish it now

barren wedge
#

I almost finished simple AI for Tic Tac Toe and i feel so powerful

neat fossil
#

oh nice, how does it work?

barren wedge
#

i wont post code here, cause most variables are in polish, but basically:

first it checks if there's any line in which AI has 2 fields and the other is unblocked (then it takes that field)

if there's no line like that, it checks if there's a line where enemy has 2 fields and the other is unblocked(and then takes that field)

#

and i plan to give it basic instructions on what to do when neither of those 2 options are active (rn it's random)

neat fossil
#

i see damn

barren wedge
neat fossil
#

is it possible to win against the AI though?

jovial lake
#

Man the opengl tutorial for c++ is nice and simple

barren wedge
#

I havent checked any guides tho

#

And i was never a tic tac toe champion

#

Basically there's 2 strategies (if we dont count those where the oponent straight up lets you)

#

Either you go for middle part first and then corner or the other way around

#

And if the enemy takes a side tile, u win

#

And AI never picks side tiles first

#

Well now that i think about it, its dumb to even call them strategies

#

Tic tac toe really isnt the most complicated game

neat fossil
#

yeah

#

still good work

earnest apex
#

You should always get a draw against a perfect opponent in Tic Tac Toe

unreal cloak
neat fossil
unreal cloak
#

oof

long raft
#

ubuntu 22.04 in 4 days ...

#

server upgrades 😦

pure sierra
#

at least you can, it seems a business practice i keep getting stuck with is to make a vps startup budget company with virtualization such that the kernel cant be upgraded, knowing that in several years when that os will become out of date, customers will have to sign up for a new plan to upgrade in the future which by then is more expensive as the company has grown to be a 'more premium' host without the budget plans anymore

long raft
#

normally i wouldnt but this is another LTS

#

but yea ive got a lot of stuff on ubuntu 18 and even some on 16

#

but for virtualization, if i dont need cuda, im using alpine

#

containers are the future

barren wedge
#

I have been informed that tic tac toe is actually more complicated and am reworking my AI cause it was kinda trash if you knew how to deal with it

#

I have made a profesional diagram made in paint, inspired by 5D chess, where i drew what actions should AI take when the opponent is starting and he chooses one of the corners

#

(AI is cross)

unreal cloak
barren wedge
#

uh no?

unreal cloak
#

are you famiiliar with trees? Basically you repesent your game state as nodes in the tree, with the branches being each move taken

#

at a terminal game state you assign a score +1 p1 wins, 0 tie, -1 p2 wins

barren wedge
#

Oh i've seen that on geopolitics channel talking about war in ukraine heh

unreal cloak
#

you traverse the tree from the bottom and try to select the branch that maximizes your hypothetical score while minimizng the enemy player

#

the size of game states blows up fast but for tic tac toe there are less than 9! game states so it's actually doable

#

for something like Chess you would sample moves randomly and terminate after a certain depth 2/ some sort of heuristic to determine the players score from a given board state

#

but for tic tac toe it's the perfect game for a minimax implementation

barren wedge
#

hehe yeah

#

i should probably get watching some videos about those topics

unreal cloak
#

Artificial Intelligence: A Modern Approach is a really good foundational textbook for classical AI algorithms

hollow gyro
#

IIRC I drew on 3 pieces of A3 in order to eventuakly understand MinMaxing.

It's basically you simulate next states based on expecatations; e.g. for the opponent to try and win; and thus you take the move that down the line has the most value; losing has negative value thus you avoid losing moves.

#

The reason Chess cannot be perfectly won is you cannot simulat all possible future states due to it's complexity.

#

However Tic-Tac-Toe only has 9 states, so it easier.

median vale
#

Min max just assigned an arbitrary value to any action and/or calculate the value of each possible action and choose what is considered the best. In concept it's pretty easy, implementing it correctly take some more time and being good at it is quite hard

#

Fun thing is i'm pretty sure stockfish is an open source AI that use min maxing in chess and it's probably one of the best implementation you can access the full code

#

Min maxing require knowledge of the game/task you are trying to optimised

#

one of the way you optimized those type of program is by removing as much of the branch of the tree without the computer needing to calculate all that

unreal cloak
#

Yep idk if you can see that link I sent but it covers alpha-beta pruning + iterative deepening

#

Pretty sure AlphaGo is just minimax with a neural net trained to evaluate a given board state

brave epoch
#

Wonder what kind of data mapping and visualizations can be pulled off from the api

hollow gyro
coral sundial
#

Ooob

#

H

#

You could definetly create a heatmap over several wars

brave epoch
#

Might do dat

unreal cloak
#

is betting on the outcome of a Foxhole war against the game's TOS?

unreal cloak
#

betting on the outcome of a war

#

holy-- that's a real website I was joking

pure sierra
#

one day maybe

unreal cloak
#

unless bets were capped at like $5 or something

#

I can definitely see a wave of alting happening if there was serious cash involved

pure sierra
#

yeah, im not into gambling to loose/win lots of money, just thought it was one of the few ways to create a side game for people when not in game that was actually tied to game

unreal cloak
#

I asked around in sigil if people would actually use it and I dont think it would be super useful though

pure sierra
#

yeah , youve still got to go in game though

unreal cloak
#

yeah it would just be a way to connect people who want something with people who need something

pure sierra
#

yeah it could work

unreal cloak
#

only useful for expensive items really but I was thinking maybe you could request bunker bases to be built or something

#

just a way for people to coordinate somewhat

pure sierra
#

just have to contend with intel leak limitations though

unreal cloak
#

yeah I was thinking they could verify through discord

#

but then that kind of defeats the purpose

#

since you would already most likely be in a clan or in sigil

pure sierra
#

that right

unreal cloak
#

but I do like the idea of creating a way of expanding the economy of Foxhole or adding to the meta

#

I just cant think of any good projects

pure sierra
#

thats what i was thinking when registered fhbets

unreal cloak
#

yeah I think it would be neat

#

the only problem is that it would 100% lead to alting

pure sierra
#

itd be cool to have a little mobile miner, but ud have to have game clients to remote which is getting too crazy and limited

unreal cloak
#

I was thinking maybe you could datamine

#

just query the war API and store all the states in a Cassandra DB

pure sierra
#

but how does that create a side game ? (what i want)

unreal cloak
#

then try to come up with a heuristic that can determine the best move from the current map state

#

well, I dont think this would actually work

pure sierra
#

issues might be that the map items change

unreal cloak
#

but if you fed it enough data you could start figuring out which moves are optimal to cripple a hex

#

although I dont think it would have enough data to figure it out

#

since it's dependent on so many factors

#

I really wish the devs would allow us to query player stats

pure sierra
#

that being said there are probable very common paths that have to go in order

unreal cloak
#

Maybe instead of actual money bets you could just have the website be a poll

#

and let people vote on who they think is gonna win

pure sierra
#

well i could use points instead of money

#

but i thought itd be good if there was a small 0.1% txn fee or something i could collect to run it 🧑‍🔧 wardenlol

unreal cloak
#

do you have any cloud costs for Foxhole stats?

pure sierra
#

and by people have a bit of real money skin in the game it would give it clout

#

it runs of my vps that i pay for

unreal cloak
#

like do you run a caching server so all the users aren't spamming the War API?

#

what's the vps for?

pure sierra
#

it runs everything

unreal cloak
#

I guess I mean what backend services are you using?

pure sierra
#

fhs is not like derpy cheapo client side everything

#

there is lots of backend

#

so cron php polls api every minute and puts results into mysql db

#

then php is used again for page generation

#

then node runs the live update server for real time updates

unreal cloak
#

is that a websocket or something?

pure sierra
#

and python generates the control map overlays

unreal cloak
#

I'm not very familiar with non-static webdev

pure sierra
#

SSE instead of websocket

unreal cloak
#

ah ok

#

I graduated like 2 yrs ago so my experience with webdev is all React/Python

pure sierra
#

cool, i like python

unreal cloak
#

seems to be the new paradigm because it's quick to get new devs up to speed and making things

#

so I dont know anything about php or server-side rendering

pure sierra
#

python and php are both server side languages

#

but both can be run client side if you have them installed

unreal cloak
#

Python can be run client-side?

#

how does taht work?

pure sierra
#

through your terminal

unreal cloak
#

you mean like if you download it?

pure sierra
#

client side is just servers side from another perspective

#

yeah, you can install php or python on local machine or server

unreal cloak
#

ah ok I thought you meant running in the browser

pure sierra
#

so afaik neither can be run in browser

#

browser just has js, css and html5

unreal cloak
#

if you can think of any ideas of things to make for Foxhole let me know, I'd love to help

#

I'm finishing up a current project so I need soemthing new to work on

pure sierra
#

foxholebets

unreal cloak
unreal cloak
pure sierra
#

i dont use aws for foxhole stuff

#

in work currently i only use aws s3 for backups, and smtp for a mailer

unreal cloak
#

I'm getting ramped up on it at work but I've only really used S3 and Lambda

pure sierra
#

it definitely has its appeal, just not sure if it would cost more or less for my needs, but great for portability

#

with foxholebets, i would build it first with a points system for testing and proof of concept, and if works switch it to limited money.

unreal cloak
#

AWS Lambda gives like 400,000GB-seconds of compute power for free

#

so it would most likely be free if you went serverless

#

and then I'm sure the S3 storage wouldn't exceed the storage size

pure sierra
#

not sure if that would be everything i need

long raft
#

foxholebets should be based off of foxcoin

#

we need the crypto first

neat fossil
#

also nfts

pure sierra
#

lol, yes meme coin to pump and dump and get around gambling laws....

#

scrap mines for crypto ledger pow HBjoy

long raft
#

meme?

#

as meme as any other coin

pure sierra
#

just refing the topic

long raft
#

ive conceived the whole idea, the software uses the warapi to get the victory

#

the coins are pegged against each other, a colonial coin, a warden coin

#

even if the coins were mined and given away free, it would indicate the betting lines on the victory

#

if there was a network running (thats why i suppose they need to have some value), people could trade warden coins for colonial and vice versa

#

i guess they all become a pump and dump dont they

pure sierra
#

its just a meme coin. maybe better to just use normal crypto for bets

long raft
#

its literally the only possible outcome of it

#

nobodys gonna dedicate computing power to an actual meme coin, it has to have some value -> fiat for anyone to bother

pure sierra
#

does it cost to make a nft ?

long raft
#

i dont ... think so

unreal cloak
pure sierra
#

NFT

unreal cloak
#

I believe you have to pay gas on the ETH blockchain to "mint" an NFT

pure sierra
#

figured

pure sierra
#

@long raft

pure sierra
#

cant get zoom level to work in linux-amd64

#

actually im getting result "Killed" after level 5 ..

long raft
#

Hmm I'll have to look at it I too am disappointed in the ability to handle huge images

pure sierra
#

windows did it easy

long raft
#

Gonna try to put work into it

pure sierra
#

does yours get killed ? it might just be my server

long raft
#

What's the error, btw?

#

Oh it uses a lot of memory i wonder if that's why

pure sierra
#

4 and 5 ok, but 6 return "Killed" after it finishes #5

long raft
#

Oh I'm getting that with 8 now

#

It must be a memory issue

pure sierra
#

likely

long raft
#

Or possibly math error

#

It seems to happen when the zoom level exceeds the native level

pure sierra
#

it worked on win7

long raft
#

Hmm

#

I didn't do enough testing on Linux

pure sierra
#

its fine

long raft
#

I debated remaking it entirely in javascript

pure sierra
#

for node ?

#

@long raft do you know how @tropic cargo worked out the topo line heights ?

long raft
#

Yea for node. No i dont know how sentsu did the topo lines

pure sierra
long raft
#

Oh thats slick

#

Wow

pure sierra
#

yeah i rolled out new update

long raft
#

I kind of want to remake the topo lines at a higher resolution

#

I want to take my zoom levels to 8 or 9

#

My starting maps are unprocessed so theyre 4x larger

pure sierra
#

sentsu has done them at 2x warapi rez

long raft
#

Im afraid the tiler might be too slow in javascript i dunno

#

I dont think i have quality zooming tools in node

pure sierra
#

i know there was talk about 3d printing back a bit here, do you have one @long raft

long raft
#

Yeah

#

Like a cheap one for small parts

pure sierra
#

can you do abs/asa ?

pure sierra
#

@long raft you still about

long raft
#

Uh i do resin printing so no

pure sierra
#

ok

#

so with this betting thing HBjoy

#

i guess people need to login as first step , so wondering if to use 3rd party auth system for easy and completness... ??

#

what do you think @long raft

lunar cobalt
pure sierra
#

im just looking at buying my own

lunar cobalt
#

I'm partial to Prusa

#

More expensive but they tend to just work

#

You do have to build your own enclosure if you want to use ABS / ASA though

pure sierra
#

yeah, and get full metal (if not already)

lunar cobalt
#

Standard prusa hotend will print ABS

pure sierra
#

mm are quite a bit more expensive

long raft
#

Oh you're serious about the betting?

pure sierra
#

i think it could be a bit of fun

lunar cobalt
long raft
#

I suppose it could be

pure sierra
# long raft I suppose it could be

trading platform would have more going on during war though, but not sure how youd do that and itd be more work,
was thinking to liven it up a bit offer bettable goals mid war, like casualties at a certain day, or x at certain day, or first team or time to do something

lunar cobalt
#

first nuke launch

#

which faction & which day

pure sierra
#

yeah that sort of thing

#

that could quite easily be gamed though, with a clan just focusing on that

#

but maybe that would make it better ...

tropic cargo
pure sierra
#

i meant the numeric values

tropic cargo
#

I can't know the real height it's just arbitrary values that are regular, so correct between them but the scale is not necessarily the real one

pure sierra
#

ok

stark minnow
#

any golangers out there

long raft
#

have done ... golang before ... why?

stark minnow
#

im still learning ....built api wrapper for foxhole api in golang...looking for maybe a code review/notes/suggestions

long raft
#

mm im not quite that handy with it

stark minnow
#

got ya...well fingers crossed im going to try an put out a public api w/ historical data for war 91+

old ibex
#

Ive done go in the past

#

F*** garbage collector tho

#

Java, Go, all of them need to burn in hell

neat fossil
#

since a lot of people in here seem to have done CS in university i might as well ask, do you think it's a good course to take if your final goal is to work on games?

dusky grove
#

I mean yeah, if you do CS you'll have the programming background and degree to dev for a game company. Also just try to make your own games to show off and intern at companies you like if you can

neat fossil
#

i see

unreal cloak
#

not to discourage you

#

I have a ton of fun making games in my free time but honestly dont think I'd like it as a career. and I know a ton of people who are the same way

#

I thought it would be boring, but making microservices is actually pretty fun

#

Also my first batch of AI-generated music is finished, it's not very good though

#

I think my biggest issue is normalization, it's so hard to figure out a good way to normalize the data

long raft
#

in my day we had senet and it was good enough why do kids now need new games

#

more banking software is what we really need

unreal cloak
#

lol I just mean the industry itself is more grueling than doing it as a fun hobby

#

at least that's how I felt when interviewing

long raft
#

small company? viable. but the large companies can treat employees poorly because theres a line of fresh programmers that want to make big games

#

but like a self owned self produced thing seems like a good way to go

unreal cloak
#

the small companies I applied to were really hard to get into, at least with my experience

#

the only real options were places that made shitty gambling games or like knockoffs of popular iOS games

#

or AAA developers but they only hired contract and paid poorly

long raft
#

oof

#

yea, basically, if theyre hiring then theyre probably too big to work for

#

catch 22 i guess

hollow gyro
#

Who calls is 'CS' it's 'C#'

long raft
#

the files are .cs and the compiler is csc.exe

neat fossil
#

Also i see

hollow gyro
unreal cloak
#

while actually fun games barely scrape by

#

Tinybuild LLC seems like a good publisher, but the studios they represent are so small that nobody is hirigin

#

I think my best bet to work in games would be as a network/infrastructure/cloud engineer, but I can make 2x-3x working on some boring enterprise cloud stuff with way less deadlines and better QOL

#

I also did an interview with I a couple of AAA places and they were super secretive about what the projects were and both were contractor positions making burger-flipping money

#

with the "oh maybe you'll transition to full-time after 5 years" thrown in

#

it just left a bad taste in my mouth. I'd rather work on something boring with a better QOL at the end of the day I guess.

long raft
#

Me too, all of that

neat fossil
#

i see

#

my final goal was always to have my own studio, but visiting the university i want to attend they told me CS might not be the best course for it, so i'm stuck in thought, another thing is that i grew tired of my alternative which was aeronautics, so i will end up doing CS in the end regardless

#

even if just to work on boring projects to be able to do my own thing in my free time for a while

long raft
#

thats my theory, 2 things to pay attention to tho: 1) you will be too tired after work to do your own stuff, 2) make sure you dont sign a contract giving anything you work on to the company you work for

neat fossil
#

what is that a thing?

long raft
#

yes. very much.

neat fossil
#

damn

long raft
#

not sure how much it happens now but decades ago in the industry if you worked for HP or something, anything you did was owned by them

neat fossil
#

even if it was in your free time outside the company?

long raft
#

yea

neat fossil
#

and it was legal?

long raft
#

it made it hard for people to moonlight

#

yea it was legal

neat fossil
#

bruh

long raft
#

well see it from their side, if everything that was made some programmer could claim they made it in their free time...

neat fossil
#

if it's not part of the project they are working on in the company does it matter though?

long raft
#

would you want to go to court each time to decide?

#

my general thinking is that if you have documentation that you started working on something before employment there youd be pretty safe

#

again, working for the big companies sucks

#

oh and if you want to make games? youll need an artist friend.

neat fossil
#

yeah that's been my biggest hinderence since i started making games

#

i suck at anything drawing related

#

so most of my old projects have either stolen art from the internet or have my shit pixel art art

long raft
#

which tends not to be ... inspiring to work on

neat fossil
#

yeah

long raft
#

start attending poetry slams ... or whatever ... artists do

neat fossil
#

all my "artist" friends are either too lazy to go through with anything or aren't actual artists

long raft
#

or ganii says he'll do your whole game's art for $5

neat fossil
#

does he?

long raft
#

yes but your whole game might be smaller than you want

neat fossil
#

honestly i just want to get something done this year

long raft
#

if you truly have the discipline to use place holders you can get the art done inexpensively

neat fossil
#

otherwise i feel like i will go another year without finishing anything

neat fossil
long raft
#

if you have everything except the art, you can very accurate estimate the cost of the art

#

you can just farm it out with a full spec sheet

neat fossil
#

oh i see

long raft
#

i suppose the programming is like that too. if somebody had an entire game done except the code? all the writing, the art was done, the mechanics thought out and written down, assembling the code would be easy

neat fossil
#

yeah

#

i guess you would need more revisions and all but makes sense

unreal cloak
#

or have a smallish-scope project that you can do in 1-2 months, and ignore feature bloat as much as you can

neat fossil
#

yeah i sign up to them and then forget they exist

#

i think i will start taking them more seriously

unreal cloak
#

I made a game in like 1-2 months with a full game loop using Kenney assets

#

it wasnt very good but I checked all the boxes of the features I wanted

neat fossil
#

i see

unreal cloak
#

having an artist made my second game jam 10x easier

neat fossil
#

i feel like i'm not good enough to work it with an artist

#

guess i will have to learn more

unreal cloak
#

if you are making a 3D game just use Kenney assets

unreal cloak
neat fossil
#

is all of this free?

unreal cloak
#

most of it yeah

long raft
neat fossil
#

damn[

unreal cloak
#

this took me about 2 months working like 3 hours a day after work and 8 hrs a day on weekends

#

it's not very good but I at least got a finished game loop + multiplayer

neat fossil
#

yeah looks interesting

#

it isn't loading for me

unreal cloak
#

it's an isometric top-down CoD zombies ripoff

neat fossil
#

lmao

#

literally foxhole

#

but yeah thanks for the site

#

it gave me some ideas

unreal cloak
#

making a similar camera system made me realized how hard it probably was to make their crosshair system

#

it's not that technically difficult but it's hard to make one that feels right

neat fossil
#

i see

unreal cloak
#

I used a very slight auto-aim where if you have your mouse over a zombie, your aim-line actually adjusts to the zombie center mass

#

since by default the raycast will return a point on the edge of the zombie which can cause grazes and stuff

#

I also cant remember if I actually used projectiles or hitscan

#

I think projectiles

neat fossil
#

projectiles go off yeah

#

unless you made them fake tracers like foxhole

unreal cloak
#

also the fact that if you aim at a wall with transparency it's ambiguous if you want to aim at the wall or the floor behind the wall

#

or if a zombie is behind a wall you have to have fallthrough cases where you do one raycast to check for zombies and then another to check for terrain/obstacles

#

just lots of really subtle things

#

also weapon balance

neat fossil
#

i'm actually paralised lmao there's so much to choose

unreal cloak
#

You are picking for school right?

neat fossil
#

no

#

i will use my game jam strategy of getting a prototype working and then fitting it to the theme once it's announced, like i did with that bomb game i had sent

#

i also found a good rpg character generator

#

so i was thinking of trying to make a short one

#

i also have the combat system done from another project i gave up on

unreal cloak
#

just start small

#

I think finishing things gives a boost that makes it easier the next time

olive hamlet
#

But not any other site

#

Is your DNS host down?

pure sierra
#

@olive hamlet I believe my host is down

olive hamlet
#

Yeah at least now it's not DNS

pure sierra
#

@olive hamlet back up

olive hamlet
#

Nice one ^^

steady palm
unreal cloak
#

well it turns out that my finished NLP model is way too big to run on Lambda

#

has anyone ever used Flask w/ EC2 before?

jovial lake
#

Anime epicAnime = AnimeBuilder.create();

pure sierra
#

can you spot the problem

opal orchid
languid harness
#

classic

ebon ermine
#

hey someone send this to rockyrock from SPUD and tell them i fixed the wardens' bunker tool for them

unreal cloak
#

I haven't posted this in a while, but I am trying to create a repo that indexes every single Foxhole project in one place

#

let me know if there are any I should add

#

I need to start breaking them out into categories

pure sierra
#

🤷‍♂️

lunar cobalt
#

Do you at least know what the vulnerability is?

long raft
#

feels more like bug ransom than bounty...

#

im wondering when has XSS ever been a server side security issue

lunar cobalt
#

So this website literally only exists to contact the website owner, not tell them the bug, and send them to the reporter to get more information

#

I can see no possible ways this could be abused

#

Looking at the guy who made that report all of his past vulnerabilities are about Reflected XSS

#

And he just spams them

#

He made 223 reports of XSS scripting on 10/05/2022

long raft
#

xss, the least dangerous of security vulnerabilities...

#

but without details it sounds scary

pure sierra
#

yeah im suss,

#

like u said, i looked at the users history too and its seems suss

#

and why shard2 ?

earnest apex
#

Reflected xss, which is what this supposedly is, relies on people being idiots and opening an untrusted link. In this case I don’t even think that’ll do anything. Stored xss is dangerous, but that’s not possible here.

pure sierra
#

the bug gets auto released after about 90 days if not resolved

#

looking at the details of his past submissions that have been released/public, look like total shit

#

https://www.richlandcountyoh.gov/"></title></script><svg/onload=alert(/openbugbounty/)>

#

this is crap right ?

earnest apex
#

It’s not that he made a popup, it’s that instead of that popup he could do anything else as well using java script.

pure sierra
#

how is js getting passed from the url to the dom ? surely this is a browser exploit instead ?

earnest apex
#

That’s the main point of reflective XSS, using it someone can execute Java code client side if a bad link is submitted.

pure sierra
#

looking at the dom, it seems the code is being embedded into the code, so its a web server exploit ?

earnest apex
#

I don’t know much about this, as I’m taking a class on web security currently, but essentially it allows a malicious link to remotely execute Java code on a client, such as sending session info to a third party or any other type of Java based exploits. It’s not too dangerous as it requires a user to submit a bad link, but it’s something that can cause havoc if exploited.

#

With that, instead of the script part of that just being an alert, it can be any type of basic Java payload.

pure sierra
#

i really am suprised a upto date version of apache would let this happen

earnest apex
#

I imagine the best way to fix it is to just make it so any character such as < or > in the url causes the page to go to a something happened error, Please try again.

pure sierra
#

it injects it into around 4 share links of all places ? why there

earnest apex
#

That’s probably the only place where it was able to be inserted from what I can tell. I don’t know web development at all so I can’t tell you why it’s there, but it appears to be exploiting the href code there to insert a line of script after the url is finished.

pure sierra
#

maybe its because the submitted browser url is getting embedded into the base url

earnest apex
#

That’s probably it, and since the submitted browser url isn’t being sanitized, but instead is just being submitted without any checks, it’s able to do it.

pure sierra
#

yep

#

that is it

#

https://www.richlandcountyoh.gov/?test=hello

#

ah because they are share links

#

they embed the current url path so the share button shares that url

#

i made one

#

https://www.richlandcountyoh.gov/<script>alert('hello')</script>

earnest apex
#

And because that share link isn’t being checked at all, anything can be put into it, including html statements.

pure sierra
#

pretty simple 🙂

earnest apex
#

And pretty easy to miss too, which is one of the reasons why it’s such an issue. Anything from the user should be handled as if it were trying to cause issues.

pure sierra
#

I know to take precautions with user submitted values when working with db, but hadnt considered reusing that url anywhere

earnest apex
#

One of the things from my class that I remember is to always assume incoming data is malicious, even stuff like log files.

pure sierra
#

whats silly, is on my site, the one reported, its being embedded by bloody google charts
https://foxholestats.com/?test=hello

earnest apex
#

Based

#

The guy probably just has a script running to check for something like this where a link is embedded, and then reports it if found.

pure sierra
#

yeah a crawler

earnest apex
#

Hell one of the programs we use for class has a pro version that can do that, just searching for any exploits that it can see

pure sierra
#

i tried the script tags in the url that worked on that richlandcountyoh website, but doesnt work on mine as its getting embedded in the middle of svg code (google charts) thats why his examples where using the svg onload tag instead

earnest apex
#

Yup, but now whenever that svg code is called, it’ll activate whatever is put in as long as you’re still on the page.

pure sierra
#

anyway, im off to bed, not going to do anything about it as its very unlikely anyone will get xss on my site, and i dont have any account system so no cookies or sessions to steal... but interesting to keep it in mind for my other sites

ebon ermine
#

@pure sierra at an old employer, we would get these kinds of reports frequently. it's people who run standard, off the shelf vulnerability scanners against arbitrary websites, turn the results into "bug reports", and ask for bounties.

#

like, they just straight up run burpsuite against everything

lunar cobalt
#

Open Bug Bounty is supposed to not accept reports from automated tools... hahaha

earnest apex
#

They’re probably running burpsuite against every site they can find, and if it finds something they modify what it found slightly to make it so bug bounty accepts it.

long raft
#

when you spam keys for a random table name, but your muscle memory controls you
Error: index asdasd already exists

potent cedar
#

Any open source stuff going on?

pure sierra
#

Some public dev stuff and some open source community stuff @potent cedar

unreal cloak
#

@pure sierra wait so what was the issue? was it the this.href usage?

pure sierra
#

@unreal cloak for the exploit? Embedding the current url including user requested get string in the page source with it out checking. In my case it is actually being done by Google charts 😅

unreal cloak
#

Ahhh I see

unreal cloak
#

Do any of you guys know what type of CV is used for projects like this one?

#

being able to parse images into an excel sheet or dataframe?

cerulean urchin
unreal cloak
#

ok thanks!

old ibex
#

Does the bot hate codeblocks?

#

Ill split it, sorry to the one singular person i probably keep ghost pinging

#

ok yes it does

#

[to the person who blocked me] this is how i checked the mac and it does run into the windows setting

#

also I still feel im wrong just due to how i went about telling you that I think you are wrong, sorry about that

#

I hope we can put this behind us

#

(here is the normal and the spoofed one:
60-F6-77-74-0F-1D
42-D9-25-07-15-16
)

long raft
#

wow i havent used .Single() in a looong time

old ibex
#

I like it

#

I love throwing exceptions for fun so people can have a fun debugging time

broken juniper
#

Have Anyone tryed tkinter before

stable terrace
#

its alright

hollow gyro
#

Is there a png/etc version of this hightmap/map overview I've seen people use?

long raft
pure sierra
#

@hollow gyro

hollow gyro
#

ok I got it, crashed Chrome the first attempt.
Thanks @long raft

pure sierra
#

Yeah, just too big for preview, download original

timber onyx
#

fuck you all, here's an abomination

#

that screw holds this thing inside my testing chamber

#

so the plug can be in the hole for a cord

#

yes it works

#

steel screw can thread soft solder and wire

lunar cobalt
#

holy shit

long raft
#

couldnt you have just soldered a single nut on?

mossy pelican
#

i would have fixed it with some black duct tape

unreal cloak
#

Anyone have any good guides to learning C?

#

I’m trying to get better foundations in CS, starting with C and computer networking

#

Also any good ideas for projects. I was thinking maybe using sockets to make a basic client-server demo. I really want to learn how routing/packets/dns works etc

coral sundial
#

How much programming do you know?

unreal cloak
#

That’s a difficult question to answer lol

#

I have a degree in computer engineering and 2 years of work experience mostly with higher level garbage collected languages. I understand the basic concepts of OS like virtual address spaces and process scheduling etc but don’t know how to actually code low-level in C

coral sundial
#

Oh so you want to make like custom lists and stuff?

long raft
#

so you want to learn C and networking at the same time?

#

generally in C you start with a hello world, then a number guessing game, then you rebuild data structures yourself, like make your own linked list or something, do your own sorts, try out all the data structures

#

make sure you get some practice linking dynamic and static libraries

#

its really just a space to practice pointers, i dunno how much there really is to learn in C

#

most stuff will come so naturally to you, pointers will be the only barbed idea

unreal cloak
#

I made a lot of data structures in C++ in my data structures course-- trees, hash maps, tries, linked list, sorted set, etc

unreal cloak
#

I feel that at work I am learning a lot about software development, but not much about computer science.

long raft
#

making data structures in C++ is easy compared to C

#

since there are no classes...

#

structs and functions is how you achieve them, so its just like relearning primitive ways to do things

#

learn the horrible conventions of C
(nothing is thread safe, functions return integer error codes or boolean values, wtf is an exception?, naming conventions which are already familiar to c++, macro hell)

#

frankly its hard to construct anything meaningful in C in a short period of time so its mostly just a workspace for learning the computer's literal operations

unreal cloak
#

I dont know anything about macros

#

I guess I’ll start with making data structures then

#

I’m gonna put it off to mess around in Godot first

coral sundial
#

If what you want to learn what pointers are you might as use c++ in funky ways to be fair

unreal cloak
#

I mostly want to learn low-level programming

#

I had a single class in C for microprocessor programming, writing directly to registers with bit shifting, but I’d like to go further

long raft
#

eh you wont be dealing with registers with C

#

youd have to do assembly for that

unreal cloak
#

I know I'm just giving an example

#

you can write to memory randomly though right? By doing operations on pointers?

long raft
#

sort of? if the OS doesnt catch you

#

its just a modern language but without built-in checking

#

hence why its so fast, because it doesnt check anything

#

if you dont write over a memory page boundary you basically dont get caught

coral sundial
#

If you want to work with registers i might suggest AVR programming in c

#

If you want to go further try programming your own lcd

unreal cloak
#

@coral sundial my design project in college was programming a microcontroller with LCD that was controlled by I2C I believe. I ended up doing a guitar hero ripoff, writing directly to the internal registers that controlled the clocks and timers to generate PWM signals for the audio channels. It was pretty fun

coral sundial
#

oh thats indeed very cool

#

but did you do it in C?

#

you can also program an LCD without I2C or serial

unreal cloak
#

yeah it was in C

#

I dont have the code anymore unfortunately

#

the thing was that the microcontroller had its own IDE, think like the Arduino editor, and so I wasn't using GCC or linking libraries or anything like that.

timber onyx
#

look at this beauty

#

here's the screw hole btw

#

having "sewer" on my final project was very fitting

unreal cloak
#

Whatcha making?

#

I kinda miss working with hardware but also fuck hardware

timber onyx
#

hardware bestware

#

it's a container for gas

#

CO2

#

im simulating a closed room with poor ventilation

jovial lake
#

anyone know where i can find the numbers for bunkers and stuff?

#

like stability rates, AI angles ect

#

i know i can get the health from the wiki, but i cant find stability

cerulean urchin
# jovial lake anyone know where i can find the numbers for bunkers and stuff?

The only resources I know of are these two wiki pages.

https://foxhole.fandom.com/wiki/Bunker#Structural_integrity
https://foxhole.fandom.com/wiki/Structure_Health

There's a small statement on the first link that gives a hint at what the equation may be for integrity, but I don't know the accuracy of it. There's another person here a few months ago who was working on a base builder site, they might be able to help you more if they're still around

long raft
#

i think people know the equation for integrity and i think its simple linear

#

just like an average i think

cerulean urchin
#

The max health of a bunker structure is equal to the sum of the max health of each directly-connected bunkers multiplied by the structural integrity value.

Yeah it sounds like it lmao

unreal cloak
#

Has anyone in here used Godot for anything?

#

To my knowledge it only has inheritance, not components. Which feels a little restrictive

languid harness
pale summit
#

Does anyone here know how elevation affects artillery distance?

long raft
#

i think its just ... like exactly what youd expect with a projectile

#

greater elevation would mean more distance

potent basin
#

i dont think it do

median vale
#

Don't know if they coded it in foxhole but normally it just give you greater distance and a bigger impact

earnest apex
#

From what I’ve been told, it impacts the range slightly, and shooting up onto a cliff also has some impact with shots sometimes appearing to land way short due to the terrain inside cliffs being weird. You should always be careful firing up a cliff to not accidentally overcorrect over the cliff into the defilade behind.

neat fossil
#

Foxhole was built in Unreal Engine 4

#

using c++ i believe

lunar cobalt
#

Java vs. python vs. Lua vs. C is a very difficult comparison

#

It depends on what you want to do

median vale
#

Different langage for different need, without more detail it's hard to give an answer

near mantle
#

Is there game data available somewhere? I've found the war api, but I'd care for stuff like technology. Not even "active" data, just the game constants (ie what things are in what tiers and such)

cerulean urchin
hollow gyro
#

Correct.
And the API is agnostic to Faction, Tech is not.

gusty horizon
#

Will my roblox cheats work here?

gusty horizon
#

This is what am talking abaut

jovial lake
#

his AI broke

zenith oar
#

Ah he couldn't hurt a fly

#

Look at him

#

Ignore the blood

neat fossil
#

ok kinda of a young male thinking with the wrong head weird kinda of question

#

when you did CS were there many women in class

granite mica
#

A few

paper summit
#

any good regiments to join

lunar cobalt
#

Not that channel for that.

kind veldt
#

It seems the new physics is based on framerate instead of time delta since uncapped frames allows me to become rocket man

fervent spear
#

@long raft does the API really not provide the positions of the hexes in the map?

barren quarry
#

It doesnt

long raft
#

Kastow does tho 😋

barren quarry
#

i do tho

long raft
#

thats where i got 'em

paper summit
#

bruh this is bridge fighting