#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-02-06

Timestamps are in GMT/BST.

00:01:21Watusimotothe previous crashing issue does seem to have disappeared
00:01:27WatusimotoI'd love to know what the cause of it was
00:01:34Watusimotobut I'll settle for having it gone
00:02:17raptorheh
00:02:19raptorme too!
00:04:11bobdaduck has joined
00:04:29WatusimotoI'm running 9 bots on an essentially empty level
00:04:31Watusimotolots of shooting
00:04:43Watusimotooh craaaaaaaaaaaap
00:05:04raptor...doesn't bode well
00:05:50Watusimotosame problem
00:06:01raptornoooooooooooo
00:06:26Watusimotoit's almost like the cached values go stale after a while
00:06:30Nothing_Much has joined
00:08:15Watusimotook, I'm done for the night
00:08:24WatusimotoI think next stop is lua 5.2
00:08:32Watusimotowhere can I find your copy?
00:08:40raptori can check it in before the night is up
00:08:50raptorwell, actually
00:08:55raptorwhat would you like me to do?
00:09:23Watusimotommmmm
00:09:34WatusimotoI'm going to check in what I've got here
00:10:05Watusimotonot sure...
00:10:13Watusimotozip file on sam;s server?
00:10:51raptorhere yo ugo: http://sam6.25u.com/upload/lua-5.2.1-lua-vec.tar.gz
00:10:56raptor(have to run to dinner!)
00:11:04Watusimotobye!
00:11:24kodaOne has joined
00:11:30kodaOne is now known as kodane
00:11:42kodane Quit (Client Quit)
00:16:07Wuzzy Quit (Quit: Wuzzy)
00:16:30Wuzzy has joined
00:17:53BFLogBot Commit: 6e5ec94d49c5 | Author: watusimoto | Message: Simplify the proxy -- with caching in place, count will always be 1
00:17:54BFLogBot Commit: 1c4b3502a5d9 | Author: watusimoto | Message: Formatting
00:17:56BFLogBot Commit: 74a51163c509 | Author: watusimoto | Message: Whitespace
00:17:58BFLogBot Commit: 804a1a6cc946 | Author: watusimoto | Message: Break out some functionality into a function to let me focus on the problem at hand
00:17:59BFLogBot Commit: 2669bf060e83 | Author: watusimoto | Message: Comments
00:18:01BFLogBot Commit: 54928e3cf5f1 | Author: watusimoto | Message: Comments
00:18:02BFLogBot Commit: 78eec1bb2415 | Author: watusimoto | Message: Rearrange code to be a little easier to follow
00:18:04BFLogBot Commit: 95715bda8e99 | Author: watusimoto | Message: Comments, formatting, and comment out a block of code I think is unused
00:18:05BFLogBot Commit: f19415d337f4 | Author: watusimoto | Message: Insert an assert to test a hypothesis. Also: formatting/comments
00:18:07BFLogBot Commit: 36184f0029d2 | Author: watusimoto | Message: Try explicitly removing items from cache... no effect.
00:18:08BFLogBot Commit: 46f7d77ed3af | Author: watusimoto | Message: Formatting
00:18:10BFLogBot Commit: beb22e6cdf4f | Author: watusimoto | Message: Whitespace
00:18:11BFLogBot Commit: 03094e3a0f9a | Author: watusimoto | Message: Updates of LuaW to refelect the latest by the original author. Significantly streamlines things, but we still have our crashing problem.
00:18:16BFLogBot Commit: 88bc5c35f957 | Author: watusimoto | Message: Merge
00:20:59bobdaduckwoahhhhhhh
00:21:03bobdaduckLOGBOT STOP SPAMMING
00:24:55koda<3 spam
00:25:13bobdaduckI have a beef with spam
00:25:31bobdaduckI tried to call spam out on it but he's too much a chicken
00:29:57raptorback!
00:30:07raptorwhoa Watusimoto committed!
00:30:13raptordare i update..
00:30:57bobdaducklol
00:30:59raptorforewarning Watusimoto, with the new Lua, there are lots of compile errors in bitfighter
00:31:50Watusimotook
00:33:53raptoroh, i forgot to include the patch that was against the virgin 5.2.1 sources
00:36:04raptorhere that is again: http://sam6.25u.com/upload/Lua-5.2.1_lua-vec_rev2.patch
00:36:14raptor(if you want to see the differences compared to the original)
00:54:10Watusimotoraptor, if you would, try your 5 second crash level with the latest... send me an email to let me know how rapidly it crashes. it took significantly longer to crash my test levels
00:54:13Watusimotonight!
00:54:24raptortesting...
00:55:13raptorgot an assert:
00:55:24raptorluaW_push<Zap::Turret> (L=0xcac0a0, obj=0x112a020) at LuaWrapper.h:357
00:55:26raptor357 TNLAssert(proxy == luaW_toProxy<T>(L, -1), "Cached object is not the one we expect!");
00:55:50raptorbut the bots lasted about 10 seconds first... which seems like it'd be about to crash then
00:59:44Little_Apple has joined
00:59:47Watusimoto Quit (Ping timeout: 246 seconds)
00:59:48Little_Applehello
01:00:19bobdaduckSo.
01:00:22bobdaduckIt has come to this.
01:01:47Little_Appledid i miss something?
01:02:03bobdaduckhttp://xkcd.com/1022/
01:03:20raptore-mail sent
01:03:29raptorok, back later
01:05:37Little_Appleit worked.
01:06:17bobdaduckWhat did?
01:07:20Little_Appleithascometothis
01:11:36raptor Quit ()
01:40:03Lamp89 has joined
01:40:03Lamp89 Quit (Changing host)
01:40:04Lamp89 has joined
01:40:23Lamp89Little Apple = troll.
01:40:47Nothing_Muchhow so?
01:41:03Lamp89Do you even play the game with him?!?!?!?!
01:41:11Lamp89Or are you just blind?
01:41:36Lamp89He always is a troll
01:41:42Lamp89and always was
01:41:46Lamp89i think
01:41:52Lamp89but he IS a troll
01:42:41Lamp89 Quit (Remote host closed the connection)
01:42:52Nothing_Muchderp
01:42:54Nothing_Muchwelp
01:43:03Nothing_Muchif so then he'd ha- oh hey it's little apple
01:48:07koda Quit (Quit: koda)
01:51:18bobdaducklol
02:33:43raptor has joined
02:33:43ChanServ sets mode +o raptor
02:34:18raptorhi hi
02:34:20raptorok
02:34:21raptorso
02:36:18bobdaduckSo
02:36:24bobdaduckWe could implement temporary/rotating badges
02:36:28bobdaduckand tie ship shapes to them!
02:36:50bobdaduckThen
02:37:00bobdaduckthe "most games played" badge is a super valuable resource
02:37:07bobdaduckand everyone will be online ALL THE TIME.
02:38:20raptorheh... that's... not a bad idea actually
02:38:43raptorok bobdaduck
02:38:46raptori have a quest for you
02:38:53bobdaduckA quest!
02:38:56bobdaduckFOR EXP AND GOLD?
02:39:05raptorfind me a version of bitfighter that had your multiple point select in the editor
02:39:42raptorwe have at least these: http://bitfighter.org/releases
02:39:51raptori'd start with 015a
02:39:52bobdaduckoh boy
02:40:08raptorbecause that would be before we rewrote the editor (almost from scratch)
02:41:03bobdaduckbitfighter 013
02:41:10raptoryou sure?
02:41:10bobdaduckcontains multiple point selection and moving.
02:41:15bobdaduckHow much exp and gold do I get!
02:42:17raptor1g
02:42:28raptorhow do i use multiple point selection again?
02:42:55bobdaduckShift select more than just one point on a wall
02:43:04bobdaduckhold shift and drag one point and it drags multiple.
02:43:13raptoroh WOW, that's cool!
02:43:25bobdaduckLiterally the most useful level editing feature possible
02:43:30bobdaduckhas not been in the game for FOREVER.
02:46:49bobdaduck Quit (Quit: Page closed)
03:06:00Little_Apple Quit (Quit: Page closed)
03:07:58bobdaduck has joined
03:08:19bobdaduckKaen: I figured out the problem with my headphones
03:08:57bobdaduckThe battery was too low! That's why it was fine after I turned it on but then the quality degraded after a few seconds
03:09:25Nothing_Much Quit (Ping timeout: 245 seconds)
03:22:41Nothing_Much has joined
03:42:50raptori think i pinpointed the vertex code...
03:42:57raptorfor multiple select..
03:53:50kaenmost recent reminder that I hate javascript: 1 << 31 >> 31 == -1
03:54:53raptorwoo!
03:54:57raptorlovely!
03:55:31raptorbecause it evaluates the second shift first?
03:55:49raptorno that's not it
03:57:01raptoror maybe it's signed...
03:57:10raptorand makes a guess
04:06:12kaenyeah, the right bitshift is signed
04:06:25kaenso once that 1 makes it to the end, it sticks
04:07:21kaenin fact both of those shifts are signed technically although it only really matters for the right one
04:07:33kaenbut the left bitshift will return a signed int
04:07:59kaenwhereas >>> (triple shift) will return an unsigned int
04:08:16kaen(not sure if you knew js has internal signed/unsigned types)
04:08:39raptori didn't
04:08:43kaenyeah
04:08:50kaensome ops return signed, others unsigned
04:08:56raptori prefer to not know much about JS... only out of necessity
04:08:59kaenand you can 'cast' them
04:09:14kaen... I'm writing a binary network lib for nodejs
04:09:41kaenso maybe that counts as necessity?
04:10:03kaenI'm actually really proud of it. you only write one function and the lib knows how to pack *and* unpack your object
04:10:11kaenand you can use logic in it a la openTNL
04:10:15Nothing_Much Quit (Ping timeout: 255 seconds)
04:10:40kaenand using it over a websocket means you don't have to use stupid json encoding
04:11:15kaenso it's really like a difference of 1kbps for two integers via json, or like five bytes with the WS overhead
04:11:28kaenusing my method.
04:12:03kaen(1kbps is the actual rate I measured socket.io at)
05:19:40Nothing_Much has joined
05:40:57raptor Quit (Ping timeout: 256 seconds)
05:43:34bobdaduck Quit (Quit: Page closed)
05:46:12Wuzzy Quit (Quit: Wuzzy)
05:55:10CrazyLinuxNerd Quit (Quit: Leaving)
06:43:44kodaws has joined
07:05:19Darrel has joined
10:04:03watusimoto has joined
10:04:04ChanServ sets mode +o watusimoto
10:23:34watusimoto Quit (Quit: Leaving.)
12:05:00Watusimoto has joined
12:50:17Watusimoto Quit (Ping timeout: 248 seconds)
13:46:10sam686 has left
15:21:21raptor has joined
15:21:21ChanServ sets mode +o raptor
15:34:48raptor Quit ()
15:45:44bobdaduck has joined
16:00:19BFLogBot Commit: fdbedf3a1a5d | Author: buckyballreaction | Message: Fix multiple vertex selection in Editor. This fixes issue #191
16:00:48bobdaduck^.^
16:03:55raptor has joined
16:03:56ChanServ sets mode +o raptor
16:04:02raptoryes bobdaduck, that was for you...
16:04:07bobdaduckSaw that
16:04:09bobdaduck:D
16:04:28bobdaduckWas it hard?
16:05:03raptorit was a simple fix, but hard to track down - the Editor is very complex
16:05:30bobdaduckWell cool
16:05:35bobdaduckI can start making levels again!
16:05:52raptorquestion is: do you need a build with that fix?
16:07:04bobdaduckI want it as soon as possible
16:07:17bobdaduckThough would it be buggy if I played the normal game with it?
16:07:22raptorare you using stock 018 right now? or a different build?
16:07:26bobdaduckstock 018
16:08:30raptorwould a zip file work OK for you?
16:08:50bobdaduckProbably, not right now though I'm at work.
16:08:55bobdaduckForum PM would work
16:10:06bobdaduckThe reason I proposed changing seekers to do area damage
16:10:27bobdaduckIs because you can shoot them down, rendering them completely ineffective for anything ever.
16:11:12bobdaduckIf they did area damage, then even if you shot them close to you they'd still do something.
16:23:39bobdaduckWould it be difficult to make a weapon that slows someone if it hits them?
16:24:03raptorbobdaduck: http://sam6.25u.com/upload/bitfighter-018-eacc478090d9-and_editor_vertex_fix.zip
16:24:13raptorthere's your new bitfighter with the fix
16:24:15bobdaduckI'm at work...
16:24:22raptorok
16:24:26raptorsave the linky
16:25:03raptora weapon that alters velocity on a semi-permanent basis would be completely new code, so non-trivial
16:25:19bobdaduckokay'
16:25:22raptorand with that, i'm off to school!
16:25:30bobdaduckGLHF
16:26:09raptordon't choke on that...
16:26:12raptor Quit ()
16:41:45Darrel Quit (Read error: Connection reset by peer)
16:41:47Darrel_ has joined
16:50:36bobdaduckWho is this Darrel guy.
16:50:41bobdaduckHey Darrel!
16:50:43bobdaduckWho are you
16:58:49watusimoto has joined
16:58:49ChanServ sets mode +o watusimoto
16:59:07bobdaduckMornin, wat
17:05:52raptor has joined
17:05:53ChanServ sets mode +o raptor
17:07:26bobdaduckMornin, rapto
17:07:41raptorhi
17:07:59raptorwatusimoto: desura actually responded to my questions!
17:08:04raptor(finally)
17:08:12watusimotohey there
17:08:18raptorhi hi
17:08:19watusimotohi bobda
17:08:23bobdaduckDid they give you what you need?
17:08:25watusimotowhat did they say?
17:08:53raptorthey said that they do guarantee the libs on the system and that their 'stock' libs that they provide are from Ubunto 10.x (the LTS one)
17:09:18raptorif the libs are not found, they push them to the desura client
17:09:39watusimotogood as long as the user is compatible with ubuntu
17:09:50watusimotoso.... what do we (i.e. you) need to do?
17:10:42raptorhe said for our two missing libraries, we need to distribute them
17:10:47raptor(speex, modplug)
17:10:50raptorbut
17:11:08raptornow that i know what distro their from, i'm going to try and submit them to him again
17:11:12raptor*they're
17:11:18watusimotodoes that mean stick them in the archive?
17:11:26raptorwe'd have to do that now, yes
17:11:30watusimotoit would be better if he would add ours to their collection
17:11:36raptorcorrect
17:11:39watusimotowhich is what it sounds like you are aiming for
17:11:41raptorwhich i'm going to try and attempt
17:11:44watusimotogood
17:11:45watusimotook
17:11:56watusimotoit would be nice to not have to create a special desura package
17:12:09raptoryes, i agree
17:12:32watusimotothey did express willingness before to add the missing libs to their collection, so probably worth a try
17:12:54raptorif we can get them to supply those two libraries, then all I'll need to do is convert a DEB to a desura folder (which can be scripted)
17:13:11watusimotoyes, that would be good
17:13:28watusimotothough we could also script slipping in those two files, if need be
17:13:35watusimotobut better not to
17:14:08watusimotobtw, I'm going to be completely offline from saturday for a week or so
17:14:20raptorok
17:14:42watusimotowe'll need to decide what to do about the lua thing if it's not working in the next day or two
17:14:50raptorsigh...
17:14:55watusimotoroll back for the moment, or leave things broken in the repo
17:14:55bobdaduckmmmmm
17:15:01raptorwill you attempt 5.2?
17:15:06watusimotoI may
17:15:11watusimotoyes probably
17:15:21watusimotothough I keep coming back to the idea that it can't be that
17:15:28bobdaduckDesura has 13,440 site visitors per day, supposedly
17:15:29raptorit seems to me that maybe Lua is garbage collecting the proxy for some reason...
17:15:36watusimotobecause why didn't the pre-caching version crash?
17:15:54watusimotoI disabled garbage collection, confirmed with a breakpoint in the collector, and that wasn't the issue
17:16:18raptorlast night's test showed that it is going 'stale' somehow, correct?
17:16:21raptor(the proxy)
17:16:22watusimotoI am now pretty sure we're not double-deleting anything relevant
17:16:41watusimotoprobably
17:17:15watusimotowe are expereienceing a constellation of symptoms; the particualr symptom seems randomly selected, but the constellation is pretty stable
17:17:16bobdaduckWhich is quite a few potential new players
17:20:52bobdaduckWhat's the worst case scenario for this lua bug?
17:21:19watusimotothe other thing I should try to do is to simplify the bot to get a minimal bot that reproduces the bug
17:22:18raptoreasy
17:22:27raptorjust use get:getVel() in idle()
17:22:32raptorbot:getVel()
17:23:19watusimotowould that work?
17:23:31raptorit works with orbitbot
17:23:46raptororbotbot runs fine until i add that line in idle()
17:24:29raptorwell, technically: local v = bot:getVel()
17:31:53raptori'm going to use the build service to build for Ubuntu 10.04 LTS directly
17:34:37watusimotogood
17:40:07kodaws Quit (Ping timeout: 272 seconds)
17:43:43bobdaduckDarrel is a gci guy right?
17:52:24watusimotoyes
17:53:35bobdaduckAnd nothingmuch is a gci guy too?
17:54:17watusimotono
17:54:21watusimotolaters!
17:54:30bobdaduckbye
17:56:39raptor Quit (Ping timeout: 252 seconds)
17:58:39bobdaduckCan we implement kill streaks again?
17:59:00watusimoto Quit (Ping timeout: 260 seconds)
18:32:35kaendamn it watu and raptor are both on
18:32:45kaenwhy haven't they bisected this crash yet!?!
18:32:50bobdaducklol
18:32:53kaenboth off..
18:33:14bobdaduckDeficit spending.
18:33:17kaenI mean it's a technical term to find out *exactly* which version of the prog will/will not crash like that.
18:33:19bobdaduckThat's why.
18:33:39kaenand allows you to see the exact code which differs between the last working and first broken build
18:34:49kaenand you only have to check at most log(n)/log(2) versions, if you use binary search
18:35:10kaenwhere n is the known range of commits over which the bug was introduced
18:35:18kaen....
18:35:24kaenguess I know what I'm doing today
18:35:37kaenbobdaduck, do you know how to make that crash happen that they're talking about?
18:36:07bobdaduckIt sounds like robots
18:36:13bobdaduckAnd some change in lua
18:36:26bobdaduckResulted in certain random functions breaking robots.
18:36:36bobdaduck[10:22] <@raptor> just use get:getVel() in idle()
18:36:39kaenI keep telling them we should document bugs for real...
18:36:44kaenoh okay, thanks
18:36:49bobdaduckIf you put that code in a bot it should crash it...
18:36:56kaenthat's all I need!
18:37:07bobdaduckHe's talking about specifically putting it into orbitbot
18:37:14kaenokay
18:37:16bobdaduckbut a bunch of other functions are causing crashes too
18:37:18bobdaduck*shrug*
18:41:59kaenokay, I'm not getting a crash, but a lua error:
18:42:11kaenFatal error running Lua code: attempt to index a nil value. Possibly out of memory? Shutting down Bitfighter.
18:42:21kaenit's not actually shutting down though.
18:42:26kaendoes sound like it's right, bobdaduck?
18:42:41kaenif you don't know, I understand :)
18:44:43bobdaduckI've asked both of them
18:44:45bobdaducklike five times
18:44:46bobdaduckwhat the bug is
18:44:54bobdaduckAnd they haven't acknowledged me once
18:45:01bobdaduckso, uh, I have no idea what the bug is.
18:45:02bobdaduckxD
18:45:44bobdaduckIt also sounds like the problem keeps jumping or spreading to different areas
18:46:05bobdaduckSo they're having troubles tracking it down
18:46:36bobdaduck[10:22] <@raptor> just use get:getVel() in idle() [10:22] <@raptor> bot:getVel() [10:23] <@watusimoto> would that work? [10:23] <@raptor> it works with orbitbot [10:23] <@raptor> orbotbot runs fine until i add that line in idle() [10:24] <@raptor> well, technically: local v = bot:getVel()
18:46:53bobdaduckMaybe try local v = bot:getvel()
18:46:58bobdaduckmake sure the code is right?
18:47:22bobdaduckThe bug causes robots to run fine for about 10 seconds and then they all leave or crash or shutdown or whatever
18:47:48bobdaduckSo if the robot outright didn't run maybe you just coded it wrong?
18:47:57bobdaduckAnyway I'm headed to lunch
18:47:57bobdaduckseeya
18:48:06bobdaduckLuck
18:48:08bobdaduck Quit (Quit: Page closed)
18:51:41kaenwhen you review the logs, bobdaduck, know that there is no such thing as luck
18:52:05kaenonly confidence, resourcefulness, and perseverance
19:08:26raptor has joined
19:08:26ChanServ sets mode +o raptor
19:08:30raptorkaen kaen
19:08:58raptor(by the way that's cool about your network lib.. a good packer/unpacker is needed in JS)
19:09:01raptoralso
19:09:46raptori only found out yesterday(?) that watusimoto hadn't narrowed the Lua bug down to a specific revision; accordingly, I did so
19:10:00kaenexcellent!
19:10:18raptorthe revision that broke bots is this one: a017da940b3c
19:10:41raptorit was the revision that watusimoto implemented userdata caching for proxy objects
19:11:14raptoras an attemped solution, he updated LuaW to include the upstream caching that had since been implemented
19:11:20raptorbut it still fails
19:12:27raptori also ported our version of lua-vec to Lua 5.2.1 (old was 5.1.4) and he is probably going to try to update our Lua and try again... because nothing else is working
19:13:30kaengood grief.
19:14:13raptorso the temporary solution would be to revert LuaW to the revision just before..
19:14:32kaenwell at least there's a fallback
19:14:38raptorfor whatever reason caching of the Lua/c++ proxy objects is breaking everything because those proxy objects are somehow going 'stale'
19:14:52kaenhas that actually been tested with a current revision?
19:15:01raptoryes, last night
19:15:04kaenoh
19:15:15kaenso, the cache entry points to garbage?
19:15:52raptoran assert was added to check:
19:15:53raptor TNLAssert(proxy == luaW_toProxy<T>(L, -1), "Cached
19:15:55raptorobject is not the one we expect!");
19:17:27raptoryou can easily dupe by loading the 'ctf' level, adding 20 bots, wait 10 seconds or so...
19:18:16kaenyes, I've been able to dupe it very easily
19:18:21kaen... unfortunately :<
19:19:07raptoryeah... honestly i haven't had enough time to understand LuaW as much as watusimoto, so i haven't attempted a thorough investigation of my own
19:19:23raptori've just been suggesting/providing support... sort of :)
19:25:47raptorok, i'm off to work! later
19:26:05kaenbb
19:26:14raptor Quit ()
19:34:46LordDVG has joined
19:46:36kaen Quit (Remote host closed the connection)
19:47:18kaen has joined
19:59:36Watusimoto has joined
20:28:02bobdaduck has joined
20:31:15bobdaduckKaen there is totally such thing as luck.
20:31:22bobdaduckThere is only luck in life
20:32:12bobdaduckas in, "I'm lucky I learned this in fourth grade!" or "I'm lucky I have friends"
20:32:41bobdaduckconfidence, perseverance and whatnot, 'sall just side effects of luck.
20:32:56bobdaduck /dumb philosophy
20:38:39raptor has joined
20:38:39ChanServ sets mode +o raptor
20:38:55raptorsent desura the libs :)
20:41:33bobdaduckyay
20:46:04Nothing_Much Quit (Remote host closed the connection)
20:50:03Watusimotogood!
20:50:46Nothing_Much has joined
20:51:00Watusimotoany concerns that bf.org will need to be restarted in my absence?
20:51:22raptorwell... you couldn't actually do much the last couple times it went down, could you?
20:51:37Watusimotono
20:51:46raptorthen no.. :)
20:51:49Watusimoto:-)
20:54:39Watusimotojust copied the lua src folder into my bf dev folder...
20:54:49raptordun dun dun
20:55:26Watusimotobuilding...
20:56:01Watusimotothere's a couple of errors
20:56:04bobdaduckpraying...
20:56:12bobdaduckthat's not too bad?
20:56:12raptorbuidling by itself?
20:56:22Watusimoto1792 before I killed it
20:56:23raptoror already compiling bitfighter with its headers?
20:56:56raptorso there were a couple new compilation units that i had to add to the makefile for linux
20:56:57WatusimotoI just copied the files and hit build
20:56:57kaen*a couple thousand
20:57:18Watusimotolet's start with compiling lua itself, if i can
20:57:29WatusimotoI can't as it's not a separate project
20:57:54raptordid you replace the other Lua and just use the same vc++ project?
20:58:06Watusimotoor maybe I can
20:58:13WatusimotoI just overwrote the files
20:58:33raptoryou're missing some headers + .c files then
20:58:38raptorthere were new ones
20:58:38Watusimotomaybe I should have deleted them all first...
20:58:40kodapad has joined
20:58:50Watusimotothey would have been copied over
20:59:05Watusimotounless they weren;t in the src folder
20:59:46raptori recommend removing everything in the src/ folder first (except for your project file, if it's there)
20:59:52raptorthen copying in all the new fiels
20:59:55raptor*files
20:59:56Watusimotook
21:02:38kodapadHi
21:03:04raptorhi kodapad
21:07:48Watusimotowhat are pax headers?
21:11:50Watusimotodoesn't matter anymore
21:12:13raptorpax?
21:17:34kaenooph -- clang built most of bitfighter really, really, fast until it got to the actual bitfighter source
21:17:41kaenand now it's just crawling...
21:18:41raptoroh yeah...
21:18:48raptorclang will build fine
21:19:02kaen"fine"
21:19:05raptor:)
21:19:14raptorwell... it seems to have a lot more warnings..
21:19:18kaenoh yes
21:19:23kaenby far
21:22:44bobdaduckWhat's clang?
21:22:50Watusimotoseveral people mentioned that at fosdem
21:23:08Watusimotosomeone said google built with clang in development, but with gcc for production
21:23:59raptorclang is apple's answer to gpl'd gcc, right?
21:24:06Watusimotonot sure
21:24:14Watusimotobut I am sure I am having some build problems with luavec
21:24:17Watusimotojust building that
21:24:22raptoras far as i know it compiles c/c++ into intermediate bytecode like python compilers
21:24:47raptorWatusimoto: really??
21:24:49Watusimotoone of the altered lines is this:
21:24:51Watusimoto((io)->value_).vec[0]=(x); ((io)->value_).vec[1]=(y); ((io)->tt_=(((4) | (1 << 6))));
21:25:03raptoroh yes, that was a beauty
21:25:07Watusimotoit objects to value_ and tt_
21:25:16raptoruhhh
21:25:19Watusimotothis code is so impossible to read
21:25:21raptorthat's old...
21:25:30raptori wonder if i gave you the wrong source..
21:25:42Watusimotoold?
21:25:42LordDVG Quit (Remote host closed the connection)
21:25:53raptoryeah - stop where you are... you're on your way to redoing my work!
21:26:01WatusimotoFrom this file
21:26:02Watusimoto** $Id: lapi.c,v 2.164 2012/06/08 15:14:04 roberto Exp $
21:26:15WatusimotoI'm not leaving this couch!
21:26:49Watusimotoevery variable in this f'n package is like one or two letters long
21:27:43kaenclang is an llvm frontend. google (and others) build with it in debug because it's sometimes faster and usually gives more useful error messages
21:27:50kaenbut gcc makes faster executables
21:27:55raptorok compiled
21:28:07raptoryeah i heard llvm is really nice for debugging
21:28:09Watusimotoit's like their repo has a space limitation on it so they have to compress the srource
21:28:33Watusimotoor maybe they like assembler so they want to make their c look like that
21:29:28raptorok, compiled lua 5.2.1 with lua-vec
21:29:36raptorlet me see about adapting to vc++
21:30:23Watusimotodo I have the wrong source?
21:30:44Watusimotoand/or should I check in what I've got?
21:30:46raptoryou might...
21:30:52raptorno checking in...
21:30:54raptorok
21:31:13raptori made *sure* that this is the proper lua-vec patched Lua 5.2.1 source: http://sam6.25u.com/upload/lua-5.2.1_lua-vec_try2.tar.gz
21:31:32raptorcompiles cleanly on my machine (no warnings!)
21:31:42bobdaduckI'm just happy that multiple point barrier moving works now
21:31:49bobdaduckBitfighter can die happy
21:33:18bobdaduck(which works like a charm raptor, good job)
21:33:39Watusimotobetter
21:33:43Watusimoto2 warnings, 1 error
21:34:01Watusimotolet me make sure I have all the headers in the project
21:34:31raptorbobdaduck: you're welcome :)
21:34:38Watusimotook, down to one error
21:34:47raptorthat's waay better!
21:34:51Watusimotodo you get this?
21:35:07Watusimotoerror C2129: static function 'void PrintFunction(const Proto *,int)' declared but not defined
21:35:14raptoruhhh...
21:35:33raptorthat looks like a cross-platform problem...
21:35:36Watusimotowait, it;s static
21:35:41raptori've seen it before
21:35:54WatusimotoI'm looking at the definition
21:35:56raptorwith libmodplug or something
21:35:58raptori think the solution is to define it yourself
21:36:01raptorfor windows
21:36:20Watusimotoah, defined in here #ifndef _MSC_VER
21:36:36Watusimotoso I need to rewrite it outside that ifdef?
21:38:00raptormaybe... ?
21:38:18raptori'm seeing if that was added by my patch..
21:38:44WatusimotoI'm thinking no
21:38:54raptorit was!
21:39:03raptorit was added as part of bitfighter additions, too
21:39:07Watusimotothe only place it's referenced is here:
21:39:07Watusimoto#define luaU_print PrintFunction
21:39:15Watusimotoand the only place luaU_print is referenced is
21:39:32Watusimotowait
21:39:41raptorthere's an ifdef in luac.c
21:39:46raptorthat wraps the main() thingy
21:40:28Watusimotoit's called by pmain
21:41:36Watusimotowhich is referenced twice; once in main, which we won;t be running, and once in a different main that's ifdefed out
21:41:49Watusimotoso it will never be called from bitfighter
21:41:58Watusimotoonly if we compiled a standalone lua
21:42:14raptorfoudn the problem
21:42:24raptorluac.c
21:42:38Watusimotoso I resolve it by ifdefing out the forward declaration
21:42:44raptormove the final #endif to just around the main() function
21:42:57raptorfor somereason my merge put it at the end instead of just around main()
21:43:57Watusimotomeaining only main() is ifdefed out
21:44:09raptoris supposed to be ifdef'd out, yes
21:44:18Watusimotobut only that, not the code that follows
21:44:34raptorlooks like it shoudl be in its own class
21:44:40raptorchecking original sources...
21:44:40Watusimotowell, whatever... it builds not
21:44:41Watusimotonow
21:44:43Watusimotorather
21:44:52Watusimotono warnings or errors
21:45:04Darrel_ Quit (Quit: Closed IRC client)
21:45:51raptorlooks like that print.c class was moved into luac.c in upstream
21:45:56raptorso, i'll fix my patch
21:46:36Watusimotoas you wish... if I can make it work, it will be in the project
21:46:54Watusimotonow how badly will it break?
21:47:11raptorwill what break?
21:54:42raptorok Watusimoto, here is try 3 sources: http://sam6.25u.com/upload/lua-5.2.1_lua-vec_bitfighter.tar.gz
21:55:00raptorinside are lua tests + my own quick lua-vec test + my patch (already applied)
21:55:09raptorand it should reflect the change needed to compile on Windows
21:55:34Watusimotowhat files do I need from here? tests? everything?
21:55:53raptorit's basically the same as before with that Windows fix
21:56:01raptorand some tests that you *could* run if wanted
21:56:12raptori mostly posted it for archive purposes
21:56:48Watusimotook
21:56:55Watusimotowell, I already copied it over
21:57:07Watusimotolame
21:57:18Watusimotothe only thing that changes was a terminal blank line was deleted
21:57:31raptorha
21:58:29Watusimotoso... only 4033 errors to fix
21:58:42raptorin zap/ ?
21:58:53Watusimotoyes
21:59:00raptorsounds about right...
21:59:20raptori attempted to do the Lunar header... but gave up quickly enough :)
22:01:09Watusimotolua 5.2 has goto statements!
22:01:45Watusimotoand bitwise operators!
22:01:58raptorheh, yes
22:02:35raptori hear once a scripting language gets bitwise operators, its finally growed up...
22:02:47Watusimotonot if they have 1-index arrays
22:03:00raptorok ok, surly adolescent
22:03:53Watusimotoa mutant zombie baby
22:06:19Watusimotothis is alot of the errors:
22:06:20Watusimotohttp://lua-users.org/lists/lua-l/2011-07/msg00708.html
22:06:59kodapad Quit (Quit: K Thx Bai)
22:08:15raptoryay case
22:12:19Watusimotothat one fix alone got me down to 5 errors
22:12:24raptorWOW
22:12:37raptorthat's not as bad as i thought it'd be...
22:12:41Watusimotoyeah... I almost don't believe it
22:12:58bobdaduckThey're fake
22:13:27bobdaduckThere's probably like thousands of errors behind each one.
22:19:25kaen Quit (Read error: Connection reset by peer)
22:34:13Fordcars has joined
22:39:19Watusimotogood tip: find another project that was ported and look at the patch to see how things are done
22:42:06raptori wholeheartedly agree
22:43:01bobdaduckI 1/4th heartedly disagree!
22:46:05raptorbased on Opti's new bot's responses, within what degree of acuracy do you think we can pinpoint his age?
22:46:32Fordcarsopti's?
22:46:42bobdaduckrofl
22:46:43raptorhi Fordcars
22:47:07bobdaduckWith pretty good accuracy: 12.
22:47:23raptorhaha, he even changed the conjugates...
22:48:44raptorbobdaduck: do you understand LA's post?: http://bitfighter.org/forums/viewtopic.php?f=4&t=1749
22:48:52bobdaduckyes
22:49:23raptorwas that another feature that disappeared with the editor, or does that not apply (because polywalls are new..)
22:49:38bobdaduckIts pretty simple. Some recent editor change made it so that when moving points on a loadout/goalzone, you could hold space to have it snap to points just on the outside of a wall.
22:49:50bobdaduckPolywalls do not have that functionality, and he's asking why.
22:49:57raptorahh, ok
22:50:13raptorwould it make sense to add that?
22:50:16bobdaduckChange my title to "translator"
22:50:38bobdaduckQuartz needed it for serpentine but it wasn't there so he figured out some crazy workaround...
22:50:49raptorso it does make sense..
22:50:51Fordcarshehe I got my Raspberry Pi working!
22:51:24Nothing_Muchnice
22:51:28Nothing_Muchhow's it runnin'?
22:52:38Fordcarsgood
22:52:51Fordcarstrying to learn Python now. It's fairly easy
22:52:57Fordcarsbut I'm stuck ;/
23:07:21Fordcars Quit (Ping timeout: 248 seconds)
23:11:04raptorOK Watusimoto I published both Linux branch releases on desura that are now based on Ubuntu 10.04 LTS; I didn't put in those two dependent libraries
23:11:17raptorhopefully i won't need to..
23:11:24Watusimotook, fantastic
23:11:31raptorhow is the Lua coming?
23:12:34Watusimotogetting a link error in luavec itself
23:12:44raptorbooo
23:13:09raptoryou mean linking against luavec with bitfighter?
23:13:09Watusimotodid you do anything with luaopen_gcvec?
23:13:13Watusimotoyes
23:13:28raptornope, i didn't really touch the gcvec stuff other than to get it to compile
23:25:28Fordcars has joined
23:25:44Fordcarsahhh my internet was bugging, as always
23:27:01bobdaduck Quit (Quit: Page closed)
23:28:06Fordcars Quit (Client Quit)
23:31:04Watusimotobuilt!!
23:31:09raptorYES
23:32:04Fordcars has joined
23:33:14Fordcars Quit (Client Quit)
23:33:26Watusimotolet's see if it runs
23:33:39raptork a boom!
23:35:48raptorNothing_Much: you registered!
23:35:50raptoryay
23:37:21Nothing_MuchI've been registered for a while :D
23:38:17Watusimotobf closes as soon as it starts
23:39:01Watusimotobut it starts!
23:39:14raptorthat's great!
23:44:50Watusimotowell, actually, it doesn't start
23:44:54Watusimotoit just prints this
23:44:55Watusimotobitfighter_d.exe: C API - attempt to push a signaling NaN
23:45:01Watusimotowhatever that means
23:45:20raptorlua error
23:45:39raptorin lua_pushnumber
23:55:10Watusimotoit's called from checkVersion
23:59:55Watusimotonothing in google about this

Index Search ←Prev date Next date→

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