RSSBSACE: Reedo's Simple Side Battle System Ace Edition

Joined
Jul 11, 2015
Messages
1
Reaction score
0
First Language
English
Primarily Uses
Apologies for how little I know about scripting. I was hoping to find the answer to the current issue that I'm having.

Your script is amazing, and is exactly what I was looking for. However: I am coming across an error message in

line 618 which exits me out of my playtest as soon as it occurs.

The scenario is such that during the battle, once the main character's HP becomes 60% or less, an additional

character will join the fray to protect him, and they then-- ideally-- defeat the foe together. 

However, when that moment comes, and the protector attempts to join the battle, what happens is this:

The dialogue comes up fine, the battle seems ready to progress, but the sprite for the newly-arrived character

doesn't show up at all. The sprite for the character who has been there since the beginning of the battle is there,

but the new character doesn't show up-- although her name appears on the party list. I can attack with the original

character, but trying to attack with the new character causes the error message:

Script RSSBSACE line 618 : NoMethodError occured.

undefined method 'x' for nil:NilClass

Currently, the only other script I'm running is SoulPour777's Game Over screen, which asks whether one wants

to quit or continue, so I don't think it's a negative interaction between the two. 

Thank you for any assistance anyone might be able to provide. I recognize that there are limitations, especially

since I am not a coder of any kind, and if I need to rework my scene I understand.
 
Last edited by a moderator:

Torqus

Veteran
Veteran
Joined
Aug 2, 2015
Messages
169
Reaction score
26
First Language
English
Primarily Uses
This is the best sideview system I've seen yet, simple and beautiful.

An option to flip battlers and enemies would be nice (I prefer player on the left and enemy on the right).

But the main improvement would be popups appearing on top of the characters just like happens to enemies.
 

Awesomeguy2561

Awesome
Member
Joined
Sep 8, 2015
Messages
32
Reaction score
0
First Language
English
Primarily Uses
Screenshot 2015-10-21 18.22.12.png

I got this error message, I didn't do anything to the script. 

Help?
 

NeoFantasy

Building Worlds
Veteran
Joined
Jul 19, 2014
Messages
2,168
Reaction score
1,136
First Language
English
Primarily Uses
RMVXA
Where did you place it, it should be above all other custom scripts unless you have hud adjustments, in that case it goes under those ones.
 

Awesomeguy2561

Awesome
Member
Joined
Sep 8, 2015
Messages
32
Reaction score
0
First Language
English
Primarily Uses
Now i put it above all my scripts but I still got the same error message.
 

NeoFantasy

Building Worlds
Veteran
Joined
Jul 19, 2014
Messages
2,168
Reaction score
1,136
First Language
English
Primarily Uses
RMVXA
Did you start a new save file after inserting the script? 
 

Awesomeguy2561

Awesome
Member
Joined
Sep 8, 2015
Messages
32
Reaction score
0
First Language
English
Primarily Uses
Yea, I started a new game and now it works thanks!
 

NeoFantasy

Building Worlds
Veteran
Joined
Jul 19, 2014
Messages
2,168
Reaction score
1,136
First Language
English
Primarily Uses
RMVXA
No problem, just remember every time you insert a new script you need to start a new save to make everything work properly.
 

bearsona

Warper
Member
Joined
Feb 8, 2015
Messages
2
Reaction score
1
Primarily Uses
When I copy and paste the code from this topic to VX ace it pastes it all as one giant line...so the script doesnt work properly -_-''


Anyone know why this might be happening or is it just because of how he provided the script? thanks


Here's an example of whats going on when i try to plug and play the script, as you can see its only creating ONE line in VX ace ...is this is a windows 10 thing or because its in a quote weirdly spaced? hope someone can help thanks.


 
Last edited by a moderator:

ZionSairin

Warper
Member
Joined
Jan 28, 2016
Messages
2
Reaction score
1
First Language
English
Primarily Uses
Out of curiosity, is there a way to just get one clean swing? I feel like my character looks rather silly waving his sword around randomly in a serious setting.
 

Reedo

