[BEING INVESTIGATED] TONS OF ADDONS 6.86b small help please?

Started by Makasu, April 22, 2009, 11:12:21 am

Previous topic - Next topic

Makasu

PROGRAM: RPG MAKER XP

Issue(s) with: Tons of Addons Different Difficulties issue

PROBLEM: I have another mode set up to be played after the game is completed, It unlocks the mode. The mode is then selected from the title screen We'll call it battle mode. I'm not having an immediate problem setting up getting to the mode or the seperate set of maps. Its just that when an enemy goes to attack I get this error:

image: ShowHide


which then takes me to this line of coding in TOA pt 2

Line 3475:  self.damage = self.damage * $game_system.enemy_rate / 100


WHAT I AM ASKING: Is there a way around this problem or would it require more scripting knowledge than I'm aware of? I think it might be because it doesn't know which difficulty to turn to or use in this case and if I cut off different difficulties then it works just fine. But then that makes it so that it can't be used in the main portion of my game. And I need that for the actual main part of my game.

So to make it short I'm not sure if there is a way around this or not. I have very very little scripting knowledge and I don't want to hack up TOA without knowing what I'm doing exactly. :P because then that'd just be a disaster in itself. I was hoping that maybe one of you talented scripters on here would be able to assist me in said issue. Or help me to counter it or something?

Spoiler: ShowHide

My Scripts:
-Character Select
-New Game Plus
-UMS
-Scene Credits
-Scene Savefile
-Hear Steps
-Item Limitations
-Sanity Meter
-Sound Emissions
-Scroll Delay
-ToA 1
-ToA 2
-ToA 3
-Stormtronic
-BABS pt 1
-BABS pt 2
-BABS pt 3
-Autofire
-Quick Equip
-Screencolor
-CustomStatGrowing
-CriticalSound
-New Debugger
-MAIN


Many many many thanks in advance for any assitance. :)
~Makasu
Dead on Arrival is the name of my project. Topic thread coming sooner or later.

Me on deviantart.com
My talents: ShowHide

  • Spriting
  • drawing
  • html coding
  • website design
  • skating
             PM now for a personal quote!
[[Will draw character art for you for $$$ or scripts!]]




Blizzard

Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Makasu

April 22, 2009, 11:19:58 am #2 Last Edit: April 22, 2009, 11:25:02 am by Makasu
Lol typo I'm using 6.85b!

And still its the same problem. Only the line switched because I'm guessing the code got short. Now its

Line 3544:         self.damage = self.damage * $game_system.enemy_rate / 100
Dead on Arrival is the name of my project. Topic thread coming sooner or later.

Me on deviantart.com
My talents: ShowHide

  • Spriting
  • drawing
  • html coding
  • website design
  • skating
             PM now for a personal quote!
[[Will draw character art for you for $$$ or scripts!]]




tSwitch



FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: tSwitch.us | Twitter | Tumblr

Makasu

It delays the scroll of the map by like a little bit. So its smoother? I think thats the word.

Maybe its called smooth scrolling but I have it labeled as Scroll delay.
Dead on Arrival is the name of my project. Topic thread coming sooner or later.

Me on deviantart.com
My talents: ShowHide

  • Spriting
  • drawing
  • html coding
  • website design
  • skating
             PM now for a personal quote!
[[Will draw character art for you for $$$ or scripts!]]




Blizzard

Alright... Either you have used it with an old savegame or you haven't configured a difficulty properly (meaning that you haven't defined the EXP_RATE value for that difficulty).
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Makasu

No it still occurs even when I've used a new save still and the defined stats are still at the default of what they were when I installed the latest version of ToA. The only part thats been changed are the names. Everything else is as is.
Dead on Arrival is the name of my project. Topic thread coming sooner or later.

Me on deviantart.com
My talents: ShowHide

  • Spriting
  • drawing
  • html coding
  • website design
  • skating
             PM now for a personal quote!
[[Will draw character art for you for $$$ or scripts!]]




