Jump to content
  • 0

you are not allowed to use the attendance system


Geralt

Question


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   0
  • Joined:  12/26/12
  • Last Seen:  

Good morning guys, how do I activate the system?
I already went to

CheckAttendance.lub

Config = {


    StartDate = 20181019,
    EndDate = 20181119
}

Sem título.jpg

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1184
  • Reputation:   160
  • Joined:  06/12/12
  • Last Seen:  

12 hours ago, Sir Meliodas said:

Yes I put the same date as CheckAttendance.lub

CheckAttendance.lub

Config = {StartDate = 20181101, EndDate = 20181130}

attendance.yml

Start: 20181101
    End: 20181130

Check at some folder 

-first conf\battle\feature.conf, check is the feature already on

Quote

// Attendance System (Note 1)
// Requires: 2018-03-07bRagexeRE or later
feature.attendance: on

-second db\re\attendace.yml, check the date and item reward

Spoiler
Quote

Header:
  Type: ATTENDANCE_CONF
  Version: 1
  
Attendance:
  - Start: 20181101
    End: 20181130
    Rewards:
      - Day: 1
        ItemId: 22979
      - Day: 2
        ItemId: 6316
      - Day: 3
        ItemId: 12265
        Amount: 5
      - Day: 4
        ItemId: 23047
        Amount: 5
      - Day: 5
        ItemId: 23038
      - Day: 6
        ItemId: 23043
      - Day: 7
        ItemId: 23340
        Amount: 3
      - Day: 8
        ItemId: 12516
        Amount: 5
      - Day: 9
        ItemId: 23307
        Amount: 5
      - Day: 10
        ItemId: 12610
      - Day: 11
        ItemId: 14533
        Amount: 2
      - Day: 12
        ItemId: 23012
        Amount: 3
      - Day: 13
        ItemId: 23048
        Amount: 5
      - Day: 14
        ItemId: 12264
        Amount: 5
      - Day: 15
        ItemId: 23046
        Amount: 5
      - Day: 16
        ItemId: 12515
        Amount: 5
      - Day: 17
        ItemId: 12522
        Amount: 5
      - Day: 18
        ItemId: 12523
        Amount: 5
      - Day: 19
        ItemId: 6234
      - Day: 20
        ItemId: 22845
 

 

-third at system\checkattendance.lub, same as db folder check the date and item reward

Spoiler
Quote

Config = {
    StartDate = 20181101,
    EndDate = 20181130
}

Reward = {
    { 1, 22979, 1 },
    { 2, 6316, 1 },
    { 3, 12265, 5 },
    { 4, 23047, 5 },
    { 5, 23038, 1 },
    { 6, 23043, 1 },
    { 7, 23340, 3 },
    { 8, 12516, 5 },
    { 9, 23307, 5 },
    { 10, 12610, 1 },
    { 11, 14533, 2 },
    { 12, 23012, 3 },
    { 13, 23048, 5 },
    { 14, 12264, 5 },
    { 15, 23046, 5 },
    { 16, 12515, 5 },
    { 17, 12522, 5 },
    { 18, 12523, 5 },
    { 19, 6234, 1 },
    { 20, 22845, 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
 

 

here my ss

Spoiler

screenrAthena099.thumb.jpg.b5a2324057dbe08ca9e4ee67962a3693.jpg

 

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

Have you checked the attendance.yml ? 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   0
  • Joined:  12/26/12
  • Last Seen:  

1 hour ago, Normynator said:

Have you checked the attendance.yml ? 

Yes I put the same date as CheckAttendance.lub

CheckAttendance.lub

Config = {StartDate = 20181101, EndDate = 20181130}

attendance.yml

Start: 20181101
    End: 20181130

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  182
  • Reputation:   32
  • Joined:  10/26/12
  • Last Seen:  

Only normal player is allowed to use this feature

See groups.conf and check "attendance: " privilege

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   0
  • Joined:  12/26/12
  • Last Seen:  

thank you very much solved

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  73
  • Reputation:   1
  • Joined:  11/27/18
  • Last Seen:  

image.png.927739b3cfb1e8b9b4265afa49689920.png

Why it shows wrong day today?

command time shows correct date

Edited by 3TAJIOH
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  89
  • Topics Per Day:  0.02
  • Content Count:  232
  • Reputation:   15
  • Joined:  11/02/13
  • Last Seen:  

Is this still working or there is an update? I still get an error message that I am not allowed to use the system.

I added this in db/import/attendance.yml

Quote

Header:
  Type: ATTENDANCE_DB
  Version: 1
Attendance:
  - Start: 20190423
    End: 20191130
    Rewards:
      - Day: 1
        ItemId: 22979
      - Day: 2
        ItemId: 6316
      - Day: 3
        ItemId: 12265
        Amount: 5
      - Day: 4
        ItemId: 23047
        Amount: 5
      - Day: 5
        ItemId: 23038
      - Day: 6
        ItemId: 23043
      - Day: 7
        ItemId: 23340
        Amount: 3
      - Day: 8
        ItemId: 12516
        Amount: 5
      - Day: 9
        ItemId: 23307
        Amount: 5
      - Day: 10
        ItemId: 12610
      - Day: 11
        ItemId: 14533
        Amount: 2
      - Day: 12
        ItemId: 23012
        Amount: 3
      - Day: 13
        ItemId: 23048
        Amount: 5
      - Day: 14
        ItemId: 12264
        Amount: 5
      - Day: 15
        ItemId: 23046
        Amount: 5
      - Day: 16
        ItemId: 12515
        Amount: 5
      - Day: 17
        ItemId: 12522
        Amount: 5
      - Day: 18
        ItemId: 12523
        Amount: 5
      - Day: 19
        ItemId: 6234
      - Day: 20
        ItemId: 22845

Quote

Config = {
    StartDate = 20190423,
    EndDate = 20191230
}

Reward = {
    { 1,    22979,    1    },
    { 2,    6316,    1    },
    { 3,    12265,    5    },
    { 4,    23047,    5    },
    { 5,    23038,    1    },
    { 6,    23043,    1    },
    { 7,    23340,    3    },
    { 8,    12516,    5    },
    { 9,    23307,    5    },
    { 10,    12610,    1    },
    { 11,    14533,    2    },
    { 12,    23012,    3    },
    { 13,    23048,    5    },
    { 14,    12264,    5    },
    { 15,    23046,    5    },
    { 16,    12515,    5    },
    { 17,    12522,    5    },
    { 18,    12523,    5    },
    { 19,    6234,    1     },
    { 20,    22845,    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
 

 

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...