- ComputerCraft | Programmable Computers for Minecraft
- → etopsirhc's Content
etopsirhc's Content
There have been 115 items by etopsirhc (Search limited from 10-February 22)
#109197 Can someone please assist me
Posted by
etopsirhc
on 12 April 2013 - 09:21 AM
in
Ask a Pro
for example:
a single pickup location
the lower end of a turtle only maitenance hatch
moveUp X blocks per floor
move forward into the hall ( i'd use the middle celing of the hallway )
then move forward Y to get to the rooms door
then go into the room and drop off the items
#93869 checking if a variable exists
Posted by
etopsirhc
on 06 March 2013 - 12:10 PM
in
Ask a Pro
for (int i = 0; i <= 100; i++) { ect...
then lazyness took over causing the rest to followi've used both b4, usualy i go with fs unless i need to flush info to a file that wont ever close until the program exits
#93860 checking if a variable exists
Posted by
etopsirhc
on 06 March 2013 - 11:35 AM
in
Ask a Pro
http://pastebin.com/YGTZ8y3y
[edit i noticed something farther down thats wrong, but line 57 and 60 are the problematic ones]
#93857 checking if a variable exists
Posted by
etopsirhc
on 06 March 2013 - 11:22 AM
in
Ask a Pro
if var[varname] == nil then ...but its giving me the attempt to call nil error , witch with what i'm doing i expect that variable not to exist yet. but i need to be able to make sure it doesn't exist before continuing on with the rest of the program.
simply put, how can i see if a var in a table exists when i expect it not to exist?
#93655 parallel help
Posted by
etopsirhc
on 05 March 2013 - 02:17 PM
in
Ask a Pro
[edit] though not sure if i get the ( output and "activated" or "deactivated" ) part, is that just a simple inline if to return one of the strings?
#93652 parallel help
Posted by
etopsirhc
on 05 March 2013 - 02:02 PM
in
Ask a Pro
the hitting it again part ( and posibly the time out , havent tested that part yet ) doesnt work
#93645 parallel help
Posted by
etopsirhc
on 05 March 2013 - 01:45 PM
in
Ask a Pro
http://pastebin.com/L6uf6PiD
i can get the program to run , but when after parallel startes it doesnt seem to get the event
#93178 Watermill Setup Question
Posted by
etopsirhc
on 04 March 2013 - 09:02 AM
in
Ask a Pro
use item, drop direction of outgoing relay , it will go to the watermill then have the retreiver constantly pulsing to get the bucket back that passes into the relay that puts the empty bucket in the turtle
its 10x easier with rp alone
#92707 Word Association
Posted by
etopsirhc
on 02 March 2013 - 02:49 PM
in
Forum Games
#92706 The ban game
Posted by
etopsirhc
on 02 March 2013 - 02:46 PM
in
Forum Games
Debian
#90219 [CC1.53][MC1.5.2] MiscPeripherals 3.3
Posted by
etopsirhc
on 22 February 2013 - 03:47 PM
in
Peripherals and Turtle Upgrades
#83792 Pathfinding Logic
Posted by
etopsirhc
on 04 February 2013 - 06:57 PM
in
Ask a Pro
how i think of it is check if point A and point B can directly be accessed , if it cant, find an area that has the most open area to get closer , and then run itself to find a way to that point .
so you would need to recursively call a function that can get it closer to point B , and every time it runs point "B" is moving closer untill the path is found.
then theirs the return value , witch i think would best be created by a series of return a table of moves into a table or return the entire contents of that table using lua's ability to return multiple things at once
all in all its a huge thing to tackle , but not impossible.
though if u want them to auto map it gets exponentially harder lol.
edit :
just thought of another posible way
run the map though a loop finding all open areas with 2 or more space and return those positions for each direction then do a simmilar thing to what i mentioned above but on existing paths finding all that it can take , then find the shortest
#82844 use the contents of a var as a var?
Posted by
etopsirhc
on 02 February 2013 - 07:45 AM
in
Ask a Pro
i'm doing it this way as the string will be grabbed from args ={ ... }
a = 1
function f(var)
--some how print 1 instead of a
end
f("a")
if at all possible i'd also prefer not to have to set it up as a dictionary
#82267 [CC1.53][MC1.5.2] MiscPeripherals 3.3
Posted by
etopsirhc
on 31 January 2013 - 11:38 AM
in
Peripherals and Turtle Upgrades
on the server i'm on they are set to load a 3x3 area, and with that i have a single turtle that runs around placing blocks to build my house
well , airship house thats about 16 chunks long and half as wide . but every now and then when its running , it unloads . i've actually watched it happen on /chunkloaders , no one was around and it was doing its job up until it just dissapeared. (unloaded)
at one point i did notice some force loaded chunks get separated from the 3x3 , but usually they reattached fairly quick.
any idea whats causing it ?
- ComputerCraft | Programmable Computers for Minecraft
- → etopsirhc's Content


