Event definition file
From RaidWiki
Event definition file is a normal text file fist inforamtion need to define event in our SWDKP. It can be written handy from scratch in any text editor or it can be generated automaticaly by or parser. To use parser you need to do following things:
- Download parser
- Unzip it anywhere you want - no instalatio is needed
- Run it and use [...] button toopen EQ2 log file
- EQ2 log file should have inside only one event definition inside (it will be enhanced but now only first event definition is processed
- swdkp commands used during the raid have to be used correctly
- parsed text is almost perfect but it has to be checked by RL to remove possible mistakes
Contents |
Description
Definition file is normal case-sensitive text file with easy syntax:
- commands are prefixed by #
- commands or data are divide by new-line
First three commands hav fixed position in file. Rest of them can come in free order.
Every definiton file starts with command #raidname fallowed by line with full raid name description:
- line 1: #raidname
- line 2: The Lyceum of Abhorrence
This is followed by description of raid type
- line 3: #raidtype
- line 4: Regular raid
- Available values for #raidtype command are:
- Regular raid - regular raid taht is caunted to raidin statistic (as Shadow Raider is)
- Small event - raid or event that is not counted to raid statistic
- Transfer - item transfer between players or between player and guild bank
Next raid date is following in european notation dd.mm.yyyy:
- line 5: #raiddate
- line 6: 25.5.2006
Attendance cames to accoutnt after raid date:
- line 7: #whoraid
- line 8-n: Names of characters attended on event divided by new line
After this fixed header more dynamic part of definition follows - loot. Loot description is defined using four commands:
- #loot
- ingame link to item like: \aITEM 1625683652 1807931277:Relic Plate Gauntlets\/a
- #rank
- Item rank description choosed from Available item ranks
- #winner
- Bid winner: Genagen
- #bid
- nuber of points spent by winner: 20 for example
Bid section folows one by one and between bid definition sections #whoraid section can be inserted. We distribute points between players that were rpesented when item was looted so every bid definition can have its #whoraid section. If #whoraid section is not inserted before bid section last known #whoraid definition is used.
Specialities
Special accounts
- We got three special accounts:
- Bank - It can be used as bidder in bid definition section. It means that item is going to guild bank and can be bidded after raid or can be processed by any valid guild rule
- Trash - It can be used as bidder in bid definition section. it means that item is goin to be trashed. None was bidded for it and item is flagged as NO-TRADE. In Shadowind it means that item will be sold to NPC and coins will be transfered to guild bank
- Systembalance - This account is used byu internal algorithms to balance our DKP. It is used automatically and this account should be used as bid winner only if you really know what you are doing.
No loot
Situation with raid without loot have to be solved in tricky way. In our system raid witout loot means raid with loot that says there was no loot. In language of our definition file it is written:
- #loot
- No loot
- #rank
- Unknown
- #winner
- Trash
- #bid
- 0
For more details check example attached tothis page.
Adding new player
Adding new player account into system is very easy just in #whoraid section befor name add one of three commands:
- add_member name - it adds new player account that is member of guild (come benefits comes from this fact in our system)
- add name - it adds new player that is not falgged as SW guild member
