The PokéCommunity Forums Fan Games Game Development Scripts & Tutorials
Essentials Script Multiple save files 2.2

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.

Reply
 
Thread Tools
  #76    
Old May 13th, 2015 (2:06 PM). Edited May 14th, 2015 by Maruno.
caden947's Avatar
caden947 caden947 is offline
     
    Join Date: May 2015
    Posts: 5
    Whenever I try to test my game.exe, this happens:

    https://www.dropbox.com/s/764l8ovvpl70tdb/capture000.png?dl=0

    If I'm doing something wrong, could you please tell me.
    Reply With Quote
      #77    
    Old May 13th, 2015 (10:21 PM).
    mej71's Avatar
    mej71 mej71 is offline
       
      Join Date: Mar 2014
      Location: Omnipresence
      Gender: Male
      Posts: 1,222
      Quote:
      Originally Posted by caden947 View Post
      Whenever I try to test my game.exe, this happens:

      If I'm doing something wrong, could you please tell me.
      That's quite the error
      Reply With Quote
        #78    
      Old May 13th, 2015 (11:43 PM).
      caden947's Avatar
      caden947 caden947 is offline
         
        Join Date: May 2015
        Posts: 5
        Quote:
        Originally Posted by mej71 View Post
        That's quite the error
        Yeah, I know. I fixed it, but I had to remove your scripts. Sorry about that 😕
        Reply With Quote
          #79    
        Old May 14th, 2015 (1:37 PM). Edited May 14th, 2015 by akane159.
        akane159 akane159 is offline
           
          Join Date: Oct 2012
          Gender: Female
          Posts: 68
          still unseen display the names of the others saved game :s , i used the printabled version :S , i am using pokemon essential v15.1

          Spoiler:
          Reply With Quote
            #80    
          Old June 6th, 2015 (6:02 PM).
          TheNocturno TheNocturno is offline
             
            Join Date: Dec 2014
            Posts: 11
            Quote:
            Originally Posted by akane159 View Post
            still unseen display the names of the others saved game :s , i used the printabled version :S , i am using pokemon essential v15.1

            Spoiler:
            Same here, but it works nice. Some help?
            Reply With Quote
              #81    
            Old July 24th, 2015 (2:30 PM).
            Pokemoner1 Pokemoner1 is offline
               
              Join Date: Jul 2015
              Posts: 11
              Where should the images go on
              Reply With Quote
                #82    
              Old July 24th, 2015 (8:05 PM).
              mej71's Avatar
              mej71 mej71 is offline
                 
                Join Date: Mar 2014
                Location: Omnipresence
                Gender: Male
                Posts: 1,222
                Quote:
                Originally Posted by Pokemoner1 View Post
                Where should the images go on
                Quote:
                Originally Posted by mej71 View Post
                You need the attatched graphics, put them in your Pictures folder.
                In the Graphics/PleaseReadTheInstructions folder
                Reply With Quote
                  #83    
                Old July 29th, 2015 (11:58 AM).
                awesome03 awesome03 is offline
                   
                  Join Date: May 2014
                  Posts: 2
                  Nice, it works great!

                  The only suggestion I have is to be able to name your save states. (Ex. Randomized Run, Josh State, Sister State, etc...)
                  It would probably cause a lot less confusion.
                  Reply With Quote
                    #84    
                  Old July 30th, 2015 (1:14 AM).
                  Nickalooose Nickalooose is offline
                  --------------------
                     
                    Join Date: Mar 2008
                    Gender: Female
                    Posts: 1,309
                    Quote:
                    Originally Posted by awesome03 View Post
                    Nice, it works great!

                    The only suggestion I have is to be able to name your save states. (Ex. Randomized Run, Josh State, Sister State, etc...)
                    It would probably cause a lot less confusion.
                    Funny, I just came here to say this... I've had numerous people asking me if I could edit the script to name change save files and my answer is simply 'No'... It's not my script and if such a feature were to be added to it, I shall expect it to be public so I will leave Mej to answer these requests.

                    But I think it should be a setting at least.
                    Reply With Quote
                      #85    
                    Old July 30th, 2015 (7:46 AM).
                    mej71's Avatar
                    mej71 mej71 is offline
                       
                      Join Date: Mar 2014
                      Location: Omnipresence
                      Gender: Male
                      Posts: 1,222
                      The only thing is, the way it currently works is iterating through a loop of numbers, that's how it finds the save files. I suppose it could be changed to just get all the files in the directory and cycling through that though. Maybe at some point I will do that.
                      Reply With Quote
                        #86    
                      Old August 30th, 2015 (10:29 AM).
                      FoxySeta's Avatar
                      FoxySeta FoxySeta is offline
                      (Trainer)
                         
                        Join Date: Sep 2014
                        Location: Lugo (RA) (IT)
                        Gender: Male
                        Nature: Quirky
                        Posts: 11
                        Well can I have a list to edited lines in PSyset_System? I edited mine...
                        (I hope noone asked this before me)
                        __________________

                        Reply With Quote
                          #87    
                        Old September 20th, 2015 (11:42 AM).
                        ReVaN777's Avatar
                        ReVaN777 ReVaN777 is offline
                        Creator of Pokemon Titanium
                           
                          Join Date: Feb 2012
                          Location: Moreno Valley, CA
                          Gender: Male
                          Nature: Calm
                          Posts: 108
                          Hey Mej7i, i keep getting this error when trying to load a saved game..

                          ---------------------------
                          Pokemon Titanium
                          ---------------------------
                          Script 'PScreen_Load' line 821: ArgumentError occurred.

                          wrong number of arguments(2 for 0)
                          ---------------------------
                          OK
                          ---------------------------

                          heres my script section 800 - 830 in my Pscreen_Load

                          Code:
                                                  end
                                               end
                                               auto=(autoindex==1)?true:nil
                                               tempsave=saveslots[@selected][0]
                                               @scene.pbEndScene
                                               pbSetUpSystem(tempsave,auto)
                                               scene=PokemonLoadScene.new
                                               screen=PokemonLoad.new(scene)
                                               screen.pbStartLoadScreen(tempsave,auto,saveslots[@selected][1])
                                               return
                                            elsif saveslots[@selected][2]==true
                                              tempsave=saveslots[@selected][0]
                                              @scene.pbEndScene
                                              pbSetUpSystem(tempsave,true)
                                              scene=PokemonLoadScene.new
                                              screen=PokemonLoad.new(scene)
                                              screen.pbStartLoadScreen(tempsave,true,saveslots[@selected][1])
                                              return
                                            else
                                              tempsave=saveslots[@selected][0]
                                              @scene.pbEndScene
                                              pbSetUpSystem(tempsave,nil)
                                              scene=PokemonLoadScene.new
                                              screen=PokemonLoad.new(scene)
                                              screen.pbStartLoadScreen(tempsave,nil,saveslots[@selected][1])
                                              return
                                            end  
                                         end
                                       end
                          If you need to know I'm using the Gen 6 Essentails mod
                          __________________
                          Khaos Projects
                          Reply With Quote
                            #88    
                          Old September 20th, 2015 (12:33 PM).
                          mej71's Avatar
                          mej71 mej71 is offline
                             
                            Join Date: Mar 2014
                            Location: Omnipresence
                            Gender: Male
                            Posts: 1,222
                            Quote:
                            Originally Posted by ReVaN777 View Post
                            Hey Mej7i, i keep getting this error when trying to load a saved game..

                            ---------------------------
                            Pokemon Titanium
                            ---------------------------
                            Script 'PScreen_Load' line 821: ArgumentError occurred.

                            wrong number of arguments(2 for 0)
                            ---------------------------
                            OK
                            ---------------------------

                            heres my script section 800 - 830 in my Pscreen_Load

                            Code:
                                                    end
                                                 end
                                                 auto=(autoindex==1)?true:nil
                                                 tempsave=saveslots[@selected][0]
                                                 @scene.pbEndScene
                                                 pbSetUpSystem(tempsave,auto)
                                                 scene=PokemonLoadScene.new
                                                 screen=PokemonLoad.new(scene)
                                                 screen.pbStartLoadScreen(tempsave,auto,saveslots[@selected][1])
                                                 return
                                              elsif saveslots[@selected][2]==true
                                                tempsave=saveslots[@selected][0]
                                                @scene.pbEndScene
                                                pbSetUpSystem(tempsave,true)
                                                scene=PokemonLoadScene.new
                                                screen=PokemonLoad.new(scene)
                                                screen.pbStartLoadScreen(tempsave,true,saveslots[@selected][1])
                                                return
                                              else
                                                tempsave=saveslots[@selected][0]
                                                @scene.pbEndScene
                                                pbSetUpSystem(tempsave,nil)
                                                scene=PokemonLoadScene.new
                                                screen=PokemonLoad.new(scene)
                                                screen.pbStartLoadScreen(tempsave,nil,saveslots[@selected][1])
                                                return
                                              end  
                                           end
                                         end
                            If you need to know I'm using the Gen 6 Essentails mod
                            You didn't follow the directions, and therefore did not replace your PokemonSystem section
                            Reply With Quote
                              #89    
                            Old September 20th, 2015 (12:36 PM). Edited September 20th, 2015 by Maruno.
                            ReVaN777's Avatar
                            ReVaN777 ReVaN777 is offline
                            Creator of Pokemon Titanium
                               
                              Join Date: Feb 2012
                              Location: Moreno Valley, CA
                              Gender: Male
                              Nature: Calm
                              Posts: 108
                              hate to be a rude towards your actuation but I re did every step before I posted this reply. Thank you. I will do it again and will reply if it doesn't work again.

                              I have re-done the steps, i musts of not copied the entire script right works fine now, thanks mej7i
                              __________________
                              Khaos Projects
                              Reply With Quote
                                #90    
                              Old September 24th, 2015 (12:22 PM).
                              mej71's Avatar
                              mej71 mej71 is offline
                                 
                                Join Date: Mar 2014
                                Location: Omnipresence
                                Gender: Male
                                Posts: 1,222
                                I've made a slight change to PokemonLoad that would cause problems for encrypted games, please update
                                Reply With Quote
                                  #91    
                                Old October 31st, 2015 (3:04 PM). Edited November 1st, 2015 by Phigo.
                                Phigo's Avatar
                                Phigo Phigo is offline
                                   
                                  Join Date: Oct 2015
                                  Location: Austria
                                  Gender: Male
                                  Nature: Calm
                                  Posts: 49
                                  Hi, I'm sorry to bother you with this, but I can't seem to get your script to work :(
                                  When I save a game, it always warns me that there is already a save-file and if I wish to overwrite it.
                                  If I do, it really does overwrite the existing save-file and also the game immediately crashes with following error:

                                  Spoiler:
                                  Script 'PScreen_Save' line 141: NoMethodError occurred.

                                  undefined method `pbStoredLastPlayed' for
                                  #<PokemonSave:0xa6c5778>

                                  (Unfortunately I am not yet allowed to post links...)

                                  The line there says:
                                  pbStoredLastPlayed($game_variables[99],nil)

                                  Like I said: It actually overwrites the existing file and you can not select any other file on the starting screen, also there are no other files in the game saves file on my computer.

                                  It may be worth noting, that I am using Pokemon Essentials 15.1.

                                  What did I do wrong? :(

                                  And another thing I was wondering: How do you limit the amount of possible game files?

                                  Thank you for your help in advance.

                                  PS: Also, I am not even able to save normally right now. It always warns me about there already being a save file, proceeds to save and finally crashes...
                                  PPS: Before you ask: Yes, I used the printable version of the thread.

                                  PPPS: Fixed it myself, thanks anyways.
                                  Still I'm curious if there is a limit to the save files, or a possibility to limit them?
                                  Reply With Quote
                                    #92    
                                  Old January 19th, 2016 (12:29 PM).
                                  TACHAN TACHAN is offline
                                     
                                    Join Date: Jan 2010
                                    Gender: Female
                                    Posts: 198
                                    This script works in 16.1?
                                    Reply With Quote
                                      #93    
                                    Old May 4th, 2016 (6:35 AM).
                                    Kaito123 Kaito123 is offline
                                       
                                      Join Date: Jul 2012
                                      Gender: Male
                                      Posts: 62
                                      Quote:
                                      Originally Posted by TACHAN View Post
                                      This script works in 16.1?
                                      Yes it works :)



                                      How can I build it in the Pokemon Essentials BW 3.1.1 Kit from KleinStudio?
                                      Reply With Quote
                                        #94    
                                      Old June 24th, 2016 (5:06 PM).
                                      FallenStorm's Avatar
                                      FallenStorm FallenStorm is offline
                                      Pokemon Hyperion Developer
                                         
                                        Join Date: Jun 2016
                                        Location: California
                                        Gender: Male
                                        Posts: 17
                                        I am INCREDIBLY thankful for all of your scripts, they're really helpful.
                                        Reply With Quote
                                          #95    
                                        Old September 2nd, 2016 (10:15 AM).
                                        kevios105 kevios105 is offline
                                           
                                          Join Date: Aug 2016
                                          Gender: Male
                                          Posts: 9
                                          Hey everybody,
                                          i have the same probleme like Phigo but without any error:

                                          From Phigo:
                                          Quote:
                                          When I save a game, it always warns me that there is already a save-file and if I wish to overwrite it.
                                          If I do, it really does overwrite the existing save-file ...
                                          ....
                                          It actually overwrites the existing file and you can not select any other file on the starting screen, also there are no other files in the game saves file on my computer.
                                          I get no error or something .... so i dont know where to start to solve the problem ... :( help me!!!! ^^

                                          I use Essentials v16 and i do exactly that what i read in your tutorial ... sitting there and try to solve the problem like 7-9 hours >.< ..... please help me
                                          Reply With Quote
                                            #96    
                                          Old September 12th, 2016 (12:17 PM).
                                          dderek dderek is offline
                                             
                                            Join Date: Jan 2008
                                            Gender:
                                            Posts: 2
                                            In my project appears only slot 1 to play, someone could help me ?
                                            Reply With Quote
                                              #97    
                                            Old October 8th, 2016 (6:20 PM).
                                            HyperKageX520 HyperKageX520 is offline
                                               
                                              Join Date: Oct 2016
                                              Gender: Male
                                              Posts: 1
                                              Anyone else get this error?
                                              Click image for larger version

Name:	Capture.PNG
Views:	102
Size:	11.3 KB
ID:	80306
                                              Reply With Quote
                                                #98    
                                              Old November 11th, 2017 (2:23 AM).
                                              The GCN The GCN is offline
                                                 
                                                Join Date: Nov 2017
                                                Posts: 1
                                                Where are the attached files?
                                                Reply With Quote
                                                  #99    
                                                Old November 11th, 2017 (7:19 AM).
                                                sirio120 sirio120 is offline
                                                   
                                                  Join Date: Nov 2017
                                                  Posts: 1
                                                  hi, the script works fine but i can't see the names of the saved files... any help?
                                                  Reply With Quote
                                                    #100    
                                                  Old November 16th, 2017 (3:32 PM).
                                                  tutoriando's Avatar
                                                  tutoriando tutoriando is offline
                                                  Manoel Afonso
                                                     
                                                    Join Date: Aug 2017
                                                    Location: Porto Alegre, Brasil
                                                    Gender: Male
                                                    Nature: Docile
                                                    Posts: 16
                                                    I like this system, thank you!!
                                                    __________________
                                                    My game fanpage: http://fb.com/PKMDimensions

                                                    Pokémon Dimensions is a fan game that proposes to bring several different dimensions in a single game. Explore Pokémon World, win the challenges of Digimon World, discover a wonderful story with Monster Rancher, and many other universes!
                                                    Reply With Quote
                                                    Reply

                                                    Quick Reply

                                                    Join the conversation!

                                                    Create an account to post a reply in this thread, participate in other discussions, and more!

                                                    Create a PokéCommunity Account
                                                    Thread Tools

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

                                                    BB code is On
                                                    Smilies are On
                                                    [IMG] code is On
                                                    HTML code is Off

                                                    Forum Jump


                                                    All times are GMT -8. The time now is 1:23 PM.