Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Add medley live #4

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed @Resources/characters/1.png
Binary file not shown.
Binary file removed @Resources/characters/10.png
Binary file not shown.
Binary file removed @Resources/characters/11.png
Binary file not shown.
Binary file removed @Resources/characters/12.png
Binary file not shown.
Binary file removed @Resources/characters/13.png
Binary file not shown.
Binary file removed @Resources/characters/14.png
Binary file not shown.
Binary file removed @Resources/characters/15.png
Binary file not shown.
Binary file removed @Resources/characters/16.png
Binary file not shown.
Binary file removed @Resources/characters/17.png
Binary file not shown.
Binary file removed @Resources/characters/18.png
Binary file not shown.
Binary file removed @Resources/characters/19.png
Binary file not shown.
Binary file removed @Resources/characters/2.png
Binary file not shown.
Binary file removed @Resources/characters/20.png
Binary file not shown.
Binary file removed @Resources/characters/21.png
Binary file not shown.
Binary file removed @Resources/characters/22.png
Binary file not shown.
Binary file removed @Resources/characters/23.png
Binary file not shown.
Binary file removed @Resources/characters/24.png
Binary file not shown.
Binary file removed @Resources/characters/25.png
Binary file not shown.
Binary file removed @Resources/characters/26.png
Binary file not shown.
Binary file removed @Resources/characters/27.png
Binary file not shown.
Binary file removed @Resources/characters/28.png
Binary file not shown.
Binary file removed @Resources/characters/29.png
Binary file not shown.
Binary file removed @Resources/characters/3.png
Binary file not shown.
Binary file removed @Resources/characters/30.png
Binary file not shown.
Binary file removed @Resources/characters/31.png
Binary file not shown.
Binary file removed @Resources/characters/32.png
Diff not rendered.
Binary file removed @Resources/characters/33.png
Diff not rendered.
Binary file removed @Resources/characters/34.png
Diff not rendered.
Binary file removed @Resources/characters/35.png
Diff not rendered.
Binary file removed @Resources/characters/4.png
Diff not rendered.
Binary file removed @Resources/characters/5.png
Diff not rendered.
Binary file removed @Resources/characters/6.png
Diff not rendered.
Binary file removed @Resources/characters/7.png
Diff not rendered.
Binary file removed @Resources/characters/8.png
Diff not rendered.
Binary file removed @Resources/characters/9.png
Diff not rendered.
Binary file modified @Resources/scripts/event.lua
Binary file not shown.
20 changes: 1 addition & 19 deletions @Resources/variables.inc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ VersusLive=VS Live
LiveGoals=Live Goals
MissionLive=Mission Live
Festival=Team Live Festival
Medley=Medley Live

;Change attribute text
Happy=Happy
Expand Down Expand Up @@ -115,22 +116,3 @@ CNBorderColor=207,207,207

; Text color
CNTextColor=80,80,80

; ========================================= KR SERVER =========================================

; Available display languages (banner or logo, not event name!): jp, tw, kr
KRImageDisplayLang=kr
; Choose between banner or logo image (img or logo)
KRImage=img

; Title of the card
TitleKR=KR Event Info

; Background color
KRBGColor=255,255,255

; Border color
KRBorderColor=207,207,207

; Text color
KRTextColor=80,80,80
144 changes: 130 additions & 14 deletions CN event info/cn.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ DynamicWindowSize=1

