Create A Multiplayer Game - Send Some Text

Jan 9, 2011

I'm trying to create a multiplayer game, but i don't know how to communicate between my programs, what I'm trying to send is some text, which my program can understand it. I searched for it and for making a chat application but found no working results...

View 10 Replies


ADVERTISEMENT

Making A Chess Multiplayer Game

Jun 19, 2012

I am trying to make a Chess multiplayer game in Visual Basic. Its a two player which will be played in a normal way and not even over LAN. So far, I am done designing the board.

My logic is: First, on clicking any square, the click event handler will check whether a piece resides on that square. If not, then it checks if a piece is to be moved to that square. If both are negative, then it does nothing.

Now, the problem with this is, how do I code the click events? Also, I have represented the board using a 2dimensional array. But how do I update the positions after every move? And how do I check whether legal move is being executed? One more thing I want to add is whenever a piece is clicked, the possible legal squares should be highlighted.

For this, what I did was, for every click event on any square it checked if there was a piece. If there was a piece, then it highlighted all possible moves for that piece using If-Else-If logic, but it turned out to be too cumbersome and too long. And another problem which arose was, how do I know that if the user clicks an empty square to move the piece there?

View 2 Replies

VS 2008 - Make An Online Multiplayer Game?

Jul 17, 2011

I was looking at this example: Basic TCP Communication I was really amazed by this piece of code however it only works in WLAN. I was thinking if its possible to make the same program over internet not the same router but which can be connected to two different countries or any other place except the same network?

Actually I have created a very simple game called whack a mole. In which buttons appear and the user has to click it before it disappears. however I am trying to make it multiplayer over the internet even if i have to create a server from my PC. I dont know if its even possible. The other player should also get the same screen as the user who hosted the game just like real time.

View 4 Replies

Developing A Minesweeper Flags Game And The Multiplayer Version Is All Setup?

May 17, 2012

So I'm developing a minesweeper flags game and the multiplayer version is all set up, but the single player version is still under developement. It's important to refer that I'm using a DataGridView, and I'm applying r = tab1.CurrentCell.RowIndex + 1 and c = tab1.CurrentCell.ColumnIndex + 1 to see where the player clicks. What I want to do is to make the AI click any random cell when it's turn comes, but how do I do this.

View 1 Replies

API's In The Microsoft Flight Simulator X SDK About Multiplayer Chatbox Or Any Multiplayer Functions

Jun 2, 2011

I am making a program for Microsoft Flight Simulator X, and When you are in Multiplayer in most games there is a Chat room, or Chat Box. Do you think that there is any way I can reach maybe an API or possibly monitor the Screen so If someone types !Help in the chat box my bot would Respond like "Software by (whoever) other commands" stuff like that. But I cant seem to find any info about API's in the Microsoft Flight Simulator X SDK about Multiplayer Chatbox or any multiplayer functions in that matter.

View 2 Replies

Game Programming :: Create A Picture Shuffle Game?

Jun 4, 2012

I am all new to Visual Basic 2008, I am trying to create a picture shuffle game, the problem is I cant seem to be able to move one picture from PictureBox1 to PictureBox2 onClick, here is a Code I written earlier:Sub ChangePicture(ByRef P1 As PictureBox, ByRef P2 As PictureBox)

[Code]...

View 1 Replies

Game Programming :: Create A Zombie Style RPG Game

Sep 11, 2009

Is there any visual basic 2005/2008 RPG games with the source code available for download.Could you possibly reply to this post with a link to the website with the game.Or is there a template i could use to try create a zombie style RPG game text or graphical.

View 2 Replies

Create An Application To Send An Email As A Sms Text Message To The Recipient?

Jun 22, 2009

create an application to send an email as a sms text message to the recipient?

View 1 Replies

Game Programming :: Prevent Users Typing In Random Letters In A Text Box-Scrabble Game?

May 4, 2011

I have created a scrabble game that generates random letters. For the user to type in a word using the random letters they have to type it in a text box.

I want my program to prevent users from typing in letters that are not provided in the text box and to allow them to type in the random letters that are provided.

View 4 Replies

Also Key To Send The Game Into Joistick

Jul 13, 2010

