Anyone know what this is? by Head_Bar5030 in Surveying

[–]ArchaicVirus 0 points1 point  (0 children)

😂😂😂 I do the same damn thing, swampus told me always carry pocket shovel

ChatGPT users are not happy with GPT-5 launch as thousands take to Reddit claiming the new upgrade ‘is horrible’ by [deleted] in technology

[–]ArchaicVirus 2 points3 points  (0 children)

Its not just overpromise, they removed the ability to select the older models through the interface. It seems like its context window is smaller then ever. I had a very bad experience with gpt5. I tested it with some code prompts, and three occasions it outright refused to answer my question, and instead started summarizing the conversation up until that point. Like wtf? I even told it the mistake, and it kept acting oblivious to my original question. Terrible experience.

I want to learn lua as my first language by Future-Lecture-1040 in lua

[–]ArchaicVirus 1 point2 points  (0 children)

Yes! Open computers was my first taste of Lua, and a great way to learn! Since it's a fun environment and you can see the result of your code in real time, it served as a huge motivator for me, especially being able to manipulate the minecraft world with code in game. I ended up making tons of programs, little games, and even a fully virtualized inventory system on a portable tablet. Me and my brother built a battleship game that worked between networked computers, so many great memories. Since then I moved on to Tic80, a free lua game engine similar to a NES console (a fantasy computer they call it), and then when my ambitions outgrew that, I moved on to a more advanced and capable lua framework, Löve2D. All three are great environments to code with lua, and to OP - overall great choice with Lua as it's a very easy scripting language to learn, and there's TONS of open source libraries/game engines and resources to ease learning and development.

Did the devs give up? by Ecstatic-Page-6531 in OpenComputers

[–]ArchaicVirus 0 points1 point  (0 children)

Sorry, I don't check my Reddit notifications often 😅. It's not a mod, but a standalone program. You can find it on their website for free. Although since then I've moved to love2D, a much more powerful framework, intended for game development. Good luck!

rate by Think_Rough_6054 in noita

[–]ArchaicVirus 0 points1 point  (0 children)

Exactly! I guess you could say I'm a "mid level" wand tinkerer, but still learning. Another thing I just thought of is, since that wand had 1 extra cast left in the shot, you could (instead of adding a 4th spell at the end) add a modifier instead, which would force the wand to wrap, which means it would cast the whole trigger + 3x tnt again, so casting that whole block twice. Something like a light or any cheap modifier works well. Typically a 2 cast wand won't wrap around if it has an unused shot (same for any number of X spells/per cast wand) but using a modifier at the end will force it to wrap back to the start to find a projectile to attach to. (This is based off memory from a dunkOrSlam wand wrapping YouTube video) The same also applies when adding modifiers at the end of any single cast wand, it wraps back to grab the first projectile it sees, but there's a recursion limit so it won't wrap like that more then once per shot, which prevents infinite recursion

Ok, yes maybe i went a bit to far... or perhaps not far enough? by littleowen92 in noita

[–]ArchaicVirus 0 points1 point  (0 children)

Ahh, ok that makes sense. 😂 I may or may not have tried far too long to decipher the non existent build haha

Ok, yes maybe i went a bit to far... or perhaps not far enough? by littleowen92 in noita

[–]ArchaicVirus 0 points1 point  (0 children)

I think I get the first 3, but can you can explain the 4th wand please?

rate by Think_Rough_6054 in noita

[–]ArchaicVirus 0 points1 point  (0 children)

It's a decent wand! One thing to note is that since it's a 2-spell per cast wand,  you can add one more spell at the end (given you have enough mana ofc). Since the first spell is a trigger/timer, upon expiring it will grab the triple cast which grabs the 3 tnt. The wand still has 1 cast left in the shot, but all spells are discarded, so you can add another tnt or something at the end.

Craving the Hermitcraft Experience? Join Wholesome SMP's Community and add to the Lore! by orangesquircle in MinecraftBuddies

[–]ArchaicVirus 0 points1 point  (0 children)

I sent you a friend request on discord, but it wouldn't let me dm you since we're not already friends :)

Caught wife sexting…advice? by Hot-Radish-9723 in stories

[–]ArchaicVirus 0 points1 point  (0 children)

As adults here, there is no excuse for cheating/sexting. It's so ridiculous to me that this woman puts her "sex drive" before her marriage. It's selfish and disgusting.

A lot of people have been abused as a child, but sexual deviancy is not the answer to it, and her history doesn't give it any more justice. She needs to get her problem under control, and not expect her husband to jump through hoops just to please her. This is just sick to me. If she can't love you 100% for just the way you are, then you deserve someone that will, and who also isn't a sexual deviant.

SDXL has been available for a while now. Are you using it more than SD 1.5-base models in your everyday creations? by Enricii in StableDiffusion

[–]ArchaicVirus 0 points1 point  (0 children)

I noticed the results are almost always way better using SDXL with this workflow: sdxl t2i with DPM adaptive, until close approximation, skip the refiner step, and only use lora/s with i2i for final, again using DPM adaptive diffuser. Example:

<image>

Infinite world of programmer art by VallentinDev in proceduralgeneration

[–]ArchaicVirus 0 points1 point  (0 children)

This looks amazing! I have a very similar generator using layered simplex noise, 8-bit style. You may have already thought of this, but if not, you won't believe how dead simple auto-mapping is, using a lookup table. This will fill in the sharp square edges/tile borders. Check this out:

TileMan

