1,105,169 Community Members

how to make an online multi-player game server preferably in batch.

Batch Devil
Newbie Poster
10 posts since May 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 2 [?]
Skill Endorsements: 0 [?]
Banned
 
0
 

I was wondering if it is possible to make [I]an online multi-player game server preferably in batch.[/I] I am hoping to make a PowerPoint game that can be multi-player with the help of batch. Also even answers that do not suit my requirements fully will help, because i am 11 years old and this is about all I know of batch script:

@echo off

@echo on

echo (%time%) (%date%) (%Computername%) (%Username%)

cls

dir /s

del

ren

rename

title

color 

echo.

ping localhost -n (number in seconds) >nul

pause

start (path) (or filename.extension if the file is in the same folder)

::

:

Goto 

msg * (message)

msg "Title" (message)

exit

taskkill

refresh

IPCONFIG

PING

TASKLIST

set /p letter=
if %letter% == (letter) (operation)

set/p one=

set/p two=%one%

set/p three=%one%%two%

set/a final=%one%%two%%three%

(echo) %one%%two%%three%=%final%

and not much more realy, but what i don't know in batch i try to make up for in javascript, vbscript, C++, htm, html. etc.

Thank you in advance.

PS.Is there any difference between html and htm
Is there any difference between batch and n2
It would be realy helpful in a project i am making if you could help!

Member Avatar
sergent
Posting Pro
593 posts since Apr 2011
Reputation Points: 52 [?]
Q&As Helped to Solve: 26 [?]
Skill Endorsements: 0 [?]
 
-1
 

In batch???
Why would you want to do that???
Batch is really old. It does not have graphics either, nor multiplayer capability. You can make a super simple word-based game but not much more.
I advise you try C++ with DirectX or OpenGL or XNA Studio.

PS.Is there any difference between html and htm
No. Old computers could have only 3 letter extension so them used htm instead of html. It doesnt matter.

Member Avatar
nssltd
Junior Poster
122 posts since Jul 2010
Reputation Points: 21 [?]
Q&As Helped to Solve: 2 [?]
Skill Endorsements: 0 [?]
 
-1
 

He may be using batch as a kick off point. Commonly enough in games they use batch file. Most definitely in valve games i think. But batch is more suited to downloading and installing updates ( that's how i see it's used. ) thank creating anything other than hangman?

As sergent said i agree with the C++ idea. but depending on how far you want to go with this. If you only ever want to go to small basic X's and O's games. Then i would honestly sugest visual basic. Because it is very easy to learn and has tons of built in classes.

Do listen to sergent suggestion of XNA. It's not too bad!

Maybe try Java?

Have you tried searching google and looking for results? Maybe searching the forum.

I found this simple result from searching : http://technet.microsoft.com/en-us/library/dd309586.aspx

NSSLTD

Batch Devil
Newbie Poster
10 posts since May 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 2 [?]
Skill Endorsements: 0 [?]
Banned
 
0
 

Hi,
Would any programming language be able to operate a powerpoint file?

Batch Devil
Newbie Poster
10 posts since May 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 2 [?]
Skill Endorsements: 0 [?]
Banned
 
0
 

Thanks for the replys! XNA was very helpful! I have one more question:
Could the same batch file be used by many users at the same time and each of the users can see each other users progress.
This would help in creating a multi-player fighting game like: http://www.naruto-arena.com/the-basics/
Thanks in advance!

Member Avatar
sergent
Posting Pro
593 posts since Apr 2011
Reputation Points: 52 [?]
Q&As Helped to Solve: 26 [?]
Skill Endorsements: 0 [?]
 
0
 

Would any programming language be able to operate a powerpoint file?

It is POSSIBLE, because powerpoint reader/creator was created with one of the programming languages. But it is SUPER hard. You will get something like this:

