Jump to content


Jasonfran's Content

There have been 134 items by Jasonfran (Search limited from 10-February 22)


By content type

See this member's


Sort by                Order  

#69844 [WIP] Siri

Posted by Jasonfran on 06 January 2013 - 08:24 AM in General

View PostHeracles421, on 06 January 2013 - 06:54 AM, said:

View PostJasonfran, on 05 January 2013 - 11:43 PM, said:

You know, Wolfram Alpha is what Siri requests to gets its info from right? Like weather, time, questions and the Api is pretty simple. Use the Wolfram Api and then only use a Siri server for custom minecraft responses
I never thought of this, we'll see what can we do, because this is a good idea
Btw I'm working with brett on this project
Nice



#69648 [WIP] Siri

Posted by Jasonfran on 05 January 2013 - 11:43 PM in General

You know, Wolfram Alpha is what Siri requests to gets its info from right? Like weather, time, questions and the Api is pretty simple. Use the Wolfram Api and then only use a Siri server for custom minecraft responses



#69643 [PHP] Please Help with a php script

Posted by Jasonfran on 05 January 2013 - 11:33 PM in General

You can echo a string to the site like

If(!fileexists){
    echo "File not found";
}

Lua
If requestdata == "File not found" or http_failure then
    --do your stuff
End


The file stuff is pretty simple, read the file line by line in Lua. Send the file data in a request and append a splitter character such as "|" or "&split&" something that would never be used. You can then split the post data into an array using PHPs explode function. And then loop through it and do what you want with the data. I don't think computer craft has the ability to properly send files over http, this is a good alternative.



#68441 [WIP] CORE online chat

Posted by Jasonfran on 04 January 2013 - 02:20 AM in Programs

Everyone saying PHP can't handle it either has a bad web host or never used PHP before. It's fast enough for live web chat, you can even use the PHP sockets and use the CCSockets peripheral to make this easier. But still, posting data to the page and saving it to a MySQL table then retrieving the chat from another page is fairly simple and not as intensive as you may think.

I have made a world wide email system (search CCEmail) and that handles logins, sending and receiving messages really quickly. Yes it had a few security flaws like unlimited accounts from one IP, but if I had the desire to continue making it I could implement that in about 10 lines if code.

http://www.computerc...arch__1

I also think I was the first to pull this sort of thing off using pure HTTP.

PHP is plenty powerful enough to run a live web chat too. Search "PHP live"



#68438 [WIP] Siri

Posted by Jasonfran on 04 January 2013 - 02:12 AM in General

Code needs to be posted in the program's section. This should be in general



#61959 Making lua unreadble

Posted by Jasonfran on 20 December 2012 - 07:11 AM in General

Ok



#61935 Making lua unreadble

Posted by Jasonfran on 20 December 2012 - 05:38 AM in General

Found this http://mta.dzek.eu/compiler/ thought it may come of use. I think it should work



#58823 [CLOSED] Advlock [CLOSED]

Posted by Jasonfran on 12 December 2012 - 06:20 AM in Programs

I some how think that this is the OP on another account trying to bump his post. I may be wrong



#58821 Free Github hosting

Posted by Jasonfran on 12 December 2012 - 06:16 AM in General

View PostPixelToast, on 11 December 2012 - 05:42 AM, said:

View PostJasonfran, on 11 December 2012 - 05:16 AM, said:

I was thinking of making a website where you can store files
you mean like, dropbox?
Maybeh



#58468 Free Github hosting

Posted by Jasonfran on 11 December 2012 - 05:16 AM in General

I was thinking of making a website where you can store files



#57458 [CLOSED] Advlock [CLOSED]

Posted by Jasonfran on 07 December 2012 - 08:06 PM in Programs

Stop bumping. Use the edit button on your original post for gods sake



#57455 Getting serious about programming

Posted by Jasonfran on 07 December 2012 - 08:02 PM in General

View Postwalia6, on 07 December 2012 - 05:49 PM, said:

View PostD3matt, on 07 December 2012 - 05:37 PM, said:

View PostDlcruz129, on 02 December 2012 - 10:03 AM, said:

