Lecode Tactical Battle System 0.77.2B

When I choose "Special" in Harold's command window, I get this error:

View attachment 67803

I was able to replicate this in the clean demo
What I did notice is Harold's class is Hero.
Hero has no skills, so selecting "Special" crashes due to no skills being in that option.
I added "Thunder Strike" to his class and it no longer crashes.

This is likely due to the "preview scopes" option.
Because there is no skill to preview, the scope is by default "Null"
And the system doesn't seem to catch it.

EDIT:
hi all, i am totally new to programming, like my 1st time seeing codes, i wanna ask, does javascript is Caps sensitive?
Yes JavaScript is Case Sensitive.
Example, EXAMPLE, example, ExAmPLe
are all different

It's still best practice to always use the same form of the variable you used.
I was able to get my problem fixed. I had a couple of plugins that were compatible. I can live without most of them considering where I am at in the development of my game. However, the one I would really like to keep is a victory scene (shows you amount of EXP and items acquired after a battle). Does anyone know of one that is compatible to letbs? Thanks in advance!
I was able to replicate this in the clean demo
What I did notice is Harold's class is Hero.
Hero has no skills, so selecting "Special" crashes due to no skills being in that option.
I added "Thunder Strike" to his class and it no longer crashes.

This is likely due to the "preview scopes" option.
Because there is no skill to preview, the scope is by default "Null"
And the system doesn't seem to catch it.

EDIT:

Yes JavaScript is Case Sensitive.
Example, EXAMPLE, example, ExAmPLe
are all different

It's still best practice to always use the same form of the variable you used.

I see. Good catch.
Did the glitch, where auto-placing all party members prevents you from starting the fight, ever get fixed
(I tested with 1 player)


EDIT:
And what is "Scan" supposed to do? All it does is cause the game to hang.
-Scan is currently broken, can be removed by letbs command below


EDIT:
Also, what is the proper tag to force an actor to be ai-controlled?
--Found it--
Use the actor tag:
ai_control
if they need to be a ranged fighter use:
ai_pattern: ranged_fighter


EDIT:
Is there a way to disable certain commands for characters?
In particular: item, examine, scan
-This particular tag is not available on the GitHub page
Had to grab from Demo
Default Tag is:
<letbs_commands>
move 82, attack 76, [extra], skills 64, items 182, scan 75, pass 84
</letbs_commands>


Just edit this to
move 82, attack 76, [extra], skills 64, items 182, pass 84
to remove scan
and remove , items 182
to prevent a particular character from using items.








Edit-July 7th.
Edits in BLUE

ALSO PSA:
ALL COMMANDS WILL BREAK THE SYSTEM IF THERE IS NOTHING IN THERE.
A workaround for this is to DISABLE THE SCOPE PREVIEW
or make sure there is always an action there.


EDIT:
Sorry I didn't know red was reserved.
New Day,
New bug list

This one's great:

Give pyra the summon pyra skill, they all end up in a big circle, until you run out of room.
The AI seems to love summon skills, especially if they can't hit you.

Then it crashes super summon.PNG
Possible to add a Plugin Parameter that lets you select whether you want to consider Enemies as "obstacles" for the purpose of skill/item scopes?
OK so I've updated to the latest files, but I keep getting this error.
upload_2017-7-8_10-27-50.png


It consistently happens when I kill an enemy. Any thoughts?
@Pharonix Please do not use red in your posts, it is reserved for moderator actions. Please change the text color. Thank you.
How do I change it so that I only have one battler? I tried doing it in the demo by changing the starting party to just Harold. As soon as I start the first battle I still have the option to select other blank character spots to place people. I basically just want to have one character and when the game starts I only select where to play him. Any help/advice would be terrific 🙂

Edit: When I start the battle the battle start and Harold options are grayed out and I can only select 1 of the 2 blank options. Is it possible to get rid of the menu entirely and just skip straight to placing Harold?
How do I change it so that I only have one battler? I tried doing it in the demo by changing the starting party to just Harold. As soon as I start the first battle I still have the option to select other blank character spots to place people. I basically just want to have one character and when the game starts I only select where to play him. Any help/advice would be terrific 🙂

Edit: When I start the battle the battle start and Harold options are grayed out and I can only select 1 of the 2 blank options. Is it possible to get rid of the menu entirely and just skip straight to placing Harold?
Hey Rem Rem,

To set the party max battle members to One, try using this script call BEFORE the battle call (or make it the first thing that runs)
Before the .75 update, I needed to use this if there were more party members in the Battle party than there were spots.

Game_Party.prototype.maxBattleMembers = function() {
return 1;
};

As for the second issue, can you upload a screenshot?
I'm still new to this, where do I put that script?

Sorry I didn't specify but this is all in the demo. In the picture the "Start Battle" and "Harold" options are grayed out and I can only select the 2 blank options. Is it possible to skip this menu entirely and go straight to placing Harold on the field? Thank you for your quick response!
I'm still new to this, where do I put that script?

Sorry I didn't specify but this is all in the demo. In the picture the "Start Battle" and "Harold" options are grayed out and I can only select the 2 blank options. Is it possible to skip this menu entirely and go straight to placing Harold on the field? Thank you for your quick response!

There's actually a few things i need to explain then.

1). Put it in a script call before battle processing
upload_2017-7-10_10-26-22.png

2). Check your system settings - Starting party
upload_2017-7-10_10-27-55.png
Make sure ONLY Harold is listed.

3). If using the demo, there's actually an Actor cell that pulls Harold by default.
If you use this cell, you can't move him.
There's actually a bug right now regarding auto-placement.
If the only actor in your party is auto-placed, it won't let you start.
The best solution is to make One Actor Cell, don't autoplace an actor and let the player place him.
help ...
1499697181-dcfvgh.png
are you using the demo or a custom game?

are you using any third party scripts that weren't included in the demo?

There seems to be an issue with the turn order script.
Did you copy some/all of the new demo?
If you only copied the new files, it won't work properly, you need all the files.
if you made any custom sequences, make sure you back those up to another text file.

When did this error occur?
On start?
On battle start?
custom game (and the graphics of the demo)
i d'ont use any else plugin
the turn order is right
yes i thinks
the error occur on battle start
custom game (and the graphics of the demo)
i d'ont use any else plugin
the turn order is right
yes i thinks
the error occur on battle start
Mind uploading me the map data json file?
I'd like to take a quick look to see if there's any problems with the actor and enemy events.
I can check this through the JSON

I'm just gonna check for tags and such, so There's no need yet to upload much more
sure
https://mega.nz/#!PsVwlTyD!OG1UCHzwY5k9knEoNivgxf_6dqYPWtb3098_Z4_zJFg
If you need I can put you the complete project
Found one problem, you put the <Actor Cell> tags in the name instead of note.
My map data is the right, yours is left. You need to put the <Enemy Cell> or <Actor Cell> in the note

upload_2017-7-10_11-19-26.png
Like This:
upload_2017-7-10_11-20-12.png
I changed that and I still have the same error
I changed that and I still have the same error

I renamed your map to a blank map i made, and copied over.
I changed all the <Actor Cell> and <Enemy Cell> to the notetag and it ran fine for me.
I suggest double checking all events.

EDIT: Seems it's working now. Disregard

Original thread: https://forums.rpgmakerweb.com/threads/lecode-tactical-battle-system-0-77-2b.71572/