Masuzu / ZooeyBot

Fully automated slime blasting, event and quest farming bot for GBF
https://gbtools.azurewebsites.net/ZooeyBot/en/Home
67 stars 42 forks source link

Combat Script Errors #1255

Closed betacucksoyboy closed 4 years ago

betacucksoyboy commented 4 years ago

I've attempted multiple versions of these commands I'm so confused what I'm doing wrong. I've removed spaces, I've added spaces, I've copy and pasted identical commands from other users and still getting the same error message.

I've added and taken spaces away from these commands; UseSkill (x) / UseSkill(x) Summon (x) / Summon(x) DisableChargeAttack() / DisableChargeAttack () EnableChargeAttack() / EnableChargeAttack ()

I doubt it's the charge attacks cause I just copied and pasted the commands from the FAQ, so I'm honestly confused if it's the characters or the if commands I inputed are incorrect or uncompatible; if X Y == then

My script command for the ZooeyBot.ini EventRaidUrl=http://game.granbluefantasy.jp/#quest/supporter/748061/1 EventRaidScript=Scripts/gw_ex+.lua

Here's a screenshot of the commands I'm using the error message I'm recieving; GW EX+

I would greatly appreciate some help and I'm completely new to all this type of commands I used to just put all the commands in one .lua file and just go from there. So I'm completely lost at this type of segmented coding

justjulz29 commented 4 years ago

You turns are actually supposed to be written as "if turn == 1 then" instead of the way they are. That's why it's not working. Also, there should be no space between any of the numbers or brackets in your script. Aka, it should be "UseSkill(1)" "Summon(6)" "DisableChargeAttack()".

justjulz29 commented 4 years ago

In other words, it should look like this;

DisableChargeAttack() if turn == 1 then character_1:UseSkill(1) character_2:UseSkill(2) etc. EnableChargeAttack() end

If you click on ZooeyBot on this page, then go to Scripts, you can see example scripts to see what you really should be writing :)

betacucksoyboy commented 4 years ago

You're a genius! Thank you so much for teaching a noob like me.