Back to Home / #openttd / 2013 / 12 / Prev Day | Next Day
#openttd IRC Logs for 2013-12-14

---Logopened Sat Dec 14 00:00:31 2013
00:16-!-Super_Random [~kvirc@75-102-176-79.d2.itctel.com] has quit [Read error: Connection reset by peer]
00:33-!-Hazzard [~oftc-webi@c-67-174-253-44.hsd1.ca.comcast.net] has quit [Quit: Page closed]
00:56-!-Eddi|zuHause [~johekr@p57BD49C6.dip0.t-ipconnect.de] has quit []
00:56-!-Eddi|zuHause [~johekr@p57BD4EF9.dip0.t-ipconnect.de] has joined #openttd
01:11-!-Japa [~Japa@112.79.37.37] has quit [Quit: Leaving]
01:12-!-Elukka [~Elukka@a91-152-213-89.elisa-laajakaista.fi] has joined #openttd
01:31-!-Supercheese [~Superchee@98.145.153.186] has quit [Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018]]
02:50-!-sla_ro|master [slamaster@95.76.164.39] has joined #openttd
03:07-!-roadt [~roadt@223.240.97.60] has joined #openttd
03:19-!-andythenorth [~Andy@cpc10-aztw26-2-0-cust867.18-1.cable.virginm.net] has joined #openttd
03:24-!-adf88 [~Thunderbi@wis-zul.spine.pl] has joined #openttd
03:42-!-Pensacola [~quassel@h220216.upc-h.chello.nl] has joined #openttd
04:13-!-krinn [~krinn@30.196.74.86.rev.sfr.net] has joined #openttd
04:13<krinn>hi guys
04:14<krinn>is there a "ready-up" application that can query an openttd server, in console by preference as i need less setup
04:14<krinn>to test query & return value
04:15<krinn>@seen zuu
04:15<@DorpsGek>krinn: zuu was last seen in #openttd 8 hours, 45 minutes, and 54 seconds ago: <Zuu> Good night
04:28<@Rubidium>probably also depends on what you want to query and what you expect back
04:29<krinn>well, anything to test
04:29-!-valhallasw [~valhallas@5070A0D5.static.ziggozakelijk.nl] has joined #openttd
04:30<krinn>just i want avoid building & setup apache to do some testing
04:30<@Rubidium>what about openttdlib and php on the command line (php doesn't require a web server)
04:31<@planetmaker>krinn, so you want as result a web page? Then openttdlib indeed might be a good call
04:31<krinn>@devzone ?
04:32<@Rubidium>planetmaker: don't think so, given the 'avoid'
04:32-!-Chrill [Chrill@c83-253-81-174.bredband.comhem.se] has joined #openttd
04:32<@planetmaker>http://dev.openttdcoop.org/projects/openttdlib
04:33<krinn>is it limit to current gameconfig?
04:33<@planetmaker>not exactly ready-setup is a solution which uses the admin port. But it might offer long-term more
04:33<krinn>found that -> java -jar joan.jar local.cfg from Java ottd admin lib
04:34<krinn>looks what i need, easy setup
04:34-!-Alberth [~hat@a82-95-164-127.adsl.xs4all.nl] has joined #openttd
04:34-!-mode/#openttd [+o Alberth] by ChanServ
04:35<@planetmaker>either that (joan/grapes/berries). Or you could look at soap and libottdadmin
04:35<@planetmaker>joan is java, soap is python
04:35<@Alberth>ola
04:35<@Rubidium>krinn: joan only works for servers you maintain (or know the admin port and password for)
04:35<@planetmaker>alolo ;)
04:35<krinn>hi Alberth
04:35<krinn>Rubidium, well, it's easy to setup localhost openttd server
04:35<@planetmaker>true, that's a limitation for all those admin port things
04:36<krinn>i want tests not take over openttd server world :)
04:37<@planetmaker>:D
04:37<@planetmaker>right... what do you want to test exactly, krinn ?
04:38<krinn>GS <> server JSON query
04:39<krinn>just then a simple way to send server a query and look if GS is able to handle it
04:39<@planetmaker>Yeah, either joan or soap are your friends there
04:39<@planetmaker>Not exactly sure which is easier to setup
04:40<krinn>is there a ready made java jar file for joan ?
04:40<krinn>i'm at source, no makefile...
04:41<krinn>found it in wiki part
04:42<@Alberth>java -> jar is one javac command, isn't it?
04:43<@planetmaker>http://dev.openttdcoop.org/projects/joan/wiki @ krinn
04:43<@Alberth>and assuming you do have to write some java glue, you'll need javac anyway
04:44<krinn>javac pretty standard on gentoo, so got it already
04:47<krinn>server pass i suppose to lock anyone from playing with it, but admin & rcon pass diff ?
04:47<@planetmaker>http://www.tt-forums.net/viewtopic.php?f=33&t=65511 might be interesting, too, krinn
04:48<@planetmaker>yes, those are different passwords
04:48-!-Progman [~progman@p57A19AAA.dip0.t-ipconnect.de] has joined #openttd
04:49<krinn>thanks planetmaker, saving that link for now
04:49<krinn>will look later at it.
04:52<krinn>ah cool, i have the console of the server already
05:02-!-Japa [~Japa@112.79.37.37] has joined #openttd
05:04<krinn>perfect, i can even put my command in the console and my client received the message !
05:09-!-Pensacola [~quassel@h220216.upc-h.chello.nl] has quit [Remote host closed the connection]
05:10-!-adf88 [~Thunderbi@wis-zul.spine.pl] has quit [Quit: adf88]
05:12<krinn>how can i trigger the GS event, any command not understood by server trigger it?
05:12<krinn>ok, at least not that : command not found
05:18*andythenorth has earnt several thousand xp this morning
05:18<andythenorth>lucky me
05:21<@Alberth>:o
05:22<krinn>clientlist gave me 1 server 4 spectator and companies gave me 1-15
05:22<krinn>how can i aim at speaking with comp 0 ?
05:32-!-Chrill [Chrill@c83-253-81-174.bredband.comhem.se] has quit []
05:50-!-wakou2 [~stephen@host86-179-103-164.range86-179.btcentralplus.com] has joined #openttd
06:01-!-roadt [~roadt@223.240.97.60] has quit [Ping timeout: 480 seconds]
06:06<@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.
06:06<@Alberth>http://paste.openttdcoop.org/show/2889/
06:07-!-Midnightmyth [~quassel@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
06:08<@Alberth>if you have time, could you please look at it?
06:09-!-Wolf01 [~wolf01@host58-55-dynamic.182-80-r.retail.telecomitalia.it] has joined #openttd
06:10<Wolf01>hello
06:12<@Alberth>moin Wolf01
06:13-!-frosch123 [~frosch@frnk-5f74545e.pool.mediaWays.net] has joined #openttd
06:13<Wolf01>quak
06:13-!-Ristovski [~rafael@89.205.3.77] has joined #openttd
06:14<frosch123>moin
06:15<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?
06:17<@Alberth>Amsterdam? not Rotterdam, at the "2e maasvlakte"? http://nl.wikipedia.org/wiki/Tweede_Maasvlakte ?
06:18<@Alberth>in both cases unlikely, although in my youth I did like playing with sand and water, much the despair of my mother :)
06:18<Wolf01>No, it was Amsterdam, precisely IJburg, and he claimed his name was Alberth
06:19<@Alberth>:o
06:20-!-Alice3 [~Alice@cpc18-grim14-2-0-cust478.12-3.cable.virginm.net] has joined #openttd
06:20<frosch123>oh, i see
06:21<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
06:21<frosch123>but ottd is about track construction, not running trains...
06:21<Wolf01>you see a flat world?
06:21<frosch123>so you shuold be able to drive the caterpillar in first person view, to construct the tracks
06:21<Japa>frosch123, make a 3d version of OTTD.
06:22<@Alberth>First person shooter style :p
06:22<Wolf01>you mea this? http://www.youtube.com/watch?v=668-USF1uZ8
06:22<@Alberth>solves a lot of scaling issues :)
06:22<Wolf01>mean
06:23<Wolf01>gah, I think the batteries of my keyboard are running low
06:29-!-oskari89 [oskari89@62-241-226-106.bb.dnainternet.fi] has joined #openttd
06:33-!-flaa [~flaa@89.100.79.103] has joined #openttd
06:47-!-adf88 [~Thunderbi@wis-zul.spine.pl] has joined #openttd
06:57<__ln__>http://thurible.net/wp-content/uploads/2013/12/603939_10151905313137912_154076193_n.jpg
06:58<@planetmaker>you should really work with supercheese on the latin translation :)
06:59<__ln__>i should, but i'm not qualified enough yet :)
07:00<@planetmaker>doing so, could help you become qualified ;)
07:04<Tulitomaatti>reno eats rudolphus?
07:09<@planetmaker>__ln__, http://www.philipchircop.com/post/69812011752/reno-erat-rudolphus-translation-hint-reno-means <-- with actual music ;)
07:12-!-roadt [~roadt@223.240.97.60] has joined #openttd
07:13<MNIM>planetmaker: nice.
07:15-!-Japa_ [~Japa@112.79.37.37] has joined #openttd
07:16-!-Japa_ [~Japa@112.79.37.37] has quit []
07:19<__ln__>their idea of the melody is not very recognizable
07:20<MNIM>yeah, melody could've been better, but I assume they just wanted to go for that gregorian feel.
07:21-!-Japa [~Japa@112.79.37.37] has quit [Ping timeout: 480 seconds]
07:37-!-roadt_ [~roadt@223.240.97.60] has joined #openttd
07:38-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
07:38-!-mode/#openttd [+v tokai|noir] by ChanServ
07:44-!-tokai|mdlx [~tokai@port-92-195-48-4.dynamic.qsc.de] has quit [Ping timeout: 480 seconds]
07:52-!-LordAro [~LordAro@host81-148-242-53.range81-148.btcentralplus.com] has joined #openttd
08:09-!-wakou2 [~stephen@host86-179-103-164.range86-179.btcentralplus.com] has quit [Quit: Konversation terminated!]
08:21-!-Haube [~michi@77-20-40-44-dynip.superkabel.de] has joined #openttd
08:24-!-Djohaal [~Djohaal@201.47.19.116.dynamic.adsl.gvt.net.br] has joined #openttd
08:25-!-Gethiox2 [~gethiox@actg203.neoplus.adsl.tpnet.pl] has joined #openttd
08:32-!-Gethiox [~gethiox@acti213.neoplus.adsl.tpnet.pl] has quit [Ping timeout: 480 seconds]
08:43-!-Devroush [~dennis@dD5765BAC.access.telenet.be] has joined #openttd
08:57-!-Djohaal [~Djohaal@201.47.19.116.dynamic.adsl.gvt.net.br] has quit [Quit: Leaving]
08:58-!-andythenorth [~Andy@cpc10-aztw26-2-0-cust867.18-1.cable.virginm.net] has left #openttd []
09:03-!-adf88 [~Thunderbi@wis-zul.spine.pl] has quit [Quit: adf88]
09:18-!-yorick [~yorick@ip51cd0513.speed.planet.nl] has joined #openttd
09:20-!-Superuser [~superuser@cpc11-lewi15-2-0-cust98.2-4.cable.virginm.net] has joined #openttd
09:50-!-LordAro [~LordAro@host81-148-242-53.range81-148.btcentralplus.com] has quit [Ping timeout: 480 seconds]
09:56-!-LordAro [~LordAro@host81-148-242-53.range81-148.btcentralplus.com] has joined #openttd
10:08-!-flaa [~flaa@89.100.79.103] has quit [Ping timeout: 480 seconds]
10:15-!-Superuser [~superuser@cpc11-lewi15-2-0-cust98.2-4.cable.virginm.net] 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.]
10:23-!-gelignite [~gelignite@i528C38C7.versanet.de] has joined #openttd
10:28-!-adf88 [~Thunderbi@wis-zul.spine.pl] has joined #openttd
10:37-!-Phoenix_the_II [~ralph@13-17-191-195.ftth.glasoperator.nl] has joined #openttd
11:00-!-mode/#openttd [+v Alberth] by ChanServ
11:00-!-mode/#openttd [+v peter1138] by ChanServ
11:00-!-mode/#openttd [+v Rubidium] by ChanServ
11:00-!-mode/#openttd [+v Belugas] by ChanServ
11:00-!-mode/#openttd [+v orudge] by ChanServ
11:00-!-mode/#openttd [+v DorpsGek] by ChanServ
11:36-!-retro|cz [~retro@ip-89-176-82-80.net.upcbroadband.cz] has joined #openttd
11:44-!-Super_Random [~kvirc@75-102-176-79.d2.itctel.com] has joined #openttd
11:54-!-skyem123 [~skyem123@cpc1-walt4-0-0-cust432.13-2.cable.virginm.net] has joined #openttd
12:01-!-yorick [~yorick@ip51cd0513.speed.planet.nl] has quit [Remote host closed the connection]
12:25-!-tokai|mdlx [~tokai@port-92-195-150-117.dynamic.qsc.de] has joined #openttd
12:26-!-KouDy_ [~koudy@188.75.190.58] has joined #openttd
12:31-!-tokai|noir [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
12:32-!-KouDy [~koudy@188.75.190.58] has quit [Ping timeout: 480 seconds]
12:34-!-Stimrol [~Stimrol@46-239-219-51.tal.is] has quit [Quit: ZNC - http://znc.in]
12:36-!-Stimrol [~Stimrol@46-239-219-51.tal.is] has joined #openttd
12:57-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
12:57-!-mode/#openttd [+v tokai|noir] by ChanServ
13:00-!-Hazzard [~oftc-webi@c-67-174-253-44.hsd1.ca.comcast.net] has joined #openttd
13:03-!-tokai|mdlx [~tokai@port-92-195-150-117.dynamic.qsc.de] has quit [Ping timeout: 480 seconds]
13:04-!-Aphid [~Aphid@5351C956.cm-6-2d.dynamic.ziggo.nl] has joined #openttd
13:06<krinn>string too long for destination buffer : ottd complain against a string or ottd console complain again a string in console output ?
13:07-!-roadt_ [~roadt@223.240.97.60] has quit [Read error: Operation timed out]
13:08<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
13:08<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.
13:09-!-roadt [~roadt@223.240.97.60] has quit [Ping timeout: 480 seconds]
13:10-!-glx [~glx@000128ec.user.oftc.net] has joined #openttd
13:10-!-mode/#openttd [+v glx] by ChanServ
13:11<@Alberth>krinn: a patched/modified openttd program?
13:12<@Rubidium>Aphid: sounds like your server has an IPv6 address but no routing information to an IPv6 gateway
13:13<@Rubidium>at least, if the error is exactly the error of FS#2822
13:14<Aphid>dbg: [net] [udp] we are not receiving the acknowledgement from the server
13:14<Aphid>ERROR: command not found
13:14<Aphid>dbg: [net] [udp] this usually means that the master server cannot reach us
13:14<Aphid>ERROR: command not found
13:14<Aphid>dbg: [net] [udp] please allow udp and tcp packets to port 3979 to be delivered
13:14<Aphid>ERROR: command not found
13:14<Aphid>dbg: [net] [udp] please allow udp and tcp packets from port 3979 to be delivered
13:14<Aphid>dbg: [net] [udp] sendto([master.openttd.org]:3978 (IPv6)) failed with: 101
13:14<Aphid>--> looks like about an exact match for me
13:15-!-krinn [~krinn@30.196.74.86.rev.sfr.net] has quit [Ping timeout: 480 seconds]
13:15<@Alberth>please use a pastebin
13:15<Aphid>ignore the ERROR lines, I need to remember not to copy directly here...
13:16<Aphid>http://pastebin.com/x6QMfXUp
13:17<@Rubidium>then it's likely what I said ;)
13:19<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?
13:20<@Rubidium>OpenTTD uses IPv4 and IPv6 whenever they are available (or at least the OS says so)
13:20<@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)
13:21<@Rubidium>what you can do is bind to only 0.0.0.0 to tell that you don't want to use IPv6
13:21<+glx>(and [::0] to force IPv6)
13:23-!-krinn [~krinn@199.196.74.86.rev.sfr.net] has joined #openttd
13:24<Aphid>hmm.. what exactly is the notation for that?
13:24<Aphid>http://wiki.openttd.org/Server_bind_ip is a stub, by the way.
13:25<krinn>alberth : no (just saw it on irc log) : stock openttd
13:26<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
13:27<krinn>and i have also no idea how i can make the server send event to the GS
13:27<krinn>so basically, i'm unable to speak :)
13:27<@Alberth>:)
13:27<+glx>it's done via admin port IIRC
13:28<@Alberth>error comes from "strecpy" it seems
13:28<@Alberth>ie you're copying a string in a buffer, where the destination is smaller than your source text
13:28<Aphid>maybe have a read on http://www.tt-forums.net/viewtopic.php?f=65&t=68828?
13:29<krinn>i did aphid, doesn't help
13:30<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.
13:30<krinn>but i really fail to find that Admin Port documentation that refer to using GS
13:30<krinn>http://svn.openttd.org/trunk/docs/admin_network.txt
13:30<krinn>is there some other doc ?
13:31<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...
13:31<krinn>that's what i did
13:31<krinn>but look at http://nogo.openttd.org/api/trunk/classGSAdmin.html
13:32<krinn>what that table is suppose to hold ?
13:32<+glx>whatever you want I think
13:33<+glx>For example: { param = "param" }.
13:38<krinn>{ sayclient = "sayclient 1 hello" }
13:38<krinn>nothing happen, but GS return it was sent
13:40-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
13:40<+glx>let's dig in the source :)
13:42<Aphid>1450 bytes is not a lot. JSON tends to make information bigger too.
13:42<krinn>"sayclient 1 hello" should fit :)
13:43<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
13:43<+glx> if (as->update_frequency[ADMIN_UPDATE_GAMESCRIPT] & ADMIN_FREQUENCY_AUTOMATIC) {
13:44<+glx>so it seems you have to register ADMIN_UPDATE_GAMESCRIPT at ADMIN_FREQUENCY_AUTOMATIC
13:44<+glx>(similar to 5.1 in admin_network.txt)
13:45<+glx>looks like the txt is actually outdated :)
13:45<@DorpsGek>Commit by translators :: r26160 /trunk/src/lang (danish.txt gaelic.txt) (2013-12-14 18:45:18 UTC)
13:45<@DorpsGek>-Update from WebTranslator v3.0:
13:45<@DorpsGek>danish - 1 changes by Hellwing
13:45<@DorpsGek>gaelic - 7 changes by GunChleoc
13:45<krinn>i should register to received chat, not sending one no ?
13:46<+glx>for JSON it's ADMIN_UPDATE_GAMESCRIPT
13:46-!-Aivaras [Aivaras@b.clients.kiwiirc.com] has joined #openttd
13:46<+glx>for chat it's ADMIN_UPDATE_CHAT
13:47<krinn>is there ping/pong command i could use ?
13:47-!-Aivaras [Aivaras@b.clients.kiwiirc.com] has quit []
13:49<+glx>and json seems to be script->server only
13:52<krinn>really really lost there, seems i could speak with server, but server doesn't get what i'm asking
13:55<+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
13:55<+glx>but not the other way
13:55<krinn>well, i fail at both way
13:56<krinn>and the idea is admin use admin AP to ask GS something GS answer
13:56<+glx>it's an ADMIN_PACKET_SERVER_GAMESCRIPT packet
13:56<krinn>how i can send that from rcon ?
13:58<+glx>oh there's Receive_ADMIN_GAMESCRIPT() function
13:59<+glx>so json should work both ways
13:59-!-Zuu [~Zuu@sip.sdrf.se] has joined #openttd
13:59*krinn jumping on Zuu !
14:00<krinn>hi Zuu
14:00<Zuu>krinn: to receive JSON from server you need to set the update frequency to ADMIN_FREQUENCY_AUTOMATIC. See http://dev.openttdcoop.org/projects/gs-server/repository/entry/readme.txt#L223
14:00<+glx>krinn: to send to game script it's ADMIN_PACKET_ADMIN_GAMESCRIPT
14:01<+glx>and you sen a string containing json data
14:01<Zuu>Hello krinn
14:01<+glx>the data is passed to GS via an event
14:02<krinn>something as GSAdmin.Send({ that="ADMIN_PACKET_ADMIN_GAMESCRIPT sayclient 1 hello"}); ?
14:03<+glx>no sending for GS is handled by openttd
14:03<Zuu>krinn: Java code for talking with ServerGS: http://paste.openttdcoop.org/show/2891/
14:03<+glx>the thing connected to admin port should receive an ADMIN_PACKET_SERVER_GAMESCRIPT
14:03<+glx>if it registered for it
14:04<krinn>so no way to send the even thru rcon ?
14:04<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.
14:05<Zuu>but maybe I should read the full backlog to see that I'm not missing part of your issue.
14:06<krinn>Well, just using GSAdmin.Send is somehow a challenge
14:07<Zuu>Have you tried ServerGS? Does it work for you with the admin port client that you are using?
14:08<krinn>no i didn't, just add event handling and a GSAdmin.Send every x tick as test
14:08<krinn>and i'm using java console as rcon client
14:08<krinn>http://dev.openttdcoop.org/projects/joan/wiki/SimpleConsole
14:09<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.
14:10<krinn>well i could just pass any integer directly as string no ? it would end in a JSON anway
14:10<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) http://devs.openttd.org/~zuu/JoanTest.zip
14:11<Zuu>Afaik JSON do transport an integer differently from a string containing a number
14:11<Zuu>{name=5} vs {name="5"}
14:12<krinn>how could i send the hello world test : sayclient 0 hello ?
14:12<Zuu>What is the hello world test?
14:13<krinn>just pass "sayclient 0 hell" to rcon
14:13<krinn>so server ouput "hello" as hint it has work
14:15<Zuu>Hmm, so you send a rcon command to the GS and expect the rcon to react on it?
14:16<krinn>kinda, even now i know there's no rcon to send to GS, still GSAdmin.Send is suppose to send something
14:16<Zuu>GSAdmin.Send will send data to the Admin Port client
14:17<Zuu>not to rcon
14:17<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.
14:17<krinn>ah, ok, so only the java console receive it so
14:18<Zuu>yes
14:18<krinn>and that client may just drop incoming packet from GS instead of displaying it
14:19<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.
14:19-!-Alice3 [~Alice@cpc18-grim14-2-0-cust478.12-3.cable.virginm.net] has quit []
14:19<Zuu>s/GS API/GS<->Admin Port API/
14:20<krinn>i was thinking the java console could do that (at least the GS->AP interface)
14:20<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.
14:21<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.
14:21<krinn>http://dev.openttdcoop.org/projects/joan/wiki/SimpleConsole
14:21<krinn>but i suppose it only tell openttd to received rcon
14:22<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.
14:23<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.
14:24<krinn>i see you add gamescript to it
14:26<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.
14:27-!-KritiK [~Maxim@0001264a.user.oftc.net] has joined #openttd
14:27<krinn>ah, i think servergs could be made a lib easy
14:28<krinn>and instead of reading api from src with the python helper script, directly read api inside SQ
14:29<krinn>i mean symbols.nut could be fill by squirrel function
14:31<Zuu>AFAIK you cannot get the parameter count + types in squirrel(?)
14:31<krinn>http://paste.openttdcoop.org/show/2892/
14:31<krinn>of course instead of outputing them, could just fill the g_symbols item with them
14:33<krinn>add it in a file on some GS and AdminPort.ExposeAPI(); call you'll see
14:33<krinn>with that, on new openttd version, no update need
14:34<krinn>and it will also expose the current class/functions from the gamescript itself too
14:35<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.
14:39<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
14:39<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.
14:40<krinn>that's the idea: severGSlib v1 and never ever update
14:42<krinn>only need to intercept event for adminport, that could be made like scp do it
14:42-!-apiecux [~apiecux@ui89-892t.21z4-ee.ldti.srv.parano.me] has quit [Ping timeout: 480 seconds]
14:55-!-cyph3r [~Miranda@ip-89-176-82-64.net.upcbroadband.cz] has joined #openttd
14:55<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.
14:56-!-Zuu [~Zuu@sip.sdrf.se] has quit [Quit: Leaving]
14:59<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)
15:02-!-LeandroL [~leandro@190.189.0.224] has quit [Quit: Leaving]
15:05-!-oskari892 [oskari89@62-241-226-106.bb.dnainternet.fi] has joined #openttd
15:11-!-oskari89 [oskari89@62-241-226-106.bb.dnainternet.fi] has quit [Ping timeout: 480 seconds]
15:25-!-LeandroL [~leandro@190.189.0.224] has joined #openttd
15:51<krinn>https://translator.openttdcoop.org/project/gs-neighbours-are-important?message=Access%20denied
15:52<krinn>it recognise my profile but doesn't grant access to edit file
15:55<frosch123>you are not registered as translator for any language
15:55<frosch123>you want french, right?
15:55<krinn>right
15:56<frosch123>try again :)
15:56<krinn>can do klingon and elfic too :)
15:56<__ln__>'qapla!
15:56<krinn>^^
15:56<frosch123>you can go to the "profile" (suitcase in top right) to see what access rights you have
15:56<krinn>thanks frosch123, working
15:58<krinn>never use it i'm suppose to only put translate text or copy the {}* = ?
15:58<frosch123>disadvantage of being a translator is that your user page gets spammed :p
15:58<@Alberth>user manual not clear on that?
15:59<krinn>could have told me that BEFORE!
16:00<@Alberth>my user page mostly just lists closed issues
16:01<krinn>ok, i hit copy and it output the {}*= i suppose it's need then
16:01<@Alberth>yes it is, the computer needs to know where to insert the text of the parameters
16:03<krinn>ok, altering copy so
16:05-!-oskari89 [oskari89@62-241-226-106.bb.dnainternet.fi] has joined #openttd
16:11-!-oskari892 [oskari89@62-241-226-106.bb.dnainternet.fi] has quit [Ping timeout: 480 seconds]
16:16-!-cyph3r [~Miranda@ip-89-176-82-64.net.upcbroadband.cz] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
16:18-!-Alberth [~hat@a82-95-164-127.adsl.xs4all.nl] has left #openttd []
16:22<krinn>it's amazing to see devzone hosting so much projects and then seeing how many subproject depend on openttd
16:27-!-Super_Random [~kvirc@75-102-176-79.d2.itctel.com] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
16:40-!-retro|cz [~retro@ip-89-176-82-80.net.upcbroadband.cz] has quit [Ping timeout: 480 seconds]
16:54-!-Supercheese [~Superchee@98.145.153.186] has joined #openttd
17:05-!-oskari892 [oskari89@62-241-226-106.bb.dnainternet.fi] has joined #openttd
17:12-!-oskari89 [oskari89@62-241-226-106.bb.dnainternet.fi] has quit [Ping timeout: 480 seconds]
17:16-!-yorick [~yorick@ip51cd0513.speed.planet.nl] has joined #openttd
17:19-!-Super_Random [~kvirc@75-102-176-79.d2.itctel.com] has joined #openttd
17:19-!-Pereba [~UserNick@187.113.95.245] has joined #openttd
17:19-!-krinn [~krinn@199.196.74.86.rev.sfr.net] has quit [Quit: Leaving]
17:30-!-Ristovski [~rafael@89.205.3.77] has quit [Quit: Leaving]
17:41-!-sla_ro|master [slamaster@95.76.164.39] has quit []
17:59-!-DarkAce-Z [~BillyMays@50-32-36-149.drr01.hrbg.pa.frontiernet.net] has joined #openttd
18:00-!-Djohaal [~Djohaal@177.40.3.158] has joined #openttd
18:02-!-DarkAceZ [~BillyMays@50-32-22-111.drr01.hrbg.pa.frontiernet.net] has quit [Ping timeout: 480 seconds]
18:05-!-oskari89 [oskari89@62-241-226-106.bb.dnainternet.fi] has joined #openttd
18:12-!-oskari892 [oskari89@62-241-226-106.bb.dnainternet.fi] has quit [Ping timeout: 480 seconds]
18:20-!-LeandroL [~leandro@190.189.0.224] has quit [Quit: Leaving]
18:21-!-skyem123 [~skyem123@cpc1-walt4-0-0-cust432.13-2.cable.virginm.net] has quit [Quit: Leaving]
18:24-!-DarkAce-Z is now known as DarkAceZ
18:39-!-frosch123 [~frosch@frnk-5f74545e.pool.mediaWays.net] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
18:55-!-Progman [~progman@p57A19AAA.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
18:57-!-gelignite [~gelignite@i528C38C7.versanet.de] has quit [Quit: http://bit.ly/nkczDT]
19:10-!-MrShell [~mrshell@HSI-KBW-078-043-164-174.hsi4.kabel-badenwuerttemberg.de] has joined #openttd
19:12-!-oskari89 [oskari89@62-241-226-106.bb.dnainternet.fi] has quit [Ping timeout: 480 seconds]
19:12-!-joho^_^ [~joho@takamachi.nanoha.se] has quit [Server closed connection]
19:13-!-joho [~joho@takamachi.nanoha.se] has joined #openttd
19:16-!-MrShell [~mrshell@HSI-KBW-078-043-164-174.hsi4.kabel-badenwuerttemberg.de] has quit [Quit: Leaving]
19:16-!-TinoDidriksen [~TinoDidri@alpha.visl.sdu.dk] has quit [Server closed connection]
19:17-!-adf88 [~Thunderbi@wis-zul.spine.pl] has quit [Quit: adf88]
19:17-!-TinoDidriksen [~TinoDidri@alpha.visl.sdu.dk] has joined #openttd
19:20-!-TheIJ [~rita@ceylon.silcana.net] has quit [Server closed connection]
19:22-!-TheIJ [~rita@ceylon.silcana.net] has joined #openttd
19:29-!-Midnightmyth [~quassel@93-167-84-102-static.dk.customer.tdc.net] has quit [Ping timeout: 480 seconds]
19:32-!-scshunt [raedford@00017de0.user.oftc.net] has quit [Server closed connection]
19:32-!-scshunt [raedford@taurine.csclub.uwaterloo.ca] has joined #openttd
19:32-!-Devroush [~dennis@dD5765BAC.access.telenet.be] has quit []
19:41-!-Phoenix_the_II [~ralph@13-17-191-195.ftth.glasoperator.nl] has quit [Ping timeout: 480 seconds]
19:48-!-Hirundo [~Hirundo@188.cimarosa.openttdcoop.org] has quit [Server closed connection]
19:48-!-Hirundo [~Hirundo@188.cimarosa.openttdcoop.org] has joined #openttd
19:48-!-Terkhen [~Terkhen@0001612d.user.oftc.net] has quit [Server closed connection]
19:48-!-planetmaker [~planetmak@188.cimarosa.openttdcoop.org] has quit [Server closed connection]
19:48-!-Terkhen [~Terkhen@0001612d.user.oftc.net] has joined #openttd
19:48-!-planetmaker [~planetmak@188.cimarosa.openttdcoop.org] has joined #openttd
19:48-!-mode/#openttd [+o Terkhen] by ChanServ
19:48-!-mode/#openttd [+o planetmaker] by ChanServ
20:02-!-dotwaffle [~dotwaffle@00013104.user.oftc.net] has quit [Server closed connection]
20:02-!-dotwaffle [~dotwaffle@00013104.user.oftc.net] has joined #openttd
20:06-!-Hazzard [~oftc-webi@c-67-174-253-44.hsd1.ca.comcast.net] has quit [Ping timeout: 480 seconds]
20:10-!-avdg [~avdg@188.cimarosa.openttdcoop.org] has quit [Server closed connection]
20:10-!-avdg [~avdg@188.cimarosa.openttdcoop.org] has joined #openttd
20:10-!-XeryusTC [~XeryusTC@000128e4.user.oftc.net] has quit [Server closed connection]
20:11-!-XeryusTC [~XeryusTC@000128e4.user.oftc.net] has joined #openttd
20:13-!-Haube [~michi@77-20-40-44-dynip.superkabel.de] has quit [Quit: Leaving.]
20:18-!-Pinkbeast [damerell@chiark.greenend.org.uk] has quit [Server closed connection]
20:18-!-djgummikuh [~djgummiku@srv02.letsplayonline.eu] has quit [Server closed connection]
20:18-!-djgummikuh [~djgummiku@srv02.letsplayonline.eu] has joined #openttd
20:27-!-Djohaal [~Djohaal@177.40.3.158] has quit [Read error: Connection reset by peer]
20:33-!-Cybertinus [~Cybertinu@2001:828:405:30:83:96:177:42] has quit [Server closed connection]
20:33-!-Cybertinus [~Cybertinu@2001:828:405:30:83:96:177:42] has joined #openttd
20:37-!-Jomann [~abchirk@f053040035.adsl.alicedsl.de] has joined #openttd
20:46-!-HerzogDeXtEr1 [~flex@i59F6C624.versanet.de] has quit [Quit: Leaving.]
20:46-!-LordAro [~LordAro@host81-148-242-53.range81-148.btcentralplus.com] has quit [Quit: Leaving]
20:55-!-orudge [~orudge@000128f1.user.oftc.net] has quit [Server closed connection]
20:55-!-orudge [~orudge@owenrudge.net] has joined #openttd
20:58-!-SpComb^ [terom@zerg.fixme.fi] has quit [Server closed connection]
20:59-!-SpComb^ [terom@zerg.fixme.fi] has joined #openttd
21:14-!-Prof_Frink [~proffrink@87.115.174.228] has quit [Server closed connection]
21:15-!-Prof_Frink [~proffrink@87.115.174.228] has joined #openttd
21:16-!-kais58 [~kais58@cpc8-cwma7-2-0-cust113.7-3.cable.virginm.net] has quit [Server closed connection]
21:17-!-kais58 [~kais58@cpc8-cwma7-2-0-cust113.7-3.cable.virginm.net] has joined #openttd
21:17-!-SpComb [terom@zapotek.paivola.fi] has quit [Server closed connection]
21:17-!-SpComb [terom@zapotek.paivola.fi] has joined #openttd
21:23-!-jonty-comp [~jonty@000128f3.user.oftc.net] has quit [Server closed connection]
21:24-!-DarkAce-Z [~BillyMays@50-32-4-173.drr01.hrbg.pa.frontiernet.net] has joined #openttd
21:25-!-jrambo [~jrambo@93-86-92-138.dynamic.isp.telekom.rs] has quit [Server closed connection]
21:25-!-jrambo [~jrambo@93-86-92-138.dynamic.isp.telekom.rs] has joined #openttd
21:27-!-Yexo [~Yexo@188.cimarosa.openttdcoop.org] has quit [Server closed connection]
21:27-!-Yexo [~Yexo@188.cimarosa.openttdcoop.org] has joined #openttd
21:28-!-jonty-comp [~jonty@000128f3.user.oftc.net] has joined #openttd
21:29-!-DarkAceZ [~BillyMays@50-32-36-149.drr01.hrbg.pa.frontiernet.net] has quit [Read error: Operation timed out]
21:36-!-KritiK [~Maxim@0001264a.user.oftc.net] has quit [Quit: Leaving]
21:41-!-guru3 [~guru3@000128ea.user.oftc.net] has quit [Server closed connection]
21:42-!-guru3 [~guru3@000128ea.user.oftc.net] has joined #openttd
21:42-!-EyeMWing [~Wing@c-68-33-226-154.hsd1.va.comcast.net] has quit [Server closed connection]
21:43-!-EyeMWing [~Wing@c-68-33-226-154.hsd1.va.comcast.net] has joined #openttd
21:48-!-Dark-Ace-Z [~BillyMays@50-32-13-157.drr01.hrbg.pa.frontiernet.net] has joined #openttd
21:48-!-Arr`Gone [~alex@S01064ce676224df4.vc.shawcable.net] has quit [Server closed connection]
21:49-!-Arr`Gone [~alex@S01064ce676224df4.vc.shawcable.net] has joined #openttd
21:50-!-MNIM [~mBuntu@ip5452ffad.adsl-surfen.hetnet.nl] has quit [Server closed connection]
21:50-!-MNIM [~mBuntu@ip5452ffad.adsl-surfen.hetnet.nl] has joined #openttd
21:53-!-DarkAce-Z [~BillyMays@50-32-4-173.drr01.hrbg.pa.frontiernet.net] has quit [Ping timeout: 480 seconds]
22:04-!-yorick [~yorick@ip51cd0513.speed.planet.nl] has quit [Remote host closed the connection]
22:16-!-Dark-Ace-Z is now known as DarkAceZ
22:17-!-LeandroL [~leandro@190.189.0.224] has joined #openttd
22:18-!-tokai|noir [~tokai@00012860.user.oftc.net] has quit [Server closed connection]
22:19-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
22:19-!-mode/#openttd [+v tokai|noir] by ChanServ
22:20-!-roadt [~roadt@223.240.97.60] has joined #openttd
22:20-!-roadt_ [~roadt@223.240.97.60] has joined #openttd
22:21-!-Supercheese [~Superchee@98.145.153.186] has quit [Remote host closed the connection]
22:31-!-Supercheese [~Superchee@98.145.153.186] has joined #openttd
22:44-!-glx [~glx@000128ec.user.oftc.net] has quit [Quit: Bye]
23:38-!-Hazzard [~oftc-webi@c-67-174-253-44.hsd1.ca.comcast.net] has joined #openttd
---Logclosed Sun Dec 15 00:00:35 2013