Jump to content
  • 0

Attendance 20180620 client crash


funtwocrasher

Question


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  137
  • Reputation:   3
  • Joined:  06/17/12
  • Last Seen:  

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

 

Edited by funtwocrasher
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  137
  • Reputation:   3
  • Joined:  06/17/12
  • Last Seen:  

FIXED. Just updated the msgstringtable.txt.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  137
  • Reputation:   3
  • Joined:  06/17/12
  • Last Seen:  

I replaced "Body:" > "Attendnace:" and now I receive this Error

image.thumb.png.4d89a4b756e7330883021d23c151f369.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   46
  • Joined:  10/30/12
  • Last Seen:  

1 hour ago, funtwocrasher said:

I replaced "Body:" > "Attendnace:" and now I receive this Error

1. Change back to default. No need to change the code.

 

2. Try to change the date period for only 1 month period instead of yearly date.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...