I'm trying to send information from one computer to the other, i got them to join the same game, but when i try to send a string nothing gets sent... or recived.. or displayed i don't know whats going wrong. The examples that DBC came with arnt helping, this is what i got...
always active on
set window on
`determine if we are hosting or joining
input "Press h for Host and j for join... ",HostJoin$
perform checklist for net connections
`display connection types
for Num = 1 to checklist quantity()
print str$(Num) + " " + checklist string$(Num)
next Num
input "Select a connection type... ",ConnectType
input "Enter host IP ",Adress$
set net connection ConnectType,Adress$
`if we are hosting
if HostJoin$ = "h"
create net game "MultyTest", "Player 1", 2,1
endif
if HostJoin$ = "j"
empty checklist
perform checklist for net sessions
`don't try to join anything until there is a game
repeat
until checklist quantity() > 0
`display games
for Num = 1 to checklist quantity()
print str$(num) + " " + checklist string$(Num)
next Num
input "Select a game... ",GameNum
`join the selected game
join net game GameNum,"Player 2"
endif
`clear the screen
cls
do
perform checklist for net players
for Num = 1 to checklist quantity()
text 0,15*Num + 15,checklist string$(Num)
next Num
if net message exists() = 1
get net message
ink 0,0
box 0,0,50,50
ink rgb(255,255,255),0
cls
text 0,0,net message string$()
endif
Send net message string 0,inkey$()
loop
can anyone tell me what i'm doing wrong? or point me at a good tutoral?
King of the asked question