Blizzard

Post your configuration. It really seems to me that the value for ENEMY_RATE is missing.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Makasu

April 22, 2009, 03:45:57 pm #8 Last Edit: April 22, 2009, 03:47:47 pm by Makasu
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# START Congfiguration
#
# Use the following template to create difficulties in your game
# ['NAME', EXP_RATE, GOLD_RATE, ACTOR_DAMAGE_RATE, ENEMY_DAMAGE_RATE]
# Note that all the "rates" are in %. Values over 100 will increase, values
# under 100 will decrease the given attribute. Of course you can add/remove
# any difficulties you want, be sure to separate them with commas.
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

DIFFICULTIES = [['Easy Mode', 150, 150, 150, 75],
                ['Normal Mode', 100, 100, 100, 100],
                ['Hard Mode', 75, 75, 75, 150],
                ['Survivor Mode', 50, 50, 50, 200]]

#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# END Congfiguration
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::



I hope this is what you meant. Lol

Do you think it might have to do with the fact that the difficulty screen isn't called?
I mean because its a new option thats added once the game is completed like I said. Almost like a new game plus. Only yeah it goes to a character select screen then it goes to the place. You're able to walk around with no problems. But once an enemy tries to attack I get the error. :p
Dead on Arrival is the name of my project. Topic thread coming sooner or later.

Me on deviantart.com
My talents: ShowHide

  • Spriting
  • drawing
  • html coding
  • website design
  • skating
             PM now for a personal quote!
[[Will draw character art for you for $$$ or scripts!]]




Blizzard

Yes, it is. But it seems fine to me. :/ I just uploaded v6.88b. I don't think it will fix your problem and in case I am right, a demo would probably be a good idea.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Makasu

April 22, 2009, 03:52:18 pm #10 Last Edit: April 22, 2009, 04:51:50 pm by Makasu
Alrighty! I'll try it with 6.88b then upload a demo if I get nothing. I'll cut all the stuff out so you don't have to wade through a 20+ mb download. :p

DEMO!

NOTES: I think I've included a save file. You're free to delete it if you want and it'll disable the modes. If you choose to delete the files you just need to talk to the dragon in new game under any difficulty and he'll allow you to access the new modes once returned to the title screen.

Once you click on the new modes and select a character or are transported you'll see what error I'm talking about.

I've included a readme file in case  you get a little lost. :D
Dead on Arrival is the name of my project. Topic thread coming sooner or later.

Me on deviantart.com
My talents: ShowHide

  • Spriting
  • drawing
  • html coding
  • website design
  • skating
             PM now for a personal quote!
[[Will draw character art for you for $$$ or scripts!]]




Blizzard

Alright. I'll take a look as soon as I can. The next two days will be insane for me so don't get your hopes up until saturday. I'll get back to you as soon as I find the problem.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Makasu

:D alrighty no big rush. I mean I still have a whole project to work on. Hahaha should I mark this as resolved or just leave it???

Also thank you in advance! Sorry for the inconvienece. ;p
Dead on Arrival is the name of my project. Topic thread coming sooner or later.

Me on deviantart.com
My talents: ShowHide

  • Spriting
  • drawing
  • html coding
  • website design
  • skating
             PM now for a personal quote!
[[Will draw character art for you for $$$ or scripts!]]




Blizzard

April 22, 2009, 05:54:49 pm #13 Last Edit: April 23, 2009, 02:31:45 pm by Blizzard
Sure, if you want.

EDIT:

Ok, I've looked into it and the problem is simple. Your New Game Plus script is messing it up. Different Difficulties initializes something in Game_System which the other game modes don't since they don't call the command for a new game in the title screen but a custom command. In each of those commands you need to add this line:

$game_system.init_difficulty(INDEX)


INDEX is the index of the difficulty. As I see your normal game mode is at index 1.

$game_system.init_difficulty(1)


The methods where you need to add those commands are located in your edited version of Scene_Title.

command_horde
command_btlmde
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.