Coder
Veteran
Joined
Sep 17, 2013
Messages
71
Reaction score
38
First Language
English
Primarily Uses
I know this is super old but I have the same issue.


'Reedo's Simple Side Battle System' line 585: NoMethodError occured.


 


undefined method 'reedo_guard?' for nil:NilClass


 


What is causing is it is when I give a battler a state with the restriction "Attack an Enemy". (I turn it off, it goes away. I turn the restriction on- it comes back).


 


Currently installed:



(All Yanfly scipts)


Convert Damage


Skill Steal


Victory Aftermath


Active Battle Advantage


Shop Options


Item Options


Enemy Target Info
I apologize but I was unable to get a working VX ACE environment going so I can't do much to test any edits to the script.  It's also been a while since I've worked with any Ruby and probably won't use it much anymore.  If I get any time to play with RPG Maker it will most likely be spent converting some of my other scripts to JavaScript for MV (this script is no longer useful in MV but some of the others are).


You should be able to get past this issue though with a simple code edit... just test for nil on line 585 and skip the following code if there is no reedo_guard value.  I suspect you've just run into my override for default guard behavior and it is failing when there is no guard action available.  Skipping the code which cares about the guard action should be safe to do (shouldn't have unintended consequences) and should resolve the error.
 

Reedo

Coder
Veteran
Joined
Sep 17, 2013
Messages
71
Reaction score
38
First Language
English
Primarily Uses
Apologies for how little I know about scripting. I was hoping to find the answer to the current issue that I'm having.


Your script is amazing, and is exactly what I was looking for. However: I am coming across an error message in


line 618 which exits me out of my playtest as soon as it occurs.


The scenario is such that during the battle, once the main character's HP becomes 60% or less, an additional


character will join the fray to protect him, and they then-- ideally-- defeat the foe together. 


However, when that moment comes, and the protector attempts to join the battle, what happens is this:


The dialogue comes up fine, the battle seems ready to progress, but the sprite for the newly-arrived character


doesn't show up at all. The sprite for the character who has been there since the beginning of the battle is there,


but the new character doesn't show up-- although her name appears on the party list. I can attack with the original


character, but trying to attack with the new character causes the error message:


Script RSSBSACE line 618 : NoMethodError occured.


undefined method 'x' for nil:NilClass


Currently, the only other script I'm running is SoulPour777's Game Over screen, which asks whether one wants


to quit or continue, so I don't think it's a negative interaction between the two. 


Thank you for any assistance anyone might be able to provide. I recognize that there are limitations, especially


since I am not a coder of any kind, and if I need to rework my scene I understand.


Not sure if you still need help on this since it was so long ago, but I would need to know the means by which you cause a new actor to join the battle.  If there is no script involved then I guess it is an event configuration of some sort?  The problem likely lies in the fact that the battle scene is setup at the beginning of battle so there is some initialization that would have to take place for a character to join mid-battle.  There should be a loop in the script's battle initialization that goes through the party actors and creates the battler sprites.  You would need to duplicate the functionality in that loop for the character that is joining the fight mid-battle.
 

Reedo

Coder
Veteran
Joined
Sep 17, 2013
Messages
71
Reaction score
38
First Language
English
Primarily Uses
Out of curiosity, is there a way to just get one clean swing? I feel like my character looks rather silly waving his sword around randomly in a serious setting.
Yes, I'm sure this is a fairly simple code edit... I don't remember if I swing a number of times or for a duration but it should be possible to shorten the swing time or number of swings.  When they fix the forums I'll try looking at the code and see if I can point you toward the line to edit.
 

Vox Novus

Knight of Whispers
Veteran
Joined
Mar 18, 2013
Messages
3,307
Reaction score
2,480
First Language
English
Primarily Uses
N/A
I apologize but I was unable to get a working VX ACE environment going so I can't do much to test any edits to the script.  It's also been a while since I've worked with any Ruby and probably won't use it much anymore.  If I get any time to play with RPG Maker it will most likely be spent converting some of my other scripts to JavaScript for MV (this script is no longer useful in MV but some of the others are).


