Ohmnivore / HaxeNet

:satellite: Haxe bindings for ENet
http://fouramgames.com/blog/haxenet
Other
27 stars 4 forks source link

some problem with onReceive() at Client (or sendMsg() at server side) #2

Closed Ayyyg closed 10 years ago

Ayyyg commented 10 years ago

I'm trying to use this create a multiplayer game, but I met some problem

I called sendMsg at server , but client never receive it and it doesn't matter which message has been sent,

I put trace(E) in client onReceive(), but I never seen trace result appear in console it's looks like it just don't work (either client's receive is broken or server's sendMsg not work)

Ayyyg commented 10 years ago

Ah, never mind, I found that client ID messed up,