Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3368: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3370: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3371: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3372: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
OrbWorks Community Forum • View topic - TCP/IP IMPORTANT

TCP/IP IMPORTANT

Discuss PocketC for Palm OS (including Desktop Edition)

Postby iebnn on Mon Feb 12, 2001 9:48 pm

I read that the PalmOS supports TCP/IP. PLEASE PLEASE PLEAAAASE add this to PocketC... I would like to begin work on the first Massively Multiplayer Roleplaying Game for the Palm, and I need TCP/IP to do this!
Also, can I use POSE for testing TCP/IP stuff and other Internet stuff? Thanks :)
iebnn
 
Posts: 42
Joined: Fri Feb 09, 2001 8:40 pm

Postby SyPDA on Mon Feb 12, 2001 10:36 pm

Well, because you asked this question multiple times, you should look at your POSE thread. All your answers are there.

Try asking your question just once and please keep in mind, that this is a developers discussion board for PocketC. Not for POSE. Thanks.
SyPDA
 
Posts: 94
Joined: Tue Dec 05, 2000 8:08 am
Location: Germany

Postby Vilmos on Mon Feb 12, 2001 11:17 pm

You can add TCP/Ip support yourself by writing a native library. There is documentation in the Palm resource page on the orbworks site. You will need CodeWarrior or GCC to compile the library.

I just took a quick look through the PalmOS SDK and there are several pages in the table of contents just for serial, IR and internet connectivity. Any library you write would not be a small task. On the other hand you mentioned that you had experience in TCP.

I have already written a Rogue type of RPG for the Palm using PocketC, which shows I also have an interest in RPG gaming. :) I am curious though, how are you going to make a multiplayer game? If you are using the internet then is it limited to wireless Palms? Or will IR also be considered? If so the range is pretty poor and you have to hold the new m100 at a ridiculous angle just to get it to work.

Got any details worked out? Let me know when you are in beta, I'd like to see the game.

Vilmos
Vilmos
 
Posts: 174
Joined: Tue Dec 05, 2000 6:13 pm
Location: Canada

Postby iebnn on Mon Feb 12, 2001 11:32 pm

Any Palm with a modem or wireless modem could play. I was thinking of having rooms, so that there isn't much lag or anything. In the first version, it will be very small. The server puts people in one room until there are about five people in that room. Then the server puts the people in another room (the new people connecting). Each room, in the first version (since there won't be many people), will take up one screen. There will be a "safe area", where you can talk, and can't be attacked, and the rest of the screen (your character is pretty small) is where you try to kill the other players and possibly some computer characters. It will be very simple. Once you kill a player I think your max HP might go up a little. When you've killed everyone in the room, or a certain amount of people, or if you've killed the most after a week, your rank goes up and the server is reset (but you keep your rank, even though your max HP goes back to normal.) After a while prizes will be awarded to those with extremely high ranks. I estimate that only approx. (not in the safe zone, which requires more because of the chatting) 1/4 of a kilabyte or so to refresh the screen... possible 1/5 or less. Very small because the game is so simple.
But I won't be able to code the TCP/Ip library myself. I have experiance in TCP using Visual Basic, but i don't have any experiance with programming PocketC libraries (I know a good bit of C++, like pointers, structs, loops, all the basic stuff, files). So I would really need someone else to write the TCP library :)
iebnn
 
Posts: 42
Joined: Fri Feb 09, 2001 8:40 pm

Postby Vilmos on Tue Feb 13, 2001 12:47 am

I see, I was thinking full MUD type RPG and wondering how that would work...although a Palm MUD would be good fun, it would be difficult to do.

Anyway I'm not sure you followed me with the library. The Palm contains all the necessary commands in the ROM. The Net Library is complete. What you would do with the native library is simply expose these system commands to PocketC. Check out the Palm SDK Reference at http://www.palmos.com and the documentation with PocketC that explains how to make a native library.

Vilmos
Vilmos
 
Posts: 174
Joined: Tue Dec 05, 2000 6:13 pm
Location: Canada

Postby iebnn on Tue Feb 13, 2001 6:04 pm

I really don't think I know enough of C to do this. If it's relatively easy, would someone else care to make it? Then I could get started on the first MMORPG for the Palm :) How hard is it to program it so that PocketC can use those TCP/IP libraries? Maybe you could make the library for me? Or someone else? thanks
iebnn
 
Posts: 42
Joined: Fri Feb 09, 2001 8:40 pm

Postby iebnn on Tue Feb 13, 2001 7:02 pm

so any chance someone could write this? thanks
iebnn
 
Posts: 42
Joined: Fri Feb 09, 2001 8:40 pm

Postby iebnn on Tue Feb 13, 2001 10:46 pm

I'd just like to remind you that if no one writes this library for PocketC for TCP/IP, this project will never get done...
iebnn
 
Posts: 42
Joined: Fri Feb 09, 2001 8:40 pm

Postby jstadolnik on Wed Feb 14, 2001 1:24 am

iebnn, you're sounding pretty redundant. One such post on this is enough.

What you're asking for is a big job... at least 30 hours of work. The native library side of this is easy. The difficult part will be with handling the sockets. Fortunately, Palm has done most of the work, by providing a Berkeley-clone socket library (the Net Library). Another tricky aspect is the testing part.

Very few pocketC users have had experience with socket programming.

Since you have done this kind of programming and you have the desire for such a library, I suggest you write it yourself. You are the ideal canditate for the job.

So stop your nagging, and just write it. You can find palm TCP/IP examples at: http://www.palmopensource.com

Good luck.

Joe
jstadolnik
 
Posts: 1741
Joined: Wed Dec 06, 2000 3:34 am
Location: USA

Postby iebnn on Wed Feb 14, 2001 6:05 pm

there's no way I could do this
I have only done simple TCP/IP and UDP programmiong in Visual Basic... just connecting, sending data, and closing the connection. I don't know anything about sockets.
Sorry for the redundancies... I'd just love to get this project done, but someone else would have to write the TCP/IP library. Would it really be 30 hours work?? If there's already the Net Library...
I just need to do simple things (send integers and strings). And I noticed a lot of other people had an interest in this. If this was released, we could finally develope good Internet apps!!!
iebnn
 
Posts: 42
Joined: Fri Feb 09, 2001 8:40 pm


Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 1 guest

cron