forums

TNT Basic Forums > Programming Q&A
Networking Example
< Last Thread     Next Thread >
Author
Thread        Post A Reply

11-30-2002 01:35

Posted by:
Toxicgonzo

Find more posts by Toxicgonzo

Hi,
I tried playing the Networking Example with my two home computers but it never works.

I get this runtime error: Array Index Out of Bounds for line 163

161 int n = Net ID
162
163 Set Net Data gUp[n],Up

Anyone know what the problem is?

12-01-2002 05:42

Posted by:
Toxicgonzo

Click Here to Email Toxicgonzo   Find more posts by Toxicgonzo

Nevermind

Okay, nevermind. I fixed the problem by giving variable n an integer value rather than having Net ID give it a value. However, the computer that is joining always gets disconnected after a few seconds into the game for no obvious reason.

Why does it disconnect and how can I fix it?

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.