Here's my new code so far.
https://pastebin.com/9JLjhYn9
Does anyone know the new method for dialing the stargates? I can't seem to figure it out.
- ComputerCraft | Programmable Computers for Minecraft
- → zachary.litzinger's Content
zachary.litzinger's Content
There have been 8 items by zachary.litzinger (Search limited from 29-March 23)
#267381 zachary's first program
Posted by zachary.litzinger on 01 June 2017 - 07:51 PM in Ask a Pro
#267380 zachary's first program
Posted by zachary.litzinger on 01 June 2017 - 07:41 PM in Ask a Pro
I've found the error, the peripheral api has changed and now uses a different set of functions to dial.
#267359 zachary's first program
Posted by zachary.litzinger on 01 June 2017 - 02:16 AM in Ask a Pro
I have implemented this into my code and it gives me an error about accessing a nil value.
here is my code, please explain what I'm doing wrong
https://pastebin.com/PVxYYXeL
here is my code, please explain what I'm doing wrong
https://pastebin.com/PVxYYXeL
#267357 zachary's first program
Posted by zachary.litzinger on 01 June 2017 - 02:03 AM in Ask a Pro
Hello! I was just wondering if there is a quick and easy way to trim one character off the left side of a string?
I've tried some premade functions I found on google, but they didn't seem to work with computercraft,
I've tried some premade functions I found on google, but they didn't seem to work with computercraft,
#267355 zachary's first program
Posted by zachary.litzinger on 01 June 2017 - 01:19 AM in Ask a Pro
thanks, I figured it out
https://pastebin.com/ksJ8mLum
https://pastebin.com/ksJ8mLum
#267353 zachary's first program
Posted by zachary.litzinger on 01 June 2017 - 01:08 AM in Ask a Pro
Just have a quick question that I couldn't find an easy answer to.
I want to write a script to password lock doors, however the only thing I don't know how to do that I need to do is manipulate a redstone device connected to the computer.
I want to write a script to password lock doors, however the only thing I don't know how to do that I need to do is manipulate a redstone device connected to the computer.
#267351 zachary's first program
Posted by zachary.litzinger on 01 June 2017 - 12:28 AM in Ask a Pro
Thanks for the quick response, however now I need to know what character to use to append a variable to the end of a string. (+,&,.) (not sure which to use)
#267347 zachary's first program
Posted by zachary.litzinger on 01 June 2017 - 12:03 AM in Ask a Pro
Hello all I'm completley new to computercraft and I need a little help getting started on my first program.
I want to dial a stargate based on a friendly name, however to do this I have to get the source code of a page on my website to query the database
http://intranet.pdgl...=dial&name=test
This is the url I need to get the source code of with "test" changed to a variable (read() function).
How do I go about getting the source of a webpage by it's URL?
Thanks a lot in advance.
I want to dial a stargate based on a friendly name, however to do this I have to get the source code of a page on my website to query the database
http://intranet.pdgl...=dial&name=test
This is the url I need to get the source code of with "test" changed to a variable (read() function).
How do I go about getting the source of a webpage by it's URL?
Thanks a lot in advance.
- ComputerCraft | Programmable Computers for Minecraft
- → zachary.litzinger's Content