I was trying to use the attendance system but i have a problem, when i log with any caracter the client crash on loading screen.
i made some tests and the result's is:
(1) - Its not the problem with item ou texture because i try with red potion ID 501
(2) - only crash when the attendance system is active
(3) - probably is the client side, lua file or texture file from interface(i try to use from actualized datas but dont change at all)
my hexed is the 2018-06-20 with KRO client.
Help me please this is my settings:
Attendance.yml
Header:
Type: ATTENDANCE_DB
Version: 1
Body:
- Start: 20220301
End: 20221231
Rewards:
- Day: 1
ItemId: 502
Amount: 1
- Day: 2
ItemId: 502
Amount: 1
- Day: 3
ItemId: 502
Amount: 1
- Day: 4
ItemId: 502
Amount: 1
- Day: 5
ItemId: 502
Amount: 1
- Day: 6
ItemId: 502
Amount: 1
- Day: 7
ItemId: 502
Amount: 1
- Day: 8
ItemId: 502
Amount: 1
- Day: 9
ItemId: 502
Amount: 1
- Day: 10
ItemId: 502
Amount: 1
- Day: 11
ItemId: 502
Amount: 1
- Day: 12
ItemId: 502
Amount: 1
- Day: 13
ItemId: 502
Amount: 1
- Day: 14
ItemId: 502
Amount: 1
- Day: 15
ItemId: 502
Amount: 1
- Day: 16
ItemId: 502
Amount: 1
- Day: 17
ItemId: 502
Amount: 1
- Day: 18
ItemId: 502
Amount: 1
- Day: 19
ItemId: 502
Amount: 1
- Day: 20
ItemId: 502
Amount: 1
CheckAttendance.lub / CheckAttendnace.lua
Config = {
StartDate = 20220301,
EndDate = 20221231
}
Reward = {
{ 1, 502, 1 },
{ 2, 502, 1 },
{ 3, 502, 5 },
{ 4, 502, 1 },
{ 5, 502, 1 },
{ 6, 502, 1 },
{ 7, 502, 1 },
{ 8, 502, 1 },
{ 9, 502, 1 },
{ 10, 502, 1 },
{ 11, 502, 1 },
{ 12, 502, 1 },
{ 13, 502, 1 },
{ 14, 502, 1 },
{ 15, 502, 1 },
{ 16, 502, 1 },
{ 17, 502, 1 },
{ 18, 502, 1 },
{ 19, 502, 1 },
{ 20, 502, 1 }
}
function main()
result, msg = InsertCheckAttendanceConfig(Config.EvendOnOff, Config.StartDate, Config.EndDate)
if not result then
return false, msg
end
for k, rewardtbl in pairs(Reward) do
result, msg = InsertCheckAttendanceReward(rewardtbl[1], rewardtbl[2], rewardtbl[3])
if not result then
return false, msg
end
end
return true, "success"
end