Networking?? Command Prompt??
Author |
Message |
Hackmaster
|
Posted: Tue Jan 09, 2007 1:51 pm Post subject: Networking?? Command Prompt?? |
|
|
I was wondering if anyone has played around at all with networking various programs toghether in turing. It would be neat to play checkers with someone across the room, or maybe write and RPG that you could make into a MMORPG. not likely that large scale, but, you get the idea. It would be much fun to play with converting "pong" into something you can play with 13 people at once... make a central server... something.
Also, my other question is about creating a command prompt with turing. You can do it. You have various commands like Dir.Current, and Dir.Change. so, it is possible. you need to parse strings, but whatever. I was wondering wheather or not people have done this or played with this stuff before.
I think it's kind of fun to play with obscurity in turing. Which is why, by the way, I'm really going to ask nicely not to flame me and say "Man, Truing suks, ues C!!!11!!!!" I hate people who language type. You can do essentially everything in Turing that you can in other languages, such as java.
So, turing Zealots, help me out! thanks! |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
rdrake

|
Posted: Tue Jan 09, 2007 2:01 pm Post subject: Re: Networking?? Command Prompt?? |
|
|
Hackmaster @ Tue Jan 09, 2007 1:51 pm wrote: I was wondering if anyone has played around at all with networking various programs toghether in turing. Back in the day, with the Net module. It is quite slow though, so any games which require quick response times... forget about them.
Hackmaster @ Tue Jan 09, 2007 1:51 pm wrote: Also, my other question is about creating a command prompt with turing. You can do it. You have various commands like Dir.Current, and Dir.Change. so, it is possible. you need to parse strings, but whatever. I was wondering wheather or not people have done this or played with this stuff before. Again way back when. I don't recall if it worked or not, they blocked access to cmd.exe. As I recall, it failed every time.
If you were doing this at home, I suppose it could be useful. |
|
|
|
|
 |
Clayton

|
Posted: Tue Jan 09, 2007 4:18 pm Post subject: Re: Networking?? Command Prompt?? |
|
|
for the networking, like rdrake said, you should forget about fast response times, last time I used the Net. module, it was still extrememly slow (this is one good reason to switch to another language, turing's speed is a major downfall).
for a command prompt, all you really have to know how to do is parse strings and use the Sys.Exec() function. An intimate knowledge of the Dir. module would also be necessary. |
|
|
|
|
 |
Hackmaster
|
Posted: Tue Jan 09, 2007 10:32 pm Post subject: Re: Networking?? Command Prompt?? |
|
|
actually, freakman, could you give me a bit of a hand with that? I'm having some bugs with my string parser, and I know you did a string class. I need to tokenize the string but turing doesn't have something like strtok, sadly, so I have to make my own. any suggestions/ hints? and this question obvioulsy isn't just for you, everybody, please pitch in...
thanks |
|
|
|
|
 |
Clayton

|
Posted: Wed Jan 10, 2007 12:32 am Post subject: Re: Networking?? Command Prompt?? |
|
|
why don't you post up some of you code for what you have so far? I can take a look at it then  |
|
|
|
|
 |
Robert

|
Posted: Sat Jan 13, 2007 5:14 pm Post subject: Re: Networking?? Command Prompt?? |
|
|
I played around quite a bit with Turing and networking (mind you, I was also using Perl for the server)
http://www.compsci.ca/v3/viewtopic.php?t=14843
That is what's possible with Turing (and a little Perl) |
|
|
|
|
 |
|
|