´ñCËßwOÕ-g”Ák°ÁcËg$¾í./šÝ‘XQ{jù˜s¼“’ÔˆH„ˆ¾túä’¦AFP0 ¼®ë©‚Ïès•—¼k°‡Éföx(壓„–8»?.¬–CŒÖ(ÈÅ©Ü{ý‹R¢(×M¤«bƒË³„¥ó7à¤{-¯IF#{ƒ”_ÀR'’dKñæ0åÉFü¿öŒïÐ÷F¡jrå'"&¤×œß@_·ÈõõÝ'   ÿÿ PK     ! pð8ܾ   8     _rels/.rels„Á
Â0Dï‚ÿönÓz‘¦½ˆ xý€%Ù¶Á6	Ù(öïÍÑ‚àqæÍLݾ§Q¼(²õNAU” Èio¬ëÜo§Í'tGïHÁLm³^ÕW1å6°ÈÇ
†”ÂAJÖMÈ…ä²Óù8aÊ2ö2 ~`Or[–;¿Ð,˜âlij©@Üæ›ÿ³}×YMG¯Ÿ¹ô£Bòh
]pöÏ”±{J
Läoc!ª"ïÙÔrñ·ù   ÿÿ PK     ! GI‘ö  Ë
  !   drs/slideLayouts/slideLayout1.xmlÌWÝrÚ8

It is much easier to create an HTML editor and edit HTML files because they are actually made to be read by humans.

And can I ask you why you want to make a program to operate powerpoint?


And sorry, I don't know much batch so I cannot answer your last question :(

Member Avatar
Tech B
Posting Whiz in Training
268 posts since May 2009
Reputation Points: 48 [?]
Q&As Helped to Solve: 33 [?]
Skill Endorsements: 0 [?]
 
0
 

You don't want to use batch for a server. There is no threading capabilities for such a task. You will want a language that has a strong web development base, such as python or php.

Member Avatar
mali.sandhya2
Newbie Poster
9 posts since Jun 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
0
 

Thanks a lot but is this free to play online games?

Member Avatar
sergent
Posting Pro
593 posts since Apr 2011
Reputation Points: 52 [?]
Q&As Helped to Solve: 26 [?]
Skill Endorsements: 0 [?]
 
0
 

Is it free to play online games? What do you mean?

platinum8
Junior Poster
107 posts since Jul 2008
Reputation Points: -9 [?]
Q&As Helped to Solve: 5 [?]
Skill Endorsements: 0 [?]
Banned
 
0
 

He may be using batch as a kick off point. Commonly enough in games they use batch file. Most definitely in valve games i think. But batch is more suited to downloading and installing updates ( that's how i see it's used. ) thank creating anything other than hangman?

As sergent said i agree with the C++ idea. but depending on how far you want to go with this. If you only ever want to go to small basic X's and O's games. Then i would honestly sugest visual basic. Because it is very easy to learn and has tons of built in classes.

Do listen to sergent suggestion of XNA. It's not too bad!

Maybe try Java?

Have you tried searching google and looking for results? Maybe searching the forum.

I found this simple result from searching : http://technet.microsoft.com/en-us/library/dd309586.aspx

NSSLTD

http://article.feedznow.com/how-to-make-an-online/1722353692.aspx, I hope this article will help you to gain more knowledge.

Member Avatar
skatamatic
Posting Shark
980 posts since Nov 2007
Reputation Points: 371 [?]
Q&As Helped to Solve: 133 [?]
Skill Endorsements: 5 [?]
 
0
 

I don't think any native windows console commands support sockets. So making a multi-player game in batch is going to be impossible. I suppose it could be possible to create a file on a shared path on a network, then use batch to read the file and display the scores/etc of other players. But it would literally be easier to learn a real programming language.

fluffypinkbunny
Newbie Poster
1 post since Jun 2013
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
Unverified Member
 
-1
 

thats not true guys. batch isn't useless. i was able to create a batch platform game with gravity and physics. i even made a 2D CLONE of Black ops. someone even made a 2D batch clone of minecraft. batch isn't useless at all.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: