jrwr Posted May 31, 2009 Posted May 31, 2009 Here is what i want do to, have 2 servers connect to one another, the game pad is then ether put into windows as a fake joystick (really cool but not needed) or mapped to keys, D-Pad and Buttons will only be used, i see : http://www.autoitscript.com/forum/index.php?showtopic=94834 this might help with the Joystick Part, but what about the network part, this is for a fighting game that is dirt old, and doesnt support networking, but if we run the same game at the same time, it "should" work
Bert Posted May 31, 2009 Posted May 31, 2009 can you try to explain that again? The Vollatran project My blog: http://www.vollysinterestingshit.com/
jrwr Posted May 31, 2009 Author Posted May 31, 2009 its a 2 part system, decodes the gamepad data into a keypress sends it over the interweb, client get the data, sends the input command, and the same for the client, when he uses his joystick, it will send me data and run the commands on my system
Bert Posted May 31, 2009 Posted May 31, 2009 So, from reading both post, you need help with the network part. YOu may want to do a search for client server scripts in the forum. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Authenticity Posted May 31, 2009 Posted May 31, 2009 So, in short, you want one system the push for example A button if the other end is pushing this same button, same for the rest of the buttons, etc..? If so, you need to hook the device or process the WM_INPUT on both ends. Once a key is triggered, you send it's keycode using the TCP functions and post this event using one of the appropriate functions: Send(), SendInput() API.
jrwr Posted May 31, 2009 Author Posted May 31, 2009 (edited) maybe this will help have the users gamepad commands sent to one another so that the game is in sync I know its hackish to no end, but bringing somewhat multiplayer to a game will be fun Also i have no idea where to even start with the joystick, as i want to map the gamepads to key presses Edited May 31, 2009 by jrwr
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now