[Metadata]
Name=Bandori CN event info
Author=Halloyo
Information=Displays current event name, event type, a countdown to start/end of event, event attribute, event banner, event characters and event character bonus. To change settings go to @Resources\variables.inc. (https://github.com/Halloyo/BandoriWidgets)
Author=pnthach95
Information=Displays current event name, event type, a countdown to start/end of event, event attribute, event banner, event characters and event character bonus. To change settings go to @Resources\variables.inc. (https://github.com/pnthach95/BandoriWidgets, original author: https://github.com/Halloyo/BandoriWidgets)
Version=1.0
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0

Expand Down Expand Up @@ -141,17 +141,15 @@ Container=MeterProgressBarContainer

[MeterCharacter1]
Meter=Image
MeasureName=EventCharacter1
ImageName=#@#\characters\%1.png
MeasureName=EventCharacterImg1
Y=(295*#Size#)
UpdateDivider=-1
Group=Info
MeterStyle=CharacterImg

[MeterCharacter2]
Meter=Image
MeasureName=EventCharacter2
ImageName=#@#\characters\%1.png
MeasureName=EventCharacterImg2
X=(5*#Size#)R
Y=r
UpdateDivider=-1
Expand All @@ -160,8 +158,7 @@ MeterStyle=CharacterImg

[MeterCharacter3]
Meter=Image
MeasureName=EventCharacter3
ImageName=#@#\characters\%1.png
MeasureName=EventCharacterImg3
X=(5*#Size#)R
Y=r
UpdateDivider=-1
Expand All @@ -170,8 +167,7 @@ MeterStyle=CharacterImg

[MeterCharacter4]
Meter=Image
MeasureName=EventCharacter4
ImageName=#@#\characters\%1.png
MeasureName=EventCharacterImg4
X=(5*#Size#)R
Y=r
UpdateDivider=-1
Expand All @@ -180,8 +176,25 @@ MeterStyle=CharacterImg

[MeterCharacter5]
Meter=Image
MeasureName=EventCharacter5
ImageName=#@#\characters\%1.png
MeasureName=EventCharacterImg5
X=(5*#Size#)R
Y=r
UpdateDivider=-1
Group=Info
MeterStyle=CharacterImg

[MeterCharacter6]
Meter=Image
MeasureName=EventCharacterImg6
X=(5*#Size#)R
Y=r
UpdateDivider=-1
Group=Info
MeterStyle=CharacterImg

[MeterCharacter7]
Meter=Image
MeasureName=EventCharacterImg7
X=(5*#Size#)R
Y=r
UpdateDivider=-1
Expand Down Expand Up @@ -242,13 +255,12 @@ RegExp=(.*)
DynamicVariables=1
FinishAction=[!DisableMeasure MeasureEventData][!CommandMeasure LuaScript "GetEvent(4)"]


[EventId]
Measure=String

[EventType]
Measure=String
Substitute="story":"#Story#","challenge":"#ChallengeLive#","versus":"#VersusLive#","live_try":"#LiveGoals#","mission_live":"#MissionLive#","festival":"#Festival#"
Substitute="story":"#Story#","challenge":"#ChallengeLive#","versus":"#VersusLive#","live_try":"#LiveGoals#","mission_live":"#MissionLive#","festival":"#Festival#","medley":"#Medley#"

[EventName]
Measure=String
Expand All @@ -271,18 +283,122 @@ Measure=String

[EventCharacter1]
Measure=String
Substitute="":"-1"
IfMatch="-1"
IfMatchAction=[!HideMeter MeterCharacter1]
IfNotMatchAction=[!ShowMeter MeterCharacter1]

[EventCharacterImg1]
Measure=WebParser
URL=https://bestdori.com/res/icon/chara_icon_[&EventCharacter1].png
Group=ImgDL
Download=1
DynamicVariables=1
Disabled=1
OnDownloadErrorAction=[!HideMeter MeterCharacter1]
FinishAction=[!DisableMeasure EventCharacterImg1][!UpdateMeterGroup Info]

[EventCharacter2]
Measure=String
Substitute="":"-1"
IfMatch="-1"
IfMatchAction=[!HideMeter MeterCharacter2]
IfNotMatchAction=[!ShowMeter MeterCharacter2]

[EventCharacterImg2]
Measure=WebParser
URL=https://bestdori.com/res/icon/chara_icon_[&EventCharacter2].png
Group=ImgDL
Download=1
DynamicVariables=1
Disabled=1
OnDownloadErrorAction=[!HideMeter MeterCharacter2]
FinishAction=[!DisableMeasure EventCharacterImg2][!UpdateMeterGroup Info]

[EventCharacter3]
Measure=String
Substitute="":"-1"
IfMatch="-1"
IfMatchAction=[!HideMeter MeterCharacter3]
IfNotMatchAction=[!ShowMeter MeterCharacter3]

[EventCharacterImg3]
Measure=WebParser
URL=https://bestdori.com/res/icon/chara_icon_[&EventCharacter3].png
Group=ImgDL
Download=1
DynamicVariables=1
Disabled=1
OnDownloadErrorAction=[!HideMeter MeterCharacter3]
FinishAction=[!DisableMeasure EventCharacterImg3][!UpdateMeterGroup Info]

[EventCharacter4]
Measure=String
Substitute="":"-1"
IfMatch="-1"
IfMatchAction=[!HideMeter MeterCharacter4]
IfNotMatchAction=[!ShowMeter MeterCharacter4]

[EventCharacterImg4]
Measure=WebParser
URL=https://bestdori.com/res/icon/chara_icon_[&EventCharacter4].png
Group=ImgDL
Download=1
DynamicVariables=1
Disabled=1
OnDownloadErrorAction=[!HideMeter MeterCharacter4]
FinishAction=[!DisableMeasure EventCharacterImg4][!UpdateMeterGroup Info]

[EventCharacter5]
Measure=String
Substitute="":"-1"
IfMatch="-1"
IfMatchAction=[!HideMeter MeterCharacter5]
IfNotMatchAction=[!ShowMeter MeterCharacter5]

[EventCharacterImg5]
Measure=WebParser
URL=https://bestdori.com/res/icon/chara_icon_[&EventCharacter5].png
Group=ImgDL
Download=1
DynamicVariables=1
Disabled=1
OnDownloadErrorAction=[!HideMeter MeterCharacter5]
FinishAction=[!DisableMeasure EventCharacterImg5][!UpdateMeterGroup Info]

[EventCharacter6]
Measure=String
Substitute="":"-1"
IfMatch="-1"
IfMatchAction=[!HideMeter MeterCharacter6]
IfNotMatchAction=[!ShowMeter MeterCharacter6]

[EventCharacterImg6]
Measure=WebParser
URL=https://bestdori.com/res/icon/chara_icon_[&EventCharacter6].png
Group=ImgDL
Download=1
DynamicVariables=1
Disabled=1
OnDownloadErrorAction=[!HideMeter MeterCharacter6]
FinishAction=[!DisableMeasure EventCharacterImg6][!UpdateMeterGroup Info]

[EventCharacter7]
Measure=String
Substitute="":"-1"
IfMatch="-1"
IfMatchAction=[!HideMeter MeterCharacter7]
IfNotMatchAction=[!ShowMeter MeterCharacter7]

[EventCharacterImg7]
Measure=WebParser
URL=https://bestdori.com/res/icon/chara_icon_[&EventCharacter7].png
Group=ImgDL
Download=1
DynamicVariables=1
Disabled=1
OnDownloadErrorAction=[!HideMeter MeterCharacter7]
FinishAction=[!DisableMeasure EventCharacterImg7][!UpdateMeterGroup Info]

[EventCharacterPercent]
Measure=String
Expand Down
Loading