otpgo: Add database and dbss roles
This commit is contained in:
parent
cc692bfbde
commit
4e43ff6f9e
|
|
@ -58,6 +58,36 @@ roles:
|
|||
- class: CentralLogger
|
||||
id: 4688
|
||||
|
||||
- type: database
|
||||
control: 4003
|
||||
generate:
|
||||
min: 100000000
|
||||
max: 199999999
|
||||
backend:
|
||||
type: yaml
|
||||
directory: databases/otpdb
|
||||
objects:
|
||||
- class: Account
|
||||
id: 1
|
||||
|
||||
- class: DistributedToon
|
||||
id: 2
|
||||
|
||||
- class: DistributedEstate
|
||||
id: 3
|
||||
|
||||
- class: DistributedHouse
|
||||
id: 4
|
||||
|
||||
- class: DistributedPet
|
||||
id: 5
|
||||
|
||||
- type: dbss
|
||||
database: 4003
|
||||
ranges:
|
||||
min: 100000000
|
||||
max: 199999999
|
||||
|
||||
- type: eventlogger
|
||||
bind: 127.0.0.1:4343
|
||||
output: logs/events-%Y%m%d_%H%M%S.log
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
*.db
|
||||
*.bak
|
||||
*.dat
|
||||
*.dir
|
||||
|
|
@ -0,0 +1 @@
|
|||
*.yaml
|
||||
|
|
@ -2,5 +2,5 @@ package.path = package.path .. ";lua/?.lua"
|
|||
|
||||
function receiveDatagram(client, dgi)
|
||||
msgType = dgi:readUint16()
|
||||
print(msgType)
|
||||
print(msgType)
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue