Issue with Crystal Engine

Hey, I got another question: I am having trouble trying to get this script(http://forums.rpgmakerweb.com/index.php?/topic/13164-crystal-engine-guardian-forces/?hl=junction) to function on my game properly. 

I put them in the order that Crystal mentioned: but I keep getting this error when trying to start my game: 

“Script ‘CE GF Junction’ line 283: SyntaxError occurred.

unexpected tLBRACK, expecting ‘]’
[@learning_skill][0]].min”

Judging by the script specified in the error It's somewhere in this script 

Crystal Engine - GF Junction.txt

I don't want to edit the line that the error specified unless I really know what I'm doing. Since it is passed the text line that says "Edit at your own risk"

can someone help me solve this?
I have split this into its own thread. Issues with existing scripts are better off NOT going in the "questions that don't deserve their own thread" topic because they usually involve a fair bit of Q&A and trialling things to get it working.


The link in the topic for the script leads me to a google docs page with 'no content to display', and the text file you have attached does NOT show that code on that line.


If you have made edits to that script, please post your edited code (the entire script)
Ok sorry. My brother came up and helped me solve it. it made my saves invalid. but it works. Thanks for your help. you may close this thread.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Ok I'm so sorry for bringing this back up. But I Cannot get the Crystal Engine - Guardian Force series script to function properly.

Here is Exactly what I did step by step:

1. at about 4:50pm (MDT)  I go to the topic "Crystal Engine - Guardian Forces " and Decide to download each script

2. I download the "Crystal Engine - Basic Module" Script

3. I Downloaded The "Crystal Engine - Guardian Force" and "Crystal Engine - GF Menu" Scripts

4. I ran the game after I imported these Scripts.

5. I recieved the error: 

"Script 'Crystal Engine' line 3: SyntaxError occurred

unexpected tEQQ

====="

6. I Ask Crystal on her blog about this error. She replied

"Sometimes the # at the beginning of the first line gets messed up when going between the script editor and notepad, to fix this highlight the # and just retype another #."

7. I did as she asked and retried the game.

8. I got another error saying I need the "Crystal Engine - GF Junction" Script

9. I downloaded The specified script and ran the game a third time

10. I got another error saying:

"Script 'CE GF Junction' line 283: SyntaxError occurred.

unexpected tLBRACK, expecting ']'

[@learning_skill][0]].min"

11. I spend 15+ minutes attempting to figure out the problem without any progress.

12. I told Crystal about this error on her blog. She did not reply.

13. I asked my brother to come and help me.

15. My brother edited the specified line. (i dont remember how, I would have to post the entire script in a spoiler window which i dont know how to do.)

16. I ran the game a fourth time and It succeeds in launching. but I was unable to load my saved files (Probably rendered invalid by importing the scripts)

17. I make a new game and cannot find the options "GF" and "Junction" on the menu.

18. I ask Crystal on her blog about this. Again, no reply.

19. I spend more time figuring out how to get the two options specified in Crystals game demo to appear on My game.

20. at 7:00 pm MDT, I went into Crystal's Demo and copied the Ace Menu Engine Script from Her game and Replaced the script bearing the same name in mine.

21. I ran the game a fifth time and The two options finally appeared. So I Exited the game in order to add some events to enable me to obtain the Guardian Forces.

22. I ran the game a sixth time. and Obtained the Guardian forces. 

23. I attempt to summon one in a battle and the Game crashes and gives me this error:

"Script 'Game_Battler' line 352: SyntaxError occured.

unexpected ':', expecting $end

Damage: 500 + $game_actors[15].atk * 8"

24. I again posted on Crystal's Blog and she has not replied.

25. At almost 10:00 pm MDT I post this topic to the forums.

Can someone please guide me through on how to get this script to function properly?

I'm all out of Ideas.

I would also like to know how to make an interactable 

Spoiler
window in my posts. And I will post scripts and do anything to get this to work. Can someone help me?
If you have more issues and your original topic has been locked, just report the original post and ask to have it unlocked again


That's an awful lot of (irrelevant) information just to say "I'm getting this error message when I use a skill" 😉

23. I attempt to summon one in a battle and the Game crashes and gives me this error:


"Script 'Game_Battler' line 352: SyntaxError occured.


unexpected ':', expecting $end


Damage: 500 + $game_actors[15].atk * 8"
This problem has nothing to do with scripts. You have an error in your damage formula. Well, MAYBE it has to do with scripts - are you setting up your damage formulae in a script, or in the skill window? Show us EXACTLY what your damage formula is - the whole thing, exactly as it is there (ie - copy and paste it, don't retype it).


It is not this:

500 + $game_actors[15].atk * 8because that doesn't have a : in it, which is what the error is complaining about.
Or is your damage formula REALLY exactly what you typed, including the " at the end? That sure shouldn't be there, but it's still not the objectionable : symbol.


If it's too hard to track it down, go to your scripts and insert a line BEFORE 352 of Game_Battler, and type this:

Code:
p item.damage.formula
Then turn on your console (Game > Show Console) and play until you get a crash. Then see what's in the console - it'll be the damage formula that's throwing the error.
Alright. I think I may have found the problem. (Sorry i should have clarified that the quotation marks were only there to quote the error. it was not part of it)

So Basically I put the formula as:

Damage: 500 + $game_actors[15].atk * 8

instead of:

500 + $game_actors[15].atk * 8

That being said: I simply forgot to delete the "Damage:" from the formula.

Let me test first just to make sure I am correct.

I might have to revive this post if anymore issues arise. 

But it may just be solved.

Edit: New error

Script 'CE GF Junction' line 289: TypeError occurred

no implicit conversion from nil to integer

I will post the script in a reply to this post

I dont know how to make a spoiler window so i will have to post the script on an image
Yes, if your damage formula actually included Damage:, that'd throw a spanner in the works.


Why are you using $game_actors[15]? Is this skill used by actor 15, and is actor 15 the only one who can use it? In that case, you can just use a.atk instead of $game_actors[15].atk.


In your damage formula, a. means "whoever is using the skill" and b. means "whoever is the target", so you can avoid having to write the whole thing out that way.
Another Error occured after a battle victory

Script 'CE GF Junction' line 289: TypeError occurred

no implicit conversion from nil to integer

Here is the line it specifies (Highlighted in grey)

I apologize in advance if the image is giant.

 [IMG]http://i603.photobucket.com/albums/tt116/Bradleymee/Scripterrorline_zps9a978e7c.jpg[/IMG]
Did you add those two lines in there (288 and 289)? If not, just remove them, because they don't do anything useful.
Ok. I did as you said. Let me test again.

Update: 

That seemed to have fixed the problem. Thank you for your help

But before you close this thread, can you tell me two things about posting as I am a newbie on this forum:

first

how do you make spoiler windows like this?

[IMG]http://i603.photobucket.com/albums/tt116/Bradleymee/8730585b-e574-41ae-8151-8af733f91e63_zpsf881c17a.jpg[/IMG]

and second to reopen a closed thread, I click on report and a message stating why right?

Thanks Again  🙂

Zackthefox
There is no button on the post screen for spoilers, so you have to write it manually. It should look like this:

Spoiler
Text to be hidden goes here.
this will look like:
Spoiler
Text to be hidden goes here.
And yes, once your thread has been locked, if you need it unlocked, just report the first post in the thread and ask it to be reopened. We will only reopen threads if the original poster makes the request - you can't request someone else's thread to be reopened.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/issue-with-crystal-engine.18833/