Thread: Two Questions

Results 1 to 5 of 5
  1. #1 Two Questions 
    Registered Member
    Join Date
    Nov 2008
    Posts
    82
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Question 1:

    I am using Shard Revolution as a base, and I need to edit/fix the saving so I can edit player stats and inventory. Currently the server saves the file in a .dat format, therefore its uneditable by me. I have tried to open it with WordPad and NotePad, but this is what I get:

    Wordpad:

    Notepad:




    (Note I have tried changing:
    Code:
    		String file = "./savedGames/" + tempSave.playerName + ".dat";
    TO
    Code:
    		String file = "./savedGames/" + tempSave.playerName + ".txt";
    in Playermanager.java, but it gives me the same problem I have with notepad above.)


    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


    Question 2:

    Shard Revolution has a great system for dialouges, you can find a:



    In that folder is a:


    It looks a little like this:


    The actions that it allows are:


    I am quite sure actions are edited here:


    So... I would like to create an action TELE_TO <XCORD> <YCORD>, how would I do something like this?
    [
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Nov 2008
    Posts
    82
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Anyone?
    [
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Aug 2008
    Posts
    273
    Thanks given
    0
    Thanks received
    0
    Rep Power
    103
    for error 1:

    you are probably opening the class file, to edit you need to open the JAVA file
    Hola
    Reply With Quote  
     

  4. #4  
    Member Two Questions Market Banned


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    35
    Posts
    12,574
    Thanks given
    199
    Thanks received
    7,106
    Rep Power
    5000
    1) Open the java file, not the class file.
    2) Look over the dialogue system and make sure you understand it before you jump in trying to add more dialogues with more complex options.

    Attached imageAttached image
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Nov 2008
    Posts
    82
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Ok any idea on fixing the saving?
    [
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •