Log for #openttd on 14th December 2013:
Times are UTC Toggle Colours
00:00:28  <Wolf01> 'night
00:00:35  *** Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
00:12:45  *** KritiK [] has quit [Quit: Leaving]
00:16:24  <Zuu> Oh lang_sync needs python 3. I guess I could just wait for the next automatic sync and allow more people to contribute translations before realeasing a new NAI.
00:18:06  *** Devroush [] has quit []
00:22:51  *** adf88 [] has quit [Quit: adf88]
00:24:27  *** haxx [] has joined #openttd
00:28:26  <Xaroth|Work> surely porting it back to 2.X isn't that hard?
00:29:04  <Zuu> possible, but I could also just get some sleep and let eints automatically merge the changes.
00:29:13  <Zuu> :-)
00:29:23  <Zuu> Good night
00:29:29  *** Zuu [] has quit [Quit: Leaving]
00:29:37  <NGC3982> Cannot.. Stop.. Watching.. Game Grumps.
00:32:20  *** Progman [] has quit [Remote host closed the connection]
00:52:43  *** Midnightmyth [] has quit [Ping timeout: 480 seconds]
00:52:57  *** Haube [] has quit [Read error: Connection reset by peer]
01:03:16  *** Djohaal [] has joined #openttd
01:03:36  *** Djohaal [] has quit []
01:04:26  *** Pereba [~UserNick@] has quit [Quit: AdiIRC is considered as an innovative and versatile Irc client. Check by yourself at]
01:11:49  *** Phoenix_the_II [] has quit [Ping timeout: 480 seconds]
01:44:45  *** LordAro [] has quit [Quit: Leaving]
01:45:43  *** glx [] has quit [Quit: Bye]
01:46:23  *** haxx [] has quit [Ping timeout: 480 seconds]
01:46:43  *** retro|cz [] has joined #openttd
02:09:16  *** roadt [~roadt@] has joined #openttd
02:20:28  *** Hazzard [] has joined #openttd
02:21:49  *** lofejndif [] has quit [Quit: gone]
02:24:15  *** Arrgh is now known as Arr`Gone
02:33:41  *** stanek [] has quit [Quit: Leaving]
02:42:12  *** HerzogDeXtEr1 [] has joined #openttd
02:43:00  *** yorick [] has quit [Remote host closed the connection]
02:47:48  *** HerzogDeXtEr [] has quit [Ping timeout: 480 seconds]
03:10:05  *** Japa [~Japa@] has joined #openttd
03:26:09  *** Superuser [] has quit [Ping timeout: 480 seconds]
03:45:25  *** Japa [~Japa@] has quit [Quit: Leaving]
03:48:36  *** roadt [~roadt@] has quit [Ping timeout: 480 seconds]
03:50:28  *** wakou2 [] has quit [Ping timeout: 480 seconds]
04:16:27  *** Japa [~Japa@] has joined #openttd
04:34:29  *** Jomann [] has quit [Ping timeout: 480 seconds]
04:42:43  *** retro|cz [] has quit [Ping timeout: 480 seconds]
04:49:08  *** xT2 [] has joined #openttd
04:53:58  *** ST2 [~ST2@] has quit [Ping timeout: 480 seconds]
05:16:50  *** Super_Random [] has quit [Read error: Connection reset by peer]
05:33:27  *** Hazzard [] has quit [Quit: Page closed]
05:56:01  *** Eddi|zuHause [] has quit []
05:56:16  *** Eddi|zuHause [] has joined #openttd
06:11:15  *** Japa [~Japa@] has quit [Quit: Leaving]
06:12:20  *** Elukka [] has joined #openttd
06:31:49  *** Supercheese [~Superchee@] has quit [Quit: ChatZilla [Firefox 25.0.1/20131112160018]]
07:50:38  *** sla_ro|master [slamaster@] has joined #openttd
08:07:33  *** roadt [~roadt@] has joined #openttd
08:19:51  *** andythenorth [] has joined #openttd
08:24:31  *** adf88 [] has joined #openttd
08:42:43  *** Pensacola [] has joined #openttd
09:13:37  *** krinn [] has joined #openttd
09:13:48  <krinn> hi guys
09:14:34  <krinn> is there a "ready-up" application that can query an openttd server, in console by preference as i need less setup
09:14:58  <krinn> to test query & return value
09:15:18  <krinn> @seen zuu
09:15:18  <DorpsGek> krinn: zuu was last seen in #openttd 8 hours, 45 minutes, and 54 seconds ago: <Zuu> Good night
09:28:40  <Rubidium> probably also depends on what you want to query and what you expect back
09:29:15  <krinn> well, anything to test
09:29:46  *** valhallasw [] has joined #openttd
09:30:02  <krinn> just i want avoid building & setup apache to do some testing
09:30:56  <Rubidium> what about openttdlib and php on the command line (php doesn't require a web server)
09:31:29  <planetmaker> krinn, so you want as result a web page? Then openttdlib indeed might be a good call
09:31:54  <krinn> @devzone ?
09:32:03  <Rubidium> planetmaker: don't think so, given the 'avoid'
09:32:41  *** Chrill [] has joined #openttd
09:32:47  <planetmaker>
09:33:20  <krinn> is it limit to current gameconfig?
09:33:24  <planetmaker> not exactly ready-setup is a solution which uses the admin port. But it might offer long-term more
09:33:55  <krinn> found that -> java -jar joan.jar local.cfg from Java ottd admin lib
09:34:15  <krinn> looks what i need, easy setup
09:34:34  *** Alberth [] has joined #openttd
09:34:38  *** mode/#openttd [+o Alberth] by ChanServ
09:35:03  <planetmaker> either that (joan/grapes/berries). Or you could look at soap and libottdadmin
09:35:11  <planetmaker> joan is java, soap is python
09:35:11  <Alberth> ola
09:35:18  <planetmaker> alolo ;)
09:35:18  <Rubidium> krinn: joan only works for servers you maintain (or know the admin port and password for)
09:35:29  <krinn> hi Alberth
09:35:43  <krinn> Rubidium, well, it's easy to setup localhost openttd server
09:35:52  <planetmaker> true, that's a limitation for all those admin port things
09:36:43  <krinn> i want tests not take over openttd server world :)
09:37:13  <planetmaker> :D
09:37:24  <planetmaker> right... what do you want to test exactly, krinn ?
09:38:32  <krinn> GS <> server JSON query
09:39:04  <krinn> just then a simple way to send server a query and look if GS is able to handle it
09:39:36  <planetmaker> Yeah, either joan or soap are your friends there
09:39:58  <planetmaker> Not exactly sure which is easier to setup
09:40:29  <krinn> is there a ready made java jar file for joan ?
09:40:39  <krinn> i'm at source, no makefile...
09:41:49  <krinn> found it in wiki part
09:42:45  <Alberth> java -> jar is one javac command, isn't it?
09:43:23  <planetmaker> @ krinn
09:43:48  <Alberth> and assuming you do have to write some java glue, you'll need javac anyway
09:44:24  <krinn> javac pretty standard on gentoo, so got it already
09:47:42  <krinn> server pass i suppose to lock anyone from playing with it, but admin & rcon pass diff ?
09:47:52  <planetmaker> might be interesting, too, krinn
09:48:05  <planetmaker> yes, those are different passwords
09:48:27  *** Progman [] has joined #openttd
09:49:19  <krinn> thanks planetmaker, saving that link for now
09:49:30  <krinn> will look later at it.
09:52:13  <krinn> ah cool, i have the console of the server already
10:02:53  *** Japa [~Japa@] has joined #openttd
10:04:33  <krinn> perfect, i can even put my command in the console and my client received the message !
10:09:52  *** Pensacola [] has quit [Remote host closed the connection]
10:10:25  *** adf88 [] has quit [Quit: adf88]
10:12:21  <krinn> how can i trigger the GS event, any command not understood by server trigger it?
10:12:57  <krinn> ok, at least not that : command not found
10:18:00  * andythenorth has earnt several thousand xp this morning
10:18:02  <andythenorth> lucky me
10:21:18  <Alberth> :o
10:22:31  <krinn> clientlist gave me 1 server 4 spectator and companies gave me 1-15
10:22:39  <krinn> how can i aim at speaking with comp 0 ?
10:32:19  *** Chrill [] has quit []
10:50:36  *** wakou2 [] has joined #openttd
11:01:18  *** roadt [~roadt@] has quit [Ping timeout: 480 seconds]
11:06:51  <Alberth> andythenorth: I summarized the layout things I think could be useful to look at, for eints. Also, trying to clean up the issue list a bit.
11:06:51  <Alberth>
11:07:01  *** Midnightmyth [] has joined #openttd
11:08:01  <Alberth> if you have time, could you please look at it?
11:09:52  *** Wolf01 [] has joined #openttd
11:10:31  <Wolf01> hello
11:12:47  <Alberth> moin Wolf01
11:13:21  *** frosch123 [] has joined #openttd
11:13:29  <Wolf01> quak
11:13:50  *** Ristovski [~rafael@] has joined #openttd
11:14:58  <frosch123> moin
11:15:20  <Wolf01> Alberth, it was you the guy I've seen on a tv programme, which was playing with a caterpillar and raising new terrain for Amsterdam?
11:17:24  <Alberth> Amsterdam?  not Rotterdam, at the "2e maasvlakte"? ?
11:18:23  <Alberth> in both cases unlikely, although in my youth I did like playing with sand and water, much the despair of my mother :)
11:18:59  <Wolf01> No, it was Amsterdam, precisely IJburg, and he claimed his name was Alberth
11:19:18  <Alberth> :o
11:20:14  *** Alice3 [] has joined #openttd
11:20:33  <frosch123> oh, i see
11:21:03  <frosch123> i knew that there was something fundamentally wrong with people suggesting that you should be able to travel with your trains in ottd in first person view
11:21:20  <frosch123> but ottd is about track construction, not running trains...
11:21:24  <Wolf01> you see a flat world?
11:21:38  <frosch123> so you shuold be able to drive the caterpillar in first person view, to construct the tracks
11:21:50  <Japa> frosch123, make a 3d version of OTTD.
11:22:23  <Alberth> First person shooter style :p
11:22:38  <Wolf01> you mea this?
11:22:40  <Alberth> solves a lot of scaling issues :)
11:22:42  <Wolf01> mean
11:23:01  <Wolf01> gah, I think the batteries of my keyboard are running low
11:29:42  *** oskari89 [] has joined #openttd
11:33:48  *** flaa [~flaa@] has joined #openttd
11:47:06  *** adf88 [] has joined #openttd
11:57:16  <__ln__>
11:58:53  <planetmaker> you should really work with supercheese on the latin translation :)
11:59:26  <__ln__> i should, but i'm not qualified enough yet :)
12:00:53  <planetmaker> doing so, could help you become qualified ;)
12:04:40  <Tulitomaatti> reno eats rudolphus?
12:09:38  <planetmaker> __ln__, <-- with actual music ;)
12:12:54  *** roadt [~roadt@] has joined #openttd
12:13:03  <MNIM> planetmaker: nice.
12:15:24  *** Japa_ [~Japa@] has joined #openttd
12:16:51  *** Japa_ [~Japa@] has quit []
12:19:13  <__ln__> their idea of the melody is not very recognizable
12:20:24  <MNIM> yeah, melody could've been better, but I assume they just wanted to go for that gregorian feel.
12:21:48  *** Japa [~Japa@] has quit [Ping timeout: 480 seconds]
12:37:11  *** roadt_ [~roadt@] has joined #openttd
12:38:08  *** tokai|noir [] has joined #openttd
12:38:11  *** mode/#openttd [+v tokai|noir] by ChanServ
12:44:03  *** tokai|mdlx [] has quit [Ping timeout: 480 seconds]
12:52:47  *** LordAro [] has joined #openttd
13:09:17  *** wakou2 [] has quit [Quit: Konversation terminated!]
13:21:00  *** Haube [] has joined #openttd
13:24:26  *** Djohaal [] has joined #openttd
13:25:52  *** Gethiox2 [] has joined #openttd
13:32:18  *** Gethiox [] has quit [Ping timeout: 480 seconds]
13:43:59  *** Devroush [] has joined #openttd
13:57:59  *** Djohaal [] has quit [Quit: Leaving]
13:58:51  *** andythenorth [] has left #openttd []
14:03:15  *** adf88 [] has quit [Quit: adf88]
14:18:24  *** yorick [] has joined #openttd
14:20:01  *** Superuser [] has joined #openttd
14:50:35  *** LordAro [] has quit [Ping timeout: 480 seconds]
14:56:57  *** LordAro [] has joined #openttd
15:08:20  *** flaa [~flaa@] has quit [Ping timeout: 480 seconds]
15:15:18  *** Superuser [] has quit [Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC.]
15:23:35  *** gelignite [] has joined #openttd
15:28:08  *** adf88 [] has joined #openttd
15:37:36  *** Phoenix_the_II [] has joined #openttd
16:00:00  *** mode/#openttd [+v Alberth] by ChanServ
16:00:00  *** mode/#openttd [+v peter1138] by ChanServ
16:00:00  *** mode/#openttd [+v Rubidium] by ChanServ
16:00:00  *** mode/#openttd [+v Belugas] by ChanServ
16:00:00  *** mode/#openttd [+v orudge] by ChanServ
16:00:03  *** mode/#openttd [+v DorpsGek] by ChanServ
16:36:21  *** retro|cz [] has joined #openttd
16:44:23  *** Super_Random [] has joined #openttd
16:54:58  *** skyem123 [] has joined #openttd
17:01:27  *** yorick [] has quit [Remote host closed the connection]
17:25:44  *** tokai|mdlx [] has joined #openttd
17:26:08  *** KouDy_ [~koudy@] has joined #openttd
17:31:53  *** tokai|noir [] has quit [Ping timeout: 480 seconds]
17:32:58  *** KouDy [~koudy@] has quit [Ping timeout: 480 seconds]
17:34:43  *** Stimrol [] has quit [Quit: ZNC -]
17:36:52  *** Stimrol [] has joined #openttd
17:57:41  *** tokai|noir [] has joined #openttd
17:57:44  *** mode/#openttd [+v tokai|noir] by ChanServ
18:00:53  *** Hazzard [] has joined #openttd
18:03:52  *** tokai|mdlx [] has quit [Ping timeout: 480 seconds]
18:04:06  *** Aphid [] has joined #openttd
18:06:21  <krinn> string too long for destination buffer : ottd complain against a string or ottd console complain again a string in console output ?
18:07:05  *** roadt_ [~roadt@] has quit [Read error: Operation timed out]
18:08:38  <Aphid> I'm having a somewhat non-critical issue popup when trying to get a server to advertise to the master. It's a fairly standard setup, and I'm observing the very exact same warning raised also raised in FS#2822. It's 'fixed'... but are there any relevant details left out completely that I need to know, or can I be assured it's 100% a NAT thing, and not related to ipV6 not being available on the
18:08:38  <Aphid> ISP/datacenter (yet)? Because I actually can physically connect to the server, AND the server can connect to the content services and the like.
18:09:47  *** roadt [~roadt@] has quit [Ping timeout: 480 seconds]
18:10:22  *** glx [] has joined #openttd
18:10:25  *** mode/#openttd [+v glx] by ChanServ
18:11:26  <Alberth> krinn: a patched/modified openttd program?
18:12:42  <Rubidium> Aphid: sounds like your server has an IPv6 address but no routing information to an IPv6 gateway
18:13:08  <Rubidium> at least, if the error is exactly the error of FS#2822
18:14:45  <Aphid> dbg: [net] [udp]   we are not receiving the acknowledgement from the server
18:14:45  <Aphid> ERROR: command not found
18:14:45  <Aphid> dbg: [net] [udp]   this usually means that the master server cannot reach us
18:14:45  <Aphid> ERROR: command not found
18:14:45  <Aphid> dbg: [net] [udp]   please allow udp and tcp packets to port 3979 to be delivered
18:14:46  <Aphid> ERROR: command not found
18:14:46  <Aphid> dbg: [net] [udp]   please allow udp and tcp packets from port 3979 to be delivered
18:14:48  <Aphid> dbg: [net] [udp] sendto([]:3978 (IPv6)) failed with: 101
18:14:48  <Aphid> --> looks like about an exact match for me
18:15:04  *** krinn [] has quit [Ping timeout: 480 seconds]
18:15:20  <Alberth> please use a pastebin
18:15:20  <Aphid> ignore the ERROR lines, I need to remember not to copy directly here...
18:16:08  <Aphid>
18:17:17  <Rubidium> then it's likely what I said ;)
18:19:22  <Aphid> O-kay... so basically issue #2822 is not ' fixed' automatically, need to do it myself by telling openTTD to use IPv4 to broadcast somehow? And if so, can I do that without having to modify server internals?
18:20:02  <Rubidium> OpenTTD uses IPv4 and IPv6 whenever they are available (or at least the OS says so)
18:20:50  <Rubidium> so, if it is in the server list, then it will just use IPv4 and more or less ignore IPv6 (with a lot of shouting)
18:21:14  <Rubidium> what you can do is bind to only to tell that you don't want to use IPv6
18:21:55  <glx> (and [::0] to force IPv6)
18:23:12  *** krinn [] has joined #openttd
18:24:53  <Aphid> hmm.. what exactly is the notation for that?
18:24:59  <Aphid> is a stub, by the way.
18:25:09  <krinn> alberth : no (just saw it on irc log) : stock openttd
18:26:00  <krinn> the problem is that GSAdmin.Send allow me to send a JSON to server thru a table, but i have no idea how i can fill that table
18:27:18  <krinn> and i have also no idea how i can make the server send event to the GS
18:27:36  <krinn> so basically, i'm unable to speak :)
18:27:45  <Alberth> :)
18:27:59  <glx> it's done via admin port IIRC
18:28:07  <Alberth> error comes from "strecpy" it seems
18:28:47  <Alberth> ie you're copying a string in a buffer, where the destination is smaller than your source text
18:28:59  <Aphid> maybe have a read on
18:29:48  <krinn> i did aphid, doesn't help
18:30:12  <krinn> ->Via the Admin Port it is possible to send JSON data to the Game Script.For information on exactly how to do this see the Admin Port documentation.
18:30:32  <krinn> but i really fail to find that Admin Port documentation that refer to using GS
18:30:48  <krinn>
18:30:54  <krinn> is there some other doc ?
18:31:23  <Aphid> well you could try to make a simple GS that just 'hello world's to the admin port, start the server with logging, and see what you get...
18:31:36  <krinn> that's what i did
18:31:57  <krinn> but look at
18:32:03  <krinn> what that table is suppose to hold ?
18:32:44  <glx> whatever you want I think
18:33:04  <glx> For example: { param = "param" }.
18:38:08  <krinn> { sayclient = "sayclient 1 hello" }
18:38:14  <krinn> nothing happen, but GS return it was sent
18:40:04  *** Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
18:40:49  <glx> let's dig in the source :)
18:42:11  <Aphid> 1450 bytes is not a lot. JSON tends to make information bigger too.
18:42:44  <krinn> "sayclient 1 hello" should fit :)
18:43:30  <krinn> and there's a GS check for overflow, return false if > limit, and true if command was sent : i have no problem sending the command, it output true
18:43:39  <glx>         if (as->update_frequency[ADMIN_UPDATE_GAMESCRIPT] & ADMIN_FREQUENCY_AUTOMATIC) {
18:44:22  <glx> so it seems you have to register ADMIN_UPDATE_GAMESCRIPT at ADMIN_FREQUENCY_AUTOMATIC
18:44:45  <glx> (similar to 5.1 in admin_network.txt)
18:45:24  <glx> looks like the txt is actually outdated :)
18:45:27  <DorpsGek> Commit by translators :: r26160 /trunk/src/lang (danish.txt gaelic.txt) (2013-12-14 18:45:18 UTC)
18:45:28  <DorpsGek> -Update from WebTranslator v3.0:
18:45:29  <DorpsGek> danish - 1 changes by Hellwing
18:45:30  <DorpsGek> gaelic - 7 changes by GunChleoc
18:45:51  <krinn> i should register to received chat, not sending one no ?
18:46:20  <glx> for JSON it's ADMIN_UPDATE_GAMESCRIPT
18:46:50  *** Aivaras [] has joined #openttd
18:46:51  <glx> for chat it's ADMIN_UPDATE_CHAT
18:47:52  <krinn> is there ping/pong command i could use ?
18:47:53  *** Aivaras [] has quit []
18:49:01  <glx> and json seems to be script->server only
18:52:53  <krinn> really really lost there, seems i could speak with server, but server doesn't get what i'm asking
18:55:08  <glx> <krinn> ->Via the Admin Port it is possible to send JSON data to the Game Script.For information on exactly how to do this see the Admin Port documentation. <-- looking at the source I can see json from game script through admin port
18:55:14  <glx> but not the other way
18:55:35  <krinn> well, i fail at both way
18:56:14  <krinn> and the idea is admin use admin AP to ask GS something GS answer
18:56:14  <glx> it's an ADMIN_PACKET_SERVER_GAMESCRIPT packet
18:56:33  <krinn> how i can send that from rcon ?
18:58:38  <glx> oh there's Receive_ADMIN_GAMESCRIPT() function
18:59:22  <glx> so json should work both ways
18:59:46  *** Zuu [] has joined #openttd
18:59:56  * krinn jumping on Zuu !
19:00:14  <krinn> hi Zuu
19:00:37  <Zuu> krinn: to receive JSON from server you need to set the update frequency to ADMIN_FREQUENCY_AUTOMATIC. See
19:00:57  <glx> krinn: to send to game script it's ADMIN_PACKET_ADMIN_GAMESCRIPT
19:01:25  <glx> and you sen a string containing json data
19:01:26  <Zuu> Hello krinn
19:01:51  <glx> the data is passed to GS via an event
19:02:14  <krinn> something as GSAdmin.Send({ that="ADMIN_PACKET_ADMIN_GAMESCRIPT sayclient 1 hello"}); ?
19:03:07  <glx> no sending for GS is handled by openttd
19:03:24  <Zuu> krinn: Java code for talking with ServerGS:
19:03:36  <glx> the thing connected to admin port should receive an ADMIN_PACKET_SERVER_GAMESCRIPT
19:03:52  <glx> if it registered for it
19:04:33  <krinn> so no way to send the even thru rcon ?
19:04:43  <Zuu> The thing need to set update frequency to automatic by sending apprate packet to the admin port otherwise it will not receive any response.
19:05:32  <Zuu> but maybe I should read the full backlog to see that I'm not missing part of your issue.
19:06:09  <krinn> Well, just using GSAdmin.Send is somehow a challenge
19:07:38  <Zuu> Have you tried ServerGS? Does it work for you with the admin port client that you are using?
19:08:11  <krinn> no i didn't, just add event handling and a GSAdmin.Send every x tick as test
19:08:26  <krinn> and i'm using java console as rcon client
19:08:54  <krinn>
19:09:12  <Zuu> OpenTTD will encode the table that you pass to GSAdmin.Send into JSON. I think can use string, table, array and integer types nested as you see fit.
19:10:26  <krinn> well i could just pass any integer directly as string no ? it would end in a JSON anway
19:10:33  <Zuu> Not sure at what state my test client is. But there is some version of it here: (it is built on the same library as SimpleConsole)
19:11:17  <Zuu> Afaik JSON do transport an integer differently from a string containing a number
19:11:27  <Zuu> {name=5} vs {name="5"}
19:12:28  <krinn> how could i send the hello world test : sayclient 0 hello ?
19:12:55  <Zuu> What is the hello world test?
19:13:30  <krinn> just pass "sayclient 0 hell" to rcon
19:13:57  <krinn> so server ouput "hello" as hint it has work
19:15:17  <Zuu> Hmm, so you send a rcon command to the GS and expect the rcon to react on it?
19:16:24  <krinn> kinda, even now i know there's no rcon to send to GS, still GSAdmin.Send is suppose to send something
19:16:51  <Zuu> GSAdmin.Send will send data to the Admin Port client
19:17:03  <Zuu> not to rcon
19:17:37  <Zuu> Unless the admin port client has a client side feature to echo a command from the GS to the rcon and rely back that to the GS.
19:17:42  <krinn> ah, ok, so only the java console receive it so
19:18:09  <Zuu> yes
19:18:38  <krinn> and that client may just drop incoming packet from GS instead of displaying it
19:19:11  <Zuu> The GS API is ment to allow us GS authors to add an interface which Admin Port clients can use to get data or interact with the GS.
19:19:28  *** Alice3 [] has quit []
19:19:29  <Zuu> s/GS API/GS<->Admin Port API/
19:20:03  <krinn> i was thinking the java console could do that (at least the GS->AP interface)
19:20:09  <Zuu> The client must first tell OpenTTD that it want to receive the packet in first place. If the client does not do this, OpenTTD will not send it to the client at all.
19:21:09  <Zuu> An Admin Port client can implement GS<->rcon if it wish. I don't know exactly what that Java client includes that you are using.
19:21:43  <krinn>
19:21:54  <krinn> but i suppose it only tell openttd to received rcon
19:22:00  <Zuu> Currently there exist at least 2 libraries for the admin port (one java and one python) on top of that there can be many different clients built wheer SimpleConsole is one of them.
19:23:49  <Zuu> I'm not sure if it does or not. The last commit to it seems to indicate that it does receive GS updates but I don't remember in detail if you need to do something yourself or not.
19:24:17  <krinn> i see you add gamescript to it
19:26:33  <Zuu> Yes upon making ServerGS I had to make a client to test it which is the above linked client on /~zuu/. I did then discover some bugs related to GS<->Admin port in Joan and OpenTTD that got fixed. I am however not hosting any servers or really into admin port usage.
19:27:28  *** KritiK [] has joined #openttd
19:27:39  <krinn> ah, i think servergs could be made a lib easy
19:28:06  <krinn> and instead of reading api from src with the python helper script, directly read api inside SQ
19:29:16  <krinn> i mean symbols.nut could be fill by squirrel function
19:31:03  <Zuu> AFAIK you cannot get the parameter count + types in squirrel(?)
19:31:14  <krinn>
19:31:58  <krinn> of course instead of outputing them, could just fill the g_symbols item with them
19:33:01  <krinn> add it in a file on some GS and AdminPort.ExposeAPI(); call you'll see
19:33:31  <krinn> with that, on new openttd version, no update need
19:34:56  <krinn> and it will also expose the current class/functions from the gamescript itself too
19:35:22  <Zuu> I did know how to check if a member exist in a class, but not how to get the available API classes. I may consider it. Though I know that when I wrote the python helper I decided to not just get the class list but a full function list which then contain # of parameters and their types which allow some more elaborate errors to be displayed on invalid calls.
19:39:33  <krinn> tbh i'm not sure if i would implement such thing now, seeing how scp is not use where it should provide something more attractive
19:39:54  <Zuu> That said, your solution is elegant and losing this error information may be a price worth to pay to get a solution that needs no updates and is easy to build into other GSes as a lib that will "never" need to update.
19:40:21  <krinn> that's the idea: severGSlib v1 and never ever update
19:42:01  <krinn> only need to intercept event for adminport, that could be made like scp do it
19:42:24  *** apiecux [] has quit [Ping timeout: 480 seconds]
19:55:23  *** cyph3r [] has joined #openttd
19:55:49  <Zuu> The intrepreter of input from the event could stay the same, only the code that map the input to a method to call needs to change.
19:56:36  *** Zuu [] has quit [Quit: Leaving]
19:59:14  <krinn> ok later, going to see if there's something on tv (well there's never something on tv, but i'll get braindead, that's the idea)
20:02:02  *** LeandroL [~leandro@] has quit [Quit: Leaving]
20:05:04  *** oskari892 [] has joined #openttd
20:11:53  *** oskari89 [] has quit [Ping timeout: 480 seconds]
20:25:56  *** LeandroL [~leandro@] has joined #openttd
20:51:42  <krinn>
20:52:01  <krinn> it recognise my profile but doesn't grant access to edit file
20:55:16  <frosch123> you are not registered as translator for any language
20:55:24  <frosch123> you want french, right?
20:55:29  <krinn> right
20:56:04  <frosch123> try again :)
20:56:26  <krinn> can do klingon and elfic too :)
20:56:37  <__ln__> 'qapla!
20:56:43  <krinn> ^^
20:56:53  <frosch123> you can go to the "profile" (suitcase in top right) to see what access rights you have
20:56:57  <krinn> thanks frosch123, working
20:58:15  <krinn> never use it i'm suppose to only put translate text or copy the {}* = ?
20:58:16  <frosch123> disadvantage of being a translator is that your user page gets spammed :p
20:58:55  <Alberth> user manual not clear on that?
20:59:41  <krinn> could have told me that BEFORE!
21:00:38  <Alberth> my user page mostly just lists closed issues
21:01:13  <krinn> ok, i hit copy and it output the {}*= i suppose it's need then
21:01:46  <Alberth> yes it is, the computer needs to know where to insert the text of the parameters
21:03:13  <krinn> ok, altering copy so
21:05:11  *** oskari89 [] has joined #openttd
21:11:55  *** oskari892 [] has quit [Ping timeout: 480 seconds]
21:16:00  *** cyph3r [] has quit [Quit: Miranda IM! Smaller, Faster, Easier.]
21:18:14  *** Alberth [] has left #openttd []
21:22:14  <krinn> it's amazing to see devzone hosting so much projects and then seeing how many subproject depend on openttd
21:27:13  *** Super_Random [] has quit [Quit: KVIrc 4.2.0 Equilibrium]
21:40:08  *** retro|cz [] has quit [Ping timeout: 480 seconds]
21:54:46  *** Supercheese [~Superchee@] has joined #openttd
22:05:18  *** oskari892 [] has joined #openttd
22:12:01  *** oskari89 [] has quit [Ping timeout: 480 seconds]
22:16:02  *** yorick [] has joined #openttd
22:19:07  *** Super_Random [] has joined #openttd
22:19:18  *** Pereba [~UserNick@] has joined #openttd
22:19:19  *** krinn [] has quit [Quit: Leaving]
22:30:56  *** Ristovski [~rafael@] has quit [Quit: Leaving]
22:41:13  *** sla_ro|master [slamaster@] has quit []
22:59:15  *** DarkAce-Z [] has joined #openttd
23:00:20  *** Djohaal [~Djohaal@] has joined #openttd
23:02:32  *** DarkAceZ [] has quit [Ping timeout: 480 seconds]
23:05:25  *** oskari89 [] has joined #openttd
23:12:10  *** oskari892 [] has quit [Ping timeout: 480 seconds]
23:20:46  *** LeandroL [~leandro@] has quit [Quit: Leaving]
23:21:32  *** skyem123 [] has quit [Quit: Leaving]
23:24:46  *** DarkAce-Z is now known as DarkAceZ
23:39:48  *** frosch123 [] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
23:55:09  *** Progman [] has quit [Remote host closed the connection]
23:57:38  *** gelignite [] has quit [Quit:]

Powered by YARRSTE version: svn-trunk