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

bot initialized but does not run #942

Closed ErogeSeiyuu closed 6 years ago

ErogeSeiyuu commented 6 years ago

Cannot start Xeno Sagi raid (lvl 100 40ap one). Zoibot just boot up --> F12 --> Navigate to quest --> Zooeybot Initialized and then it just stop doing anything else. No crash at all. The issue persisted both with EventUrl=http://game.granbluefantasy.jp/#limited/2017/index or EventURL= blank I run everything else just fine. Changed raidurl to Xeno Sagi extreme and it still runs normally.

.ini

[EventMode]
Enabled=true
EventRaidUrl=http://game.granbluefantasy.jp/#quest/supporter/501191/1/0/20641
EventRaidScript=Scripts/sagi_raid.lua
NightmareModeUrl=http://game.granbluefantasy.jp/#quest/supporter/501161/5
NightmareModeScript=Scripts/sagi_nm90.lua
EventPageUrl=
RerollSummonWhenNoPreferredSummonWasFoundForNightmareMode is set to true.
NightmareModePreferredSummons=Kaguya,Shiva,
RerollSummonWhenNoPreferredSummonWasFoundForNightmareMode=true
NightmareModeAvailableAtStart=false
WaitTimeInMsAfterEventPageIsLoaded=2000

Script

    if turn == 1 then 
        character_1:UseSkill(2) 
        character_1:UseSkill(3) 
        character_2:UseSkill(1)  
    character_2:UseSkill(2)
    character_2:UseSkill(3)
    character_3:UseSkill(1)
    character_3:UseSkill(3)
    character_3:UseSkill(3)
    character_4:UseSkill(1)
    character_4:UseSkill(3)
    DisableChargeAttack()
    Summon(6)
end
if turn == 2 then
    character_1:UseSkill(4)
    character_1:UseSkill(1)
    character_4:UseSkill(2)
    character_3:UseSkill(2)
end
if turn == 3 then
    EnableChargeAttack()
end
if turn == 4 then
    Summon(3)
end
if turn >= 5 then
    character_1:UseSkill(2)
    character_2:UseSkill(1)
    character_2:UseSkill(2)
    character_2:UseSkill(3)
    character_3:UseSkill(1)
    character_3:UseSkill(2)
    character_3:UseSkill(3)
end
if character_1:HasStatusEffect("1044") and character_1:HasStatusEffect("1053") then
    DisableChargeAttack()
end
if character_4:HasStatusEffect("1044") and character_4:HasStatusEffect("1053") then
    DisableChargeAttack()
end
if turn >= 3 and character_1.skill_1_available == false and character_4.skill_2_available == false then
    character_1:UseSkill(2)
    character_1:UseSkill(3)
    character_4:UseSkill(1)
end
if turn > 3 and character_1.skill_1_available == true and character_4.skill_2_available == true then
    character_4:UseSkill(3)
    character_1:UseSkill(4)
    character_1:UseSkill(1)
    character_4:UseSkill(2)
end
xerance commented 6 years ago

try TreasureEventMode.

[TreasureEventMode]
Enabled=true
# Url of the event page. The URL of the June 2017 dark GW is given as an example.
TreasureEventUrl=http://game.granbluefantasy.jp/#quest/extra/event/2017
# Supported value are 'vh' (for "very hard"), 'ex' (for "extreme"), 'impossible' (introduced since the "Right Behind You" event), 'xeno-raid' (for the level 100 Xeno raid), 'gw' (for the preliminary round and first day of "Unite and Fight" nightmare mode level 90), 'gw-day-2-nm-90' for the second and 3rd days of "Unite and Fight" nightmare mode level 90, 'gw-day-2-nm-95' for the second and 3rd days of "Unite and Fight" nightmare mode level 95, 'gw-day-4-nm-90' for the 4th and last days of "Unite and Fight" nightmare mode level 90, 'gw-day-4-nm-95' for the 4th and last days of "Unite and Fight" nightmare mode level 95, 'gw-day-4-nm-100' for the 4th and last days of "Unite and Fight" nightmare mode level 100
Difficulty=xeno-raid
# Action point cost of the quest you are trying to start
ActionPointCost=40
Masuzu commented 6 years ago

Hello, What @xerance said. Do not use the event mode for raids requiring materials to host them.