otpgo: Create ToontownClient.lua; update otp.yml

This commit is contained in:
John Cote 2024-09-07 17:25:03 -04:00
parent d1dad9c905
commit cc692bfbde
3 changed files with 34 additions and 0 deletions

View File

@ -34,3 +34,30 @@ uberdogs:
- class: TTSpeedchatRelay
id: 4712
roles:
- type: clientagent
bind: 0.0.0.0:6667
version: "sv1.0.47.38"
lua_file: "lua/ToontownClient.lua"
database: 4003
client:
relocate: true
add_interest: enabled
heartbeat_timeout: 60
channels:
min: 1000000000
max: 1009999999
- type: stateserver
control: 20100000
objects:
- class: DistributedDirectory
id: 4618
- class: CentralLogger
id: 4688
- type: eventlogger
bind: 127.0.0.1:4343
output: logs/events-%Y%m%d_%H%M%S.log

1
otpgo/logs/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.log

View File

@ -0,0 +1,6 @@
package.path = package.path .. ";lua/?.lua"
function receiveDatagram(client, dgi)
msgType = dgi:readUint16()
print(msgType)
end