#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-12-09

Timestamps are in GMT/BST.

00:09:08Watusimoto_well, a full recompile fixed the crash
00:09:20Watusimoto_but the ff bug is real
00:09:55Watusimoto_pushing a minor refactor that probably won't fix the linux/mac bug
00:10:20BFLogBot Commit: ec07657f4a51 | Author: watusimoto | Message: Trivial cleanup
00:10:22BFLogBot Commit: 1bb81071ab8b | Author: watusimoto | Message: More logical assignation of mNameEditor
00:10:23BFLogBot Commit: 1d7df9d7940d | Author: watusimoto | Message: Break out TeamPreset into its own thing, add new EditorTeam constructor
00:22:50CrazyLinuxNerdHey Watusimoto_ did u guys get around to releasing 018? :-)
00:23:04Watusimoto_yup, it's out
00:23:53koda Quit (Quit: k thx bai)
00:24:08CrazyLinuxNerdNice :-) - I'll check it out later, though I've got a few other things to compile first haha (Restructing my home repo, changing tag mech lol) I'll compile/check bitfighter once all that's done :-)
01:06:22twodarray has joined
01:16:37Watusimoto__ has joined
01:18:24Watusimoto_ Quit (Ping timeout: 240 seconds)
01:36:45Watusimoto__good night
01:49:44Watusimoto__ Quit (Ping timeout: 264 seconds)
01:51:46raptor has joined
01:51:46ChanServ sets mode +o raptor
01:54:06twodarrayarghhh
01:54:09twodarrayhey raptor
01:54:16twodarrayare all the commands in zap?
01:54:23twodarrayor is it in the master/master.cpp
01:58:19raptorhi
01:58:42raptortwodarray: the client/server code is found in zap/
01:59:10raptorspecifically, you'll want to look at UIGame.cpp for the command entry points - there is a giant array of commands there which a user can type
03:36:42BFLogBot Commit: 4a21ea1851dd | Author: buckyballreaction | Message: Fix really crazy memory bug with LineEditor. This fix is just as crazy
03:57:17raptorgood night!
03:57:19raptor Quit ()
05:53:59sam686 Quit (Read error: Connection reset by peer)
06:16:10sam686 has joined
06:16:10ChanServ sets mode +v sam686
07:01:58twodarray Quit (Ping timeout: 245 seconds)
07:56:35Martinski has joined
07:56:43Martinskimorning guys :)
08:04:32Darrel has joined
08:05:35Martinskidobro utro
08:05:36Martinski;d
09:18:41Martinskiguys, what should be the background of the general logo, where I draw a new ship
09:23:49Martinski Quit ()
09:32:07Watusimoto_ has joined
10:05:15Watusimoto_Darrel: good morning
10:06:06DarrelMorning
10:06:40Watusimoto_I'll be on and off today, so if you need something, speak up!
10:07:25DarrelOk, no problem :)
10:09:11Darrel_ has joined
10:10:34Darrel__ has joined
10:10:49Darrel__damn this isn't good..
10:10:53Darrel__internet is crazy
10:12:04Darrel Quit (Ping timeout: 240 seconds)
10:14:02Darrel_ Quit (Ping timeout: 252 seconds)
10:14:13Darrel has joined
10:17:04Darrel__ Quit (Ping timeout: 240 seconds)
10:18:29Darrelhm...
10:18:29Darrel Quit (Client Quit)
10:34:12Darrel has joined
11:58:44Watusimoto_back in a while
12:03:24Watusimoto_ Quit (Ping timeout: 240 seconds)
12:13:03martin_bede has joined
12:30:19koda has joined
13:06:27Darrel_ has joined
13:09:35Darrel Quit (Ping timeout: 244 seconds)
13:18:06Watusimoto_ has joined
13:18:12Watusimoto_hi
13:18:23Watusimoto_hi martin_bede
13:18:35Watusimoto_hi Darrel_
13:25:42Martinski has joined
13:25:51Martinskihey guys :))
13:30:40Watusimoto_hi Martinski
13:30:51Watusimoto_having a quick bite of lunch... back in 10 mins
13:31:15Martinskiok
13:41:42martin_bedehey
13:41:50Martinskihi :)
13:48:18Watusimoto_hi, back for a bit
13:48:36Martinskiok, I started designing the new spaceship for the general logo
13:48:41Watusimoto_ok, that was 17 minutes
13:48:52Watusimoto_does it look lie the Enterprise?
13:48:52Martinskishould it have transparent background ?
13:49:00Watusimoto_probably yes
13:49:04Martinskiwell, it's triangle
13:49:09Watusimoto_good :-)
13:49:12Martinskiwith the same flames from the back
13:49:18Watusimoto_good
13:49:25Martinskibut more high quality
13:49:32MartinskiI started it from scratch
13:49:44Watusimoto_more high quality is better than less high quality, in my opinion!
13:50:00Martinskiafter a while, I'll send you a beta version to tell me if you like it
13:50:06Watusimoto_perfect
14:06:58Martinskihttp://img716.imageshack.us/img716/5/test1ia.jpg
14:07:01MartinskiWatusimoto_
14:07:03Martinskitake a look at this
14:07:07MartinskiI'm stuck now :D
14:07:09Watusimoto_ok
14:07:16Martinskican't decide where to put lines or whatever :D
14:07:32Watusimoto_why not start with the actual bitfighter ship?
14:08:05Watusimoto_start bitfighter; create an empty level in the editor; hit tab; screenshot
14:12:44Darrel_ Quit (Read error: Connection reset by peer)
14:12:51Darriel has joined
14:14:57Darriel is now known as Darrel
14:18:06MartinskiAhh the ship is too small :D
14:19:40MartinskiWatusimoto_ it's not a problem to use this green color right ?
14:20:39Watusimoto_use the scrollwheel to zoom in; the ship will get bigger
14:20:40Watusimoto_also
14:20:51MartinskiI have no scroll :D:D:D
14:21:17Watusimoto_there's a shortcut key for that; see help. Also, you can start playing on an empty level and switch to cmdrs map (c). and ship should be really big
14:21:30Watusimoto_I couldn't live without a scroll wheel
14:21:43Martinskiyes, it's on my laptop, but I saw it larger
14:21:44Martinskihmm
14:21:52Martinskishould I make it like it
14:22:11Watusimoto_as for the green, you mean the green in your test jpg?
14:22:20Martinskiyes
14:23:01Watusimoto_I think it would be better to use one of the primary colors (red, green, blue); if you want green use rgb (0, 255, 0)
14:23:06Watusimoto_that will look like the game
14:23:18Martinskiok, I'll use that kind of green
14:24:02Watusimoto_oh brother... testing a level seems broken on my new 018 install
14:24:25Martinskiand shoud I make the cannons solid like I did, or like ingame - only lines
14:24:47Watusimoto_like in game, I'd think
14:24:55Martinskiok
14:38:26Watusimoto_I'll be away for a while shortly, just a little warning
14:38:32Martinskiok
15:00:01Watusimoto_ok checking out for a bit; I'll read the server logs when I get back, so feel free to leave stuff for me here
15:00:14Martinskiok
15:11:05MartinskiWatusimoto_
15:11:06Martinskihttp://img252.imageshack.us/img252/9503/test2q.jpg
15:11:11Martinskihere is a link to the new version
15:11:16Martinskitell me what you think when you are here
15:26:55MartinskiI made them 64x64, 32x32 and 16x16 px sizes
15:27:01Martinskiif you like it I'm uploading them
15:46:01raptor has joined
15:46:01ChanServ sets mode +o raptor
15:51:50Martinskihey raptor
15:51:59raptorhello
15:52:07Martinski http://img252.imageshack.us/img252/9503/test2q.jpg
15:52:18Martinskiwhat do you think about the general logo design of the ship ?
15:53:00raptorlooks good!
15:53:13raptordid you do that from scratch?
15:55:44Martinskiyes
15:55:57Martinskifrom a blank layer :D
16:06:02Martinskiuhm
16:06:04MartinskiI made them
16:06:11Martinski64x64, 32x32 and 16x16
16:06:19Martinskinow I'll upload
16:07:19Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0R2hZNk5fZktlckk
16:07:19Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0YkZ5V0ZQSkJ5SUk
16:07:19Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0eWVzdTl0Z0dXYnc
16:07:25Martinskihere, tell what you think
16:14:46DarrelHmm, Watusimoto_, I don't think the json page can be of much help. It doesn't tell you in which server the player is, and etc
16:15:43DarrelProbably my code should just monitor the page, and if "playerCount": increases, the message "New player joined a Bitfighter server" should pop up
16:20:16raptorhi
16:20:22raptorsorry, i'm off an on...
16:21:48raptorMartinski: looks good - one question, the ship looks a little elongated or stretched along the long axis, could it be more 'round' somehow?
16:22:20raptorDarrel: you are looking for good JSON for your notifier? we can probably eventually put out better JSON
16:22:34DarrelI don't know if that's needed
16:22:53Darreldo we really need to give all that information in a notifier that shows for 2-3 seconds?
16:23:01DarrelLike, player name, server name, etc etc
16:23:18Darrelwhen you open bitfighter, it's easy to see where people are playing
16:23:44raptoryou're probably right
16:23:59raptorbut we can always make code modifications :)
16:24:48raptorare you thinking of *not* using the JSON?
16:24:55DarrelI was thinking
16:25:01Darrelbut I'm not sure I want it
16:25:19Darrelsince Watusimoto_ said that he wants the notifier to be standalone
16:25:31DarrelI think the JSON way is best
16:25:36raptorok
16:35:40raptorDarrel: is there something that could be added to the JSON that you think could be useful?
16:36:31DarrelIdk...
16:36:59Martinskihere now
16:37:12Martinskiok raptor, I'll make them a little more "fat"
16:37:13Martinski:D
16:37:31raptoryeah, that's the technical term :)
16:39:57Darrel:D
16:47:38Watusimoto__ has joined
16:47:58Watusimoto__hi
16:48:02raptorWatusimoto__: hi
16:48:06Martinskihi watusimoto
16:48:13Martinskiraptor asked me to make the icon a little fatter
16:48:23Martinskiso here's the final, I think, version
16:49:27Watusimoto__Darrel: >>>>>Probably my code should just monitor the page, and if "playerCount": increases, the message "New player joined a Bitfighter server" should pop up
16:49:40Watusimoto__yes, that's probably all you can do
16:50:14Watusimoto__as raptor said, in future we can/will adapt the json to make things like your notifier better
16:50:26Watusimoto_ Quit (Ping timeout: 264 seconds)
16:50:56Watusimoto__I'd be happy with it just saying "XXXX has logged on"
16:51:21DarrelXXXX - player name? that might be tricky
16:51:28Watusimoto__isn't that in the json?
16:52:09Martinskihere are links
16:52:10Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0LUY3LXBfQ2lsUEk
16:52:10Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0N1R4VDBWN205WTg
16:52:10Martinskihttps://docs.google.com/open?id=0BzOc42TE85E0QVJjYkF5RlYzMDg
16:52:25Watusimoto__at any time the json provides a list of players; if that list changes, you know someone either joined or left (or both)
16:54:16Darrelyeah, but monitoring when a new player has joined..
16:54:54DarrelI'm not pretty sure how to do the json data taking at all, which is the problem
16:58:33Watusimoto__Martinski: I'll accept your icons; what do I do to close this case out?
16:58:43Martinskiwait, I have to upload them
16:58:44Martinski:D
16:59:14raptorDarrel: what do you mean?
16:59:27raptordo you mean how to consume the JSON?
16:59:29Watusimoto__http://stackoverflow.com/questions/6620165/how-to-parse-json-in-c
16:59:34MartinskiI marked the task as complete
16:59:39Darrelit's C#
16:59:44Martinskinow you should have smth like accept or I don't know
16:59:45Watusimoto__read the link
16:59:50Darrelyeah
16:59:55Darrelthat's what I noticed when I opened it :D
16:59:55raptorDarrel: look here: http://json.org/
17:00:23raptorif you scroll down you'll find a list of libraries that deserialize JSON
17:00:33raptorin most common languages
17:00:48Watusimoto__here's a sample from the stackoverflow article:
17:00:49Watusimoto__WebClient webClient = new WebClient();
17:00:49Watusimoto__dynamic result = JsonValue.Parse(webClient.DownloadString("https://api.foursquare.com/v2/users/self?oauth_token=XXXXXXX"));
17:00:49Watusimoto__Console.WriteLine(result.response.user.firstName);
17:00:54Darrelyeah, json.net would be used probably...
17:01:03Watusimoto__looks pretty straightforward
17:01:20Watusimoto__ is now known as watusimoto_
17:01:34watusimoto_raptor: so what's the deal with your memory corruption fix?
17:01:58watusimoto_was it just separating those two strings?
17:02:09raptorone moment....
17:02:12raptorok
17:02:14raptorso
17:02:23raptori put a break point in clearTeams()
17:02:38watusimoto_back in a sec
17:03:23raptorand then inspected the mEditorLine for *each* EditorTeam and noticed something: in each object, some of the members of mEditorLine were NULLed out
17:03:52raptorand it dawned on me that maybe destruction of some member was eating up other members as well
17:04:01Martinskiwatusimoto_ I marked it for review, when you are free, check it
17:04:02Martinski:)
17:16:49raptorthen i had the hunch of thinking: i wonder if the alignment of two strings next to each other was somehow being only one string
17:16:56raptorso i separated them and no crash!
17:17:09raptori don't know if that's the reason though, it was just a hunch that worked
17:17:35watusimoto_wow, that's pretty good
17:17:54watusimoto_ok, it's dinner time, apparently. I'll be back in a bit
17:19:19Martinskireview the task when you're here, because I'm leaving for a while now
18:05:55Darrel Quit (Read error: Connection reset by peer)
18:06:00Darrel_ has joined
18:06:27Darrel_ is now known as Darrel
18:36:51Martinskiare you here guys ??
18:36:58watusimoto_I just got back
18:37:04watusimoto_are you here?
18:37:21raptori'm not
18:37:44watusimoto_Martinski: you must be the one with the cryllic name
18:38:38watusimoto_Martinski: I'll approve your task when you upload the psds for the first three icons you did
18:39:50Martinskioh, ok
18:40:24watusimoto_martin_bede: are you around?
18:40:31martin_bedeyes, im here
18:40:49watusimoto_you are doing the paramaterization task?
18:41:00martin_bedeyes
18:41:03watusimoto_i got a notice that it was expiring
18:41:12watusimoto_I'm happy to extend if you are actually working on it
18:41:25watusimoto_and I'm happy to provide any assistance you need
18:41:35martin_bedeim working on it, but you dont have to extend it
18:41:55watusimoto_I would be particularly happy to tell you that there is a similar object that has already been paramterized
18:41:58Martinskiwatusimoto_, I uploaded the psds now :)
18:42:05martin_bedethe automatic 24 hour extension will be more than enough, hopefully :)
18:42:26martin_bedeso whats that object?
18:42:42watusimoto_I'll have to look... hold on a sec
18:42:45Martinskithank you :)
18:42:46watusimoto_Martinski: closed
18:42:57watusimoto_thank you
18:43:57LordDVG has joined
18:45:53Little_Apple has joined
18:46:34Little_Applehello
18:46:41raptorhello
18:46:54Little_Appleyou posted something about a new build for me to try?
18:47:19raptoroh
18:47:22raptorwow, you're quick
18:47:38raptorwhat OS? mac 64bit or 32bit?
18:47:51Little_Apple64
18:48:14Little_Appleim on 10.8.2
18:48:41raptorlaready?
18:48:45raptoralready?
18:48:47raptor10.8?
18:48:47Little_Appleyep
18:48:50raptorand it runs?
18:48:56Little_Appleeeeeyup
18:49:26raptorthat's Maine-speak
18:49:33watusimoto_martin_bede: Looks like the Loadout constructor grabs a few parameters from the Lua state. Not the same ones you'll need, but it's something to look at
18:49:37Little_Applei havent tried bitfighter on the emac g4 yet to see if i can find any bugs
18:49:44watusimoto_martin_bede: sorry... LoadoutZone
18:49:51watusimoto_in loadoutZone.cpp
18:49:52Little_Applebut thats mainly because that computer has een unplugged for a while
18:50:13martin_bedewatusimoto_: ok, ill check it out
18:50:32raptorLittle_Apple: compiling you a build... it'll be afew minuts
18:50:39Little_Appleokie dokie
18:50:40raptorspelling/grammar fail
18:50:56Little_Appleminuts :)
18:51:05watusimoto_and we have a nice method called pointOrXY that looks at the lua stack and pulls out a point if a point or an x/y pair has been passed in. you'll find this very useful
18:51:10Martinski Quit ()
18:51:24raptorfarewell Martinski!
18:51:53watusimoto_so I'm trying to rework the installer to generate a portable windows install
18:52:00watusimoto_nsis is SUCH a pain in the behind
18:52:11watusimoto_it's not even a language, as far as I can tell
18:52:13raptorha
18:52:15watusimoto_just random symbols
18:52:21raptornope, it's its own thing
18:52:25raptorbut well documented!
18:52:25watusimoto_it's worse than batch scripting
18:52:40watusimoto_worse even than bash scripting
18:52:51watusimoto_ugh
18:52:52raptornow that's saying something...
18:53:04watusimoto_they should have written it to use python or something
18:53:12watusimoto_that would get compiled down to an ee
18:53:14watusimoto_exe
18:53:18raptorbut then it wouldn't be a lean, mean, unintelligible machine
18:53:25watusimoto_that it is
18:53:36watusimoto_except for the lean and mean bits
18:53:44watusimoto_and I'm not even sure about the machine
18:55:04watusimoto_raptor: did all our tasks get grabbed?
18:55:23raptorumm
18:55:26raptormaybe?
18:55:33raptordid you add the mac one?
18:56:04watusimoto_no
18:56:14watusimoto_all but the linux notifier and the copy/paste in the editor
18:56:42watusimoto_I think the c/p will be a little difficult (though not too bad) but the most satisfying to do
18:56:51watusimoto_I kind of want to do it myself
18:57:07watusimoto_because it's far better than nsis
18:57:24raptori thiink c/p might only be implemented on windows...
18:57:30watusimoto_really?
18:57:41raptori'm not sure SDL2 has it implemented for all platforms that could use it..
18:58:22raptori'll have to take a look, right after i get Little_Apple his build
18:58:32watusimoto_the documentation doesn't mention that
18:58:36raptoroh hey it's done...
18:59:27watusimoto_I thought the sdl stuff would be complex, but it looks really easy
19:00:12raptormac has joined
19:00:18raptormacLittle_Apple: http://sam6.25u.com/upload/Bitfighter-018-MacOSX-64bit-Intel-fix-editor-crash.dmg
19:00:25raptormac Quit (Client Quit)
19:00:27Little_Applethanks
19:00:45raptorthank you
19:01:10raptorok.. looking to see where it's implemented. watusimoto_ what api method are you looking at?
19:01:35watusimoto_http://wiki.libsdl.org/moin.cgi/CategoryClipboard
19:03:42watusimoto_didn't realize that sdl had threading support
19:03:59raptoroh yes
19:04:19raptorin fact i've considered using it instead of TNL - but really we'd don't do that much advanced stuff
19:04:30raptorso TNL is fine...
19:06:33watusimoto_no
19:06:43watusimoto_but if we ever wanted to put rendering in its own thread
19:06:50watusimoto_as we've discussed many times
19:07:34watusimoto_I would like to transition as much stuff away from tnl as possible to things that are still supported
19:07:36raptorok looks like i've found clipboard implementations on android, linux, mac, windows, and BeOS
19:07:41watusimoto_just as a general philosophy
19:07:46watusimoto_good
19:09:47raptorwell, i *could* move to SDL threads for the few we've got...
19:12:31watusimoto_no sense in breaking what works
19:12:34raptorSDL2 has a logging system, too, I think
19:12:39raptori agree
19:12:45watusimoto_it has a lot of interesting things
19:12:46raptoruntil we break it...
19:13:06raptor:)
19:13:12watusimoto_that hapens a lot
19:13:39raptorright now the SDL2 guys are building out a full test suite
19:13:51raptori think Valve is really putting money into it
19:15:44Darrel Quit (Read error: Connection reset by peer)
19:16:03Darrel has joined
19:16:30Little_Appleraptor: i tried the build and the crash seems to be fixed :D
19:16:36raptorhooray!
19:16:46raptorlet's hope we didn't introduce another crash since release...
19:17:09Little_Appleill let you know if i find anything
19:17:17raptorgreat! thanks again
19:17:20raptoralso
19:17:27raptordo you understand footloose's bug?
19:17:33Little_Applenot really...
19:17:47Little_Applesounds like something about resizing and text...
19:17:58Little_Applebut thats about all
19:18:04raptorhehe, ok
19:18:13raptoryeah, i'm not sure either...
19:18:19raptori'll just hope she responds
19:18:26Little_Applei could ask about it
19:25:09watusimoto_raptor: I propose we make a few other bugfixes from our now growing running list then do a 018a release sometime soon
19:25:15watusimoto_like after your vacation
19:25:20raptorok
19:25:43raptorwant me to branch? that way we can keep the fixes separate from any refactors/new features
19:25:56watusimoto_let me reprhase that. I propose I make a few other bugfixes while you relax and enjoy life. Then we do a release
19:26:02raptorhaha
19:26:04raptorok
19:26:21watusimoto_at this point, i see no reason to branch
19:26:25raptorok
19:26:39raptoroh
19:26:59raptorwant me to do a level design contest that can fester while i'm away? :)
19:27:03watusimoto_none of the code being worked on here will make a difference, and unless sam686 has something cooking, I think everything will be just minor fixes that will affect nothing
19:27:05watusimoto_yes
19:27:08watusimoto_that would be great
19:28:27raptorwhen do you think the deadline/party should be?
19:28:55raptorthe 27th?
19:29:10raptori'll be back at about christmas day or so...
19:30:22raptordeadline 27th, party 28th? (thu/fri.)
19:34:23watusimoto_yes, that would be great
19:34:29raptorok
19:34:31raptoralso
19:34:36raptortheme? rules changes?
19:34:50watusimoto_theme should be make best use of new features in 018
19:34:58watusimoto_(somewhat open)
19:35:03watusimoto_rules changes?
19:35:11watusimoto_I think what we do generally works well
19:35:26raptorwe altered _k's rules to allow eligibility for multiple entries
19:35:29raptorstill OK/
19:35:31raptor?
19:35:32watusimoto_yes
19:35:35watusimoto_still ok
19:35:36raptorok
19:35:40watusimoto_and you can enter a level too!
19:35:54raptor:)
19:36:50watusimoto_maybe I'll test out some of the 018 scripting
19:37:16raptoroh yeah!
19:38:58raptorwhat features can i call out as examples - engineered teleporter, seeker, scripting.. anything else?
19:39:19watusimoto_energy recharge?
19:40:07watusimoto_or we could really crank it down tight -- an egineer level contest, for example
19:40:36raptori think i'd like it open a bit...
19:40:44watusimoto_me too
19:40:56watusimoto_but I do think that sometimes random constraints produce better results
19:41:09raptoryes, that's true...
19:42:17raptorlast contest was somewhat mediocre though... and we had a constraint of 'storm the castle'
19:45:48watusimoto_maybe it was a bad constraint
19:46:04raptoryes
19:46:42LordDVG Quit (Remote host closed the connection)
19:51:05Little_Apple Quit (Quit: Page closed)
19:53:07raptorwatusimoto_: http://bitfighter.org/forums/viewtopic.php?f=13&t=1631
19:53:12raptorseem oK?
19:54:09watusimoto_yeah, so we have the party, then voting afterwards?
19:54:24raptoryeah, usually voting beings the monday afterwards
19:54:32raptorwell, no
19:54:50raptorafter the party as soon as someone gets to it..
19:55:03watusimoto_ok, then it's perfect
19:55:23raptorbut votings lasts for a few days afterwards
19:55:26watusimoto_Looks very official
19:55:35raptori used bullet points!
19:55:46watusimoto_nice
19:56:16raptorfeel free to adjust the post (like to constrain the theme)
19:57:30raptoroh, i guess i have to turn on PMs...
19:58:26watusimoto_no, I think it's good
19:58:37watusimoto_cracatoa wants to be listed in the credits\
19:58:40watusimoto_what have we done?
19:59:02raptorwai twhat?
19:59:17raptori made the choice to not put testers in there
19:59:23raptorbut call them out in the release post
19:59:50watusimoto_well, we have two names there now
19:59:56raptor?
20:00:03raptor goes to look
20:00:31raptorah
20:00:31watusimoto_jonathan hansen and K
20:00:37raptor_k and j hansen
20:00:40raptorwho is j hansen?
20:01:03watusimoto_someone who was active very early on
20:01:05watusimoto_I think
20:02:17raptorso do we want to have a 'policy' on credits? development+actual contributions
20:02:33FoOtloOse has joined
20:02:34raptorlooking at hedgewars credits...
20:02:39FoOtloOsehai
20:02:42raptorhi FoOtloOse
20:02:51FoOtloOsei took screenshots but i cant find them...
20:03:03raptorFoOtloOse: go to start -> run
20:03:09raptortype in %appdata%
20:03:15raptorthe bitfighter folder moved
20:03:42raptorwatusimoto_: hedgewars credits has: Developers, Art, Sounds, Translations, Special thanks
20:03:52FoOtloOseyay :D
20:04:00raptorFoOtloOse: wait, you're on windows, right?
20:04:02FoOtloOsecan u send screenshots through this?
20:04:05FoOtloOsewindows 7
20:04:07raptorok
20:04:15watusimoto_this falls under special thanks, I guess
20:04:20watusimoto_here is my response to C
20:04:20raptorsend them through this: http://sam6.25u.com/upload3.php
20:04:25watusimoto_I'll think on it. We've had similar requests in the past, and we're still trying to come up with a policy that respects everyone's contributions, is fair, and doesn't overwhelm the credits list.
20:04:25watusimoto_You've been a part of the community for a long time, and I really do appreciate your continued input.
20:04:25watusimoto_-Wat
20:04:39raptorsounds good
20:04:52raptoryou're more of a people person than I am, I think...
20:05:25raptorFoOtloOse: upload using that link above. after you press 'submit', it gives you a link to the picture you can paste here
20:05:26watusimoto_you can think that if you like
20:05:35raptorha
20:05:47raptori suppose.. at least in writing...
20:05:49FoOtloOsehttp://sam6.25u.com/upload/3screenshot_7.png
20:06:06raptorFoOtloOse: whoa
20:06:10raptorwhat happened!
20:06:17raptoris that the lobby in the editor?
20:06:23FoOtloOsehttp://sam6.25u.com/upload/4screenshot_8.png
20:06:31FoOtloOseits the normal lobby i think
20:06:32raptorwhoa!
20:06:38raptorwhat happened!
20:06:44FoOtloOseit squished it :P
20:06:58raptorand that happens after going into the editor?
20:07:11FoOtloOsein the htf map i didnt try any other yet
20:07:14FoOtloOsei can..
20:07:37raptorha
20:07:40raptorworks on every map
20:07:43raptorbug!
20:07:45raptorgood find
20:07:53FoOtloOse:P
20:07:58FoOtloOseits squishying thems.
20:08:45raptorthanks for the screenshots, i think i know the exact problem
20:09:02watusimoto_so just for the record, there is a problem with the win installer
20:09:16watusimoto_if you are upgrading, your files will get moved
20:09:22FoOtloOseso i can go now?
20:09:47raptoryes, i give you permission to go :)
20:09:50FoOtloOse:D
20:09:51FoOtloOsebyes
20:09:55FoOtloOse has left
20:09:57watusimoto_but if you uncheck the create shortcut box, the old shortcut will still have the old /rootdatadir param in it
20:10:06watusimoto_and your old folder will be recreated
20:10:16watusimoto_and everything will get confused
20:10:16raptoroops
20:10:21raptorbug
20:10:27watusimoto_if you check the box, you're ok
20:10:40watusimoto_what's the fix though? maybe remove the shortcut?
20:11:13raptoryes, check and remove old shortcut
20:11:27raptorisn't that supposed to happen in the uninstall?
20:13:13watusimoto_we don't uninstall
20:13:24watusimoto_we just install over the top
20:15:10watusimoto_you know what? why do we ask if they want a shortcut?
20:15:19watusimoto_the install a program, they get a shortcut
20:15:21watusimoto_period
20:15:24watusimoto_that's the fix
20:16:12watusimoto_ask for the desktop icon, that;s ok. but the shortcut? no way.
20:16:48raptorsounds good to me
20:17:09raptoralso there were 1 or 2 installation pages that could be combined i think
20:17:25raptorlike the very first two
20:17:30raptorcan't remember..
20:19:22martin_bede Quit (Quit: bye)
20:27:18raptoryou could always try innosetup: http://www.jrsoftware.org/isdl.php
20:33:53watusimoto_I was looking at that last night
20:34:07watusimoto_our situation is simple enough that I'd rather try to make our existing setup work
20:34:15watusimoto_fewer bugs that way
20:34:19watusimoto_I hope
20:35:26watusimoto_but it looks liek there is not much ongoing development of nsis
21:16:42watusimoto_nsis recommends using a macro to pass a parameter to a function
21:25:40raptorfor added obfuscation benefit!
21:32:46watusimoto_as far as I can tell, all vars are strings in nsis
21:42:34Darrelarghhh I still can't manage to get the data from the json
21:44:28watusimoto_Darrel: what are you trying to do it with?
21:44:36watusimoto_or rather, how are you trying to do it?
21:44:59Darreldifferent ways and everything is so confusing, lol
21:45:19Darrelthis dumb thing always doesn't know how to do something :D
21:45:59watusimoto_are you using a library or trying to do it yourself?
21:46:03Darreljson.net
21:46:09Darrelconfusing as hell.
21:46:32Darrelif you can give me some advice, I would really appreciate it
21:47:03Darrelthese stackoverflow things always seem to lack a crucial part of the code and I can't get the hang of it
21:47:49watusimoto_this?
21:47:50watusimoto_http://james.newtonking.com/projects/json-net.aspx
21:48:11watusimoto_I've never used dot.net, but am willing to take a look and see if I can help
21:48:40Darrelyeah, this one
21:49:11Darreleverything involves a ton of listing
21:49:18Darreland even if supposedly you get it
21:49:25DarrelI can't display it somewhere to check
21:49:34watusimoto_so you'll only be concerned with deserialization
21:49:51watusimoto_you coulud display it with printf, or something, no?
21:50:16Darreltried with a messagebox, tried with displaying it in console
21:50:24Darreland it always said that something is not defined
21:50:41watusimoto_ok
21:50:52Darrelhm, this json thing is hard with a library.. I don't even want to think what it is without
21:50:53watusimoto_first of all, are you able to get the json
21:51:04Darrelno idea.
21:51:11Darrelcan't test it
21:51:18watusimoto_but you think maybe?
21:52:00Darrelyeah
21:52:14Darrelby the way, uploaded the new exe in my task
21:52:22Darreljust for you to take a look at it
21:52:39Darrelthe checkbox doesn't work.. I mean there isn't a way to make it work yet
21:52:45watusimoto_ok
21:52:49watusimoto_so
21:52:56Darrelbut it's there so it's ready once the other stuff is made
21:53:02watusimoto_this looks like a very easy bit of code to deserialze it once you have it:
21:53:02watusimoto_string json = @"{""key1"":""value1"",""key2"":""value2""}";
21:53:02watusimoto_Dictionary<string, string> values = JsonConvert.DeserializeObject<Dictionary<string, string>>(json);
21:53:14watusimoto_except you'll use the json you get from bitfighter.org
21:53:16Darrelhowever, we take from url
21:53:17Darrelyes
21:53:23watusimoto_so start with this
21:53:23Darreland then I need a ton of arrays
21:53:28Darreldefining each thing
21:53:33watusimoto_or a dictionary
21:53:35Darrelpublic string serverName
21:53:37Darreletc etc
21:53:41watusimoto_ok
21:53:50watusimoto_for the moment, start with the code I just posted
21:53:54watusimoto_forget fetching the json
21:53:55Darrelok
21:54:14watusimoto_just see if you can get something to output using that simple code (or something like it)
21:54:25watusimoto_in a msg box, printf, whereever
21:54:35watusimoto_that looksl ike it iwll create a dictionary of some sort
21:54:40Darreloh, standalone
21:54:50Darrelnot in the other app
21:54:52watusimoto_and it should be easy enough to get some values out of the dictionary
21:55:00watusimoto_what other app?
21:55:36Darrelin the one i'm making
21:56:31watusimoto_do this in your app
21:56:47watusimoto_here;s a slightly different snippet that might be easier?
21:56:48watusimoto_var json = "{\"id\":\"13\", \"value\": true}";
21:56:48watusimoto_var jss = new JavaScriptSerializer();
21:56:49watusimoto_var table = jss.Deserialize<dynamic>(json);
21:56:49watusimoto_Console.WriteLine(table["id"]);
21:56:50watusimoto_Console.WriteLine(table["value"]);
21:57:08watusimoto_that's the whole package right there -- json, parsing, printing
21:57:17watusimoto_first see if you can get that snippet to work
21:57:38watusimoto_then manually grab the json from bitfighter.org and try to parse that
21:57:54watusimoto_maybe just printing the values to the console
21:58:09watusimoto_when you are confident that is working, you can try to grab the json feed live
21:58:18Darrelookay
21:58:35watusimoto_by breaking it down like that, it will be easier to see where things aer falling apart
21:58:53Darreloh, btw, javascripserializer won't work
21:58:57DarrelI don't have it
21:59:06Darreli mean, it's a lib like json
21:59:08Darreljson.net*
21:59:29watusimoto_why not grab it?
21:59:38Darrelmore setting up
21:59:41Darreland dependencies
21:59:41watusimoto_but let's see if we can find a different snippet
22:02:04Darreltried the first snippet
22:02:09Darrelnothing is displayed
22:02:32watusimoto_json.net has a json viewer?
22:02:52watusimoto_look at answer #1
22:02:53watusimoto_http://stackoverflow.com/questions/11212330/parse-json-data-using-json-net-lib
22:03:19Darreldon't know, haven't seen that
22:03:21watusimoto_is JsonConvert.DeserializeObject json.net?
22:03:40Darrelshould be, yes
22:04:02watusimoto_ok, the code presented on that link is short and clear
22:04:11watusimoto_or at least short :-)
22:04:25Darrelhaha
22:04:35Darrelincomplete again
22:04:37Darrelof course...
22:04:42watusimoto_how so?
22:04:57Darrelwhere does one put the json stuff
22:05:03Darrelwhat is imported
22:05:04Darrelclasses
22:05:05Darreletc
22:05:34watusimoto_right
22:05:40watusimoto_like the includes and such
22:05:52Darreloh damn, I can't do this...I'll upload the code for my notification form there and someone who's good with json can try to do the task...
22:06:04Darreland what is worse, I have to go to bed..
22:06:05watusimoto_sorry!
22:09:35Darrel:/
22:09:38Darrelgood night
22:09:53Darrellet's hope I get some ideas tomorrow..
22:10:21Darrel Quit (Quit: Leaving)
22:12:11watusimoto_well that must be frustrating
22:12:27watusimoto_not that I am unfamilliar with the sensation
22:12:30watusimoto_back to nsis!
22:16:26BFLogBot Commit: 57e6146be5d4 | Author: watusimoto | Message: This bat file is broken, and, I believe, cannot be fixed with currently available technology.
22:16:28BFLogBot Commit: 84004fd377cf | Author: watusimoto | Message: Fix up installer -- everyone gets a shortcut!
22:16:29BFLogBot Commit: 110e2defe497 | Author: watusimoto | Message: Remove lots of unneeded stuff
22:16:31BFLogBot Commit: bf6d4af09acb | Author: watusimoto | Message: Merge
22:25:46raptorhi
22:25:56raptoroh man, Darrel is in a rut?
22:30:58raptorhere is a simple 1-class json parser: http://techblog.procurios.nl/k/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html
22:31:09raptorif he is struggling with evil libraries..
22:57:36raptoroh no! Darrel removed his claim
23:31:42watusimoto_I think darrel surrendered
23:32:29raptornoooo
23:34:09raptori bet we could hijack this: https://code.google.com/p/notifyx/
23:34:15raptorcrossplatform tray notifier for gmail
23:34:18watusimoto_where is the motd file on master?
23:34:18raptorin java...
23:34:22raptoruhhh
23:34:26raptorsomewhere..
23:34:42watusimoto_:)
23:34:52watusimoto_notifyx looks like it has potential
23:36:10raptorfound it: /home/master/bitfighter/master/motd
23:36:34raptori could probably modify notifx in a jiffy
23:36:46watusimoto_you could get the point!!
23:36:56raptordon't i have to be in highschool?
23:37:08watusimoto_you could be in highchool...
23:37:15watusimoto_mentor AND student!
23:37:18raptorhaha
23:37:21watusimoto_two t-shirts
23:37:56watusimoto_i found motd
23:38:13watusimoto_it seems to be in with the source code
23:38:18watusimoto_rather than in the exe folder
23:39:02watusimoto_as does master.cfg
23:39:19raptor?
23:39:38raptoroh
23:39:40raptorbecause
23:39:43watusimoto_I expected that we had an exe folder somehwere where the master executable lives
23:39:54watusimoto_and that .cfg and motd would live there as well
23:39:58raptorit is actually run from the 'master' folder
23:40:10raptorliek this: ../exe/master
23:40:11watusimoto_but that;s a source folder
23:40:28raptoryeah...
23:40:36raptorprobably should be rectified
23:40:49raptormotd needs to be editable from online, right?
23:41:32watusimoto_yes, though I'm not sure if that still works
23:41:47watusimoto_I have not tried it since we migrated servers, and have mostly forgotten how :-(
23:42:17watusimoto_but I;ve done what I wanted to do, which was change motd
23:43:02raptoroh
23:43:09raptorhttp://bitfighter.org/motd/
23:43:42watusimoto_great!
23:43:51watusimoto_I probably need to fix my password in .htaccess
23:44:03raptorlooks like it's trying to pull the basic auth from: /home/eykamp/.htpasswd-motd
23:44:20watusimoto_yeah... that's not going to work, is it?
23:44:22raptoryeah look at files at /var/www/html/motd
23:44:29watusimoto_looks like I'm not the only one who hasn't tried it!
23:44:33raptorno, not going to work..
23:44:35raptorhaha
23:45:27watusimoto_ok, I'll deal with this another time
23:46:22raptorok
23:47:00raptori have to go for about an hour or so, i'll check the logs later if you want me to do any admin stuff on master
23:47:25raptorthis notifyx thing looks good...
23:47:47raptorexcept.... java
23:47:56raptordoesn't fulfulll the native requirement
23:49:12BFLogBot Commit: 46dc978f5766 | Author: watusimoto | Message: Fix, mostly, the progress bar in installer, add test for portable that needs more fleshing out
23:49:13BFLogBot Commit: 4192435ebd30 | Author: watusimoto | Message: Can now generate portable installer by specifying /DPORTABLE on nsis command line
23:49:58watusimoto_sure it does
23:51:38raptorhttp://stackoverflow.com/questions/2240674/cross-platform-desktop-notifier-in-python
23:51:42raptorok i gotta run

Index Search ←Prev date Next date→

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