I want to send Joistick keys of a keyboard to play games when I can send key joistick use AutoIt but I did it when the keyboard is disabled and everything is wasted,

View 3 Replies

Send Keys To Game?

Jun 26, 2010

ok before i start this game is Halo:Combat Evolved, campaignand well the sendkeys doesnt work what i want to do is

Private Class Form1
Private sub bth_clk blah

[code]....

View 2 Replies

Send A Key To A Game - Dosent Work

Mar 11, 2010

Im trying to send a key to a game but it dosent work. i have tryed this

CODE:

It works in Windows but not in a game

View 3 Replies

Send For Minesweeper Game Program In C++?

Jan 10, 2010

i want you to send for me minesweeper game program in c++ please explain it step by step that how you made it.my e-mail is fof_gof@yahoo.com.please please please send me.ok?i am not very familiar with programming in c++.

View 2 Replies

VS 2008 Send Keys To Game Window?

Aug 8, 2009

How can I Send key Strokes to a Game ? I don't want to Cheat or anything this is for private use

View 17 Replies

VS 2005 Send Information To USB Video Game Controller?

Dec 24, 2009

Is it possible to send information to a USB Video game controller in VB.Net? The kind of information I want to send to it is information causing the device to think that a button is pressed on the controller when it really is not. Or even better, is it possible to make a USB wire that connects to your computer and another USB port on something such a computer and send information that a video game controller would send to the other computer or whatever? Basically what I want to do is emulate a guitar hero controller sending the data of the buttons being pressed to an xbox 360 console.

View 6 Replies

VS 2010 : Send RCon Commands To Game Server?

Dec 20, 2010

im trying to send RCon commands to a Call of duty: Black Ops game server.I read a thread from a few years back about sending RCon commands to a CoD 4 server, and all look promising until the application kept crashing when I pressed connect.

[code]....

all I want is to be able to send a few commands to the server through an application.

View 18 Replies

Developed A Multiplayer Games Using VB?

Mar 31, 2010

i have a question regarding how to developed a multiplayer games using VB. i am a student and beginner on VB world.i managed to create a simple Sudoku game using VB knowledge from the internet and some books.I am fan of Sudoku games published in newspaper everyday.but now i really interested on how to develop the multi-player version using the same coding. is it possible?

i tried to write a script on developed tic-tac-toe for multi-player based from a book using VB6 for an example but got many errors. how to develop a simple multiplayer for Sudoku? i'm using VB 2008 Express Edition.

View 1 Replies

Keys For Multiplayer Games

Jul 13, 2009

I am trying to make a two player game.Each player is able to move left and right, aim up and down, jump, and shoot.On some occasions when a number of keys are being pressed at once, some other keys wont register.For example, you can hold a key down to keep moving left, keep holding a key down to aim up(changing the angle), keep holding a key down to keep jumping, keep holding a key down to keep shooting. and there are TWO players at the same time:if both players are shooting, only one can aim down(press key to change angle). but it is fine if both trying to aim up ? Can the keyboard not handle too many keys at once?

View 1 Replies

Game Programming :: Send Words And Numbers To Another Computer Using Internet?

Mar 16, 2009

