diff --git a/otpgo/config/otp.yml b/otpgo/config/otp.yml index 81a8762..fcec391 100644 --- a/otpgo/config/otp.yml +++ b/otpgo/config/otp.yml @@ -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 diff --git a/otpgo/databases/.gitignore b/otpgo/databases/.gitignore new file mode 100644 index 0000000..4dd3589 --- /dev/null +++ b/otpgo/databases/.gitignore @@ -0,0 +1,4 @@ +*.db +*.bak +*.dat +*.dir diff --git a/otpgo/databases/otpdb/.gitignore b/otpgo/databases/otpdb/.gitignore new file mode 100644 index 0000000..1e82fc7 --- /dev/null +++ b/otpgo/databases/otpdb/.gitignore @@ -0,0 +1 @@ +*.yaml diff --git a/otpgo/lua/ToontownClient.lua b/otpgo/lua/ToontownClient.lua index 85a64fb..292a378 100644 --- a/otpgo/lua/ToontownClient.lua +++ b/otpgo/lua/ToontownClient.lua @@ -2,5 +2,5 @@ package.path = package.path .. ";lua/?.lua" function receiveDatagram(client, dgi) msgType = dgi:readUint16() - print(msgType) + print(msgType) end