The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Jepherz on January 05, 2008, 06:51:30 PM

Title: [RESOLVED] Freggin Error I Can't Fix!
Post by: Jepherz on January 05, 2008, 06:51:30 PM
Alright here's the problem, I tried to put the caterpillar script in but it never worked... so then I took it out and I got this error:

[spoiler](https://rmrk.net/proxy.php?request=http%3A%2F%2Fi58.photobucket.com%2Falbums%2Fg254%2FCuup%2FScreenShot007mod.jpg&hash=ca9ad53a6158d4470b977a7b38c826583910e555)[/spoiler]

[spoiler](https://rmrk.net/proxy.php?request=http%3A%2F%2Fi58.photobucket.com%2Falbums%2Fg254%2FCuup%2FScreenShot006mod2.jpg&hash=d7287ddf10d1a713d6a09b17cd09068682dd65ba)[/spoiler]

Please Help!!
Title: Re: Freggin Error I Can't Fix!
Post by: firerain on January 05, 2008, 06:59:51 PM
Make a new project and take the 'Sprite_Character' script from that one and replace your old one.
Title: Re: Freggin Error I Can't Fix!
Post by: Jepherz on January 05, 2008, 07:02:21 PM
Tried it, it doesn't work.
Title: Re: Freggin Error I Can't Fix!
Post by: firerain on January 05, 2008, 07:04:43 PM
reinstall or wait until one of the scripters can look at this

?_?
Title: Re: Freggin Error I Can't Fix!
Post by: Falcon on January 05, 2008, 07:17:35 PM
Strike 1, should be in script help forum because this is an error.

You should also post the damn caterpillar script you're using, there's at least 5 of them.
Title: Re: Freggin Error I Can't Fix!
Post by: Jepherz on January 05, 2008, 07:52:01 PM
Quote from: Falcon on January 05, 2008, 07:17:35 PM
Strike 1, should be in script help forum because this is an error.

You should also post the damn caterpillar script you're using, there's at least 5 of them.

Isn't this the "Script Help - For Help and Troubleshooting with your Scripts"

And this is the caterpillar script I used: http://www.rpgrevolution.com/script/32/
Title: Re: Freggin Error I Can't Fix!
Post by: Falcon on January 05, 2008, 08:15:10 PM
I moved it for you, it was in scripts.

Also, there's no need to quote the post that's directly above yours.
Title: Re: Freggin Error I Can't Fix!
Post by: Jepherz on January 05, 2008, 08:27:20 PM
 I can't find my topic anymore.. (the one you moved)

And sorry for the quoting, I wasn't aware of that, I'll keep it in mind next time...

Did you see a reason why my scripts are all screwed up?
Title: Re: Freggin Error I Can't Fix!
Post by: Falcon on January 05, 2008, 09:01:03 PM
What the hell are you smoking? The topic that was in the scripts section is in the script help section.

http://rmrk.net/index.php/topic,19774.0.html
Title: Re: Freggin Error I Can't Fix!
Post by: Jepherz on January 05, 2008, 09:03:33 PM
alright, ANYWAYS.

what's the problem with the scripts? I mean everything screwed up because of..?
Title: Re: Freggin Error I Can't Fix!
Post by: firerain on January 06, 2008, 12:47:10 AM
Quote from: Falcon on January 05, 2008, 09:01:03 PM
What the hell are you smoking? The topic that was in the scripts section is in the script help section.

http://rmrk.net/index.php/topic,19774.0.html
Yeah, pretty sure he got that.

As for the error, I'll take a look at the script and see if I get the error.
Title: Re: Freggin Error I Can't Fix!
Post by: Jepherz on January 06, 2008, 07:38:41 PM
Thanks! :)
Title: Re: Freggin Error I Can't Fix!
Post by: Jepherz on January 07, 2008, 04:09:26 AM
I now know that there is something wrong with the Window_Shopbuy script and that the error I posted above is related to the "EM Exclamation" Animation
Title: Re: Freggin Error I Can't Fix!
Post by: shaz on January 07, 2008, 09:15:24 AM
When I get an error like that, the first thing I look for is new scripts that have been inserted in the wrong place.

When you get new scripts, they're USUALLY placed just above MAIN.  Is it possible you have another script down there somewhere that redefines anything about $data_animations or Sprite_Character?  I don't know enough to be sure, but it LOOKS like it's $data_animations that's the culprit.

Is it possible when you removed the caterpillar script, that you got rid of more than you should have?
Title: Re: Freggin Error I Can't Fix!
Post by: Jepherz on January 07, 2008, 10:52:11 PM
But still, there's an error with the Window_Shopbuy script
Title: Re: Freggin Error I Can't Fix!
Post by: Jepherz on January 15, 2008, 01:52:54 AM
omg, can someone help?
Title: Re: Freggin Error I Can't Fix!
Post by: pliio8 on January 15, 2008, 01:10:20 PM
None of your maps have names >.>

Anywho, make a new projet and replace Window_Shopbuy and Sprite_Character and see if that works.

If it dosent, insert the caterpilar script into a new project along with the SDK and post any errors you get.
Title: Re: Freggin Error I Can't Fix!
Post by: Jepherz on January 16, 2008, 02:46:57 AM
No, they have names, they're just censored ;D
Title: Re: Freggin Error I Can't Fix!
Post by: Jepherz on January 22, 2008, 06:05:44 PM
Could it be possible that in a cutscene, the player can't buy anything or like there's some sort of limit to what he can do? Here's the script I used.

[spoiler]class Scene_Cutscene
def main
    $data_actors        = load_data("Data/Actors.rxdata")
    $data_tilesets      = load_data("Data/Tilesets.rxdata")
    $data_common_events = load_data("Data/CommonEvents.rxdata")
    $data_system        = load_data("Data/System.rxdata")
    $data_mapInfos     = load_data("Data/MapInfos.rxdata")
    $game_temp          = Game_Temp.new
    $game_system        = Game_System.new
    $game_switches      = Game_Switches.new
    $game_variables     = Game_Variables.new
    $game_self_switches = Game_SelfSwitches.new
    $game_screen        = Game_Screen.new
    $game_actors        = Game_Actors.new
    $game_party         = Game_Party.new
    $game_map           = Game_Map.new
    $game_player        = Game_Player.new
    @save_max = 3
    for i in 0..@save_max     
      if FileTest.exist?("Save#{i+1}.rxdata") : $scene = Scene_Title.new end
    end
    $game_map.setup(25)
    $game_player.moveto(9,14)
    $game_player.refresh
    $game_map.update
    $scene = Scene_Map.new
  end
end[/spoiler]

If anyone sees anything, please tell!