Jump to content


Dayrider10's Content

There have been 32 items by Dayrider10 (Search limited from 29-March 23)


By content type

See this member's


Sort by                Order  

#177847 OneOS Version 2 - The All in One Operating System

Posted by Dayrider10 on 10 May 2014 - 08:07 PM in Operating Systems

I would love if you could post Ink as a new program. I think it is a great program that stands out in the OS and I never ever seen a program like that. I thought about it and tried it ,but was never successful. Anyways this is an amazing OS keep up the good work!



#177805 [Solved] Help With Shell.resolve()

Posted by Dayrider10 on 10 May 2014 - 02:43 PM in Ask a Pro

Thank you it worked a lot better now! Thanks for your help!



#177802 [Solved] Help With Shell.resolve()

Posted by Dayrider10 on 10 May 2014 - 02:29 PM in Ask a Pro

Hey Everyone!

I need to find a way where I can put a folder called Tanks anywhere like in a path a/b/c/d/Tanks and still be able to execute the games. I have tried shell.resolve() ,but I don't know if I am using it correctly. Please help. I want to execute files like custom and singleplayer that are in the same folder. Here is the code:


http://pastebin.com/ejqhjSJn

Am I using shell.resolve(".") correctly?



#177448 World Of Tanks

Posted by Dayrider10 on 08 May 2014 - 01:06 AM in Games

Thanks I appreciate it!



#177420 World Of Tanks

Posted by Dayrider10 on 07 May 2014 - 10:28 PM in Games

Hey Everyone!

I'm back ,but this time not with an OS ,but a game! This game as you can tell is a game about tanks! Your Mission? Destroy all enemies from the playing field.

What is it?

Well your guess is good if you think it has something to do with Tanks. This game is a game where you control your tank to move, shoot, and kill enemies. Level up and customize your tank for better chance of survival.

Game Modes:

Campaign (Not much story behind it)

Unlimited Waves (It is like Survival on COD Black Ops)


Control?

Use the W,A,S,D keys to move

Space to shoot

Go into the Tanks folder and run intro for the best experience

.

Tips:

You will run out of ammo. Pick up those yellow packs to see what it does. You will also loose some health. You should pick up the red packs too. As you level up don't forget to customize!


Features:

Spoiler


In Plan:

Spoiler


Screenshots:

Spoiler

Want to download it? Download the install file here:


http://pastebin.com/7xX68VJz


Thanks for liking this. Hope this goes well. If you guys could give me your feedback that would be awesome!


Thanks!

Live On!




#177156 Help with my ticket machine?

Posted by Dayrider10 on 06 May 2014 - 10:55 PM in Ask a Pro

In future cases you can do it and store the info on the disk ,but can't the user craft a computer and edit the information? I would suggest in the future to use servers which at least then has some protection from user edits. That is what I think about when I program. Anyways to do with your problem you should probably go with the disk drives. I don't think it can read printed paper. Correct me if I'm wrong though.



#176991 Help With Counting the Number of Player's Deaths

Posted by Dayrider10 on 05 May 2014 - 10:26 PM in Ask a Pro

Hey Everyone!

I'm working on this game and I'm working with counting the number of deaths. What I want to happen is that once player 1 or player 2 dies it counts the death. The max number of deaths is three so say player 2 kills player 1 three times player 2 wins and vice versa. Well that is not happening. When player 2 kills player 1 it is fine and it counts up to three deaths and it says player 2 wins ,but when I do that for player 1 and he/she kills player 2 it does not count the deaths and it just keeps going. Here is the link:

http://pastebin.com/6Th8sFFN

The counting of the death is at lines 468 - 477.

Thank you!
Live On!



#176989 Looking for a computercraft pro!

Posted by Dayrider10 on 05 May 2014 - 10:16 PM in Ask a Pro

I have started a program that did that. It worked then didn't and have not touched it since. Anyways just letting you know this is not a place to request programs.



#176187 Installer HELP

Posted by Dayrider10 on 01 May 2014 - 11:14 PM in Ask a Pro

In the future you could use google sites (It is free with a google account) and you could make a download page and use the url for every file. It is very useful when updating.



#175603 settings:55: attempt to call boolean

Posted by Dayrider10 on 27 April 2014 - 09:55 PM in Ask a Pro

Couple of questions. What are you typing into the username field? And why are you making a separate file for everything. Suppose you want to add multiple users on this computer. Put it into one file. Also why are you calling the settings function after you input everything. Take out the first settings function of where the error is and tell me how that works out.



#175301 [GUI] Help with multi-layer gui

Posted by Dayrider10 on 26 April 2014 - 01:12 AM in Ask a Pro

View PostKingofGamesYami, on 25 April 2014 - 12:48 PM, said:

The problem with that is, the touchpoint api only works on monitors.
Does anyone know a better API for buttons that works on the terminal? Or how to adapt the touchpoint API to work on the terminal?

Honestly I only suggest using term.setBackgroundColor() and using the click event being that you can't touch the terminal you just click so use the mouse click event.



#175109 Trouble With Using Another File's Content

Posted by Dayrider10 on 24 April 2014 - 11:36 AM in Ask a Pro

Thanks Lyqyd! It worked like a charm!



#175084 Trouble With Using Another File's Content

Posted by Dayrider10 on 24 April 2014 - 12:56 AM in Ask a Pro

Hey Everyone!

The title may be confusing ,but here is my problem and all. I want it so that I can open the file called "player.info" and use the contents and put them in a table that have which is tankInfo. What happens is that when it goes to draw the tank it reports back an expected number error. For example if I assigned the color in the tankInfo table to playercolor which is in the file we opened it says an expected number. Yes I have tried tonumber. Here is the pastebin code;

Here is the main code:

