ServerGS-AdminPort-Lazarus-19.07.20.Update2

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

Post Reply
User avatar
openbu.org
Engineer
Engineer
Posts: 74
Joined: 14 Nov 2014 07:40
Location: USA
Contact:

ServerGS-AdminPort-Lazarus-19.07.20.Update2

Post by openbu.org » 19 Jul 2019 10:26

IDE:Lazarus-2.0.2
https://www.lazarus-ide.org

OpenTTD-1.9.2
https://www.openttd.org/downloads/opent ... atest.html

https://www.lazarus-ide.org
ServerGS v3
viewtopic.php?f=65&t=68828&hilit=ServerGS

AdminPort
https://github.com/sambol/node-libOpenttdAdmin

Code: Select all

dbg: [net] [admin] GameScript JSON from 'MyBot' (0): '{"action":"call","method":"GSGoal.Question","args":[0,"GSCompany.COMPANY_INVALID","\"Hello the admin is speaking\"","GSGoal.QT_INFORMATION","GSGoal.BUTTON_OK | GSGoal.BUTTON_CANCEL"]}'
dbg: [net] [admin] 'MyBot' (0) has disconnected
dbg: [script] [18] [S] Your script made an error: the index 'symbol' does not exist
dbg: [script] [18] [S]
dbg: [script] [18] [S] *FUNCTION [Eval()] libservergs-v3\main.nut line [294]
dbg: [script] [18] [S] *FUNCTION [ReceiveAdminPortMessage()] libservergs-v3\main.nut line [216]
dbg: [script] [18] [S] *FUNCTION [ReceiveEvent()] libservergs-v3\main.nut line [150]
dbg: [script] [18] [S] *FUNCTION [HandleEvents()] servergs-v3\main.nut line [127]
dbg: [script] [18] [S] *FUNCTION [Start()] servergs-v3\main.nut line [85]
dbg: [script] [18] [S]
dbg: [script] [18] [S] [sym] -1
dbg: [script] [18] [S] [@ITERATOR@] 1
dbg: [script] [18] [S] [or_part] "GSCompany.COMPANY_INVALID"
dbg: [script] [18] [S] [@INDEX@] 0
dbg: [script] [18] [S] [or_parts] ARRAY
dbg: [script] [18] [S] [str] "GSCompany.COMPANY_INVALID"
dbg: [script] [18] [S] [arg_value] 0
dbg: [script] [18] [S] [@ITERATOR@] 2
dbg: [script] [18] [S] [arg] "GSCompany.COMPANY_INVALID"
dbg: [script] [18] [S] [@INDEX@] 1
dbg: [script] [18] [S] [arg_num] 2
dbg: [script] [18] [S] [arg_values] ARRAY
dbg: [script] [18] [S] [func] NATIVECLOSURE
dbg: [script] [18] [S] [args] ARRAY
dbg: [script] [18] [S] [call] "GSGoal.Question"
dbg: [script] [18] [S] [this] INSTANCE
dbg: [script] [18] [S] [tm] NULL
dbg: [script] [18] [S] [cm] NULL
dbg: [script] [18] [S] [response] TABLE
dbg: [script] [18] [S] [data] TABLE
dbg: [script] [18] [S] [this] INSTANCE
dbg: [script] [18] [S] [data] TABLE
dbg: [script] [18] [S] [admin_event] INSTANCE
dbg: [script] [18] [S] [ev_type] 24
dbg: [script] [18] [S] [event] INSTANCE
dbg: [script] [18] [S] [this] INSTANCE
dbg: [script] [18] [S] [ev] INSTANCE
dbg: [script] [18] [S] [this] INSTANCE
dbg: [script] [18] [S] [this] INSTANCE
Attachments
ServerGS-AdminPort-19.07.20.U3.7z
(1.09 MiB) Downloaded 16 times

Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 4 guests