Let me rephrase my question:
What language should I use to make a nice 3D game?
C# with XNA.

You can download Visual C# Express and XNA Game Studio Express for free from Microsoft for a pretty solid IDE to work with, as well.

I've NEVER heard of even a game made w/ C#
You have. If you have Xbox then most of the arcade games are made in C# with XNA.



#57287 This may sound nooby but...

Posted by Jasonfran on 07 December 2012 - 07:57 AM in Ask a Pro

Thanks guys, thats gave me a good understanding



#57280 This may sound nooby but...

Posted by Jasonfran on 07 December 2012 - 07:26 AM in Ask a Pro

I see that sometimes people use

local variable = "Something"

Or 

variable = "Something"

When do you use local and when not?



#57277 ccDev - programming like a boss [ADV computers] [GUI]

Posted by Jasonfran on 07 December 2012 - 07:18 AM in Programs

Don't work



#57250 Redirect to my server?

Posted by Jasonfran on 07 December 2012 - 05:04 AM in General

View PostHuman, on 07 December 2012 - 05:02 AM, said:

View PostJasonfran, on 07 December 2012 - 05:00 AM, said:

Dot tk doesn't t allow DNS level sub domains I don't think
Dot TK only allows domain not sub-domains.
That's just my post reworded. In other words "dot tk doesn't allow sub domains"



#57247 Redirect to my server?

Posted by Jasonfran on 07 December 2012 - 05:00 AM in General

Dot tk doesn't t allow DNS level sub domains I don't think. You can have a domain name pointed to an IP but doing that would stop you from using 000webhost



#57246 Why do you hack?

Posted by Jasonfran on 07 December 2012 - 04:56 AM in General

I hate it when people use the term "hack" on Facebook when they only know their password (just thought I'd put that out there). Most people who play minecraft and use computer craft will want to do something in IT when they are older, like I want to work at Google London. And if people hack their programs they can fix the exploits and gain experience and get a more logical brain. So hacking computer craft is the way some people learn, same as hackers on the internet a lot of them are about 15 and learning how to script and program. Bug exploiting a hacking can earn you a lot of money. Google and Facebook will award you for finding loopholes up to $50,000!

And I must say, computer craft multiplayer + "hacks" = a lot of fun. Nothing more fun that remotely controlling peoples computers and gathering Intel



#57057 ccDev - programming like a boss [ADV computers] [GUI]

Posted by Jasonfran on 06 December 2012 - 09:51 AM in Programs

Dont work. Can't get past first screen. Clicking does noting...



#56702 Checking if rednet receive has timed out?

Posted by Jasonfran on 05 December 2012 - 08:49 AM in Ask a Pro

View PostCranium, on 05 December 2012 - 08:41 AM, said:

If you use rednet.receive() with no arguments, it will continue forever until it receives a rednet message of any kind. Using rednet.receive(timeout) will allow you to use a specific timeout period. Say... (5) seconds.
I know that, I was just wondering how you check when it has timed out. But I think I got it as the message is returned as nothing



#56696 Checking if rednet receive has timed out?

Posted by Jasonfran on 05 December 2012 - 08:37 AM in Ask a Pro

How do you check if the rednet receive timed out. I have it set up properly to get messages but I can't find how to find out when it times out so I can do something.



#56693 Black and white computers having lightGray and Gray colors

Posted by Jasonfran on 05 December 2012 - 08:27 AM in Suggestions

It would be nice but I don't know if it would feel right. But advanced computers need more colours



#56678 Wiki Translation

Posted by Jasonfran on 05 December 2012 - 07:07 AM in Wiki Discussion

Google chrome, right click and translate. Even works in IE. No real need for a full rewrite in other languages



#56565 [CLOSED] Advlock [CLOSED]

Posted by Jasonfran on 04 December 2012 - 08:46 PM in Programs

Pretty advanced but in the end it is still a lock program



#56235 Getting turtle selected slot item

Posted by Jasonfran on 03 December 2012 - 10:31 AM in Ask a Pro

I have never used turtles before so I don't know if this is possible, but can you get the item ID of the selected slot so you can make sure it has the right item? If you can't then it should be added because it is vital