Hello, I have been using VBS for years (as a Hobby) but have never uses an ActiveX control before.
I have written a 2 player card game, played over 2 PCs, so you can not see each others cards ( it a MTG type game )
Currently when a card is played , the data is saved to the hard drive and every 3 seconds the other PC loads the new data, This works some of the time but it crashes a lot, hence I need to use Winsock.
I have done a few tutorials and have simple chat programmes working well,- I want to move an array of data.
The card game is obviously turn based so the data all goes 1 way till the turn ends then it will swap around. I have written a small test program to try and move an array of data. It does not work.
I'm using UDP for two reasons, the data moving is small, and I read it was easier. If I have to use TCP I will.
If anyone can post code that does move an array that would be great as I learn best that way.
I will provide more info and answer questions as needed, I'm good at what I know, but there is a LOT I do not know yet.
Thanks for reading...Steve
I have written a 2 player card game, played over 2 PCs, so you can not see each others cards ( it a MTG type game )
Currently when a card is played , the data is saved to the hard drive and every 3 seconds the other PC loads the new data, This works some of the time but it crashes a lot, hence I need to use Winsock.
I have done a few tutorials and have simple chat programmes working well,- I want to move an array of data.
The card game is obviously turn based so the data all goes 1 way till the turn ends then it will swap around. I have written a small test program to try and move an array of data. It does not work.
I'm using UDP for two reasons, the data moving is small, and I read it was easier. If I have to use TCP I will.
If anyone can post code that does move an array that would be great as I learn best that way.
I will provide more info and answer questions as needed, I'm good at what I know, but there is a LOT I do not know yet.
Thanks for reading...Steve