I want to save 2 users game data now, use Properties?

hi, i just realized that by using "Properties" to save a users game data like the following
experience=2000;
level=3;
zone=forest;
it will write to the text file, but i just realized, when another user goes to play my game, how do i save his game in another spot, can i still use Properties? otherwise, the new user will get the previous user's saved data. and just when i was all happy about saving ONE users data. HAHAHA. :-D

silverglade wrote:
its a simple text based game. ive already written one in C++ it will be no problem in Java. but im a bit pissed off that people have a problem with me using their code that they FREELY gave me in the forum to help me. if they have a problem with it, they should give it out in the first place. i got my questions answered and thats what i wanted today. i just gave navy coder 10 duke stars for his work, and my thanks. thats all i can give. i gave the other guy who wrote my code 8 duke stars, and my thanks. now that im using the code, why are they bitter and angry at me after they freely gave it to me , i never said I wrote the code myself. so stop being bitter at me. im just trying to get my questions answered, and yes when i write the rest of the game which is not that hard, i WILL be solving my own problems. youre just seeing a major problem that is PART of my game im having. derekI think you've misunderstood. Nobody's pissed off at you, well, certainly I'm not, and I can't see that anyone else is either. But you just seem to be relying on the forum to write the bits you can't, rather than put in a bit of effort to do it yourself. That's not very satisfying. You were going to use a database for this, and thank god I talked you into using Properties instead, because some poor guy would now be writing reams of JDBC code and SQL for you, and telling you how to install and configure MySQL and Connector/J. I prefer teaching people to fish rather than giving them dinner, it's a bit disheartening when people don't go for that approach. But nobody's pissed off at you. In all seriousness, I think you've been working away at this all weekend without much of a break and it's getting to you. Do yourself a favour and take the night off. It'll all seem so much easier when you've been away from it for a bit