http://pastebin.com/3cVTthJh

Here is the contents of the file:

http://pastebin.com/WFzXi43K

From lines 90 - 97 opens the player.info file. From lines 115 - 123 is the table with the tank and in the player.info file (the second link) it is from lines 3 - 8.

Thanks!
Live On!



#175038 1 Day OS - Where Entertainment Meets OS V 1.1

Posted by Dayrider10 on 23 April 2014 - 08:46 PM in Operating Systems

View PostGlass Systems, on 18 April 2014 - 03:26 PM, said:

i see you have watched ndfjay tutorials :P

Maybe a little ;)



#174719 Unexpected symbol problem

Posted by Dayrider10 on 21 April 2014 - 07:25 PM in Ask a Pro

You localized the table newHome in the first function. Since that is the case the table returns nil. I would suggest using table.insert in this case.



#174592 Login/Password program issues

Posted by Dayrider10 on 20 April 2014 - 11:00 PM in Ask a Pro

Are you sure? I'm pretty sure that you need three parameters for rednet.receive() and you are using distance as the password which returns false all the time



#174580 Login/Password program issues

Posted by Dayrider10 on 20 April 2014 - 08:49 PM in Ask a Pro

So about the if statements you don't need to check the user again on the second if statement. Now about it returning false is this:

rednet.receive() returns three different parameters. It returns the ID the message and then the distance. So in this case it is ID, User, Security = rednet.recieve(). So in your code your saying if check == User (which is in the table) and check2 == the distance computer A is from computer B. Try this instead:

users = {"User1", "User2"}
password = {"Password1", "Password2"}
rednet.open("top")
senderId, message, distance = rednet.receive()
for i = 1, 2 do
	 check = users[i]
	  if check == message then
			ID2, message2, distance2 = rednet.receive()
			check2 = password[i]
			 if check2 == message2 then
				  print("True")
			  else
				   print("False")
			 end
	  end
end

Obviously you are going to send twice in this case.



#174412 Help With Collisions with ASCII Graphics

Posted by Dayrider10 on 19 April 2014 - 06:05 PM in Ask a Pro

Hey!

Thanks so much! It helped so much. I have trouble on looking at the logic and I can't believe I am so stupid just dealing with the and in the if statements. Wow. Anyways thanks a lot for the help. One of the best responses I have seen!



#174377 Crafty Turtle program: bios:337:[string "f"]:11:'do' expected

Posted by Dayrider10 on 19 April 2014 - 02:32 PM in Ask a Pro

You put a do instead of a then here:

if turtle.getItemCount ~= 64 do --om itemCount skiljer sig från 64
			    fill()
end

It should be:

if turtle.getItemCount ~= 64 then --om itemCount skiljer sig från 64
			    fill()
end



#174375 Help With Collisions with ASCII Graphics

Posted by Dayrider10 on 19 April 2014 - 02:08 PM in Ask a Pro

Hey Everyone!

I am working on a game and I need to work with collisions. What I want to happen is that when the player's tank collides with the enemies' tank you die. What is happening is that I can collide with the enemy and nothing happens. It is a long code and I'm working with if statements so if you guys could help me that would be great.

Here is the pastebin link:

http://www.pastebin.com/FPuFrPZZ

The picture of the tank is at 131 - 141 and the collision code is at 215 - 228. If you would like to help with other collisions that would be cool too ,but I'm just worried about the tank collisions.

Thanks!
Live On!



#170026 Wincraft OS

Posted by Dayrider10 on 27 March 2014 - 07:07 PM in Operating Systems

View PostCranium, on 25 March 2014 - 03:41 PM, said:

Please keep in mind that this is a primarily English speaking forum, and our rules state that you must post in the English language. While I do understand that English may not be your native language, please post using that language or use a translator service to convert your post.
A poorly translated Google Translate post is better than a non-English one.

Sorry about that.



#169774 CC-Computers doesn´t accept <Space>

Posted by Dayrider10 on 25 March 2014 - 08:36 PM in Ask a Pro

Going off of what CometWolf said try this:

lua
<enter>
os.pullEvent()
<enter>
<space>
Just like what CometWolf said just a little different. Try that this time and see what you get.

Edit: It is not different at all ,but you had to make a spelling error to get a "loop"



#169767 1 Day OS - Where Entertainment Meets OS V 1.1

Posted by Dayrider10 on 25 March 2014 - 08:28 PM in Operating Systems

View Postbladze420, on 25 March 2014 - 03:26 PM, said:

I suggest adding a way to get to the CraftOS terminal in case some users want to use the PC for other uses.

Yeah that is a good idea. So much to add to this. Thanks for the suggestion.



#169431 1 Day OS - Where Entertainment Meets OS V 1.1

Posted by Dayrider10 on 23 March 2014 - 08:14 PM in Operating Systems

View PostAgoldfish, on 23 March 2014 - 08:12 PM, said:

View PostDayrider10, on 23 March 2014 - 08:10 PM, said:

View PostAgoldfish, on 23 March 2014 - 08:08 PM, said:

You should be able to edit the files, but ask permission to distribute it. Besides, how will you know if someone edits it?

True. I just worked really hard on it and it took a lot of time.
Point taken, but what does that have to do with editing the files?

Just in case someone edits stuff like Blackjack and Dynet without the owner's permission. Sorry about that. I changed the disclaimer if you want to look. Thanks!



#169429 1 Day OS - Where Entertainment Meets OS V 1.1

Posted by Dayrider10 on 23 March 2014 - 08:10 PM in Operating Systems

View PostAgoldfish, on 23 March 2014 - 08:08 PM, said:

You should be able to edit the files, but ask permission to distribute it. Besides, how will you know if someone edits it?

True. I just worked really hard on it and it took a lot of time.