1. so commandline$=CL$ is reading from commandline. ok. em, how do i set the code that he must read so (hostgame) liek this commandline$=CL$(hostgame) ?
2.frags are Kills
case AIACTHOSTGAME:
createorjoin=1
gmultiplayergame=1
endcase
case AIACTJOINGAME:
createorjoin=2
gmultiplayergame=1
endcase
and i found this withing the join game :
if createorjoin=2
rem if client, send this click to server
MULTIPLAYER SEND FROM PLAYER multiplayeridlink(iLocalEL)
write memblock byte 102, 0, 212
write memblock byte 102, 2, stateplayagain(iLocalEL)
write memblock dword 102, 4, multiplayeridlink(iLocalEL)
MULTIPLAYER SEND MESSAGE memblock 102,0x0080,8
inc guarenteedbytes,8 : inc unreliablebytes,0
endif
this is what i found for hosting and joining but i cant be any wise for it.. how can i set the IP for instance.