You should be able to get past this issue though with a simple code edit... just test for nil on line 585 and skip the following code if there is no reedo_guard value.  I suspect you've just run into my override for default guard behavior and it is failing when there is no guard action available.  Skipping the code which cares about the guard action should be safe to do (shouldn't have unintended consequences) and should resolve the error.
Can someone explain what I need to add or change to implement this exactly, sorry know next to nothing when it comes to this stuff and its for a project I've invested a great deal of time into.
 

Reedo

Coder
Veteran
Joined
Sep 17, 2013
Messages
71
Reaction score
38
First Language
English
Primarily Uses
Can someone explain what I need to add or change to implement this exactly, sorry know next to nothing when it comes to this stuff and its for a project I've invested a great deal of time into.
Hopefully the code formatting issues on this forum will be fixed in a few days.  When that happens I'll see if I can issue a fix for this.
 
Joined
Jun 29, 2016
Messages
1
Reaction score
0
First Language
English
Primarily Uses
I got this error upon trying to start a fight, can someone please tell me how to fix this, thanks.

Error.PNG
 

OrangeJuice

Warper
Member
Joined
Jul 28, 2016
Messages
1
Reaction score
0
Primarily Uses
Hi everybody, hope you're having a fine day.
I know it's been a while since this topic was created but I just got back to playing around with RPGm VxAce and found your script, wich is amazing by the way.
It works just fine but I have one question to ask : is there any possibility to change the appareance of the players ?
I've created some custom battlers for my characters (see picture) and I'd like to use them into your script instead of the inmap characters

I just can't find a way to make the script to use these battlers images instead of the moving characters.


Thanks all for your help and have a great day !

battlers.gif
 

hian

Biggest Boss
Veteran
Joined
Feb 26, 2013
Messages
603
Reaction score
458
First Language
Norwegian
Primarily Uses
I really want to adjust the distance between the individual sprites, and their locations etc on the battle screen - which part of the script do I modify to do this?


I'm using some rather large sprites, and they're essentially standing on top of each-other now, so I'd like to fix that.
 

rdvid

Warper
Member
Joined
Dec 29, 2016
Messages
2
Reaction score
0
First Language
english
Primarily Uses
Hi, I am new into this, I am searching for a simple side view battle, and yours seems to work fine, but I cant make it work on my game, it is supposed that I just copy-paste it from here? Or what I do I have to do? I hope you can help me. Because I am about to desert this game. My problem is the same as someone from above, I copy the script but it only appears as a massive line and everything is in green, thus not reading it as ti should. Can you provide some help please?
 
Last edited by a moderator:

rdvid

Warper
Member
Joined
Dec 29, 2016
Messages
2
Reaction score
0
First Language
english
Primarily Uses
When I copy and paste the code from this topic to VX ace it pastes it all as one giant line...so the script doesnt work properly -_-''


Anyone know why this might be happening or is it just because of how he provided the script? thanks


Here's an example of whats going on when i try to plug and play the script, as you can see its only creating ONE line in VX ace ...is this is a windows 10 thing or because its in a quote weirdly spaced? hope someone can help thanks.


I have the ame problem as you. Did you find  way to overcome the problem?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

GameDevJohn wrote on whtdragon's profile.
Hey I used you bunny and cat spritesheet for a game jam game. Thanks so much! You have really beautiful stuff here. I'll credit you at https://gamedevjohn.itch.io/bunny-boy
The video of a psycho chasing people on the streets with a sword before getting subdued is wild. Apparent screenshots of his Twitter feed (EDIT: confirmed by Dallas police) before it went private reveal a dangerous delusional mindset. I heard there was a bow person too. The crazies are really coming out of the woodworks.
Stream will be live shortly with some Witcher 3, followed by a session of the Interactive Text Adventure! Feel free to drop by!
Managed to find a way to hang a bed cover over my window. So no more being toasted alive in the afternoon!:kaoswt2:

Forum statistics

Threads
98,006
Messages
948,472
Members
129,263
Latest member
Ilix
Top