Similar Messages

  • Does iTunes save my game data when I sync?

    I may need to do a restore/update to iOS 6 after finding out that there was more than 4GB of "others" stuff. I really want to save my game data, such as PvZ(Finished game x1), so I need to know whether my game data is safe or not...

    Just make sure that you backup your iPod before you update. Before I updated, I backed up to both iCloud and iTunes. The backup includes app data like game status.
    iOS: How to back up

  • When I try to open a pdf link in my browser I am asked where I want to save the file.  I used to be asked if I wanted to open the file.  How do I get back to being asked if I want to open rather than save?

    When I try to open a pdf link in my browser I am asked where I want to save the file.  I used to be asked if I wanted to open the file.  How do I get back to being asked if I want to open rather than save?

    What browser?

  • How to save User input into DB using webdynpro abap

    Hi,
    Im trying to create an application using webdynpro abap.
    I want to know how to save the data input by user, into a database table.
    In my UI, I have a table control which is editable and user inputs data into this. I need to know how i can transfer this data to a DB table.

    hello,
    u can do it by reading ur context node.
    we bind our UI elements to context attributes of appropriate type .
    we read their values using the code wizard or by pressing control+F7, click on radio button read node/attribute
    here for ur specific case , u must have binded ur table control with the context attribute , now u need to simply read this attribute
    eg suppose u have created a context node " cn_table"
      reading context node cn_table
       DATA : lo_nd_cn_table TYPE REF TO if_wd_context_node ,
             lo_el_cn_table TYPE REF TO if_wd_context_element ,
             ls_cn_table    TYPE wd_this->element_cn_table.
    *   navigate from <CONTEXT> to <CN_TABLE> via lead selection
      lo_nd_cn_table = wd_context->get_child_node(
                       name = wd_this->wdctx_cn_table ).
    **    get element via lead selection
      lo_el_cn_table = lo_nd_cn_table->get_lead_selection(  ).
      lo_el_cn_table->get_static_attributes( IMPORTING
                 static_attributes = wa_table ).
    here wa_table is the work area of structure type . u need to create a structure first with the same variables as there are the context attributes in ur node cn_table
    in ur
    now ur wa_tablecontains value
    u can nw use appropriate FM to update , delete and modify the DB table using the value
    u cn directly use SQL statements as well in the method of ur view , but direct SQL statements are nt recommende
    rgds,
    amit

  • Wants to download the game on device using USB

    How do i download a game on device using USB.. i know i need some software, but i dont have that..
    Is this software is vendor specific? What is the exact procedure?
    regards

    Easiest on Mac OS X 10.7 is to use this button:
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    In Mac OS X v10.7, the $HOME/Library folder is a hidden folder.
    Open Finder and use one of these:
    * Go > Go To Folder (Shift-Command-G) and in the dialog type: ~/Library
    * Open the "Go" menu and hold down the Option key to make the Library appear
    You can also use this command in a Terminal window to remove the hidden flag.
    * Mac HD > Applications > Utilities > Terminal
    * chflags nohidden ~/Library

  • How to save user input data in pages into database ?

    Dear Friends,
    Hello. I am developing my first PeopleSoft application using PeopleTools 8.49 and SQL Sever 2005. In application designer, I have created fields, records, records' underlying tables in database, and pages. After users type in data into fields in a page, we need to click "submit" button in the page and save the data into Database. How to submit data into database ?
    If we use JBuilder or Netbean instead of PeopleTools, we simply develope a server side script file like sth.jsp and link it to the "submit" button. The server side script file save data into Database. But in PeopleSoft application designer, I don't understand how to submit data in a page into database.
    Can any friends help to solve this question ? Thanks.
    Lucy

    Hi:
    Data will be saved in the database once you click on the 'Save' button on the page or if you use one of the 'Save' functions in PeopleCode (like DoSave(), DoSaveNow()). Generally, there is no need to write a script explicitly. Please refer to PeopleSoft Internet Architechture and PeopleCode peoplebooks (and other PeopleTools peoplebooks as well) for more reference.
    You may want to attend PeopleTools training if you are fresh to PeopleSoft development.
    Regards,
    Sameer.

  • Save user input data

    I would like the ability to have a settings screen and allow the user to enter parameters.  These parameters need to be saved even when the program (VI) is shut down.  As an example I made a quick simple program, Sample test 1.vi.  Here there is input data, amplitude, a maximum setting and a minimum setting.  I would like the user to be able to set the settings (maximum and minimum) to the desired level, run the program, stop the program, shut down the program.  Upon restarting the program the settings should be at the last entered value. Any ideas or assistance is appreciated. Thanks,Brian  
    Attachments:
    Sample test 1.vi ‏8 KB

    Look through the example VIs that ship with LabVIEW. They have examples on working with ini files. I have included an example of the VIs that we use for our applications as well.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot
    Attachments:
    Application Template-Get Test Specific Parameters From Config File.vi ‏20 KB
    Application Template-Save Test Parameters To Config File.vi ‏19 KB
    Application Template-Test Parameters.ctl ‏6 KB

  • HT4235 im in recovery mode i want to save all my data from this device(ipod touch) how can i do so?

    HeLp... im in recovery mode and I want to download all of my content from my device to my home computer....How do i do this???

    You cannot.
    If it is in recover mode, the data is gone.

  • Wanting to save money, downgrade data, but imessage video question on ATT. Help

    So I am looking to save as much money on my cell plan as I can.  I am looking to downgrade my data plan from unlimited to the 300 option because I never go over that, or rarely would approach it.  So my question is, when I am on 3g and I receive or send a video that I took on the phone/what have you over imessage to a friend that is either on 3g or wifi, do I get dinged against my data usage for the month?  Im more concerned about being on the receiving end of a video or two that are large and might push me over the limit, not me sending stuff out so much.  So, do videos that get sent over imessage get dinged against my data plan?  Thanks in advance. 

    Yes, it uses your data plan, but not your texting plan (if it's an iMessage). If you are connected to your Wi-Fi, then it does not count towards your data.

  • I use to close Firefox and it would ask me if I want to save those selections. Now It wipes them out and I want Firefox to open back up with what i closed it on.

    Fire fox use to remember the pages I had up when I closed it. Now it just opens with my home page/

    Firefox now always stores the old session which you can access by going to the History menu and selecting "Restore Previous Session".
    If you always open the last set of tabs, an alternative approach is this:
    # Click the orange Firefox button, then select options to open the options window
    # Go to the General panel
    # Change the setting "When Firefox starts" to "Show my windows and tabs from last time"

  • How to save users added to list using people picker to sharepoint Group

    Hi
                I have created List with some people picker columns and now when I save a list,the data is saved to list as well as the users in particular column will be added to particular sharepoint
    group. Is there any sharepoint out of box solution for this or I need to do it programmatically. Kindly provide me any procedures or solutions as you know.
      1) how to bind the particular sharepoint group to the particular column
      2) How to add users to the particular sharepoint group
    Thanks
    Razvi444

    Hi Razvi444,
    There is no out of the box way to achieve this.You need to write a custom event receiver ,inside event receiver
    event,  you
    can check column (people picker value) and add it to desired group if that user not exist already.
    Thanks

  • What if I want to LET USER CACHE videos streamed using FMS3?

    For my new video website I want the users TO BE ABLE TO CACHE
    but at the same time I want them to have the benefit of jumping
    anywhere on the timeline to see only the part they are interested
    in without downloading complete video (which can be done only
    through streaming IMHO)
    Is it possible in FMS3? any other solution?

    On Fri, 29 Feb 2008 02:18:29 +0000 (UTC), "anshulag"
    <[email protected]> wrote:
    >For my new video website I want the users TO BE ABLE TO
    CACHE but at the same
    >time I want them to have the benefit of jumping anywhere
    on the timeline to see
    >only the part they are interested in without downloading
    complete video (which
    >can be done only through streaming IMHO)
    The answer is "HTTP Streaming". In fact you don't need FMS if
    you wish
    to allow users to cache videos. You can use any webserver
    with
    PHP/MySQL. AFAIK, Google Video works just in this way. You
    can find
    some brief description of how HTTP Streaming works for
    example here:
    http://home.openworldpresenter.com/flash/index.php?pid=43
    Sorry, it's not an advertizing, but just a link. Of course,
    you'll
    need to create some special SWF movie (pretty simple though)
    to let
    your viewers to see such videos. Fast navigation is
    guaranteed.

  • Fail to create web service with user-defined data type using jwsc Ant task!

    Hello every body!
    I used JAXWS to create WSDL from a jws file.
    This is my jws:
    package ws;
    import javax.jws.WebService;
    import javax.jws.WebMethod;
    import ws.MyDataType;
    *@WebService*
    *public class MyWebService {*
    public MyWebService()
    *@WebMethod*
    public MyDataType MyWebMethod(MyDataType mdt)
    *// mdt.setS("I got it!");*
    return mdt;
    and this is my data type:
    package ws;
    *public class MyDataType {*
    String s;
    public MyDataType()
    *public String getS() {*
    return s;
    *public void setS(String s) {*
    this.s = s;
    and this is my Ant build.xml
    *<project default="all">*
    *<property name="weblogic.jar.classpath" value="D:/Projects/bea103/wlserver_10.3/server/lib"/>*
    *<taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask">*
    *<classpath>*
    *<path id="weblogic.classpath">*
    *<pathelement path="WEBLOGIC_HOME"/>*
    *<fileset dir="${weblogic.jar.classpath}">*
    *<include name="weblogic.jar"/>*
    *</fileset>*
    *</path>*
    *</classpath>*
    *</taskdef>*
    *<target name="all" depends="clean,build-service"/>*
    *<target name="clean">*
    *<delete dir="output"/>*
    *</target>*
    *<target name="build-service">*
    *<!--add jwsc and related tasks here -->*
    *<jwsc srcdir="" destdir="wsoutput">*
    *<jws file="MyWebService.java" type="JAXWS"/>*
    *</jwsc>*
    *</target>*
    *<!--<target name="deploy"> --><!--add wldeploy task here --><!-- </target>-->*
    *</project>*
    I run the Ant task but I get this error:
    Buildfile: build.xml
    clean:
    build-service:
    [jwsc] JWS: processing module /MyWebService
    [jwsc] Parsing source files
    [jwsc] Parsing source files
    [jwsc] 1 JWS files being processed for module /MyWebService
    *[jwsc] [JAM] Warning: failed to resolve class MyDataType*
    [jwsc] JWS: C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\MyWebService.java Validated.
    [jwsc] Processing 1 JAX-WS web services...
    *[jwsc] error: Could not get TypeDeclaration for: MyDataType in apt round: 1*..........
    BUILD FAILED
    C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\build.xml:
    19: weblogic.wsee.tools.WsBuildException: Error processing JAX-WS web services
    Please help me to solve this issue.
    Thank you,
    Mojir

    Thank u very much Jay SenSharma this was helpful
    and thank u sandeep_singh this is the answer,
    I find another answer too :
    adding my class files to the path remove the error:
    <project default="all">
    <property name="weblogic.jar.classpath" value="D:/Projects/bea103/wlserver_10.3/server/lib"/>
    <taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask">
    <classpath>
    <path id="my.path">
    <pathelement path="D:/Projects/bea103/jdk160_05/lib/tools.jar"/>
    <pathelement path="D:/Projects/bea103/wlserver_10.3/server/lib/weblogic.jar"/>
    *<pathelement path="D:/Projects/LifeInsurance Project Original/BusinessModule/classes/"/>* adding this line solved my problem.
    <pathelement path="${java.class.path}"/>
    </path>
    <path id="weblogic.classpath">
    <pathelement path="WEBLOGIC_HOME"/>
    <fileset dir="${weblogic.jar.classpath}">
    <include name="weblogic.jar"/>
    </fileset>
    </path>
    </classpath>
    </taskdef>
    <target name="all" depends="clean,build-service"/>
    <target name="clean">
    <delete dir="output"/>
    </target>
    <target name="build-service">
    <jwsc sourcepath="mytype" classpathref="my.path" debug="true" srcdir="" destdir="wsoutput">
    <jws file="NegotiationService.java" generatewsdl="true" type="JAXWS"/>
    </jwsc>
    </target>
    </project>
    Thank u very much,
    Mojir

  • How to save user name and system date in a table

    I have a form that allow users to enter some information...
    I want to save user name in one of the columns and system date in another column by default when the user submit the form to save data...
    Please advice...
    Thanks

    Hi talbo,
    The most reliable method is to use a before-insert trigger on your table. This way the columns will be set properly no matter how rows are inserted (via your app or any other means). Given your user name column is called "CREATE_USER" and your date column is called "CREATE_DATE" for example - include these lines in a before-insert trigger:
    :NEW.CREATE_USER := NVL(V('APP_USER'), USER);
    SELECT SYSDATE INTO :NEW.CREATE_DATE FROM DUAL;The NVL(V('APP_USER'), USER) will set CREATE_USER to the current ApEx application user if the row is created from within the application, or to the current database user if the row is created outside the application.
    Hope this helps,
    John
    If you find this information useful, please remember to mark the post "helpful" or "correct" so that others may benefit as well.

  • Does syncing apps to itunes save game data

    I want to know if I sync my apps to iTunes (which I do) does it save my game data/levels/files.
    I recently had to restore my iPod Touch 4g and when I got my apps back from iTunes my game files were saved but they were old versions.  I synced to iTunes just the day before I had to restore.  But my game levels were that of 1 week ago.  So how do I sync my game levels so that if I ever have to restore again I will have my levels.  Thanks.

    App data and settings are part of the backup. But, as every backup replaces the old one, you'll have to include your backup folder in your computer backup routine, to be sure to have several backups to go back.
    Only if you use a backup to restore from, iTunes will create a new one and mark the old one with a time stamp.
    Check this article for more info and about details where the backup folder is stored for your OS:
    iTunes: About iOS backups

Maybe you are looking for

  • Is there a way to put links within documents in Pages

    Is there a way to put a link on the first page of a Pages document that would take you to a certain location within the same document or to another document?

  • Apple TV remote no longer working, unpairing is giving me resolution screen, lost Remote app control as well.

    I've been trying to sort this out for a while; somehow my Apple TV is no longer homesharing with the rest of my network.  I had hoped to use my apple TV remote to re-activate the Remote Apps I have on my iPod, but the remote isn't responding.  I've t

  • Getting XML data of SSIS Package (which is located in File System) from a query

    Hi, We have around 200 SSIS packages deployed to File System. These pacakges are being scheduled using SQL Agent job. So, currently I have a list of all the packages and their respective File Path. Note : **They are NOT deployed to Server**. Now, my

  • XML output from Repostiory Reports

    Hi, Any ideas why the table definition report (cktci.rdf) data from the Repository Reports cannot be generated to XML? I'm running Designer ver. 9.0.2.91.9, Reports ver. 9.0.2.0.3 . XML is not on the destination format list in Repository Reports, but

  • Print Layout Copy

    Hi All, In our company we want to copy the Print layout of Item Type Invoice As the Service Type Invoice layout. Because Same details are in both Item type invoice & Service type Invoice. Regarding other document Layout [Delivery,GRN] the requirement