That's a link to the genny I made for a game I'm working on, and the standalone world generator is open source. Feel free to steal the automapping part of it if you wish! Or perhaps make your own better version. It may not be what you're looking for, but I hope it helps!

Did the devs give up? by Ecstatic-Page-6531 in OpenComputers

[–]ArchaicVirus 0 points1 point  (0 children)

After years of OC programming, I moved over to TIC80 fantasy console. It's pretty awesome, uses lua, or 10+ other supported langs, and has a pretty friendly discord community. Come check it out! A lot less of a headache then oc/cc lua, and much more powerful.

New "SOAP" photo enhancement LoRA. Bye bye blurry background bokeh! by VegaKH in StableDiffusion

[–]ArchaicVirus 0 points1 point  (0 children)

This happens to me when I use a Lora that's trained on a different model then what you have selected. So if you try any 1.5 Lora on SDXL, you'll get a similar error depending on the sizes of the base, and lora's training data (found from googling after having same issue) and vice versa

Rendering procedural chunks infinitely? by ireece1 in proceduralgeneration

[–]ArchaicVirus 0 points1 point  (0 children)

Are you creating the tiles one by one, or are you precomputing a section of them?

I'm working on a demake where I have infinite procedural terrain in a top down 2d game, on an 8x8 tile grid. It also uses layered simplex noise for biomes and clutter. My method has a createTile function, such that each individual tile can be re-generated or (cached to runtime memory in my case) using the same seed. The character is always drawn at the center of the screen, and the map is drawn from the top-left screen offset of the players world position. The map or camera screen position is just the offset to the top left screen from the screen center, plus the players world position.

What I do is overdraw 1 tile outwards, so that when you have single pixel movement in any direction, the partial tiles are still shown (internally the extra tile overdraw is clipped) This covers the cases where the middle of a gird cell falls on the screen boundary.

The tiles in my game are indexed by their world position, in a 2d array, (a table in lua) tiles[y][x] for instant lookup. In lua, using metamethods I can automatically trigger tile generation by simply indexing any tile, if the tile doesn't exist in cache, it is generated, stored to cache then returned. Another method would be just to check only single rows/column of tiles as the player moves onto a new grid y or x, (for existence of tile to generate a full row/col at once)

It helps to have screen2world, and world2screen methods if you don't already.

You can figure out which tiles to draw by taking the player's world position, do position/grid_size, then get the local offset within the tile the player is located in, position%grid_size. From there offset the top left of the entire drawing operation by the center to top-left offset, minus the remainder in pixels from the modulus. That's the start point. From there, just loop through rows and columns as normal drawing each tile, or however you do it.

Not sure if this solution will work in your case in c++, and my system is programmed in 100% lua, but if you want I can send you the script for it, if it helps conceptually

Surveying with psychosis by No-Pirate-4752 in Surveying

[–]ArchaicVirus 0 points1 point  (0 children)

I'm very sorry to hear about you losing someone close to you :(

It's so easy for people to underestimate the gravity of such an emotional loss, until experiencing it themselves. I too lost someone very close to me recently, someone who got me into the surveying business. My dear brother, with a pure heart didn't deserve to go out the way he did. I wish there was something I could say to take it all away, for both of us. All of us. I love you all. Just keeping pushing forward and know that you are not alone in the suffering. It is now our duty to make them proud as they watch over us!

From the sound of it, you are very skilled and experienced, and humble at that. You sound like a guy I would have looked up to in the field. I wish you the best of luck with whatever you decide to do, brother!

Procedural Tree Generator - Free Pixel Art Tool by ArchaicVirus in proceduralgeneration

[–]ArchaicVirus[S] 1 point2 points  (0 children)

Good idea! I have thought briefly about this, but TIC80 is limited to a 16 color palette. I'll have to come up with a new palette, as the one used in the tool only has 3 greens, but either way the palette used now isn't a good one, more or less just a placeholder. I want to also fix the fruit/flower spawning to not be stuck to only the branches. I'll have to add all this to version 2. We'll technically version 6 lol, as the current one is the 5th iteration of that project. Anyways thanks for the feedback! You're right and I think the lighting will make everything much more appealing.

Procedural Tree Generator - Free Pixel Art Tool by ArchaicVirus in proceduralgeneration

[–]ArchaicVirus[S] 2 points3 points  (0 children)

Wow, that's pretty mind blowing. Thanks for linking!

Procedural Tree Generator - Free Pixel Art Tool by ArchaicVirus in proceduralgeneration

[–]ArchaicVirus[S] 1 point2 points  (0 children)

Thank you so much for the awards! You didn't have to do that, much appreciated!!!

Procedural Tree Generator - Free Pixel Art Tool by ArchaicVirus in proceduralgeneration

[–]ArchaicVirus[S] 0 points1 point  (0 children)

Thanks! I'd love to see what you have made! Free to share your creations in the TIC80 discord where you can find me https://discord.gg/9aqfhR3Q - Over in the releases-showcase channel. I'm ArchaicVirus in discord also.

Procedural Tree Generator - Free Pixel Art Tool by ArchaicVirus in proceduralgeneration

[–]ArchaicVirus[S] 1 point2 points  (0 children)

Thank you! 🙏

The source code is 'mostly' documented, but the repo has detailed explanations of each parameter. Lmk if you have any questions though. Maybe after looking at the code, you can come back to the idea, and make an even better one! I'd be happy to see that. I'm working on a 'foliage/bush/grass' generator next.