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.

TrollandToad.com
Reply
 
Thread Tools
  #101    
Old April 5th, 2012 (11:18 AM).
salva123 salva123 is offline
     
    Join Date: May 2011
    Gender: Male
    Posts: 24
    and where do I have to put the php file?
    Reply With Quote

    Relevant Advertising!

      #102    
    Old April 6th, 2012 (3:04 AM).
    overstood overstood is offline
       
      Join Date: Mar 2012
      Posts: 15
      Still not working
      Cant open PokémonSummary after uploading getting undefined method error.
      Cant search for Pokémon list is always empty.
      When i chose my pokémon for uploading and then press esc (no searching) the game crashes coz a undefined method error.

      I have mysql and php file uploaded
      Reply With Quote
        #103    
      Old April 6th, 2012 (5:58 AM).
      desbrina's Avatar
      desbrina desbrina is offline
      Lightning Yellow Creator
         
        Join Date: Feb 2011
        Location: UK
        Gender: Female
        Nature: Quiet
        Posts: 687
        The issues are likely to do with nothing is being returned from the php script to essentials, you need to echo or print the results in the php script then essentials will use that
        __________________
        Creator of


        A Pokemon Yellow remake, using HGSS Tiles, and the ability to obtain all Kanto Pokemon as well as their previous/later evolutions.

        Reply With Quote
          #104    
        Old April 6th, 2012 (11:29 AM).
        salva123 salva123 is offline
           
          Join Date: May 2011
          Gender: Male
          Posts: 24
          I get this error when trying to summary the pokemon that I uploaded


          ---------------------------
          Pokemon Dark Space
          ---------------------------
          Exception: RuntimeError

          Message: Script error within event 15, map 43 (Pokemon Center):

          Exception: NoMethodError

          Message: Section143:197:in `pbGTSSummary'undefined method `[]' for nil:NilClass

          ***Full script:

          pbStartGTS()


          Interpreter:243:in `pbExecuteScript'

          Trade:189:in `pbPokemonGate'

          Trade:54:in `pbStartGTS'

          Trade:36:in `loop'

          Trade:58:in `pbStartGTS'

          (eval)in `pbExecuteScript'

          Interpreter:1593:in `eval'

          Interpreter:243:in `pbExecuteScript'

          Interpreter:1593:in `command_355'

          Interpreter:494:in `execute_command'



          Interpreter:276:in `pbExecuteScript'

          Interpreter:1593:in `command_355'

          Interpreter:494:in `execute_command'

          Interpreter:193:in `update'

          Interpreter:106:in `loop'

          Interpreter:198:in `update'

          Scene_Map:103:in `update'

          Scene_Map:101:in `loop'

          Scene_Map:114:in `update'

          Scene_Map:68:in `main'



          This exception was logged in

          C:\Users\Salvador1\Saved Games/Pokemon Dark Space/errorlog.txt.

          Press Ctrl+C to copy this message to the clipboard.
          ---------------------------
          Aceptar
          ---------------------------

          And when I try to find the pokemon for trade it doesn't appear on the list

          This is how I have setup the scripts:
          Host = "pokemondasp.99k.org" # mysql server(local : 127.0.0.1)
          User = "698247_salva123" # mysql user
          Pass = "******" # mysql password
          Base = "pokemondasp_99k_interpoke" # base name
          Port = 21 # server port (default: 3306)
          Err_Con = "Mysql:\nUnable to connect to the database"
          Err_Req = "Mysql:\nUnable to send the query"

          I have my Sql and php file on zymic.com
          Reply With Quote
            #105    
          Old April 7th, 2012 (7:45 AM).
          Ho-oh 112's Avatar
          Ho-oh 112 Ho-oh 112 is offline
          Advance Scripter
             
            Join Date: Feb 2011
            Age: 21
            Gender: Male
            Nature: Hasty
            Posts: 311
            Quote:
            Originally Posted by desbrina View Post
            The issues are likely to do with nothing is being returned from the php script to essentials, you need to echo or print the results in the php script then essentials will use that

            Yeah I did do that I'm really busy lately so I'll get to this soon....
            __________________
            Scripting Level: Advance

            RMXP Poke-Essentials MySQL Trading System Link:
            http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

            RMXP Poke-Essentials Mystery Gift Link:
            http://www.pokecommunity.com/showthread.php?t=270687

            RMXP Poke-Essentials Award System Link:
            http://www.pokecommunity.com/showthread.php?p=7111566
            Reply With Quote
              #106    
            Old April 8th, 2012 (4:37 PM). Edited April 8th, 2012 by Ho-oh 112.
            Ho-oh 112's Avatar
            Ho-oh 112 Ho-oh 112 is offline
            Advance Scripter
               
              Join Date: Feb 2011
              Age: 21
              Gender: Male
              Nature: Hasty
              Posts: 311
              Alright guys I fixed up the summary screen and I have made a few adjustments to the GTS_Get.php file, hope this helps out some people.

              @Salva: Don't use the old MySQL script from Berka, modify the GTS_Get data at the top for the mySQL stuff...


              @Desbrina:
              Code:
              <?php
              $host="127.0.0.1";
              $user="root";
              $pass="";
              $base="pokemon";
              $port=3306;
              $sql=mysql_connect($host,$user,$pass,$base,$port) or die("Cannot connect to MySQL");
              $request = $_POST['Request'];
              
              if ($request == "delete_pokemon") {
              $code = $_POST['Code'];
              $ech="Failed";
              $ech=mysql_query("DELETE FROM trades WHERE Code=".mysql_real_escape_string($code)."");
              echo($ech);
              }
              
              elseif ($request == "taken_pokemon") {
              $poke=$_POST['Pokemon'];
              $ech=mysql_query("SELECT Taken FROM trades WHERE Pokemon=".mysql_real_escape_string($poke)."");
              echo($ech);
              }
              
              elseif ($request == "send_pokemon") {
              $code=$_POST['Code'];
              $poke=$_POST['Pokemon'];
              $level=$_POST['Level'];
              $level1=$_POST['Level1'];
              $level2=$_POST['Level2'];
              $wanted=$_POST['Wanted'];
              $ech="";
              $ech=mysql_query("INSERT INTO trades Code=".mysql_real_escape_string($code).",Pokemon=".mysql_real_escape_string($poke).",Level=".mysql_real_escape_string($level).",Wanted=".mysql_real_escape_string($wanted).",Level1=".mysql_real_escape_string($level1).",Level2=".mysql_real_escape_string($level2).",Taken=".mysql_real_escape_string("No")."");
              echo($ech);
              }
              
              elseif ($request == "get_pokemon") {
              $poke=$_POST['Pokemon'];
              $level1=$_POST['Level1'];
              $level2=$_POST['Level2'];
              $ech=mysql_query("SELECT * FROM trades WHERE Pokemon=".mysql_real_escape_string($poke)." and Level>".mysql_real_escape_string($level1)." and Level<".mysql_real_escape_string($level2)."") or print("None");
              echo($ech);
              }
              
              elseif ($request == "pokemon_taken") {
              $code=$_POSY['Code'];
              $ech=mysql_query("Update trades SET Taken='Yes' WHERE Code=".mysql_real_escape_string($code)."");
              echo($ech);
              }
              
              elseif ($request == "get_all") {
              $test="VVA";
              $ech=mysql_query("INSERT INTO trades Code=".mysql_real_escape_string($test)."") or $ech="Failed";
              echo($ech);
              $ech=mysql_query("SELECT * FROM trades");
              echo($ech);
              }
              
              $sql_close;
              
              ?>
              that's my php script, I don't know why some people don't get data from it...


              EDIT: It's difficult fixing up errors that don't even happen to me the Summary screen is the only Error I get...
              __________________
              Scripting Level: Advance

              RMXP Poke-Essentials MySQL Trading System Link:
              http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

              RMXP Poke-Essentials Mystery Gift Link:
              http://www.pokecommunity.com/showthread.php?t=270687

              RMXP Poke-Essentials Award System Link:
              http://www.pokecommunity.com/showthread.php?p=7111566
              Reply With Quote
                #107    
              Old April 8th, 2012 (5:30 PM).
              pokemonmasteraaron's Avatar
              pokemonmasteraaron pokemonmasteraaron is offline
              The blind Pokémon Master!
                 
                Join Date: Jan 2011
                Location: In the forest of an undiscovered region
                Age: 21
                Gender: Male
                Nature: Relaxed
                Posts: 314
                There isn't an option to put the pokemon on the gts?
                Also, when searching for a pokemon, it doesn't pop up anything really, it says though something about a T variable in www.
                I can't copy paste it sorry.
                __________________
                Game developer.
                Not nearly as active on here as I used to be.
                Still like meeting and talking to pokemon fanatics like myself.
                Reply With Quote
                  #108    
                Old April 8th, 2012 (5:53 PM).
                salva123 salva123 is offline
                   
                  Join Date: May 2011
                  Gender: Male
                  Posts: 24
                  why don't you make a video tutorial explaining how to configure all the scripts and things like that?
                  Reply With Quote
                    #109    
                  Old April 9th, 2012 (6:15 AM).
                  overstood overstood is offline
                     
                    Join Date: Mar 2012
                    Posts: 15
                    Or just add scripts, which are DONE and when they are DONE they should WORK.
                    None of them fits to your screwed up script.
                    Reply With Quote
                      #110    
                    Old April 9th, 2012 (4:26 PM). Edited April 9th, 2012 by DarkShadow21.
                    DarkShadow21's Avatar
                    DarkShadow21 DarkShadow21 is offline
                    Master of dark fire!!
                       
                      Join Date: Dec 2009
                      Location: Wheeling, WV, United states
                      Gender: Male
                      Nature: Mild
                      Posts: 55
                      Quote:
                      Originally Posted by overstood View Post
                      Or just add scripts, which are DONE and when they are DONE they should WORK.
                      None of them fits to your screwed up script.
                      It is very rude and ignorant to be be putting down someone that is trying to put something out there for the public to use for their games. We are all lucky that Ho-oh is even doing this for the community because if he really didn't want to help out people in the forums of PC then he wouldn't.
                      __________________

                      Check out updates of some of the stuff in Pokémon Titanium and Pokemon Chromium on my deviantart http://darkness2118.deviantart.com/
                      Reply With Quote
                        #111    
                      Old April 10th, 2012 (1:38 AM).
                      overstood overstood is offline
                         
                        Join Date: Mar 2012
                        Posts: 15
                        There is a difference between releasing a script and sayin its not completed nor working.
                        Hoohs releasing script and saying its complete. (See first post)
                        For me, he is trying to get fame before bla bloob u knowwhat i mean
                        Reply With Quote
                          #112    
                        Old April 10th, 2012 (2:29 AM).
                        Rai Rai's Avatar
                        Rai Rai Rai Rai is offline
                        Master of everything!
                           
                          Join Date: Aug 2010
                          Gender: Male
                          Posts: 267
                          Quote:
                          Originally Posted by overstood View Post
                          There is a difference between releasing a script and sayin its not completed nor working.
                          Hoohs releasing script and saying its complete. (See first post)
                          For me, he is trying to get fame before bla bloob u knowwhat i mean
                          Only thing about coding, the script needs to be released before it's done to see what problems occur for others to make sure maximum stability in the code is available for everyone to enjoy.
                          __________________
                          Reply With Quote
                            #113    
                          Old April 10th, 2012 (7:52 AM).
                          Ho-oh 112's Avatar
                          Ho-oh 112 Ho-oh 112 is offline
                          Advance Scripter
                             
                            Join Date: Feb 2011
                            Age: 21
                            Gender: Male
                            Nature: Hasty
                            Posts: 311
                            Quote:
                            Originally Posted by DarkShadow21 View Post
                            It is very rude and ignorant to be be putting down someone that is trying to put something out there for the public to use for their games. We are all lucky that Ho-oh is even doing this for the community because if he really didn't want to help out people in the forums of PC then he wouldn't.
                            Thanks man
                            ALSO I can't script well BECAUSE I HAD A VIRUS ON MY PC AND MY DAD WAS IN THE HOSPITAL
                            __________________
                            Scripting Level: Advance

                            RMXP Poke-Essentials MySQL Trading System Link:
                            http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

                            RMXP Poke-Essentials Mystery Gift Link:
                            http://www.pokecommunity.com/showthread.php?t=270687

                            RMXP Poke-Essentials Award System Link:
                            http://www.pokecommunity.com/showthread.php?p=7111566
                            Reply With Quote
                              #114    
                            Old April 10th, 2012 (8:26 AM).
                            DarkShadow21's Avatar
                            DarkShadow21 DarkShadow21 is offline
                            Master of dark fire!!
                               
                              Join Date: Dec 2009
                              Location: Wheeling, WV, United states
                              Gender: Male
                              Nature: Mild
                              Posts: 55
                              Quote:
                              Originally Posted by Ho-oh 112 View Post
                              Thanks man
                              ALSO I can't script well BECAUSE I HAD A VIRUS ON MY PC AND MY DAD WAS IN THE HOSPITAL
                              I understand but at least you try. And you have been doing well with it. And I just don't think he understands that not everyone gets the same exact errors sometimes and like Rai Rai said it needs to be released to see what errors others get too. I don't see overstood trying to script and doing that on their own.
                              __________________

                              Check out updates of some of the stuff in Pokémon Titanium and Pokemon Chromium on my deviantart http://darkness2118.deviantart.com/
                              Reply With Quote
                                #115    
                              Old April 11th, 2012 (4:53 AM).
                              Ho-oh 112's Avatar
                              Ho-oh 112 Ho-oh 112 is offline
                              Advance Scripter
                                 
                                Join Date: Feb 2011
                                Age: 21
                                Gender: Male
                                Nature: Hasty
                                Posts: 311
                                Quote:
                                Originally Posted by DarkShadow21 View Post
                                I understand but at least you try. And you have been doing well with it. And I just don't think he understands that not everyone gets the same exact errors sometimes and like Rai Rai said it needs to be released to see what errors others get too. I don't see overstood trying to script and doing that on their own.
                                Yeah I'm working on a fix because I messed with the essentials settings a bit now I get some new errors I'm fixing up...
                                __________________
                                Scripting Level: Advance

                                RMXP Poke-Essentials MySQL Trading System Link:
                                http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

                                RMXP Poke-Essentials Mystery Gift Link:
                                http://www.pokecommunity.com/showthread.php?t=270687

                                RMXP Poke-Essentials Award System Link:
                                http://www.pokecommunity.com/showthread.php?p=7111566
                                Reply With Quote
                                  #116    
                                Old April 13th, 2012 (4:27 AM).
                                Ho-oh 112's Avatar
                                Ho-oh 112 Ho-oh 112 is offline
                                Advance Scripter
                                   
                                  Join Date: Feb 2011
                                  Age: 21
                                  Gender: Male
                                  Nature: Hasty
                                  Posts: 311
                                  Fixes: A lot completely new PHP file and a heavy set of testing:

                                  Errors: The PHP file won't update the taken pokemon.
                                  __________________
                                  Scripting Level: Advance

                                  RMXP Poke-Essentials MySQL Trading System Link:
                                  http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

                                  RMXP Poke-Essentials Mystery Gift Link:
                                  http://www.pokecommunity.com/showthread.php?t=270687

                                  RMXP Poke-Essentials Award System Link:
                                  http://www.pokecommunity.com/showthread.php?p=7111566
                                  Reply With Quote
                                    #117    
                                  Old April 13th, 2012 (7:29 AM).
                                  pokemonmasteraaron's Avatar
                                  pokemonmasteraaron pokemonmasteraaron is offline
                                  The blind Pokémon Master!
                                     
                                    Join Date: Jan 2011
                                    Location: In the forest of an undiscovered region
                                    Age: 21
                                    Gender: Male
                                    Nature: Relaxed
                                    Posts: 314
                                    Just wondering, if I went to the php file in internet explorer, what would be there?
                                    __________________
                                    Game developer.
                                    Not nearly as active on here as I used to be.
                                    Still like meeting and talking to pokemon fanatics like myself.
                                    Reply With Quote
                                      #118    
                                    Old April 13th, 2012 (3:32 PM).
                                    Ho-oh 112's Avatar
                                    Ho-oh 112 Ho-oh 112 is offline
                                    Advance Scripter
                                       
                                      Join Date: Feb 2011
                                      Age: 21
                                      Gender: Male
                                      Nature: Hasty
                                      Posts: 311
                                      Quote:
                                      Originally Posted by pokemonmasteraaron View Post
                                      Just wondering, if I went to the php file in internet explorer, what would be there?
                                      "Undefined Index "Request" "
                                      __________________
                                      Scripting Level: Advance

                                      RMXP Poke-Essentials MySQL Trading System Link:
                                      http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

                                      RMXP Poke-Essentials Mystery Gift Link:
                                      http://www.pokecommunity.com/showthread.php?t=270687

                                      RMXP Poke-Essentials Award System Link:
                                      http://www.pokecommunity.com/showthread.php?p=7111566
                                      Reply With Quote
                                        #119    
                                      Old April 17th, 2012 (6:31 PM).
                                      LegendTriforce's Avatar
                                      LegendTriforce LegendTriforce is offline
                                      Repugnāntem Tempus
                                         
                                        Join Date: Jan 2012
                                        Location: Canada
                                        Nature: Adamant
                                        Posts: 68
                                        Looks great and all, I even tried to test it out, but d'you think we could get a tutorial, either text- or video-based, for those of us who don't know how to set it up?
                                        Reply With Quote
                                          #120    
                                        Old April 18th, 2012 (5:44 AM).
                                        Ho-oh 112's Avatar
                                        Ho-oh 112 Ho-oh 112 is offline
                                        Advance Scripter
                                           
                                          Join Date: Feb 2011
                                          Age: 21
                                          Gender: Male
                                          Nature: Hasty
                                          Posts: 311
                                          Quote:
                                          Originally Posted by LegendTriforce View Post
                                          Looks great and all, I even tried to test it out, but d'you think we could get a tutorial, either text- or video-based, for those of us who don't know how to set it up?
                                          yeah sure I could do that.
                                          __________________
                                          Scripting Level: Advance

                                          RMXP Poke-Essentials MySQL Trading System Link:
                                          http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

                                          RMXP Poke-Essentials Mystery Gift Link:
                                          http://www.pokecommunity.com/showthread.php?t=270687

                                          RMXP Poke-Essentials Award System Link:
                                          http://www.pokecommunity.com/showthread.php?p=7111566
                                          Reply With Quote
                                            #121    
                                          Old April 18th, 2012 (5:53 AM).
                                          venom12's Avatar
                                          venom12 venom12 is offline
                                          Pokemon Crystal Rain Relased
                                             
                                            Join Date: Sep 2006
                                            Age: 26
                                            Gender: Male
                                            Nature: Adamant
                                            Posts: 529
                                            I have error.

                                            [spoiler]Exception: RuntimeError
                                            Message: Script error within event 7, map 113 (MAP113):
                                            Exception: NoMethodError
                                            Message: Section174:598:in `pbToString'undefined method `level' for #
                                            Reply With Quote
                                              #122    
                                            Old April 18th, 2012 (8:27 AM).
                                            LegendTriforce's Avatar
                                            LegendTriforce LegendTriforce is offline
                                            Repugnāntem Tempus
                                               
                                              Join Date: Jan 2012
                                              Location: Canada
                                              Nature: Adamant
                                              Posts: 68
                                              Quote:
                                              Originally Posted by Ho-oh 112 View Post
                                              yeah sure I could do that.
                                              Thanks a bunch! Again, this script looks great. I see lots of potential~
                                              Reply With Quote
                                                #123    
                                              Old April 20th, 2012 (2:03 PM).
                                              Ho-oh 112's Avatar
                                              Ho-oh 112 Ho-oh 112 is offline
                                              Advance Scripter
                                                 
                                                Join Date: Feb 2011
                                                Age: 21
                                                Gender: Male
                                                Nature: Hasty
                                                Posts: 311
                                                Quote:
                                                Originally Posted by LegendTriforce View Post
                                                Thanks a bunch! Again, this script looks great. I see lots of potential~

                                                I first got to finish some projects I'm working on for other people first, it's almost due to be finished...
                                                __________________
                                                Scripting Level: Advance

                                                RMXP Poke-Essentials MySQL Trading System Link:
                                                http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

                                                RMXP Poke-Essentials Mystery Gift Link:
                                                http://www.pokecommunity.com/showthread.php?t=270687

                                                RMXP Poke-Essentials Award System Link:
                                                http://www.pokecommunity.com/showthread.php?p=7111566
                                                Reply With Quote
                                                  #124    
                                                Old April 22nd, 2012 (8:01 PM).
                                                LegendTriforce's Avatar
                                                LegendTriforce LegendTriforce is offline
                                                Repugnāntem Tempus
                                                   
                                                  Join Date: Jan 2012
                                                  Location: Canada
                                                  Nature: Adamant
                                                  Posts: 68
                                                  Quote:
                                                  Originally Posted by Ho-oh 112 View Post
                                                  I first got to finish some projects I'm working on for other people first, it's almost due to be finished...
                                                  Take your time, I can wait. xD
                                                  Reply With Quote
                                                    #125    
                                                  Old April 23rd, 2012 (5:18 AM).
                                                  Ho-oh 112's Avatar
                                                  Ho-oh 112 Ho-oh 112 is offline
                                                  Advance Scripter
                                                     
                                                    Join Date: Feb 2011
                                                    Age: 21
                                                    Gender: Male
                                                    Nature: Hasty
                                                    Posts: 311
                                                    Quote:
                                                    Originally Posted by LegendTriforce View Post
                                                    Take your time, I can wait. xD
                                                    I don't really work with rgss much lately but when I get back to it I'll make a bunch of fixes for this and a tutorial, I might even throw in a website for people to use.
                                                    __________________
                                                    Scripting Level: Advance

                                                    RMXP Poke-Essentials MySQL Trading System Link:
                                                    http://www.pokecommunity.com/showthread.php?p=7077162#post7077162

                                                    RMXP Poke-Essentials Mystery Gift Link:
                                                    http://www.pokecommunity.com/showthread.php?t=270687

                                                    RMXP Poke-Essentials Award System Link:
                                                    http://www.pokecommunity.com/showthread.php?p=7111566
                                                    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

                                                    Sponsored Links
                                                    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 11:42 PM.