#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2011-10-24

Timestamps are in GMT/BST.

13:09:00-calvino.freenode.net- *** Looking up your hostname...
13:09:00-calvino.freenode.net- *** Checking Ident
13:09:00-calvino.freenode.net- *** No Ident response
13:09:00-calvino.freenode.net- *** Couldn't look up your hostname
13:10:00BFLogBot has joined
13:10:00Topic is 'Latest release 015a http://bitfighter.org | Forums: http://bitfighter.org/forums/ | GC Project: http://code.google.com/p/bitfighter/'
13:10:00Set by raptor!~raptor@unaffiliated/greenmachine on Sat Apr 30 22:51:58 PDT 2011
13:10:00-ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response.
13:10:00raptor has joined
13:10:00ChanServ sets mode +o raptor
13:10:00raptorwelcome back BFLogBot!
14:03:00raptor Quit (Remote host closed the connection)
14:49:00raptor has joined
14:49:00ChanServ sets mode +o raptor
15:50:00iKoda has joined
15:51:00iKodaHi
15:51:00raptorhi
15:53:00iKodaStuck at the airport
15:53:00iKodaYou?
15:53:00raptorstuck at work
15:53:00iKodaI guess I'm the lucky one here :p
15:54:00raptor:)
15:54:00iKodaHow is it going?
15:54:00raptorthe airport let's you use IRC, i guess...
15:54:00iKodaBoth personally and bitfightery
15:54:00raptori've been to some that don't let you do anything unless you can access it over https
15:56:00iKoda Quit (Read error: Connection reset by peer)
15:57:00iKoda has joined
15:57:00iKodaYou were saying? :p
15:57:00raptorha
15:57:00raptorso, curious - is haskell ever going to be a mainstream language?
16:01:00iKodaYou know you are asking that to a freepascal user?
16:02:00raptor:)
16:02:00iKodaWhat's your plan for bitfightery hither?
16:02:00iKodaBitfighter?
16:02:00raptorwe are shooting for a december release of version 016
16:02:00raptorwhich is upgraded to SDL
16:03:00iKodaNeat
16:03:00iKodaWhen can I run it on iOS?
16:03:00raptorummm...
16:03:00iKoda:)
16:03:00iKodaId like to give it a try
16:04:00iKodaSdl seems compatible enough
16:04:00raptoractually, i'm having a hard time getting it to run for MacOS at the moment
16:04:00iKodaAh lol
16:04:00iKodaWhat the matter
16:04:00raptorthe .app never works, but going inside teh Contents/MacOS and manually running the script works fine
16:05:00raptormaybe there is a problem in the Info.plist?
16:05:00raptori can't seem to figure out how to get the .app started anymore..
16:06:00raptorSDL required I steal someones SDLmain.m file and put htat in there...
16:06:00raptormaybe there is a problem there - but then, it shouldn't run fine when manually launching the script
16:07:00iKoda_ has joined
16:08:00iKoda_Tell you what, the next time you see me online ping me so I can try it on my mac
16:08:00raptori see you!
16:08:00iKoda Quit (Read error: Connection reset by peer)
16:08:00iKoda_ is now known as iKoda
16:08:00iKodaWith my koda username :p
16:08:00raptorahh...
16:08:00raptorok
16:08:00raptorthat means you are home, i take it
16:12:00iKodaYup and on my mac
16:12:00iKodaMost importantly :p
16:12:00raptordo you happen to know of anyway to debug the launching aspect of an .app?
16:19:00iKoda_ has joined
16:19:00iKoda_raptor: Crossing fingers counts?
16:19:00raptori forgot about that!
16:20:00iKoda Quit (Read error: Connection reset by peer)
16:20:00iKoda_ is now known as iKoda
16:23:00iKodaYou could debug nsapplication methods but I don't think it will be usefull
16:23:00iKodaOften it's just a line missing from info.plist
16:23:00raptorargh
16:24:00raptori compared the Info.plist to our last released one - identical, except for version bump
16:27:00iKodaFool!
16:28:00raptorobj-c is alien to me
16:28:00iKodaVersion bumping is the wrost thing you could do
16:28:00iKoda Quit (Read error: Connection reset by peer)
16:28:00iKoda_ has joined
16:29:00raptori'm an id10t
16:29:00raptori think it's a bad command-line parameter - but it only shows if you run it full path, not in the working directory
16:30:00raptorin fact i think zoomber_ibm told me this - i must have been half asleep
16:31:00raptorit still doesn't work!!
16:31:00raptorbah!
16:33:00iKoda_Yen you can debug it if you use the full path till the macos dir
16:38:00iKoda_ Quit (Read error: Connection reset by peer)
16:39:00iKoda has joined
16:40:00BFLogBot - Commit 6c350347ca28 | Author: buckyballreaction | Log: Fix rootdatadir launching in mac script
16:42:00iKodaYou fixed it?
16:42:00raptorno...
16:42:00raptori fixed one problem
16:42:00raptorthe thing still doesn't start like this: 'open Bitfighter.app'
16:42:00raptorfrom CLI
16:43:00raptorthe internet seems devoid of information on debugging start-up problems like this
16:43:00iKodaSo if you open it full path it works?
16:43:00raptoryes, it does now
16:44:00raptorwhic is a step i the right direction
16:45:00iKoda nods
16:45:00raptormaybe if i build it in 'release' mode it will magically work
16:46:00iKodaLol
16:46:00raptoriKoda: what did you use to build the iOS GUI for hedgewars?
16:46:00raptorand was it easy to learn?
16:47:00iKodaPure objc
16:47:00iKodaAnd then call sdl stuff that creates it own window and controls
16:47:00iKodaMaybr for bit fighter is different though
16:48:00iKodaAnyways yes, I found it quite entertaining to learn
16:48:00iKoda Quit (Read error: Connection reset by peer)
16:49:00iKoda has joined
16:49:00iKodaBut I've got a plane to catch
16:49:00iKodaGoodbye
16:49:00raptorbye
16:58:00iKoda Quit (Ping timeout: 258 seconds)
18:09:00raptorkaramazovapy: are we due for a level contest or BBB soon?
18:10:00raptorsam686: did you see that s_bot is broken with watusimoto's LUA changes?
19:40:00karamazovapyBBB top of the month
19:41:00raptoryay!
19:45:00LordDVG has joined
19:45:00karamazovapyyep. we're on an every-other-month rotation
19:45:00raptorI guess I've just been in code-refactor land so long now that I'm looking forward to some excitement
19:45:00karamazovapyyeah
19:46:00karamazovapyI think every two months is about what our community can sustain
19:46:00raptoryes, it's a good cycle
19:52:00sam686 Quit (Ping timeout: 258 seconds)
19:52:00sam686 has joined
19:52:00ChanServ sets mode +v sam686
19:53:00watusimoto has joined
20:18:00LordDVG Quit (Remote host closed the connection)
20:24:00raptorafter every time i use a Mac or Windows machine, it feels like I can breath again when I get back to a linux desktop
20:24:00raptorMac is especially suffocating
20:26:00watusimotoha
20:26:00watusimotoI feel the opposite
20:27:00watusimotoI still prefer windows
20:27:00raptoralthough.. i have a desktop that doesn't crash... :)
20:27:00watusimotowin7
20:27:00watusimotoI'm on te latest ubuntu now, no crashes for a while
20:27:00raptoroh good
20:27:00watusimotobut also no title bars on my windows
20:27:00raptorhaha
20:27:00watusimotounless I run a special process
20:27:00watusimotototally LAME
20:28:00raptoryeah I've been hearing them ubuntu folks have been trying to force the iOS-like desktop onto people
20:28:00watusimotoand I have to keep a terminal window open to keep the process going
20:28:00watusimotoI like the desktop, mostly
20:28:00raptorstart teh process with line-ending '&'
20:38:00sam686i think editor saving script with a quote is a problem... Warning: Could not find script "6357.levelgen 4 4 50 2 247 0 1 0 2 1 0 1"
20:38:00sam686level have it Script "6357.levelgen 4 4 50 2 247 0 1 0 2 1 0 1"
20:39:00sam686when it should be without quotes..
20:39:00watusimoto Quit (Ping timeout: 240 seconds)
20:41:00sam686my level gen seems broken (nothing changes in the level or script itself)
20:41:00sam686s_bot does appear to work ok, unless there is no flag in rabbit..
20:42:00watusimoto has joined
20:42:00watusimotohello?
20:42:00watusimotook, so new idea for coding techinque
20:42:00watusimotoTNLAssert(dynamic_cast<WallItem *>(wall), "Expected an WallItem!");
20:42:00watusimotoWallItem *wallItem = static_cast<WallItem *>(wall);
20:42:00watusimotocreate a pair of statements like that -- assertion protection in debug mode, performance in release mode
20:43:00watusimotodid this disconnect *again*???
20:43:00sam686levelgen seems broken (mine is), it won't create GoalZone or FlagItem
20:43:00raptorsam686: I always get an error when using /addbot
20:43:00watusimotothis new dsl isn't that great!
20:43:00raptorwith s_bot
20:43:00watusimotodid my 2 lines of code make it onto the channel?
20:43:00raptorwatusimoto: so add an assert like that before every static_cast?
20:43:00raptoryes
20:43:00watusimotoI don't know -- just an idea
20:44:00sam686raptor, is the /resource/scripts copied to /exe/scripts
20:44:00raptorlet me doubel check
20:44:00watusimotoSometimes I do a dynamic cast then check it with assertm, but no release mode checks. This seems better.
20:46:00raptorwhat do you mean by release-mode?
20:46:00raptorok sam686, i didnt' have the updated scripts
20:46:00raptorsorry for false-alarm
20:48:00watusimotoin vc++ you can compile in debug mode or release mode
20:49:00watusimotoassertions are ifdef'ed out in release mode, so they don't affect performance
20:49:00raptorah, ok
20:49:00watusimotothere are other changes too... debugging sysmbols and scuh are omitted in release mode
20:49:00watusimotothere must be a similar concept in gc++, but it's never ocurred to me to wonder where it is
20:50:00raptoryes
20:50:00raptoryou add -g to gcc to enable debugging symbols
20:50:00raptorthere is a 'make debug' option in the Makefile with all the logic there..
20:50:00watusimotoah
20:51:00watusimotoah, ok
20:51:00sam686but, you need a full rebuild (make debug -B, or first make cleano) as you can't mix debug with non-debug compile..
20:52:00raptorand you add -DTNL_DEBUG to it as well to enable the asserts
20:52:00watusimotoso same thing
20:59:00raptoryes - nightmarish CLI instead of GUI overhead is the only real difference
21:00:00watusimoto Quit (Ping timeout: 245 seconds)
21:02:00watusimoto has joined
21:11:00watusimotowhy does this connection keep disconnecting?!?
21:11:00raptorcould be a failure of your client
21:12:00raptorfreenode sends a PING every once in a while if your IRC client doesn't
21:12:00raptorand your client needs to respond to it properly with PONG or free node will disconnect
21:13:00raptormy client sends an automated PING once a minute (i looked at the source code) and I have never had connection problems over IRC
21:15:00watusimotoit's my dsl
21:18:00raptorhave you tried connecting via SSL?
21:19:00raptorconnect on port 6697
21:19:00raptorto freenode
21:22:00raptori suggest this because SSL is usually given a longer timeout for TCP packets
21:22:00raptorwell, not usually - sometimes
21:23:00raptorif ISPs cut normal http TCP connections quickly
21:26:00watusimoto Quit (Read error: Connection reset by peer)
21:28:00watusimoto has joined
21:28:00watusimoto!!!
21:28:00raptortry SSL
21:29:00raptoror, are you having problems with other internet-connected applications, too?
21:31:00[1]watusimoto has joined
21:32:00raptorfork!
21:33:00watusimoto Quit (Ping timeout: 252 seconds)
21:35:00watusimoto has joined
21:35:00[1]watusimoto Quit (Ping timeout: 248 seconds)
21:38:00[1]watusimoto has joined
21:39:00[1]watusimotonot sure how to do ssl on this client
21:42:00[1]watusimoto"HydraIRC doesn't natively support SSL , future version *will* support connections via proxies and SSL"
21:42:00raptorlame-o
21:43:00watusimoto Quit (Ping timeout: 260 seconds)
21:43:00[1]watusimoto is now known as watusimoto
21:45:00koda has joined
21:46:00raptorwatusimoto: maybe try this one?: http://quassel-irc.org/
21:46:00raptorget the 'Monolithic client'
21:51:00watusimoto Quit (Ping timeout: 255 seconds)
21:51:00sam686i use KVirc right now, for windows...
21:51:00raptorooo - haven't heard of that one
21:52:00raptorweird web site
21:55:00watusimoto has joined
21:55:00watusimotoI think this is an isp problem -- other progs are having connection problems as well
21:55:00watusimotowill try quassel
21:56:00raptorwell... you are at least sheltered from the elements now, i think
21:59:00watusimoto Quit (Ping timeout: 240 seconds)
22:01:00Watusimoto has joined
22:04:00Watusimotoon quassel now...
22:04:00raptorhello quassel
22:04:00raptorhow is it?
22:05:00raptorerr.. the UI at least
22:08:00Watusimotosimilar...
22:08:00Watusimotolooks fine
22:08:00Watusimotohasn't crashed yet :-)
22:08:00sam686raptor Watusimoto can you say my name once sam686? like to screenshot that little popup window..
22:08:00raptorsam686: hola amigo
22:08:00raptorsam686: hola amigo
22:09:00sam686good, now i can show you that popup of a KVirc
22:09:00raptorthis is a fun site: http://aggregate.org/MAGIC/
22:10:00sam686so there is how mine look like using kvirc http://208.107.52.15/bitfighter/kvirc.png
22:10:00sam686also, kvirc can minimise to tiny icon at bottom right of tack bar..
22:11:00sam686well, a blinking mail icon only because of new message...
22:11:00raptorsay something again
22:11:00sam686raptor, say what?
22:11:00sam686raptor raptor raptor?
22:11:00Watusimotosam686
22:11:00WatusimotoI like the notify box on this much better than the nothing I had on hydra
22:12:00raptorhmm... so my client always has a popup for any text, but it turns the icon red if someone says my name
22:13:00sam686mine only popuo when someone say my name or pm me (mine can be configured to popup every time..)
22:13:00raptorcool
22:17:00Watusimotonice
22:17:00Watusimotomy popups have disabled themselves :-(
22:17:00Watusimotoah.... the popup must have been because somenone said my name
22:18:00raptorWatusimoto:
22:18:00Watusimotono, didn't work
22:18:00Watusimotoah well, no great loss
22:20:00sam686Watusimoto dod your popup work now (as if while you are inactive from irc window?)
22:20:00raptorit could be only when it isn't in focus
22:23:00Watusimoto Quit (Ping timeout: 255 seconds)
22:26:00koda'lo
22:26:00raptorhaha
22:26:00raptorhi koda
22:27:00raptorkoda: if you are still willing to look at mac version then here is checkout: http://code.google.com/p/bitfighter/source/checkout
22:28:00kodadownloading
22:28:00raptorthe project file is under 'build/osx/xcode/Bitfighter.xcodeproj'
22:28:00raptornote that we haven't done any work to get this onto Lion, yet
22:29:00kodaim on SL
22:29:00kodadoesn't it work with make?
22:29:00raptorsadly, i'm not sure :0
22:29:00kodai'll give it a try
22:30:00kodagcc -o lua lua.o liblua.a -lm -Wl,-E -ldl -lreadline -lhistory -lncurses
22:30:00kodald: unknown option: -E
22:30:00raptori've thought about using cmake... but the other 2/3 of the developers are using vc++...
22:30:00Flynnn has joined
22:31:00kodawith cmake they can still use vc++
22:31:00kodacmake -G VisualStudio
22:31:00kodanot terribly difficult :p
22:31:00raptorwhat does that do?
22:31:00Watusimoto has joined
22:31:00kodacreates the file from cmakelists to visual studio project files
22:32:00raptorreally? cool...
22:33:00raptorwe don't really have a build 'system' unfortunately
22:33:00raptormake for linux, xcode for mac, vc++ for windows
22:33:00raptorno autotools (yuk) or cmake
22:34:00kodait's better not to have autotools :D
22:34:00raptori totally agree
22:34:00raptortalk about a headache
22:36:00kodait's no use trying to compile it from command line
22:36:00kodalet me try from xcode
22:36:00raptorrats
22:36:00raptorworks wonderfully in linux :]
22:36:00kodacan i say i totally don't understand how you organized the source? :p
22:36:00kodalib/ ? lib*? src? zap?
22:37:00raptorso...
22:37:00raptorthat's on the todo list
22:37:00raptorbasically
22:37:00raptorall the various source directories are at the root: alure, boost, zap...
22:38:00raptorthe actually bitfighter code is in tnl/ and zap/
22:38:00raptortnl/ is the network layer
22:39:00Watusimoto Quit (Ping timeout: 276 seconds)
22:40:00kodaok can i suggest to either throw away everything that is not needed or place it under some subfolder? .p
22:40:00raptoryes you may
22:41:00kodaanyways i found your problem i think
22:41:00Watusimoto has joined
22:41:00raptorthe subfolder idea is what i am planning
22:41:00kodain the info.plist you've got ${EXECUTABLE_NAME} as the name of the file that has to be launched
22:41:00raptoryes
22:41:00kodain other words now the .app is trying to load a file called "${EXECUTABLE_NAME}"
22:41:00raptorwhen build it shows up as bitifghter.sh
22:41:00raptorwhat
22:43:00raptorthe Info.plist after being build has that OK
22:43:00kodasorry
22:43:00kodamy mistake
22:44:00raptori just thought of something - can multiple .apps on the filesystem with the same name give problems?
22:44:00raptori thought i read that somewhere
22:44:00kodaok sorry if i sound annoying but it's a very wrong way to force the arguments through a wrapper script in that way
22:44:00raptor:]
22:44:00raptori'm a total linux hack
22:44:00kodayou should hardcode them for the osx version
22:45:00kodaand/or give the option for the user to override them
22:45:00raptorand welcome any constructive critism
22:45:00raptorreally?
22:45:00kodabut anyways a second 'error' is that you shuldn't launch a second process like this
22:46:00Watusimoto Quit (Ping timeout: 248 seconds)
22:46:00kodai mean you start bitfighter.sh that starts shell that starts ./Bitfighter
22:46:00raptoryeah, i hate that - but i don't know how else to pass the arguments
22:46:00raptorideas?
22:46:00kodathe correct way to do this, if you really want to keep the script, is to launch it from the same process
22:46:00kodavia exec
22:46:00kodaexec command params
22:46:00koda ./Bitfighter -rootdatadir "$userdatadir" -musicdir "$musicdir" -sfxdir "$sfxdir" -scriptsdir "$scriptsdir" "$@"
22:46:00kodabecomes
22:47:00kodaexect ./Bitfighter -rootdatadir "$userdatadir" -musicdir "$musicdir" -sfxdir "$sfxdir" -scriptsdir "$scriptsdir" "$@"
22:47:00kodathat should be pretty much it
22:47:00koda tries is
22:47:00raptorok
22:47:00Watusimoto has joined
22:48:00kodanah it's not that as well
22:49:00kodaanyways it is solvable
22:50:00raptorok, built again
22:50:00raptori added exec
22:51:00raptorstill no go
22:52:00raptorbut this works: ./Bitfighter.app/Contents/MacOS/bitfighter.sh
22:54:00kodai saw that
22:56:00Watusimoto Quit (Ping timeout: 252 seconds)
22:58:00Watusimoto has joined
22:59:00koda25/10/11 00.57.33 [0x0-0x55055].com.yourcompany.Bitfighter[5013] Unknown cmd line parameter found: -rootdatadir /Users/vittorio/Library/Application Support/Bitfighter -musicdir /Users/vittorio/bitfighter/build/osx/xcode/build/Debug/Bitfighter.app/Contents/Resources/music -sfxdir /Users/vittorio/bitfighter/build/osx/xcode/build/Debug/Bitfighter.app/Contents/Resources/sfx -scriptsdir
22:59:00koda/Users/vittorio/bitfighter/build/osx/xcode/build/Debug/Bitfighter.app/Contents/Resources/scripts
22:59:00raptor??
23:00:00raptorhow did you get that?
23:00:00kodaMAGIC
23:00:00kodathat and looking into Console
23:00:00raptorteach me oh wise one
23:01:00raptorwher eis the preferred location to do the logic of the script?
23:02:00kodanot using scripts at all :p
23:02:00kodabasically it is getting -rootdir as a parameter to shell
23:02:00kodathat's why it is failing imho
23:02:00raptorhow did you get that error to show
23:02:00kodawith the console open and scrolled down
23:03:00raptori have terminal
23:03:00kodajust try launching console
23:03:00kodano Console
23:03:00raptorwhat is that?
23:03:00kodait's like dmseg
23:03:00kodadmesg
23:03:00raptorWHAT!>
23:03:00raptorthat exists on MAC!!
23:03:00raptorgreat!
23:04:00raptori get this: 10/24/11 5:03:04 PM [0x0-0x1a01a].com.yourcompany.Bitfighter[2113] Unknown cmd line parameter found: -psn_0_106522
23:04:00Watusimoto Quit (Ping timeout: 252 seconds)
23:04:00raptorwhich makes no sense!
23:06:00Watusimoto has joined
23:08:00kodaanother error is 25/10/11 01.06.51 [0x0-0x5d05d].com.yourcompany.Bitfighter[5123] You must specify the root data folder with the -rootdatadir option
23:08:00raptori actually don't have that problem
23:09:00koda-psn_0_106522 is something for bash
23:09:00kodaso ignore it
23:10:00kodaso yeah.. get rid of the script :D
23:11:00raptorare you saying I should code in the script login into the c++?
23:12:00raptorwow, that Console is great!
23:13:00raptorit's like the terminal has been un-crippled slightly
23:15:00raptorso removing the "$@" in the script solves the problem...
23:15:00raptoryay
23:15:00raptorbut I probably shouldn't use a script
23:31:00Watusimoto Quit (Ping timeout: 260 seconds)
23:34:00Flynnn Quit (Quit: This computer has gone to sleep)
23:35:00Watusimoto has joined
23:41:00raptor Quit (Remote host closed the connection)
23:45:00Watusimoto Quit (Ping timeout: 260 seconds)
23:52:00Watusimoto has joined
23:58:00Watusimoto Quit (Ping timeout: 240 seconds)

Index Search ←Prev date Next date→

These logs were automatically created by BFLogBot on irc.freenode.net.