ability to send words and numbers to another computer using internet. (I would prefer if a server computer wasn't needed.)

View 1 Replies

Maze Game - Send Cursor Back To Start When Button Releases

Jun 15, 2011

I am making a maze game like the one shown in the how to, I recently discovered that if you hold the right mouse button a you can go through the wall. Is there a way to make the mouse lock and not move when the user trys to hold the button down
or
When the user releases the button it resets. Like in the web browser with
If e.KeyCode =
Keys.Enter
Then
e.SuppressKeyPress =
True
WebBrowser1.Navigate(ToolStripTextBox1.Text)
But with the mouse button when it releases send the cursor back to start.

View 2 Replies

Use The Send Keys Function To Send Text To Another Program?

Apr 29, 2009

I am trying to use the send keys function to send text to another program.I ahve gotten it al working well, except for using () as I know sendkeys doesnt like these.I have tried using the Replace function in several places in my code to replace the ( with {(} and {+0} etc, with various other options tried.But when I run the program, it seems to skip this out completly and leaves them in the string as (, and therefore it errors and wont run.When I step through it, it goes through the function but doesnt alter the strng as it should. This is the code to send the string and my attempt at making it replace the () in the module

Module TextReplacement
Private Declare Function GetAsyncKeyState Lib "user32.dll" (ByVal vKey As Int32) As Short
Dim counter As Integer
Dim sData() As String

[code]....

The error I get when i try send "Test :)" is: ArgumentExcveption was unhandled "SendKeys string 'Test :)' is not valid"

View 2 Replies

Create "a Windows Form Game Called Yahtzis Which Uses Five Dice And Three Throws To Create A Score"?

Oct 18, 2010

i am suppose to create "a windows form game called Yahtzis which uses five dice and three throws to create a score" .

The problem is that i don't even know how to start it can anyone shed some light.

View 2 Replies

Game Development - Write Text In A Already Existing Text File?

Apr 7, 2012

I've been developing a arcade game, and as every good arcade game, it has an incorporated scoreboard so that players can see who scored better. My problem is that everytime it enters a new scoreline, it deletes all the previous lines in the text file. The code I've been using is the following:

If player1 > 25 Then
objReader.Close()
MsgBox("O " + jogador1 + " ganhou.")[code]............

View 2 Replies

Create A Basic Mmo Game For Fun In .net?

May 14, 2012

I'm trying to create a basic mmo game for fun in vb.net. I have done it before with a game api but I'm recently reformat my computer and can no longer find it. I'm trying to dynamically create a new picture box that will be my character or NPC and I can get the image to show up on the screen correctly but I'm not able to use "myGuy" anywhere else in the project. So the character basically sits there and does nothing. I'm wondering if there is away to call "myGuy" (myGuy.Top = 40) in another sub? If you know of a good game api that is not a hog and not expensive let me know.

[Code]...

View 3 Replies

Create A Football Game In .NET?

Mar 24, 2012

I spend my spare time trying to create a football game in VB.NET. I have a save game file saved using serialization which I am using to test code. This file contains all the elements of gameplay (stored plays, games, options, etc...) I create this file in the software itself using the code I created; I put a lot of work into this save game file and I would like to continue using it.

However, I discovered I need to add a couple member variables to the class from which the saved object is derived (object is called m_League, class is ClLeague). Any time I've altered ClLeague my old saved games don't load anymore because the new m_League object does not match the old m_League object. I have to start a new game and create m_League from scratch which wastes a lot of time.

This must pop up in with the professionals out there who write patches for software and need the users old saved files to continue working. Is there any trick to this situation or do I have to just accept it?

View 3 Replies

Create A Memory Game In Program?

Apr 16, 2012

I am a noob to Visual Basic and I am currently learning it at my college. I have a final project to do and I am having some trouble deciding on how to attack it. First off, I have done a lot of research and I cannot find my answer, so I am using this(post) as a last resort. The book my prof is having me use is outdated, its coding on vb6, and we are using vb2010...hence my problem. I am not looking for an answer in code, but more to be pointed in the right direction, or maybe some classes that I do not know about.[code]...

View 7 Replies

Create A Quiz Game Application In .NET?

Sep 23, 2010

I am building a quiz application in .net just like on flash mini games, is this possible in .net? and what is the easiest way to create this? make moving objects, cartoon interface and etc. also, it is supposed to be a standalone application.

View 1 Replies

Create A Scoring System Game?

Aug 6, 2009

how can i create a scoring for system for my Maths quiz game made using VB.My quiz game can generate automatic numbers / questions and shows a message box whenever the user gets the answer right or wrong. i.e.when the user presses the check answer button, a message appears stating that he/she go it right or wrong. Then the user can press the next question button to get a new question.

View 8 Replies

How To Create Save Game Function

Oct 17, 2011

I am trying to create a game using vb but don't know how to create a "save game" function. I was told something about saving to files but don't really understand it.

View 2 Replies

Create A DLL Injector For Using It In A Game But It Didn't Work

Jul 18, 2011

I've tried to create a DLL injector for using it in a game but it didn't work for me, here's the code:

Imports System.IO
Imports Microsoft.Win32
Public Class Form1

[code]....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved