Initial Release of Attendance Feature (#3297)

Thanks to @secretdataz and @aleos89 for their help.
Thanks to @Haikenz and @admkakaroto for testing.
Thanks to @Daegaladh for his ideas.
This commit is contained in:
Lemongrass3110
2018-07-16 21:39:42 +02:00
committed by GitHub
parent 030443c9d3
commit a5588dd9ab
27 changed files with 534 additions and 37 deletions

View File

@@ -70,3 +70,7 @@ feature.achievement: on
// Homunculues Autofeeding (Note 1)
// Requires: 2017-09-20bRagexeRE or later
feature.homunculus_autofeed: off
// Attendance System (Note 1)
// Requires: 2018-03-07bRagexeRE or later
feature.attendance: off

View File

@@ -94,6 +94,7 @@ groups: (
can_trade: true
can_party: true
command_enable: true
attendance: true
}
},
{
@@ -135,6 +136,7 @@ groups: (
langtype: true
}
permissions: {
attendance: false
}
},
{

View File

@@ -105,11 +105,13 @@ minsave_time: 100
// 32: After successfully submitting an item for auction
// 64: After successfully get/delete/complete a quest
// 128: After every bank transaction (deposit/withdraw)
// 256: After every attendance reward
// 4095: Always
// NOTE: These settings decrease the chance of dupes/lost items when there's a
// server crash at the expense of increasing the map/char server lag. If your
// server rarely crashes, but experiences interserver lag, you may want to set
// these off.
save_settings: 255
save_settings: 4095
// Message of the day file, when a character logs on, this message is displayed.
motd_txt: conf/motd.txt

View File

@@ -843,7 +843,16 @@
786: The guild does not have a guild storage.
787: You do not have permission to use the guild storage.
//788-899 free
// Attendance
// Mail sender: Officer
788: <MSG>3455</MSG>
// Mail title: %dday attendance has been paid.
789: <MSG>3456,%d</MSG>
// Mail body: %dday attendance has been paid.
790: <MSG>3456,%d</MSG>
791: You are not allowed to use the attendance system.
//792-899 free
//------------------------------------
// More atcommands message