Multi User game programming

Hi All,
Hey now i am trying to make some games, I want to design a game with multi users.
If u have any tutorials, books or links related to this type of code, please forward me for this or my mail id - swamy.webdesigner at gmail.
Thanks,
K Swamy Vishnubhatla,
webdeginer.blogspot.com,
http://www.vishnubhatla.ueuo.com.

bump
I wouldn't mind knowing why RMI isn't good idea for this as well.
Is there a monster in RMI that new people like me don't quite fully understand? It seems like a nice little tool for creating very cool networked programs??

Similar Messages

  • [JOB]Looking for multi user game developer

    Looking for a game programmer to develop multiuser user
    shockwave game(s).
    Game will be like the quake/unreal series.
    This is a paying job.
    Please email [email protected] if you are interested or
    know someone who might be.

    Hi Leonid, We have good and experience team on Biztalk and worked on Middleware tool AMTrix.
    Please find our details:-
    iVision Software is a 9 year old software development organization with expertise in Biztalk among other technologies. We have worked for clients like GE in various geographies like USA, Scandinavia
    and India doing both EAI and B2B integrations. Our people work closely with their client counterparts taking care of their business needs utilizing Agile methodologies. We provide an optimal combination of people who are experts in their field and in working
    offshore with onsite business teams resulting in great quality service at low prices. Please find below a brief description of our capabilities.
    The iVision BizTalk Developer Team have the following competencies:
    Developing xml schema, flat file schema and EDI Schemas.
    Developing simple and complex maps as per the requirement.
    Implementing  various Integration patterns in BizTalk.
    Implementing various design patterns in Orchestration.
    Comfortable in handling Exceptions.
    Working on BRE and BAM.
    Creating C# helper class, custom functoid and custom pipeline components whenever required .
    Proficient with Visual studio , SQL Server .
    Working with following adapters : FILE, FTP,SMTP, WCF-SQL, SQL, SOAP, WCF-custom
    Custom XSLT
    Packaging and deploying application.
    Expertise in EDI X12 , EDIFACT and major XML standards(cXML, OIOXML,UBL,Svefaktura,Finvoice,xCBL etc).
    Proficient in creating EDI Agreements and Trading Partner Profile.
    For further discussion, please drop email to me at [email protected] or skype me at atul.kumar651984
    Regards,

  • Multiplayer game programming - Code of a basic server

    I'm a beginner in multiplayer game programming and I'm looking for the code of a basic server for a multiplayer game. I don't mind which kind of game (I mean: chess, ping-pong, battlenet...) The important thing is the code pattern abnd the server structure.
    Could anyone help me?

    If you want to have a look at a generic multi-threaded server, check out the Java networking tutorial.. there's a basic example server that responds to a "Knock knock, who's there?" conversation.. you can start off with it..
    Of course it's not a game server but you could try sticking in a game engine to maintain the game world and change the user sessions to a proper game protocol.. e.g. sending key strokes or joystick movements. You could also get the server to send player and enemy positions etc...
    Good luck!

  • Multi user catalog and how to make it - use a checked out system

    Lots of people want or need a Multi user ability in lightroom here is one way to achieve multi-user catalogs by using a check-in check-out system.
    The Catalog would open normally upon a second user opening LR would then ask to switch to multi-user mode.
    Once in multi user mode lightroom would lock-out images, collections, or folders by a checked-out for editing system.
    By checking-out images, collections, or folders: files would be unavailable to other users until edits are saved, and the images, collections, or folders are checked-in.
    This check-in check-out system would need a global check-in feature in case someone forgot to check in an image, collection, or folders (global check-in could be admin level). Word documents, CAD files, etc, use a similar lock-out/read only system for the files. Since, we wouldn't want to bloat the files with programing to lock out the files, this would have to be added to the catalog and managed by the catalog.
    My system
    Vista Ultimate 32bit SP1
    AMD 64X2 duel core 6000+ 3.2Ghz
    6GB 666mhz Ram PAE force enabled
    NVIDIA Gforce 7600 256MB video card (1.75GB total with system shared ram)
    primary hard drive 500GB
    Hard drive 2 400GB (system and photoshop paging files and lightroom catalog drive)
    Hdrive 3 1TB (primary image storage)
    user control turned off
    system graphics set to performance
    Duel display
    LR 2.0
    PS extended CS3

    Your thread pool is a pool and probably keeps
    the thread alive even though the thread has nothing
    after a minute toi execute - you'll have to call its
    shutdown() methodThanks Oxe...
    I googled that (easy when you know what the answer is) and yes the ScheduledThreadPool retains threads for re-use, so you have to check that all threads are done and then shutdown() the scheduler... like this:     while (!future.isDone()) {
              try { Thread.sleep(10); } catch(InterruptedException e) {}
         scheduler.shutdown();
    ... here is the complete working class:
    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.ScheduledFuture;
    import static java.util.concurrent.TimeUnit.*;
    import java.awt.Toolkit;
    class BeeperControl {
         private final ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1);
         public void beepForAMinute() {
              final Toolkit tk = Toolkit.getDefaultToolkit();
              final Runnable beeper = new Runnable() {
                   public void run() {
                        tk.beep();
                        System.out.println("beep");
              final ScheduledFuture<?> future = scheduler.scheduleAtFixedRate(beeper, 250, 250, MILLISECONDS);
              scheduler.schedule(
                   new Runnable() {
                        public void run(){
                             future.cancel(true);
                   }, 3, SECONDS
              while (!future.isDone()) {
                   try { Thread.sleep(10); } catch(InterruptedException e) {}
              scheduler.shutdown();
         public static void main(String[] args)
              BeeperControl bc = new BeeperControl();
              bc.beepForAMinute();
    }Thanx again. Keith.

  • How to send one email to multi-users using JavaMail ?

    I am using JavaMail API. I am working in "sending emails to users", I had already tested "one email to one user" and got success but when tried to send one email to multi-users then I failed to do that?
    Can anyone help me to do this?
    I have used the below code to send to multi-user:
    Address[] toAddr = {new InternetAddress(_to),new InternetAddress (to2)};
    msg.addRecipients(Message.RecipientType.TO, toAddr);
    But it is static only 2 users. I want to send to multi-users dynamically taking datas from database.
    I have tried by using below code but it doesn't work.....
    InternetAddress[] emails;
    while (resultset.next()) {
    temp = resultset.getString(1);
    emails.setAddress(temp);
    i++;
    Address[] toAddr = emails;
    msg.addRecipients(Message.RecipientType.TO, toAddr);
    Thank you in advance...
    -ritesh

    I think you're confused about some basic Java programming techniques.
    There are two obvious ways to do this.
    1. Call the addRecipient method in a loop.
    2. Collect all the recipients in a List, convert it to an array, and call addRecipients.

  • Multi-threaded server programming

    Hello, I meet a problem and don't know how to solve it: I have created a multi-threaded server program which receives multiple users from their own PCs. The server program receives users'commands and echo it back to all users who are currently connecting to my server. I store every clientSocket connecting to my server into a vector. My question is: how the server broadcasts a user command to other users? And how the server knows to which user he will echo the command to since the hostName and port number are the same to every user currently connecting to my server? Thanks a lot.

    You should look at extending the Socket class to encorporate user details. Either use what peter suggested or make the user pass a username (or something) when they connect.
    When you want to broadcast to all users just enumerate through your vector and send each one the command. If you mean the user performs a task on their application and you want to produce the same results in all the other users apps then its down to you to code it. When user1 clicks on a button the app must send a command (eg. a string) to the server which sends the same string to all other users. When the user receives this string it performs some task.
    Is that what you mean?
    Ted.

  • Applet Game Programming - player movement

    HI Java Experts,
    I have a very simple question applet game programming - jdk 1.02.
    Let's say you have a player on the applet window. He can move right and left.
    Naturally you have an image representing the player. When the player moves left you present an image loop with him running left. And vice versa for running right.
    Of course when he stops moving you just want to show a still image.
    What do you guys feel is the best technique for that situation ?
    Stephen

    Hi Thanks for the advice.
    I'm under the impression that if I used jdk1.4
    everybody who wanted to play the game would have to go
    through the trouble of downloading something . If
    that is so, then i would like to stick with 1.02 to
    have the widest possible audience.Use Java Web Start to deploy it as an application instead of an Applet. If your program is really cool, people will download the JDK 1.4 to use it. Then we will have more java users in the world :)
    By the way i have a URL perhaps someone could look > at the source code and give additional suggestions
    you can make sonic the hedge hog run and jump
    http://www.swebdev.com/Adventure.html
    That code has some good points. I like the nice object oriented flow of it. However, the way he sets up the Thread is all wrong. He uses yield and sleep, you would want to set up this using wait() and notifyAll() calls if you want to make it more interesting.
    Right now i'm trying to address the issue of how to
    reverse the image for when the player is running the
    opposite way -- ? perhaps a separate thread in 1.02
    might be an answer? I would be glad to hear all kinds
    of suggestions on the sample code seen thereYou shouldn't need a separate thread just to reverse the image. If your little guy is already in his own thread, just switch the image that is displayed when the player hits the opposite direction key.
    Think of threads like puppets, and you are the puppet master. Your little guys is a puppet, so he should be in his own thread. You can make him do whatever you want from your thread (the master) by pulling strings (changing globals, and message passing)
    Wow... Thats a really good analogy... I just thought that up :)

  • I want to learn 2D game programming. But, I am confused!

    I want to make a 2D game in C#. I have begun learning C# on my own. But, I am confused sbout what to learn after c# to make a game. I hear many things like XNA, MDX, Monogame, SlimDX, SharpDX, Frameworks, game engines, IDE's etc. To me all of this has
    caused a great confusion. The C# game tutorial I am learning is based on MDX (Managed DirectX). Now, I realise that MDX and XNA is dead. I am confused if I want to change my tutorial itself. Can anyone clear things out for me and tell what i need to learn
    step by step?
    I really don't even know what all the sh*t (.NET ,XNA, Monogame, SharpDX, xxx, xxxx, xxxx etc.) really is or what it does or which is better or even what the differences are. So please explain everything to me. Please help!

    Hi,
    You can refer to the Books:
    Beginning .NET Game Programming
    Beginning C# Game Programming
    Few other useful links:
    Coding 4 Fun is a great .NET resource that has quite a few user-created games. They also have a
    book and a
    2-D game primer
    Tutorial Listing at C# corner
    C# Game Tutorial for Beginners (video)
    Link to more game programming e-books
    Advanced Topics
    The Farseer Physics Engine on Codeplex would be a good next step once you get comfortable with programming games.
    Please mark as answer or vote as helpful if my reply does

  • No Multi-User Calendar in WebAccess

    We are using GW 2012 and looking at the possibility of eliminating the client in favor of WebAccess for all users.
    One issue that I've run into is that we cannot view multiple calendars via the multi-user function while in WebAccess. It works perfectly fine in the client.
    When I log into my mailbox and click the calendar button, my only option under the "Calendars" box is "Calendar" which is my own. No others display. I can proxy, via WebAccess, into the other calendar with no issues.
    I've looked through the threads here, and performed a few internet searches with no results. From the documentation it does appear that Multi-User is available, or supposed to be, when in WebAccess.
    Our GW system (MTA, GWIA, WebAccess) is running on SLES10/OES2 with multiple post offices running on SLES10 or 11.
    Thanks for any pointers you may have!
    Michael

    mprosise,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Hi. I'm looking to purchase an ipad air, but before I do I need to know if the device can be used by multi user logons like a lap top can be?

    Hi. I'm looking to purchase an ipad air, but before I do I need to know if the device can be used by multi user logons like a lap top can be?

    Thanks for your help. Bit of a shame really as it would be used as a family device for games etc but I don't want to double purchase everything, plus my progress in a game would be different to others.

  • Can Elements be Multi-user?

    I am looking for a program that can be used as a multi-user program. I would like to be able to import pictures off of a shared server, organize and tag them and then allow others to view and search photos and if need be change or add tags from their desktops. I cant seem to find anywhere in the forums that has the answer to this question. If Elements cannot do this does anyone have a suggestion of a program that can do this? I have 6 years of photos to go through. Thanks

    Sarah,
    You can set up PSE 6 and 7 to store both the photos and its catalog on a shared server. You can then open that catalog from any computer that has PSE installed and that can access the server. A couple of caveats:
    - Only one person at a time can have the share catalog open in PSE.
    - Some people have reported poor performance of PSE when accessing its catalog from a server over the network. I believe that often this is due to using a slow, probably wireless, network. Even the new n wireless network gear isnt nearly as fast as wired networks. I know that a couple of people using fast, wired networks have reported success in using PSE with a server.
    You could try downloading the free trial of PSE 7 to see if it meets your needs. Come back here if you need help in configuring it.

  • Several users on a single file issue: Hosting a multi user Quickbooks file on the WD EX4

    Hello everyone.  This is going to sound like a super specific third party support issue - but there are some universal things going on here that may help others regarding multiple users of individual files on the EX4. My company houses client and billing files on the EX4.  It's all been well and good until we recently allowed multi-user access to our Quickbooks company file.  Of course the goal is to have multiple employees working on the file at the same time from different computers.  We purchased licenses for each - everything is on the up and up. Whereas I could access the company file on the EX4 with no problems on my computer as a single user, now as soon as I turn on multiuser mode in QB to allow others to access the file on the EX4, the file becomes inaccessible.  What do you guys think is happening where one user access to a file on the EX4 is fine, but multiuser access causes the file to be inaccessible?  How do you fix it? Other thoughts, there doesn't seem to be a limitation on the EX4 relating to multiple people accessing the same file - streaming the same song for example.  So why would a billing database file be any different?  Especially when the licenses and program allow that access. Here's more info, if I host the file on my desktop computer everyone can access it in multiuser mode over the network.   The limitation is the WD EX4. What do you think is going on?  (I'd appreciate any insight as I am talking to both tech support teams, QB and WD, this week.)

    Thank you so much for your reply.  The error shows up when one switches to multi-user mode.  It states: Error H101, H202, H303, or H505: when opening your company file  When you open a company file in multi-user mode, you see an error:You're trying to work with a company file located on another computer, and this copy of QuickBooks can't reach the server on that computer (H202).You're trying to work with a company file located on another computer, and that computer needs additional installation and setup. (H101, H303, and H505).It appears that the QuickBooks software on computer [server name] is set up to allow shared connections to the company file, but the QuickBooks software on your computer is unable to communicate with it. (H202).Most often it's an H202 error which suggests that the program can't reach the server on that computer (NAS location). Why would the NAS location become invisible / unreachable once multi-user mode is on?  I really appreciate your expert brainstorm and ideas.

  • Complete beginner: Creating Card Game program

    I am brand new to object oriented programming, i'm trying to write a simple card game program, without using arrays or importing packages or vectors (whatever they all are?). can someone please help me?

    First of all, arrays are a very good idea, as are other datastructures such as the hashtable. But you can also use a String, which is basically an array of characters.
    The initial hurdle you will have in writing a card game will be modelling a single playing card. Your program will likely understand the sequence of cards as 2,3,4,5,6,7,8,9,10,11,12,13, even tho you will want to present this to your user as 2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, K, A. Computers deal well with the numbers, Humans like to refer to cards using the familiar symbolic references (J, Q, K, A). Suits likewise will probably be stores as integers (0-3).
    Your program will have to determine whether one playing card is less than or greater than another, whether it is in the same suit, what value the card will have (for BlackJack, for instace). All of these behaviors can be engineered into your PlayingCard class.
    To get going with your card game, you must thus begin an abstraction of the real-word PlayingCard. Start with a class such as this:
    class PlayingCard {
    final static String nums = "234567891JQKA" ;
    final static String [] suits = "DCHS";
    private int num, suit; // i.e. of this instance
    public PlayingCard (String card) { // constructor
    num = values.indexOf(card.charAt(0)) ;
    suit = suits.indexOf(card.charAt(card.length()-1);
    public String toString() {
    return nums.charAt(value)+((num==8)?"0":"")+suits.charAt(suit);
    int value() { return suit*4+num; }
    boolean compareValue(PlayingCard first, PlayingCard second) {
    return first.value() - second.value();
    boolean sameSuitAs(PlayingCard p) {
    return (this.suit == p.suit);
    // etc.
    For a BlackJackPlayingCard, extend PlayingCard and add/override specific behaviors such as counting (i.e. face cards = 10, Ace's two values, etc).
    Have fun. Java is a great language.

  • DIS Install fails to find notes.ini if multi-user notes install

    Yesterday I attempted to install the WebCenter Integration into a Citrix image and it fails with the error 'Error 2343: Specified path is empty'. After some experimenting on a physical machine I have been able to confirm the installer program fails if the Lotus Notes client has been installed with the multi-user option (what we require) but succeeds if it installed as single user.  With Lotus if it's installed as single user the data directory will be in the program install directory, if it's multi-user then it's in the user's profile. . Looking at the installer log you can see it can't locate the notes.ini file when it's a multi-user install.

    Install Notes as single user then switch to multi-user, there is a section in the guide here http://docs.oracle.com/cd/E28280_01/doc.1111/e10624/setup.htm#DISUS147 that tells you how to manually edit the Notes.ini file

  • About server in game programming

    hi,
    from what i know, we need a web server like tomcat or blazix to make other people can access our web. but my problem is like this..... i develop a game programming that need a server to control the player, so that mean now i have 2 server...... but when people acces my web, they cannot connect with my game server, so they cannot play the game..... so what should i do to make people can access my web and play the game?

    I presume this is about how to have a game run in the background on the server, outside of the web requests the user made to get to the game in the first place.
    What it comes down to is, you need some way to get the data back, asynchronously or pseudo-asynchronously. You have a few options...
    (1) Run a process on the server separate to the web server, which opens the game server socket, and does all the game stuff. Simplest solution.
    (2) Make a little servlet which initialises when your webapp starts up, and the init() method starts a thread, which opens the game server socket, and does all the game stuff. A little harder, but better because it will work even if you don't have a shell to the web server (e.g. if you're on a hosting provider who has given you just an FTP.)
    (3) Make a little servlet to perform the actual game functions, and either poll at regular intervals or have the servlet itself send the data back as a continuous stream. I personally like this solution the best, and it doesn't require a thread to sit there on the server wasting a thread, but it does make a single HTTP request last for a rather long time and also proxies can screw around with the data.
    Hope this helped somehow...

Maybe you are looking for

  • New macbook pro running mountain lion does not work in clamshell mode when attached to a thunderbird display.

    I have a new macbook pro retina running mountain lion. I want to use it with a thunderbolt display. When I close the lid on the macbook pro, everything goes dark.

  • Invalid node structure macbook 10.6.8

    Im new to Macs and have absolutely no clue what to do im not worried about losing anything on it i just don't know how to fix and i don't have the disks i bought it used

  • Find_Index error

    I'm using a PCI-7324 and LabWindowsCVI v. 5.5 . I have this problems: 1) After power_on the PC, if I send a find_index command the PCI7324, this return a NIMC_CIPBitError (Error 7007) and the motor don't start for search index. (If I send a absolute

  • Help with flash CS4 please!

    Hello, I am in school and I have an assignment to complete on flash, but when I try to make an object, an annoying little box appears around my object instead of having nothing around it,  I passed this off as nothing and tried to use the selection t

  • Displaying Image (*png) in MIDlet

    I have encountered the following error when i try to display a *png file using ImageItem. IOException try Image image = Image.createImage("/BizAuto.png"); mMainForm.append(new ImageItem(null, image, ImageItem.LAYOUT_CENTER, null)); catch (java.io.IOE