Posts: 1,038
Threads: 36
Joined: Oct 2011
I've run into some really, really stupid problems with RMXP. I can't make sense of why any of this is happening, and need help.
1) When I try to change armor, it doesn't tell how much the stats will increase, they just stay the same.
2) I have a forest maze puzzle area, and without even changing a thing, a teleport event sends you somewhere completely wrong. I checked the actual event, and it says it's sending the player to the right place, but it doesn't.
How do I fix these problems?
Posts: 4,642
Threads: 554
Joined: Dec 2009
You just forgot to mention if you're using a default or custom equipment script but if it's the first option then that would mean that some piece of code gotta be deleted at some point or the shoulder pad doesn't actually make any difference because you forgot to change the its stats in the database section. So we would need to check out your equipment script to search for the culprit lines. Regarding the player transfer issue we would still need to know where does the player show up after the transfer took place. What are the actual coordinates of that unusual transfer? (Not the right ones, the ones that blow up your nerves!) Is there any possibility that you're are using another custom script that may affect the player transfer process at some point?
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Posts: 1,038
Threads: 36
Joined: Oct 2011
im not using any custom equipment or transfer scripts. the stats change after the armor is equipped
Posts: 4,642
Threads: 554
Joined: Dec 2009
OK, does the Window_EquipLeft script look exactly the same as the one I've posted below?
Code: #==============================================================================
# ** Window_EquipLeft
#------------------------------------------------------------------------------
# This window displays actor parameter changes on the equipment screen.
#==============================================================================
class Window_EquipLeft < Window_Base
#--------------------------------------------------------------------------
# * Object Initialization
# actor : actor
#--------------------------------------------------------------------------
def initialize(actor)
super(0, 64, 272, 192)
self.contents = Bitmap.new(width - 32, height - 32)
@actor = actor
refresh
end
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
self.contents.clear
draw_actor_name(@actor, 4, 0)
draw_actor_level(@actor, 4, 32)
draw_actor_parameter(@actor, 4, 64, 0)
draw_actor_parameter(@actor, 4, 96, 1)
draw_actor_parameter(@actor, 4, 128, 2)
if @new_atk != nil
self.contents.font.color = system_color
self.contents.draw_text(160, 64, 40, 32, "->", 1)
self.contents.font.color = normal_color
self.contents.draw_text(200, 64, 36, 32, @new_atk.to_s, 2)
end
if @new_pdef != nil
self.contents.font.color = system_color
self.contents.draw_text(160, 96, 40, 32, "->", 1)
self.contents.font.color = normal_color
self.contents.draw_text(200, 96, 36, 32, @new_pdef.to_s, 2)
end
if @new_mdef != nil
self.contents.font.color = system_color
self.contents.draw_text(160, 128, 40, 32, "->", 1)
self.contents.font.color = normal_color
self.contents.draw_text(200, 128, 36, 32, @new_mdef.to_s, 2)
end
end
#--------------------------------------------------------------------------
# * Set parameters after changing equipment
# new_atk : attack power after changing equipment
# new_pdef : physical defense after changing equipment
# new_mdef : magic defense after changing equipment
#--------------------------------------------------------------------------
def set_new_parameters(new_atk, new_pdef, new_mdef)
if @new_atk != new_atk or @new_pdef != new_pdef or @new_mdef != new_mdef
@new_atk = new_atk
@new_pdef = new_pdef
@new_mdef = new_mdef
refresh
end
end
end
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Posts: 1,038
Threads: 36
Joined: Oct 2011
if that's a vanilla version script, i havent touched it
Posts: 4,642
Threads: 554
Joined: Dec 2009
That's the default Window_EquipLeft script I just wanted to check if something changed after you saved this script. I just wanted to check if there was any involuntary deletion of some part of the code or the Scripts.rxdata file was corrupted already.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Posts: 1,038
Threads: 36
Joined: Oct 2011
that code matches my code exactly.
the custom scripts im using are:
Selwyn's "dancing damage numbers" which is at the very top of the list
LegacyX's Skill shop, which I haven't used yet
ParaDog's 8 directional movement
The RMXP Standard Development Kit (SDK)
Trickster's Battle Centering (Centered Status)
an anonymous caterpillar walking script that i've had for 7 years
an anonymous Heal On Levelup script
RPG Advocate's Elemental Damage Fix
ParaDog's Battle Count Indicator
Emily_Konichi's Scene_Credits script
DerVV's Battle Advantages
and RPG Advocate's Two Handed Weapons (which i also haven't used yet)
Posts: 797
Threads: 24
Joined: Feb 2010
Those are many scripts that could affect the problems you've encountered.
Also, just naming them might not be enough. The SDK alone has god knows how many versions. I'm not a scripter, but without someone looking at this pile of codes it is quite unlikely that you'll get the help you want.
Friendship is born at that moment when one person says to another: "What! You, too? Thought I was the only one." (C.S. Lewis)
For the time you're laughing, there's nothing wrong in the world. (Colin Mochrie)
If it's funny, make sure people laugh. If it's not funny, make it funny (unless it's actually really serious). (silvercheers)
Please don't spell my name "Yamina-chan". It's all small. Thank you =D
Posts: 11,271
Threads: 651
Joined: May 2009
The caterpillar script you're using is likely fukuyama's Train Actor script. One of the originals. See if it has a 'TRAIN_ACTOR_TRANSPARENT_SWITCH' switch you can turn on/off as a giveaway.
The Heal on LevelUp is likely Ccoa's. That was the title of one of hers.
Try this. Make a 'duplicate' copy of your demo and delete one script at a time, running it each time. When the bug disappears, you just found a script that (at least partially) caused the problem.
Funny how you say you haven't used the two-handed script as that one would be more likely to affect your equipment script above the others.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 1,038
Threads: 36
Joined: Oct 2011
i have it in the database, but havent actually tried to make any two handed weapons. i'll have to try just eliminating one at a time til i get it
|