Povstalec / StargateJourney

A repository for the Stargate Journey Minecraft Mod
39 stars 16 forks source link

CC:tweaked broken code #42

Closed JonFoxy closed 4 months ago

JonFoxy commented 7 months ago

No matter what I try i always always get "attempt to call global '[code here]' (a nil value)" and me being someone who's coded in C#, Java, Javascript, and Python (I despise lua for its dated and very very different coding structure). I cant figure out why none of the codes are working. I wanted to try modifying the stargateDialing code you gave and I always get that error. And nothing happens

For context. I am using a basic interface connected to a Milky Way Stargate with CC Advanced computer with wired modem on same modem network. and even tried POWERING the interface to no avail

tehgreatdoge commented 7 months ago

That sounds like you didn't connect the peripheral properly / update its name in the code? Can't help much beyond that as you didn't give much context

JonFoxy commented 7 months ago

I gave all the context needed. Peripherals connected. Network connected. Code just breaks

Povstalec commented 7 months ago

No matter what I try i always always get "attempt to call global '[code here]' (a nil value)" and me being someone who's coded in C#, Java, Javascript, and Python (I despise lua for its dated and very very different coding structure). I cant figure out why none of the codes are working. I wanted to try modifying the stargateDialing code you gave and I always get that error. And nothing happens

Would you mind sending some of the code you've changed plus an in-world screenshot of the Stargate Interfacing setup you are using?

C4PTRAMPAGE commented 6 months ago

i've noticed that if you attach an interface to an existing stargate everything works fine but if you place the peripheral first then put the gate on it functions wont work.

that might be the cause of this issue.

Povstalec commented 4 months ago

i've noticed that if you attach an interface to an existing stargate everything works fine but if you place the peripheral first then put the gate on it functions wont work.

Gonna close the whole issue then, since I'm 99% sure I fixed this exact problem in 0.6.19