#who else has stared themselves blind at

1 messages ยท Page 1 of 1 (latest)

wooden ingot
#

holy crap this is huge

tame plank
#

thx, i do encourage you to check out codegreen's version as well once he publishes his, apparently we've independently been making the same thing, his one works through luagui and luarendering whilst mine works through a blueprint book, both mods have upsides ๐Ÿ˜ƒ

willow forum
#

Amazing!

paper fern
#

Very nice!
But wasn't @azure venture also working on something like this? trianglepupper

tame plank
#

in between the last time i checked raiguard's general channel and writing and finishing the mod it got mentioned, first time i heard about it even though a few others apparently have read about it before, i wasn't aware at all something like this already existed ChibiOhno

#

it just annoyed me each time i had to do circuit connectors with any of my mods, and when in the k2 discord there was a cry for help about every entity needing it i decided to finally work on it

paper fern
#

Ha
Well you're first to deliver and publish. The implementation seems really smooth so kudos to you!

#

Yeah, exactly

tame plank
#

you can find his version on raiguard's discord, not sure how old it is but i'd have to guess weeks or months, his gui version works really well too

azure venture
#

yeah I have a gui version that I meant to publish a month ago and never got around to it lol

tame plank
#

where did you even showcase that one? deep in raiguard's server? :D

#

and please don't let my mod deter you from uploading yours, there's enough slices of pie for us both since people can pick which style suits them ChibiHappy

olive belfry
#

it isnt letting me copy the coords (i already did it with other ones so idk why this doesnt work)

#

aint lettin me here either

#

lemme try on other buildings

tame plank
#

enable the collision box debug render

olive belfry
#

which was the key to open the debug menu?

tame plank
#

f 345 or something

olive belfry
#

shift f4 ok i remember

#

yk what im enlarging the collision box

tame plank
#

muscle memory can be a funny thing, totally forgetting what something is but just knowing the pattern ๐Ÿ˜†

tame plank
#

drop me your save and I'll have a peek

olive belfry
#

in a sec

#

should be this right?

#

its a testing scenario

tame plank
#

as long as it's a save i can take a peek

olive belfry
tame plank
#

since the blueprint book isn't tied to any entity it just checks for entities within 3 range and show them what the offset would be for any of them, in case of compound entity shenanigans

olive belfry
#

HERE IS FINE OFC

#

idk if its an issue with the mod or with my boxes

tame plank
#

eh i don't understand scenarios, popped your blueprint.zip over the blueprint.zip of an empty scenario and the world is just empty, please just give me a save file i can sync with

#

so yeah if you could just create a world with that scenario and send me that save so i can sync with it, that'd be nice

olive belfry
#

hold on

olive belfry
#

oh btw u can safely use the current version of aop and not the new one its asking you as its not released yet

#

no new stuff is added yet other than me trying to change the circuit connectors (which went well for everything except the smeltery)

#

ok i managed to make it connect in the right place

#

u can still check that out but my work here is done

tame plank
#

I'll still be taking a peek to see what went wrong

tame plank
# olive belfry yk what im enlarging the collision box

ah i see what's going on, the center of the circuit connector is placed outside the hitbox of the smeltery so it doesn't find it by collision, so it defaults to trying the range check which merely checks the center position of the entity, when i wrote the mod i couldn't really spot a function that does "return all entities within this range who's hitboxes colide", guess i'll need to do an area check which might spot it

olive belfry
tame plank
#

requiring base?

olive belfry
#

the mod does require base yes

#

it requires space age too so

tame plank
#

strange that it fails on this then, furnace_circuit_wire_max_distance is not a local variable

olive belfry
#

also

#

arc-furnace.lua is the second machine prototype to load

#

therefore the first one did go through

#

which is odd

#

why did one go and not the other

#

specifically one of the two that use a furnace prototype and not an assembling machine one

olive belfry
tame plank
#

does it work if you disable all other non-wube mods?

olive belfry
#

lemme try

olive belfry
tame plank
olive belfry
#

what could it be then

#

was the code tested on furnace prototypes too? maybe when they implemented circuits for furnaces they used a slightly different system idk

#

turned the connector line into a comment for testing

#

yup

#

its an issue with furnace prototypes

#

both my furnace (arc furnace) and recycler (salvager) are crashing when that is in

