I found a way to get it to work. Unfortunately it is not the desired method. I put the sockets in non-blocking mode so that the program wouldnt freeze while it waited for information from the server or during connection. For the section that connected I put the socket temporarily back in...
Thanks for the response.
No exceptions are thrown and therefore no stack trace.
When trying to connect it just simply doesnt.
It is not an applet and I believe the connection between the computers is fine.
I am writing program to be used over a lan network. I am trying to get one computer connect to a server that is located on another computer. When the server and client are on the same computer, one can connect to the other. However, when trying to connect to another computer, the connection...
I am writing a multiplayer game to be played over a lan network. I am trying to get one computer connect to a server that is located on another computer. When the server and client are on the same computer, one can connect to the other. However, when trying to connect to another computer, the...
I am using a book called Programming A Multiplayer FPS in DirectX to learn Directx programming. When compiling this code I get an error that searches for the LIBCP.LIB file. At:
http://msdn2.microsoft.com/en-us/library/abx4dbyh(VS.80).aspx
it tells me that Visual Studio no longer uses this...
I found this workspace with the original file that I am trying to recreate. I added it to my list of files and it solved that problem. However, I got a linking problem:
------ Rebuild All started: Project: Engine, Configuration: Debug Win32 ------
Deleting intermediate and output files for...
Im creating a program using COM objects. I am getting a compile error saying:
.\Engine.cpp(72) : error C2065: 'COINIT_MULTITHREADED' : undeclared identifier
.\Engine.cpp(72) : error C3861: 'CoInitializeEx': identifier not found
Because it is saying it is undeclared I am asuming that it means a...
I am a C++ programmer trying to start making games using the Directx SDK. Could someone give me a good website that has tutorials and teaches 3d graphics programming with Direct3d, sound with DirectSound, and DirectInput/Play
I am going to be learning a new language. Online I have read that other than C and assembly languages, C++ and C++.net are the languages that will be best to learn, fastest, most powerful, and will support all of the features I will need in game development. When I went to Microsoft.com, it said...
Thx for the reply. I get it now, but I have heard of an even faster way of doing it. XML Socket connection. I understand how it works completely, except how it recieves/sends data. I understand to use xmlObject.send("string"), but how do I send multiple things at once and be able to pick it...
>>>I am trying to start making multiplayer games. I have a few ideas of how to make a multiplayer game for flash, but I am having troubles with almost all of them. If you have a better way of how to do it, please tell me.
>>>My first way is to load variable from xml into flash. I would then...
Never mind. I did a little trial and error and found away to get it to work. For those who are looking at this for an answer, I did:
onClipEvent(enterFrame){
for (i = 2;i<5;i++){
if (this.hitTest(_root.menu1["menu" + i])){
_root.score = _root.score + 1;
// or...
I am developing things for others as a template. However, because they dont know actionscript, my code has to be able to mend to what they have. One of the things I am doing is making a maze game. However, I am not specifying how many wall they must have. So therefore, if I use a hitTest, I...
On the site I found something that explains how to send variables from flash to php. It is much simpler than I thought it would be. However I cant find something that explains how to connect/ make a database. Thanks for the other reply, it has solved half of my problems.
The place that...
I am pretty new to flash and php, but I know the basics of both. I have made plenty of flash games, but I am having trouble making a highscore board in which the scores will save. When I simply save them as a var( var highscore; highscore = 10 (or whatever)) they are lost when I leave and/or...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.