#[Deprecated] Advanced Company
1 messages ยท Page 40 of 1
Out of mine, any of them on LLL seem to have this problem
if it is then yeah that's why ๐
i guess I could check my other 8 moons real-quick
but it probably is just an LLL thing
yeah it's a LLL thing
Just click uninstall in r2 on LLL and see what pops up in the warning as a reliant mod
check those ones
Or I just click "associated"
Yeh - LLL controls all the interiors, and it controls that 1 custom moon
Is that what that button does ๐ญ
click it lol
nothing bad will happen
other than
so let me get this straight
4 of my custom moons needed LE. We obviously nuke LE for LEC and it's fine.
Moons are moving towards LLL and moving away from LE
LLL bugs with advanced company and its control of prices
(But does seem to function with scrap/value multipliers)
I think i like LEC more right now just because of this bug ๐ญ
so the maps transitioning from LE to LLL
function
but when they fully transfer - will fuck up?
The only bug I know of LLL is moon price. Otherwise, it's chill
yeh
Yes
great ๐
I experienced this with Auralis and Ganimedes
Are you sure ๐
It's LLL since 0.3.0
unless you haven't updated it then yeah it's fine
same with Ganimedes
lmao
don't tell me that update
yes
shoves it into LLL
it is what you think it is
๐ญ
that's why i don't update it yet
no it doesn't
(โฏยฐโกยฐ)โฏ๏ธต โปโโป
the only LLL moons that have moon price config are secret labs and atlas abyss
Starlancer - I swear to god
your map's length is atrociously large
let me customize the hecking price >:x
Well there is this at least ๐
#1194042915840872548 message
(message link to what mod author said about my report)
Why make it impossible to change prices (โฏยฐโกยฐ)โฏ๏ธต โปโโป
outside of LLL - did they intend any other method of changing price?
cause I don't think LLL can even do that
It's just a loader, not an editor :<
They were thinking of having a config for moon price change
why they no do that before ; -;
They took the car keys away
and we're awaiting the manufacturer to install a key slot
what do the other 8 moons have that let AC play kind
LEC
LLL doesnt seem to have the crazy support that AC does, so it might be another few days before we get a fix
they're LethalExpansion moons
if the default moons can be edited so easily, what did all the map devs do to not let their moon prices as easily accessible?
you'd think to just copy what works
It's probably deeper than we think so I don't really have a need to pin it down to them
I still remember the older times of LC modding lmao
Loaded from the start of the game, vs loaded whenever, idk but i guess
I wanna think of an excuse ., .'
but I suppose I don't know how hectic the loading of mods is
I think LLL just has a really agressive way of enforcing the prices
idk i dont make lethal company mods yet
I do find it annoying it doesnt have a config where u can just outright disable the price feature
I make some asset replacements and even that kills me. Albeit, I am a total noob and all I can do rn is asset replacements lol
Hey, you're still a great asset to the company
a great asset to my friend group
No reason, because that statement is bullshit.
they have no need to spend literal hours of coping in troubleshooting
then how do we edit the auralis moon price o -o
Ask the dev to add config.
why does it need the dev's permission of a config to modify a price <-<'...
it's a moon
Every moon shouldnt need its own config to change the price.
It's not about permission. They need to make it configurable.
Something will inevitably be inconsistent or go wrong if every moon author has to implement the price in their own config
It's not going to magically show up. The system AC has is not that simple either. Potatoe just bothered to implement it.
I really need an explanation as to how these moons function. We have the blueprint of 8 default moons and their prices (as well as the code of how that works). Why are the default moons just bare open, but the custom moons need custom code to touch it through a moon loader? . ,.'
Because the game itself is not really that moddable.
games really should learn the world of modding is potential >,>
that's what screwed over hardspace imo
open the world to modding and the game could live ages later
We need zeekerss to make a proper modding API
darn hardspace shipbreaker... so much bloody potential. Wasted.
It's a solo dev game, who's young and unexperienced. Plus making game moddable is extra work and needs to be planned from the very beginning.
all games that garner multiplayer, no anti-cheat, sandbox/roguelite/roguelike-elements - should be thinking of modding off the get go o -o
Which is why we dont have that rn
specifically, needs no anti-cheat
(and theres easily a few million in revenue generated)
that's depending on if they obviously sell into that
could open the world fully to modding but if your game hits no limelight it's dead in the water
Minecraft hit such a stupid goldilocks zone... ridiculously fortunate. Wasn't mod-focused from the start, and had to change it a bit - but then became mod focused (early enough in development).
I remember the stupidity of when mods were breaking out... had to take like 30 minutes puttin' shit together if you weren't putting a pack in. Only to find out bloody items didn't load like they do now
which I hope zeek's takes a page out of their book
in terms of item loading
I still dont get why updating minecraft fundamentally breaks everymod, even if they are dependent on like forge
true
I mean, I could question why the update bricks something like optifine for a god damn 2-3 month period ๐
it's a bloody shader
a lighting engine
Optifine i understand, it doesnt rely on some API like forge
they're adding blocks. the light of grass is gonna emit a shadow the same on that block, like it does on the rest
but I guess what do I know as to how they designed it? Maybe it's custom per block/item they've added so they gotta take a day or two just for a new leaf block
but it wouldn't explain how I could shove modded items and they'd cast a shadow, having custom shapes for weapons/devices... ๐คทโโ๏ธ
Now that I think about it, texture packs and resource packs still function up a version
Minecraft has support for texture packs by default, all the textures are just stored in a big image file, or they used to be along time ago
If they work between versions, that means what calls upon their textures stays consistent. Why does a mod like treecapitator (any tree-felling mod) brick between an old version to a new one?... It's the same tree . ,.
No it just means the format the textures are in stays consistent
but when an update hits, the tree somehow changes?
The code that the mod relies on to know if a tree is created, if a block is part of a tree, etc.. changes.
a funny thing about official modding apis is they usually end up more limited than unofficial ones, because forcefully breaking open the game to change stuff often lets you do more than the game letting you change stuff from inside of it - most of the time only external modding tools can let you modify every single part of the games code
for minecraft mojang did wanna make an official modding api for a while, but eventually decided "they have forge, it can do more than our api ever could" and just decided to help the modding community by making it easier to decompile their game
but the downside of unofficial modding tools is since they rely on directly ripping into the game's code to change stuff, if the game's code changes even slightly stuff gets broken easily
I really wanna know how certain things brick. Like, I'm assuming the tree-felling mod goes "Does axe have [enchantment]? Is [Block] a Log? Is there more then one [Same Block] above? Do [Chain Reaction of destroying same logs, following a path of checking blocks 1 block away in any direction for similar logs]"
so like, they could change wording, change comments, change physics, etc
but it's still checking for "is [block] a log?" - the block name should stay the same
so why does anything they change inside that [block] matter if they're just checking for "Is this [Jungle_Log]?"
If its a treefeller mod thats just checking for adjacent blocks of the same type like veinminer, Its probably simpler than that. It probably just waits for forge to hand it a block break call for a log, than checks for adjacent logs, notes positions, and breaks them.
Which if its only relying on forge for this, idk how it manages to break everyupdate
I guess we should be looking at forge then
forge is the thing that probably bricks the hardest out of the rest
is forge fundamentally changing how its calls work every-update, should just be recompile and reupload with new forge version
(in many cases it probably is)
no other game with a modding community seems to have same issue
yeah- i was about to say
there were mods for this game, that didn't brick after 47 dropped no?
it primarily breaks every update because forge breaks every update, because i assume forge hooks into a lot of internal functions that might change and shift around a tiny bit or sometimes a lot each update
how can this game's code shift - and some mods seem unafflicted, yet they did just shove the code around a bit and added stuff o -o
yea, but the information forge hands to mods that rely on it should stay consistent
Can you believe they update the game with a useless armadillo - and that's why you can't enjoy thaumcraft for a month or two?
๐
If mojang is gonna burn so much time rewriting every antiquated thing in the game they need to just rewrite the game in its entireity with something that isnt java code from the 2000's
they probably have the resources to just move it over to something else, huh?
it is technically microsoft now
I think they're a tech company
right? :p
They already did, bedrock is in C something
Atleast its not gamefreak, complaining about how much pokemon they have to add to a game (they have one hundred billion dollars)
yeah - they can simply complain about palworld taking their money ๐คฃ ...
Imagine having a 100 billion dollar IP, and not being able to innovate really at all for like a decade straight, and then releasing a buggy mess with only half of the content it should have
Is the cost of it seriously 100 billion atm? (In terms of IP worth)
sorry, 88 billion
its like a chain reaction if something is updated. for your example, lets say you break a jungle log and you wanna call forge to get the info for [Jungle_Log]."
Instead of getting info from a bunch of different files of minecraft, having something like a table with the logs info and info for other logs in 1 file would be more efficient. Lets say jungle log is 3, and acacia log is 2. If the new minecraft update adds a log called [made up log], and its placed at 2, the table is shifted up by 1.
If you now call for forge to find the info for jungle log, and it searches for 3 in the table, it will instead give you the info for acacia log. If your mod has checks to make sure the thing you broke is the info you're given, suddenly your mod freaks the hell out because you suddenly have info for an acacia log, and if you don't have checks suddenly your falling tree is replaced with acacia logs and possibly missing textures.
Gross oversimplification, but in general with modding api's even the tiniest changes within an update could easily lead to chain reactions where nothing works anymore and you slam your head against a desk for 3 hours cause they decided to add a function called doNothing to the ai you're calling from
Sorry @barren rover - you were off by a measly 15-ish billion tops. -u -
It's only over 85 billion dollars.
That's what bricked it out before
when I was talking about how modding was in the past, that screwed up mods cause they did number everything
which is what lethal company suffers rn
not loading items as fledged names
and treefeller still takes a week to update everytime
I was trying to find the name of dirt XD
It's something like that. minecraft:dirt
Bedrock was their moddable version attempt
so even if the game updates in 50 more blocks, shouldn't the mod just be checking for the same name
:3
even if the internals of the block change dramatically
They added content packs and stuff and I think they are able to do some awesome stuff with it
the mod doesn't care for anything other than "is this block "Minecraft:[log name]"?
Still Java is superior
what if they just shifted it to something better
is there a better engine for sandboxing?
(I say "Engine" like Java is an engine)
It even has raytracing baked in ๐ญ
๐ญ
Still, most users prefer Java
Notch used Java and said "i wanna write an entire game in this language"
Bedrock was basically a rewrite of Minecraft
but they rewrote it too late then huh?
Hell I don't wanna switch to bedrock ๐
A lot of people also just dont like the for-profit modding scene of bedrock
Modding community was way too big for a change like that
oh yeah - with those maps
yea...
Symptom of being owned by Microsoft ๐คทโโ๏ธ
but like... yeah..
So when Update 47 dropped
I didn't recall if Bepin updated
did it update?
@solid pivot Did you see the issue with LethalLevelLoader prices? Is this something AC can fix or does LLL have to do something
Bepin does nothing more than offering a way to overwrite methods and patch them
It doesnt give you access to any game info :D
Its not comparable to something like Forge
The LLL dev already said that they might fix that already
mm..
But you're so much faster
also - am I just gonna call it now (probably not the first to call it)
CalculatePolygonPath will be the damn herobrine of this game
never gone
=- =
LOL
I bet you I'll see that damn error 2 years from now
if i live to that day and can mod in enemies/maps/etc still to that day*
obviously if I perish that bet is impossible -u-'
we'll probably have like 100+ custom moons, 20+ interiors
the most advanced lag-fixing mods out there
and somewhere, deep buried in all that mess
And those 100+ moons will have 30 each that rely on various moon libraries, and then a few will have their own unique way of doing it that completely break the game
lol
come on
we're early
we can all agree on something while the fire's just starting
i dont think lethal company has a long life tbh
same
think it'll go the way of pubg in terms of player spike?
PUBG is still very popular outside of america
Its just a small indie game, and its popular because its fun rather than its story, its game-play loop kind of relies on the unknown and surprising players, while will inevitably dwindle over time
I'm 100% expecting content creators to die down fast already. Hell, maybe in the next month or two
yea, without mods that "unknown" fuel that keeps the games fire lit wouldve gone out
nah you know how people still watch like GTA V and gmod funny moments? thats kinda what it feels like to me, cause the entire reason people play/watch it is to be funny with friends
that fucking control company dropped, and every damn recommended new vid of lethal to me by anyone creating content on it
"I freaked my friends out being [monster]"
GTA V and gmod are sandbox games though, and very readily moddable ones at that
"I controled the creatures!" -u-
Gmod at this point is more of a game engine than a standalone title
eh, but one game did shit over and over around mods - the other had a thousand RP servers
lethal company has some restriction for how far mods can go, so eventually the well will run dry
some of that restriction is just between other modders touching things
I mean, if someone is willing to invest the time to rewrite the game like Forge does for MC
...
Which is the reason Forge takes time to support new game versions btw
No its more a theseus ship thing, lethal company has a game-play loop thats very structured, and if you mess with it too much and add so much, you might as well just make an entirely new game with a more flexible structure
They basically rewrite huge portions of the game
ooooooooh- in that regard
I mean
DRG has a gameplay loop that is unchanging. You modify how long it can go, rates of enemies, statistics on guns
Ig i can see lethal company in the future just having SO MUCH CONTENT that is compatible with eachother, that it can become like a game where it has a simple loop, but all the content gives it some learning curve and and alot more to understand
it's still damn good even to this day o- o
Forge is older and their ways kept the same to be consistent
but a lot of mods I like aren't on it >~>
Back then you had to rewrite a lot of MC
So they still do it basically to make conversion to new MC versions easier and stay consistent
Fabric mods also manage to function between updates
one thing that shocked the living shit out of me is how fast a 120ish modpack loaded with Fabric
Fabric came later and had the oppurtunity to do it differently
its surprising that such a big project like minecraft can exist for so long, and yet theres still modders who improve the performance of the game
The MC devs did change a lot about modability in their source code
Refactored code etc.
if a damn stupid issue happened in a forge pack and you crashed, you literally had to wait a minute or two to get back in and hope it doesn't happen again
in fabric - if you brick. Back in in like 30 seconds
But MC went about it very professionally. With an issue tracker and stuff so modders can give feedback of stuff they need changed and so on
Small bugs in the code nobody would recognize
LC doesnt have that level of professionality
it's all the smal things that count
One million professional playtesters for free
well I mean... not havin' a team probably is an issue
hell, I keep wanting (and doing) to tell you to chill the hell out potatoe lol
you can't do everything immediately
I mean, some modders are probably willing to join the team and they have huge knowledge of the codebase already.
I could help LC a lot, but I am already employed :)
Zeekeers has the luck of modders being there
So they can pick
So they can add content way faster than he can on his own
but that goes against vision
Could just hire a modder to refactor the game :D
To make it more mod friendly
Integrating LLL into the game itself for example
Or ACs config system
the second you let others come in - it goes against your vision of what you want the game to be, so they have to add someone in for the sole purpose of making it more mod friendly and not adding any content visibly/aesthetically.
Who would be the person ye shove in to put in (what may very well be) a permanent addition here or there for modders to use?
idk if zeekeers is willing to do that tho, considering hes never really made a game that went this big that people really wanna mod
My prediction is
you need multiple people to shove in, if you hire a single person to rewrite it simply gives them too much power
there will be around 3-4 game updates and the game leaves EA
and thats it
tbh
Everything above that is bonus
Like - you can't be hired Potatoe, but somebody needs to put in a system to load custom moons
who to do it?
I am pretty sure some other modders are unemployed rn
but who'd put the perfect system?
Thats up to zeekers to find out :D
-w -
But like I said: From what I can see from the outside
It seems like Zeekeers just want to do some stuff with the game and then probably will end the project from their side :D
It doesnt seem like becoming professional is something in their mind
Which is fair, they dont have to
Surely they have millions of dollars from this
if they end it with no future, you know damn well this concept isn't dying entirely
I am creating a game with the same base concept :)
It has shoved a stake into the gaming industry somewhere - and it will perpetuate
Building from the ground up with modability in mind
Maybe not as strong as battle royale
I hope it gains the same traction LC did
but it's there.
I think LCs formula is perfect for a moddable game
So many ways to add content for modders :)
Or even 1, he is millionaire now, he can start another project, or just live the life at easy mode hahaha
And my game wont be perfect either but I will make my source available and ask modders for feedback :)
Stuff they need etc.
pretty sure zeekerss wants to do this for a while thats why he has a patreon set up and updates it pretty frequently
The issue with this type of games it's that they goes to the top and latter nobody play more, but it have toons of potential
Zeek's still has a window to shift mod capabilities into focus as well as new content/things. The window isn't small either
I dont think a paid game that is wildly succesful needs a patreon tbh
They got like what... easily 4-5 months to keep breathing life into it?
If he adds workshop support will be awesome, like 7 days to die wants to add
maybe it was up before
you think a steam integration with workshop is smarter than r2? .o .
It was before, started as Kickstarter project right?
yea, it was before. OK
I don't know to be honest, buy will increase mod visibility
Port lethal company to source engine ๐ญ
Would steam even agree to allow a game like this to workshop?.. There are so many god damn mods/modpacks ๐คฃ
Steam be like "Our servers are good, no thx"
xDDDD
Someone should add all the halflife assets as a custom scrap pack
I love his use of lidar scanned models
nah bro has had it set up for a long while, like same time the upturned came out
ngl - and I said this after someone made a fan trailer of the game
the game would scare me so much fucking more - if the textures/looks were more detailed
make the sound better, textures better, and that bracken is gonna make me shit myself
Don't we already have a mod for this and this
Remake it with doom style like that warhammer shooter does
yeah but I don't use mods to up the textures/sounds
if the base-game did it, I'd be forced to do so ๐
Not even lethal resonance?
All i will say it will make u shit yourself playing the game
hey whats your thoughts on lethal resonance right now!
hehe :P
mebe
personally im having a bit of difficulty getting into using it often because of a couple things that always irk me
wasn't even in the top results, I had to search it x3
especially the doors sounds
Im afraid to install cause i feel like it will break so much stuff
same
meow
the doors sound SO off to me and it hurts a lil bit :P Pixel said hes planning on changing it though! its just taking a while since its so important
Cause it's new first it was abysal studio then it got absorbed into lethal re
it only breaks sounds, as of right now though it doesn't break anything
๐ฑ๐
You know I wonder if LC_API will finally get a replacement since it's no longer being maintained by anyone, I definitely wouldn't mind lol
if anything, that bastard is the most hated inside
How big is it, cus im already pushing 2gb
55 MB
not bad
Cus otherwise whenever v50 drops it's gonna be dead anyways
yeah its super efficient
I was playing with it since it was 350mb
"crunchy"???
I have 200mb of tiktok videos for the tv ๐ญ
It improved alot now
Potatoe just gonna need to create the all-required LC_API, so that every pack must have AC >:3
if you're struggling with coilheads and have AdvancedCompany installed i would suggest going into the monster options and upping the coil-head's power to 3 (and setting the bunker spider to 2 to make up for it), then install KeysLockDoors
It's only logical.
oh I'm one step ahead of u
I got a mod for lockin' doors just for that bastard
Not my aim tbh
gives use to those useless hallways with a random door
I want to be the least invasive so mods dont need to use AC
If ur struggling with coilheads, lure them into a room with a door, close it on the coilhead
They cant open doors ๐ญ
it takes them about 10 seconds to open an unlocked door
No i think they just respawn somewhere else
but they do wander-open it eventually
They always seem to come from some random direction later
it's faster than like - a thumper
So btw Potatoe your page says FlashlightFix is included but I still found it's needed, I got the vanilla game bugs with flashlights without it lol
Is it secret
My internal wiki is filling up :D
no just luck them in
just install KeysLockDoors what else are you gonna use all those keys for
U should make them unkillable and implement blinking instead
My facilities will be way more diverse :3
is everyone going to gloss over the fact that the damn entry for the coilheads still talk about light affecting them?
With elevators and stuff
You can't kill coil-heads
Air ducts you can crawl in yourself etc.
Amdy- what mods are you playing with
Coil heads are so annoying tbh
^
-w-
I still think its a huge game design sin to have them work like they do rn
Where you have to sacrifice 1 player basically
Or if you are solo there is no way to really handle them
Better leave ๐คฃ
Just a run ender
I am talking Vanilla
Are we going to look over this? https://imgur.com/x6Xw1MO
Yeah and Insym gripes constantly about how it makes no sense that they use 1 power
Can u blind them with a flashlight in your game
Mods add ways to handle them
Dunno yet, dunno how my weeping angels will look like at all :P
I dont want to copy monster designs
018d4018-a539-3a17-8e2c-d063e104ad86
haha
if it has a pair of eyes
Make it a bug, bugs are cool
But as you can enter air ducts etc. there will be enemies in there too
you have to look down a hall - and just deal with these little eyes in the corner of your vision
in the darkness of some ceiling
knowing if you look away - that bastard is zoomin'
Can you make the spiders able to crawl into the ducts
haha, maybe, who knows ๐
First step soon is to model a "modular" ship
And then the player model
A duct spider would be pretty threatening if you try to go through the route it's guarding
Way too forgiving without all the configs though
Potatoe - I honestly cannot believe you have this much on your plate. .-.
territorial monster + choke point
Hes just the GOAT at development
I mean, to fight a weeping angel it can be enough to enter an air duct and stay there for a 20s and leave again
he's literally going to crack the plate
I want the in-game models to have the higher res design you see on the AC cosmetics screen
It will take some time, its not like my game is gonna coming out in 2 months or anything
What stage is ur game in
yus c:
Going away from my GDD and building an internal wiki rn
So I can have some friends work on it too
Glad mods adds some way for counterplay against some of the enemies considering the domino effect regarding difficulty when something like a Coil is present
coilheads are poorly powered
I made coils spawn twice as often where i could lol
their power level should've been 3 from the get go
I could toy with a bracken and ghost girl easier than a singular coil head
Oh and stuff like spawn rarities and hp in my game is all float based :3
I hate the fact that enemies have 3 HP as int
Their power level is 1 by default so wouldn't 2 make more sense?
You cant do 50% damage increase because you do 1HP damage
huh??
You cant hit it so its left 1.5HP
so you either have to do 1, or 2
Only whole numbers
can't do in between
So does the shovel do exactly 1 damage
And how the whole item buying is handled...
ask any mod dev here
ANY
its horrible
Dunno what Zeekeers was on when coding that
but you want it?
Explain it
Must have been some really intense and good stuff
XD
Must have been some amazing mushrooms ๐คฃ
[currency] [buy x] [currency - x cost] [add to delivery list] no?
The whole save system is the same
It saves items by their position in an array
The buy system buys items by their index in an array
dictionary with {"item_name": price}, subtract item_prices['item_name'] from some total, call some delivery(item) as a result lol
The node has a value "index in that other list"
If you remove any item everything is getting shuffled
I dont see why this was done. Its not something in Update where optimization would make sense
Minecraft has their items logged as NAMES
so you could rid, add, etc - any amount of mods
no way ๐ญ
and that :Ultra_Pickaxe: will stay the same
You never need to optimize single call stuff as long as its not taking like a very long time xD
This is micro optimization
so its like two lists of items and prices, and its all based on them having the same index?
To make it run 0.0002ns faster
The scrap thing explains why some stuff got shuffled around when I added Ganimedes to the pack when ImmersiveScrap already existed
Totally unnecessary
Yes
Dictionaries are hella fast
if you add or remove any mod that has items
your item list shifts
I've had tools shift into other tools
They use more RAM. But with dictionaries holding 20 items its hardly a problem
I had a damn item shift into a medkit - but it looked like a diving helmet
Its the differene between 1MB and 1.01MB
Is the item numerical ID just the index that price and name share in 2 lists? ๐ญ
Ah
Sale percentages, aye?
They are an array too
An array of the same length as the buyable items
can you give me an excuse as to why discounts seem more bullshit the more items there are?
And the index of the discounted item is used in there too
so if item Flashlight is at index 4 the percentage for that item is at index 4 in that array
How is the index translated to an item name? There must be some dictionary like thing somewhere
If you want to look up what percentage the flashlight has and dont have the information of its place
you have to first look up its position in the one array
No
No dictionary
Search name array for item name, get index
The numbers are only referenced in terminal nodes
i see
oh my gosh... potatoe your mod lets you spawn inside enemies outside....
thnk u so much
So there is a terminal keyword buy
With compatible nouns
And there is a result object which has "buyItem" index
so "Buy Pro"
Referencing the position in the list
Its horrible
@eternal mauve I dont think this works tbh
It just lists all enemies found rn
But increasing the rarity shouldnt work
But I dont know ๐คทโโ๏ธ
Havent tested it
Once on a programming assignment i was making a little interface with a y/n prompt, All i did was check if the input includes 'y' at all and called it a day ๐ญ
Maybe use StartsWith instead
Contains could lead to nay beying considered yes
And in C# always use StartsWith("y", StringComparer.OrdinalIgnoreCase)
Its way faster
I'd love a replacement for Coroner tbh, it has a habit of desyncing notes lol
I think im gonna send a chatGPT request and ask it to return y or n depending on what it thinks the prompt implies ๐ญ
btw
Always use dictionaries with it too :3
new Dictionary<string, int>(StringComparer.OrdinalIgnoreCase);
If no case is needed
this boosts the performance of string key dictionaries a lot
I mean
Dictionaries ARE faster for stuff like indexing stuff
IndexOf is very slow
its O = n
moons that spawn indoor enemies outside are correctly showcased in AC - i think you got everything right
Ex: infernis spawns spiders outside, and through your configs you can see spiders spawn OUTSIDE with a set weight
kind of insane that you have this level of compat
id imagine youd have to have some counter keeping track of the current index of whatever item is being evaluated, whereas on a dictionary youd just have to return whatever value when the match is found, less logic inbetween checking keys
Modern computer have so much RAM
You can imagine it as buckets
Every string has a representation as int, a hash code
There can be conflicts in hash codes but they will lead to strings being put in the same bucket
whats o?
Complexitiy of an algorithm
O(n) = Worst case its running over all items once
O(1) = It only needs to do one thing
basically
One operation
So if a list has 200 elements
In worst case an O(n) algorithm will have to do 200 checks
O(1) only one
O(nยฒ) will have to do 40000 checks
But yea, stuff is put into buckets by their hashcode so they can instantly be found
How the hell do you end up with O(n^2)? for every element in a list, check ever element of the list again??
"test" is 2921831283 for example and if you ask the system to give you back the item with the key "test"
it generates the hashcode 2921831283 and instantly finds it
for (var i = 0; i < n; i++)
for (var j = 0; j < n; j++)
Thats nยฒ
two strings might have the same hashcode
if "test1" and "test2" create hashcode 1000 both
it will be a list of 2 elements so it has to compare both items
hashcode is related to something in a... uh, hashmap?
But you can ignore that impact :)
Hashcodes are a representation of any object by a number
Important for a hashcode is that the same input always lead to the same output
Whats the significance of the number without having to have some other structure to tell the system what memory adress the number would point to
The better your hashcode generation is, the less conflicts will happen
Or does it just speed up comparisons
Hash Table tutorial example explained
#Hash #Table #Hashtable
// Hashtable = A data structure that stores unique keys to values
Each key/value pair is known as an Entry
FAST insertion, look up, deletion of key/value pairs
Not ideal for small data sets, great wit...
hashes are divided by modulo operation :)
So if you have a hashcodes 1000 % 10 it will be put into bucket 0
you can define the buckets you have in a hashtable
have to look up how many C# uses by default :3
public static readonly int[] primes = {
3, 7, 11, 17, 23, 29, 37, 47, 59, 71, 89, 107, 131, 163, 197, 239, 293, 353, 431, 521, 631, 761, 919,
1103, 1327, 1597, 1931, 2333, 2801, 3371, 4049, 4861, 5839, 7013, 8419, 10103, 12143, 14591,
17519, 21023, 25229, 30293, 36353, 43627, 52361, 62851, 75431, 90523, 108631, 130363, 156437,
187751, 225307, 270371, 324449, 389357, 467237, 560689, 672827, 807403, 968897, 1162687, 1395263,
1674319, 2009191, 2411033, 2893249, 3471899, 4166287, 4999559, 5999471, 7199369};
I think it uses prime numbers :)
So if you add 200 elements it will use 239 buckets and so on
ok so it takes some number representation, uses modulo to bring down to some value between 0 and modulo, and then that is used to find what it associates with on an array?
Yes :D
There are many different ways to handle Hashtables and I am sure there are many custom dictionaries on GitHub
nested buckets for example for very big dictionaries
And if theres no number representation provided with the string? is the string just hashed with its value in binary?
The string is actually hashed by its binary representation :P I think its basically a XOR over all chars
Or smth like that
I can look up the hashcode function of string
OK, its a bit more complicated
public override int GetHashCode() {
#if FEATURE_RANDOMIZED_STRING_HASHING
if(HashHelpers.s_UseRandomizedStringHashing)
{
return InternalMarvin32HashString(this, this.Length, 0);
}
#endif // FEATURE_RANDOMIZED_STRING_HASHING
unsafe {
fixed (char *src = this) {
Contract.Assert(src[this.Length] == '\0', "src[this.Length] == '\\0'");
Contract.Assert( ((int)src)%4 == 0, "Managed string should start at 4 bytes boundary");
#if WIN32
int hash1 = (5381<<16) + 5381;
#else
int hash1 = 5381;
#endif
int hash2 = hash1;
#if WIN32
// 32 bit machines.
int* pint = (int *)src;
int len = this.Length;
while (len > 2)
{
hash1 = ((hash1 << 5) + hash1 + (hash1 >> 27)) ^ pint[0];
hash2 = ((hash2 << 5) + hash2 + (hash2 >> 27)) ^ pint[1];
pint += 2;
len -= 4;
}
if (len > 0)
{
hash1 = ((hash1 << 5) + hash1 + (hash1 >> 27)) ^ pint[0];
}
#else
int c;
char *s = src;
while ((c = s[0]) != 0) {
hash1 = ((hash1 << 5) + hash1) ^ c;
c = s[1];
if (c == 0)
break;
hash2 = ((hash2 << 5) + hash2) ^ c;
s += 2;
}
#endif
#if DEBUG
// We want to ensure we can change our hash function daily.
// This is perfectly fine as long as you don't persist the
// value from GetHashCode to disk or count on String A
// hashing before string B. Those are bugs in your code.
hash1 ^= ThisAssembly.DailyBuildNumber;
#endif
return hash1 + (hash2 * 1566083941);
}
}
}
You can see the .NET source code for yourself
A note tho: GetHashCode() doesnt guarantee the same hashes anytime you restart the application.
So for network synching stuff its recommended to use your own stable GetHashCode
I mean its the best way to handle item buying over network btw
as Hashcodes are just an int
But you must have a fallback for collisions
Which is the problem using them in networking
I guess this was the reason indexes were used in the first place btw
For buying items
But buying items isnt something you do every frame xD
And the impact of having the string "proflashlight" vs 7 isnt that big of a deal
And if you think it is, just add an ID to the items
Which the game does
but totally ignores them everywhere
xD
And dont give users the ability to set the ID
make the lobby sync the IDs and names at handshake
i.e. Dont hash the item bought and sent that to client, send the name or id of the item to clients to hash locally?
Like a protocol message
"Hey client, my pro flashlight is ID 7"
"So if I tell you I bought ID 7, we mean Pro Flashlight, mkay?"
And client is like "Roger that. ID 7 = Pro flashlight"
does any of this
That way mods can just add items and the host/client negotiate the IDs
Dunno if they are rarer
There is a limited amount of discounts available per round I think
So having 50 items and only 2 discounts isnt much
Oh yea
They are rarer when you deactivate objects
As deactivated objects can still get a discount
But yea, I can at least tell you that my game wont make the same mistakes
There will be a solid protocol negotiation at handshake
Narrator: "There was no, solid protocol negotiation at launch"
Biggest game ive ever made was snake in a console window ๐
Remove all directories
Remove everything
/ in linux is the root
Basically in windows the explorer window when showing your volumes
So its a remove all from there
Remove all hard drives xD
And all network drives too ๐คฃ
jesus ._.
incredible
how did they even allow that to patch?
everything is mounted to root in linux
If you do stuff like that code you always have to use some failsafe
:3
rm -rf is scary
Do u see the #scary
Scarier than a coilhead
They know it's scary but they had failsafes but that user was just unlucky
what was unlucky about the user
Theres a safer way to do it that probably avoids the whole "/" all together
at least steams doesnt require root permissions
so it wont delete your OS X)
Oh, the video also states the "scary" thing
funny how lingo is the same among all programmers x)
@faint oxide Do you live in alaska?
rm -rf is scary
Tldr he tried to swap steam dir and do something like shortcut to it but when he launched steam it didn't register the new dir and crashed then he launched it again it invoked the rm rf and tried to install again
Wait why
Because ur name says [Ak]
But it shows how stuff can fail :)
๐ญ
In unexpected ways
that's the whole reason QA exists
Very good example of how seemingly fine code can fail in certain situations
Nah i live in egypt and the ak is my initials
no matter how flawless you think you make something
throw 1000 people at it
somebody'll find an issue
We got the same initials
we just need to find 45 more of you, so we can get the aptly named AK47
Initials: AK State: AK
https://pastebin.com/YmSi1aJf
What would u rate my snake game out of 10
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.
Did you use ChatGPT? ๐ค
:'D
its okay, I guess :D
There are many ways to do snake
But this part is weird
if (length<=100 && width<=100) {
char choice;
//Clear screen, display game settings, and ask user if they would like to change now
clear();
printf("Game size is %dx%d, game area is %d\n", width, length, width*length);
printf("Framerate set to %0.2f, screen will update every %0.2fs\n", speed, 1/speed);
printf("USE THE WASD KEYS TO CONTROL SNAKE\n");
//But it works fine, idek why i print this..
printf("DO NOT HOLD KEYS DOWN, ONLY PRESS KEYS\n");
printf("Press \"Y\" if you wish to edit these settings\nOr press enter to start game");
//capture users decision
fflush(stdin);
scanf("%c", &choice);
//Check for y
if (choice != 'y') {
//set the delay struct correctly
delay.tv_sec= (int)(1/speed);
delay.tv_nsec= (long)((1000000000)*((1/speed)-delay.tv_sec));
//Center the head (or close to center)
snake[head].x = (int)(width/2);
snake[head].y = (int)(length/2);
status = 1;
break;
}
//This will return control to outside of the "game-start" loop
} else {
//If width and length are wrong tell the user and restart loop after
clear();
printf("Invalid width and/or length\n Press enter to continue...");
scanf("%c");
}
}
The else is at the wrong place
yea i was just looking at it
if (length<=100 && width<=100) {
char choice;
//Clear screen, display game settings, and ask user if they would like to change now
clear();
printf("Game size is %dx%d, game area is %d\n", width, length, width*length);
printf("Framerate set to %0.2f, screen will update every %0.2fs\n", speed, 1/speed);
printf("USE THE WASD KEYS TO CONTROL SNAKE\n");
//But it works fine, idek why i print this..
printf("DO NOT HOLD KEYS DOWN, ONLY PRESS KEYS\n");
printf("Press \"Y\" if you wish to edit these settings\nOr press enter to start game");
//capture users decision
fflush(stdin);
scanf("%c", &choice);
//Check for y
if (choice != 'y') {
//set the delay struct correctly
delay.tv_sec= (int)(1/speed);
delay.tv_nsec= (long)((1000000000)*((1/speed)-delay.tv_sec));
//Center the head (or close to center)
snake[head].x = (int)(width/2);
snake[head].y = (int)(length/2);
status = 1;
break;
}
//This will return control to outside of the "game-start" loop
}
}
else {
//If width and length are wrong tell the user and restart loop after
clear();
printf("Invalid width and/or length\n Press enter to continue...");
scanf("%c");
}
And you need to close the while afterwards
so the loop restarts
"Check for y" "if choice != "y""
Thats why I asked if it was ChatGPT
typical errors ChatGPT does
I mean, ChatGPT is very stoopid
People think its so intelligent only showing their level of intelligence
ChatGPT is an elaborated auto completion tool :3
Ill give it some repetitive thing to do, like "take this and remove all new lines" and it still somehow includes the newlines
But yea, its fascinating how capable it is of course
But far away from being intelligent
I hate how it always assumes ur right
๐ญ
But yea, ChatGPT is capable of replacing some jobs already
As some jobs just dont require that much intelligence to begin with :<
chatgpt would push the circle all the way through with the blue block instead of trying to put it in the circle hole
I mean, AI will inevitably lead to a more social world. At least it has the potential to do so
"Ok, ill seperate every other line instead!"
But there are many questions unanswered for. If AI is able to automate food production, what happens in case of an overpopulation the earth simply cant feed?
Will be fun times ahead
I mean, I love the basic idea of communism but it always fails at the human nature. Giving people free access to bare necessities like food and water is a noble goal.
But this might also lead to doom
๐คทโโ๏ธ
Guess we have to f around to find out :D
Cant stop the f'ing around rn
They are f'ing around a lot
Online communist often think theyll be the communist artist and not the communist coal miner
I have a meme for this, but I can't find it ;-;
Hope the find out phase wont be that horrible
@barren rover yea....
They think they will become artists and leaders :3
In reality they either end in gulag or in the coal mines
Like work still has to get done, You just dont get to decide exactly what that work will do, or how the fruits of that work will be rewarded
But when we have AI for such stuff communism is a real option
For the first time in humanitys history
I mean, capitalism is by no means a perfect system
Except there is. You just get them to the door at an angle and exit.
Nobody claims so either
Yes but when you enter again they will hunt you down again
So its a run ender
Better leave. Offense can spawn coilhead the moment you land
Perfect system is impossible
Of course it is. Capitalism so far is the most successful system we had and its leading to less poverty overall
Humans today are living way better lives than 100 years ago
"Just get better bro" - some dude
They wander off when you exit and take a lot of time to open doors.
I think the main issue is their power level being 1.
I am really looking forward to what AI will lead us
I have noticed that if you close a door and walk a bit away the coil heads will generally just forget you and go away
Which is good imo, more mobs (like the giant) should lose interest in you and roam more often
Its a hard step to make, It kind of has to happen simultaneously with giving the now unemployed new benefits
Yea. The change in work required will be hard
Unemployment rates will skyrocket at some point
Hopefully we make it far enough as a species to see the fruits of AI, theres a worrying amount of people who still believe in a flat earth ๐ญ
xDDD
Company so advanced we're already talking about AI controlling us
tis the same when farming machines were created
it did take out like 90% of agricultural jobs
that was a sizeable chunk... still is
Remind me, can you change power level of entities in AC?
Yes
Yea but all that still requires some level of human ingenuity, AI aims to replicate how a human thinks, thinking is our only valuable asset
granted, positions opened up for techs to repair the farming equipment, manufacture the new stuff, science around the crops itself, etc
Yea, people will find new jobs I guess
But its a paradigm change
but do you think the farmer that got fired because they created the tractor - has motivation to be a bioengineer? ., .
And a big one
Tool for a life form vs another "life form"
And with it comes a lot of dangers I feel like we dont really care for rn tbh :D
Tis one thing that people gotta realize. Yes when something takes over for jobs (like AI or machinery) - other jobs open. But the people who lost their jobs most likely don't have the qualifications for the doors that opened
The excitement is too huge. We'll see where this ends
I mean, AIs could be killed soon anyway
If courts decide they werent allowed to learn from other artists pictures etc. to learn painting
But at a point AI is able to perform those jobs too. Just as humans are able to self-replicate to perform jobs that require humans
And that its a copyright infringment to do so
But my assumption is that courts wont decide that way
AI's rate of learning is extremely fast in comparison
As copyright states that transformative stuff is allowed
And AI is basically doing exactly that
yeh
I feel pity for those in the art world when it comes to simple digital things. AI could probably make emotes for twitch for me if I wanted it .- .
but then again, there are all those bloody bots..
AI already is doing that
"Look at my portfolio"
I can tell you that many game studios use AI nowadays for concept art too
I will use it for concept art as well
๐คทโโ๏ธ
Its cheaper
I kinda do, but at the end of the day art isnt a commodity, it doesnt have any inherent value besides the personality of the person who created it
it can give them a great advantage to figure out how something should be drawn
they have all the puzzle pieces but just don't know how to market it in an image
AI can fill it in
give em a blueprint
A person can still make a more customized concept art but I am just doing my indie game
Dont need that level of communication with a real person to create a perfect concept art
A 90% good concept art is enough for me
yeh . ,.
And AI is capable of that
it is inevitable that AI art WILL replace the human artist for basically everything where art is needed as a necessity
xD
Exactly. Art wont die tho. It will become more pure
Art for the sake of being art
And not to make capital :D
Art will do what its always done, the artist will be more important than the art they produce.
everything needs to make capital if you wanna live
tis what we built
I say "we" - but it's the millions before we've existed
There will always be the art community and art collectors
There will always be a market for things that are "hand-made"
Especially in a world with AI where it will become harder to come by
But yea, I guess there wont be as many artists
Or better: Artists will adapt. Big studios using AI are still using artists for detail work
They basically create a base image and artists work on that
Its faster that way
first it's "Made in the USA" As the big thing here. Now it'll just be "Made by human"
And you have the best of both worlds
Artists can focus more on ideas than mechanical skill
i can't believe that shit happened
๐คฃ
like
I believe people fall for an NFT scam for the 5th time, before I believe this story
they're obviously smart
NFTs are long dead
That happens all the time. Itโs fine. Either tell the host to kick you, or restart the game. In either scenario, you just need to rejoin the lobby.
christ almighty pedro
Yeah i got here like 6 hours late i know
I clicked that message and went back in time XD
i just woke up
Iโm 90% sure that it isnโt a specific mod that even causes it. It just happens when joining a lobby sometimes.
Pedros time machine ๐คทโโ๏ธ
is it weird that idgaf about NFTs or people buying em - just how dumb people can be buying into one from known dead-ends?
i was the host
Like - have em, fine. But why the hell are you buyin' em from someone who's a known scammer, or a company that has no good intentions? o- o
(if a company ever had good intentions to begin with-)
and it caused weird stuff like 0/0 quota was very odd
NFTs are a scam anyway. People claiming you buy an "image". You buy a URL in the blockchain leading to an image which can be removed at any time.
This is the nameless bug isn't it
Putting binary of an image into the blockchain would be way more expensive
Its a short URL and the person hosting that image at that location can just remove that image at any time
You have 0 control and own nothing
NFTs literally is just the steam marketplace - not on steam. Branded as if you own it due to a code that has to fit in some chain - but it doesn't
But a worthless URL in the blockchain
ยฏ_(ใ)_/ยฏ
Same thing when Ubisoft starts their NFT items stuff
as soon as they decide to cancel the game
All your NFTs are basically becoming worthless
NFTs only make money for one person
The person creating them
And scamming others because of the lack of regulations
I see a lot of digital currencies trying to make it since bitcoin became big
has there been a "bitcoin" of nfts?
Dunno tbh. I see NFTs as a scam from the get go. No practical use
It was an attempt to give the blockchain some practical use which wasnt a great idea to begin with
There has to be something that caught on for it to spread like this
Bitcoin and all other crypto coins have a major flaw
Their blockchain offer no pratical real world value use
it's like Minecraft with the royale, then PubG hit it big, then fortnite, etc
Besides buying drugs from the darknet
something had to start it
bitcoin was the starter?
a blockchain but for something that isn't just "currency"
as you could buy illegal porn, weapons and drugs with it without being traceable back to you
makes sense o- o
You hid the paper trail money usually leaves
Thats why bitcoin became valueable in the first place
Then speculants came :P
Ye ever wonder if the guy that bought that pizza for 10000 bitcoin (was it 10,000?) ever hated himself for the purchase
And now its basically a less regulated stock exchange :'D
And people use it to circumvent regulations to do shady stuff
Remove regulations from the stock exchange and youll see the value of companys go skyrocket
xD
Regulations are there to make the market somewhat fair
'fair'
when 95%+ of americans own <1% of the stocks -w-'
or was it 0.1%
But the worst manipulations will lead to convictions
hold up, fact checkin'-
Overall the difference between rich and poor is horrible
The bottom 50% of Americans own <0.5% of stocks.
But poor people today live a way better life than 100 years ago. So overall "richness" is rising
whilst "The 1%" own over 50%
Problem is that more and more people are hitting the ground level of wealth
So they are basically only carried with the overall wealth
They become wealthier overall but no individual wealth whatsoever
It is
oh- I have a gif reaction to that
And its a major flaw in capitalism
More and more people will find themself here in the wealth spectrum
But overall that bar is moving in that direction
The poor from 100 years ago isnt the poor from today
This is one of the advantages of capitalism. The pressure to innovate and by that making all people wealthier overall
But at the same time splitting the divide between poor and rich is the flaw that comes with it
๐คทโโ๏ธ
And the bar moving that way only urges prices to go up because others are trying to compete to move to the right
so those stuck in the back - more or less are stuck in the back
And a person born in 2000 dont care what poor meant in 1900
They feel poor in 2020
Feeling poor didnt really change as its always relative
There will always be stuff only accessible by rich people
I think I'd argue I'm not poor the day I'm content with everything. I could win the lottery but if I don't find a passion 'n love - I'd still be pretty damn poor.
Money can buy a lot of distractions though ๐
True
Fun distractions, yea
You can cope and distract till end of life very good
I mean, look at Notch
He became rich but unhappy
He was happier when he had his game and I think if you ask him today he would go back and dont sell
he should've just stuck it
I sort of ask myself "Why sell" when I see shit on shark tank
Living in California as a rich person is basically the definition of having only superficial relationships
Some upcoming company goes up "Yeah, we made 100k first year, this year we made 2.5 million"
People hanging around with you because you are rich
Me: "Why the fuck are you selling?"
New York in some places is like that too.
Not very fulfilling tbh
If I were as rich as Notch I would build me a home somewhere in the countryside :D
Or buy an island
lol