#

turned the other into a comment too

#

oh ok

#

nevermind

#

nothing works

#

it just loaded furnaces first

#

@tame plank you did test this before realising right

tame plank
#

my mod provides you the arguments to use in the circuit connector builder function

#

it cannot be assigned to prototypes directly

olive belfry
#

OH

#

whats the function?

tame plank
#

search base for occurences of make_single_circuit_connector_definition and make_multiple_circuit_connector_definitions

#

or circuit_connector_definitions.create_

#

you'll see that basicacally every base thing that has circuits will call those methods

olive belfry
#

only thing that came up is the circuit-connector-sprites.lua file

tame plank
#

peek in circuit-connector-generated-definitions.lua

olive belfry
#

alr found

#

thx

#

why does this have 4 lines that are the same?

tame plank
#

you'll have to tweak the shadow offset yourself, but honestly its hardly noticable

tame plank
olive belfry
#

oh yeah the pipes

#

i have to do that too right

tame plank
#

yes

olive belfry
tame plank
#

i could not sense any meaningful pattern so im not mimicing one

#

be glad my mod helps you with positioning

olive belfry
#

if it doesnt have any i can skip it?

tame plank
#

iirc it checks by prototype, even if it never will rotate it might still demand all of them, not sure

olive belfry
#

you wont believe this but i forgot to put the new connectors to the hydraulic plant

olive belfry
#

odd

#

some buildings didnt get correct connectors even if the code is literally the same for every of them

#

or is it...

#

idk

#

oddly its all the ones that start with a and b

#

ok what the fuck

#

why do specifically the first five connectors not work

#

these two are literally coded in the same way but the top one doesnt work and the bottom one does

#

@tame plank help please

tame plank
#

are you assigning the content of the table back into the circuit connector of the entity?

tame plank
#

try setting circuit_connector_layer inside the assembling's machine picture set to "higher-object-under"

olive belfry
#

?

#

still

#

the cable goes to the center

#

it isnt going where its supposed to go

#

graphics arent the problem

#

its straight up not working

tame plank
#

allright that's weird

olive belfry
#

i have to go now

#

im pissed that i couldnt fix this

tame plank
#

same

tame plank
olive belfry
tame plank
#

strange

placid vale
#

can i add things to prototypes? (like new variable to store some data?)

proud copper
#

no

placid vale
#

wait thats a thread bru

proud copper
#

Oh yeah we're in a thread huh

high pewter
olive belfry
tame plank
#

did you press save on the file? i can only really imagine it would break if the prototypes were different

high pewter
high pewter
# olive belfry Wdym

when looking back at the values, the positionning of the cases that do not work are less likely to be out of bound that the coordinates for the working cases, my hypothesis was quite bad

tame plank
#

can you send me your current world and your in progress mod? i'll have a go at debugging the connectors

olive belfry
#

Cant
Not home

olive belfry
#

If its not to late when i go back
If it is youll have to wait for saturday as im not home tomorrow either

#

Regardless
Ill send it in as soon as possible

#

And while you check that after i send it i will try some ideas i had
Which are putting dummy values to see if its a positioning in the file issue and just moving the definitions to the files of the machines themselves

olive belfry
tame plank
#

cooking now, peaking in 20 ish mins

olive belfry
tame plank
#

thanks for the ping, i forgot

#

found it

olive belfry
tame plank
#

something consisting of 26 letters

olive belfry
tame plank
#

the alphabet

olive belfry
#

wait

#

then how the hell did the other machines get the correct coords

tame plank
#

they're defined under it trianglepupper

olive belfry
#

yeah

#

OH

#

OHHHH

tame plank
#

there we go

olive belfry
#

well

#

gonna move the definitions to the machines themselves

#

in their code

tame plank
#

or just require it first

olive belfry
#

boring

#

and ill have one file less

broken phoenix
#

Thanks for this mod @tame plank ๐ŸŽ‰

tame plank
broken phoenix
#

Not yet but will when it comes up again

white quiver
#

Quezler, you are a jewel of this community.

tame plank
#

it's funny to see how far ive come when looking back, i used to be deadly afraid of global since i just couldn't wrap my head around it, but oh boy the shit I've made since ChibiHappy

#

and understanding the luagui basics since the last few months opened new options ๐Ÿ‘€