#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-06-02

Timestamps are in GMT/BST.

00:27:34raptor Quit (Ping timeout: 276 seconds)
00:44:04Darriel has joined
00:44:18Darriel Quit (Client Quit)
00:45:03sam686 has left
00:55:43bobdaduck has joined
00:58:28bobdaduck Quit (Remote host closed the connection)
01:32:27raptor has joined
01:32:27ChanServ sets mode +o raptor
01:48:44raptor Quit ()
06:31:00LordDVG has joined
07:29:02Watusimoto has joined
08:14:58LordDVG Quit (Remote host closed the connection)
08:43:55Watusimoto Quit (Ping timeout: 252 seconds)
10:41:26bobdaduck has joined
11:56:53bobdaduck Quit (Remote host closed the connection)
12:25:27Watusimoto has joined
12:26:05raptor has joined
12:26:05ChanServ sets mode +o raptor
12:35:28raptorour evangelist is back!
12:42:09fordcars has joined
12:56:38raptorWatusimoto, kaen, I'm going to add a ROBOTS MENU in-game - what should it have in it? ADDBOT, KICKBOTS, anything else?
13:00:49Watusimotohi
13:01:18Watusimotolet's look at kickbots first
13:01:22Watusimotoas I think that's easier
13:01:26Watusimotowhat wuold you want to do?
13:01:31Watusimotokick all bots
13:01:44Watusimotoand maybe reduce the number of bots in the game?
13:01:57Watusimotolike if there are too many?
13:02:13raptorhi
13:02:18raptorwell
13:02:36raptori was just thinking of creating a sub-menu 'ROBOTS' with options that matched commands
13:02:44raptorlike addbot addbots kickbot kickbots
13:02:49Watusimotoso maybe we could have a smart kickbots command that reduces the bot count by the number of teams (i.e. removes one bot from each team) and evens the teams out?
13:03:13Watusimotowhat would addbots do?
13:03:21Watusimoto(and kickbots)
13:03:29raptorthe command requires a number
13:03:31Watusimotoopen a new menu where you picked a number?
13:03:32raptorso /addbots 5
13:03:36raptorbut maybe we don't need it
13:03:42raptorkickbots would kick all bots
13:04:07WatusimotoI think there should be two options -- kick all bots and reduce the number of bots
13:04:16Watusimoto(for kicking)
13:04:22raptorkickbot reduces number by one
13:04:27raptorbut not so smartly
13:04:30raptori could improve that
13:04:49Watusimotoyou can kick an individual bot via the kick menu
13:04:59Watusimotoif you are trying to pick a bot to level the teams or whatever
13:05:10Watusimotoso we don't need a kick a particular bot command
13:05:11raptorah, so you'd select KICKBOT, then it would pull up a roster?
13:05:20raptoroh wait
13:05:20WatusimotoI think we have that already, no?
13:05:21raptoryes
13:05:23raptorkick menu
13:05:24raptorok
13:05:26Watusimotoright
13:05:29raptorbut only admins can kick
13:05:32Watusimotoso saying we don't need to duplicate that here
13:05:37raptorlevel changers can add/kick bots
13:05:42Watusimotook
13:05:53raptormaybe we want to revisit permissions?
13:05:55Watusimotomaybe then level changers could get access to the kick menu but it would show only bots
13:06:12raptorhmm
13:06:16raptorthat's seems ok
13:06:24Watusimotobut that might be another discussion
13:06:27raptorinstead of KICK A PLAYER, it could be KICK A ROBOT
13:06:35Watusimotoyes
13:06:58Watusimotobut here I think we need (conceptually) kick all bots, reduce the number of bots, increase the number of bots
13:07:09raptorok
13:07:19Watusimotoso kick all is pretty clear
13:07:21raptorand would reduce/increase be incremental by 1, like the commands?
13:07:55Watusimotohow would you add three bots? you don't want to navigate the menu tree 3 times
13:08:10raptorusing the command /addbots 3 :)
13:08:16Watusimotoright :-)
13:08:25Watusimotobut why would you want to add 3 bots?
13:08:34raptorgood question
13:08:40raptorbecause you're goofing off
13:08:42WatusimotoI'm thinking you would want to do that to increase the number of players to a good amount
13:09:01Watusimotoso maybe we have an increase command that adds a bot to every team
13:09:48Watusimotogiven that you can't pick which teams get a bot, if there are 3 teams, you might not want to do /addbots 2 very often
13:09:58Watusimotobecause it's unclear what would happen
13:10:03raptoryou can pick what team from the command
13:10:15raptor /addbots 2 Red s_bot.bot
13:10:38Watusimotobut I would think the normal situation is you are thinking, "sure would be good to have some more players here"
13:10:51raptorso a INCREASE TEAM COUNT
13:11:01raptorand that would just automatically add a bot to each team
13:11:22Watusimotothat's what I'm thinking... and maybe add enough more bots to even the teams out
13:11:46Watusimotoso if there are 3 teams and a total of 2 players, add bots would add a total of 4 bots
13:12:03raptorso that is what my 'force team balance' logic does
13:12:08raptorwith bot balancing
13:12:09Watusimotoexactly
13:13:54raptorthis is becoming more complicated than I had imagined..
13:14:31WatusimotoI think it's pretty straight forward
13:14:40raptori wonder what happens if bot balancing is on and i kick a bot..
13:14:42Watusimotoall the logic is already written
13:14:44raptorusing KICK PLAYER
13:14:54Watusimotoah, interesting
13:15:22Watusimotonot even sure what should happen
13:15:50raptorok
13:16:29raptorit's programmed to turn auto-balancing off for the level if a bot is added or removed outside of the balancing timer
13:16:32Watusimotomaybe the bot should get kicked and bot balancing is disabled until the next game or a player joins?????????
13:17:04raptorhappens until next game, at the moment
13:19:43Watusimotothat sounds reasonable
13:20:59Watusimotook, so I am suggesting 3 bot options: add more bots (esentially what I suggested before), kick some bots (works the same, but opposite), and kick all bots
13:21:06raptorok, I think I need this mapped out, is this close to what you are thinking?: http://pastie.org/pastes/7997619/text
13:21:38Watusimotolooking
13:21:53raptorif that makes sense
13:22:57raptorforgot the DECREASE TEAM COUNT..
13:23:09Watusimotoessentially... though I find increase team count a very confusing name... (why are you adding team in the bots menu?)
13:23:19raptoroh, haha, yeah..
13:23:42Watusimoto(and where did all these bots come from when I was trying to increase the teams?)
13:23:57raptorour players will be forced to think like me!
13:24:08Watusimotogreat! (I think...)
13:24:23raptornot so great, probably
13:24:45Watusimotofor "reduce team count" maybe if teams are uneven, you kick bots until the teams are even. if teams are even, you remove a bot from every team?
13:25:00raptorso would we have an INCREASE ROBOTS PER TEAM do just 1 on each team, as well as force balance?
13:25:45LordDVG has joined
13:27:29Watusimotoyes
13:27:41raptorADD BOT TO EACH TEAM
13:27:43Watusimotoso if teams were balanced already, you get one extra bot per team
13:27:48raptorREMOVE BOT FROM EACH TEAM
13:27:55Watusimotohow about "Increase bots"
13:28:02Watusimoto"More bots"
13:28:16raptorsee... it's that kind of simple, easy to understand language that I have difficulty with
13:28:18Watusimoto(I like more bots because it's reminicent of "more cowbell")
13:28:24raptorhaha
13:28:40Watusimoto(have you ever seen that snl skit? with christopher walken?)
13:28:55Watusimotomaybe "More cowbots"
13:29:31WatusimotoI would propose "More Bots", "Less Bots" (fewer bots?), "Kick All Bots"
13:30:09Watusimotoand maybe we could add some text explaining the /addbots /kickbots commands
13:30:42raptorfewer'
13:30:48raptori think is used for concrete objects
13:30:53Watusimotoless calories?
13:31:03raptorfewer chocolate cakes
13:31:06Watusimotofewer is definitely the correct grammar
13:31:18Watusimotofewer is used for countable things, less for uncountable
13:31:28raptorless insanity
13:31:43raptorcountable, yes, that makes more sense
13:31:54WatusimotoBut MORE and LESS each have 4 letters... fewer is long and obviously a word for people with jobs wearing suits
13:32:11Watusimotoless insanity, fewer insanties
13:32:19raptorhaha
13:32:40WatusimotoOk, amend my proposal to "Fewer Bots"
13:32:41raptormore death by bot
13:32:44raptorless death by bot
13:32:52raptorok
13:32:52Watusimoto"Higher score" "Lower Score"
13:32:56raptorhahaha
13:33:11Watusimoto"So many bots you might as well go play Minecraft, sucker!"
13:33:33Watusimoto(in my case that would add 3)
13:33:39raptorLIKE BOTS
13:33:42raptorHATE BOTS
13:33:47Watusimotoexcellent!
13:34:34Watusimotobut my thinking is that these commands will be better in practice than more direct but requiring-thought-commands. Which probably means players will hate it.
13:34:54Watusimotohey, if players knew what they wanted to do, they'd use the /commands
13:35:01Watusimotothis is for the apple folks
13:35:16raptorfor our OSX users
13:35:18raptoryes
13:35:49raptorok, so how does that menu structure i pastied look? (with the addition of FEWER BOTS)
13:37:00Watusimotogreat
13:37:17raptorok, then i'll start work
13:37:26raptorthanks
13:37:31Watusimotomaybe we should just not have a kick a robot option at all
13:37:41Watusimotomaybe just leave the kick players as-is
13:38:03Watusimotobecause it would be confusing to have "kick a robot" and a "robots" item
13:38:39raptorok
14:18:03raptormy wife says the GCI shirt is her favorite, which is good because I can't wear it for fear of disintegration
14:23:21fordcarswow
14:30:40sam686 has joined
14:30:40ChanServ sets mode +v sam686
14:33:03LordDVG Quit (Remote host closed the connection)
14:34:20Watusimotohey raptor, do me a quick favor?
14:34:23Watusimotogo to slashdot.org
14:34:39raptorok
14:34:46Watusimotoscroll down to this story:
14:34:47Watusimoto2013 Nominees For Hobby Gaming's Top Prize
14:34:58Watusimotois there a swastika as the icon for that?
14:34:58raptorbut I must let you know that I quit slashdot earlier this year..
14:35:10Watusimotono need to log in
14:35:14WatusimotoI don't
14:35:35WatusimotoI've been getting weird nazi icons on slashdot from time to time
14:35:49Watusimotoand I don't know if it's my machine or slashdot
14:35:57raptornope
14:36:01raptorno swastika
14:36:03raptorodd
14:36:06Watusimotowhat's the icon?
14:36:27Watusimotohttp://a.fsdn.com/sd/topics/games_64.png
14:36:33Watusimotothat's what I get if I copy the url
14:36:40Watusimotodoes that look like a swastika?
14:37:19sam686games_64.png looks like a very old Atari controller..
14:37:27Watusimotovery strange
14:37:34Watusimotomy computer is becoming a nazi, I think
14:38:18Watusimotohow can I test if that is my computer or something coming from the network somehow?
14:38:24Watusimotoah different computer
14:39:12sam686Do a command: ping a.fsdn.com what IP does it say?
14:39:25sam686mine says 23.61.163.172
14:39:53Watusimoto95.100.131.172
14:40:20raptorWatusimoto: try using https?
14:40:46Watusimotohttp://95.100.131.172/sd/topics/games_64.png is invalid url...
14:41:01raptorha!
14:42:17Watusimotoodd...
14:42:30Watusimotothat same url (with name, not ip addr) gives atari controller on my wife's computer
14:43:01sam686what does ping a.fsdn.com give you on your wife's computer?
14:43:54Watusimotojust tried that -- same as me
14:44:10sam686try different web browser?
14:44:14Watusimotoso it looks like something on my machine is doing the switch
14:44:14sam686or disable plugins?
14:44:28Watusimotolet's try different browser
14:44:49raptorWatusimoto: I have an idea to the cause... you have two of them
14:44:58Watusimotoso I normally use chrome... trying ff
14:45:07Watusimototwo whats?
14:45:37Watusimotofirefox shows atari
14:45:43Watusimotolooks like it's only chrome
14:46:04Watusimotoreloaded chrome, still showing nazi
14:46:19sam686odd, I also use chrome and I don't have such mazi stuff you have..
14:46:22Watusimotoverry odd
14:46:40raptortwo... teenagers?
14:46:56Watusimotowell... they're not nazis, as far as I know!
14:47:17sam686in chrome menu, tools, extensions, anything there? try removing them if there..
14:48:09WatusimotoI'll bet it's my dsn
14:48:16sam686settings, show advanced settings, clear browsing data, empty the cache.
14:48:16WatusimotoI use opendsn on chrome
14:48:31Watusimotohmmmm
14:48:47WatusimotoI manually reloaded about a dozen times, in chrome, and it became a controller
14:49:31Watusimotoso now I can't test anything any more
14:49:35Watusimoto:-(
14:49:40Watusimotountil the next time
14:49:58Watusimotoverrrry strange
14:50:02Watusimotothis is the 2nd time
14:50:47Watusimotonothing on google matches any searches for this topic
14:52:29Watusimotomaybe I was mistaken in thinking I could set opendns for chrome and not other broswers
14:52:37Watusimotooh well
14:52:56Watusimotosome nazi hackers are probably getting a good chuckle reading this chat
14:53:02Watusimotoand watching my confusion
14:54:37sam686you won't need any such plugins for openDNS, on windows go to networking, change adapter settings, properties, ipv4, and you can set a static DNS servers from there..
14:55:23Nothing_Much Quit (Read error: Connection reset by peer)
14:56:06sam686changing static DNS in networking system affects all programs that does DNS resolving to IP address..
14:59:07Watusimotoright -- if it is system wide (as it appears to be) it can't be the culprit
14:59:30Watusimotomy problem is browser specific
15:52:04raptorWatusimoto: are the controller buttons supposed to look like this?: http://sam6.25u.com/upload/3screenshot_24.png
15:54:26fordcarshope not
16:15:15WatusimotoYes!
16:15:31Watusimotowell, not ultimately
16:15:45Watusimotobut for the moment all the As are there to get the vert centering right
16:15:54Watusimotowhen displaying buttons and text together
16:16:01raptorah ok
16:16:10Watusimotoand the [~?~] is an undefined button
16:16:38Watusimotoso yes for the moment
16:16:42raptorokey doke
16:16:59Watusimotonazi ghost still hasn't returned to my machine
16:18:20raptorcould it be a cache collision in firefox?
16:22:41raptorerr, i mean in whatever browser you were using
16:35:06fordcarsoh ok sorry :3
16:46:53fordcarsI am about to start an international organisation that would research the best ways to destroy my mouse
16:47:08raptormicrowave
16:47:20fordcarslololololololol
16:47:25raptorOR sledgehammer
16:47:32fordcarsor hammer
16:47:46raptori recommend goggles for the sledgehammer
16:48:03fordcarsyou know I am talking about my computer mouse, right ......... xD
16:48:22raptoryes
16:48:29fordcarsoh ok phew
16:48:52raptorflying plastic pieces always seem to find the eyeballs
16:49:04fordcarsyeah I know right?
16:50:01fordcarsmy mouse keeps double-clicking like 50% of the times àand it sucks
16:50:22fordcarsI can't even scroll text without selecting the whole document
16:50:29raptorhave you taken it apart and cleaned out all the dirt and grime?
16:51:02fordcarswellllllll it does this since I threw it on the floor
16:51:37raptorsee.. you shouldn't take your anger out on useful things in the environment
16:51:41raptor:)
16:51:53fordcarshaha
16:53:05fordcarsit's really a cheap mouse I may have to take my Pi's mouse
17:15:56BFLogBot Commit: 422b23d2106e | Author: watusimoto | Message: Another sig for drawStringc
17:15:57BFLogBot Commit: 829a72ae84f8 | Author: watusimoto | Message: Warnings
17:15:59BFLogBot Commit: d8fe86eab052 | Author: watusimoto | Message: More warnings
17:16:00BFLogBot Commit: ca3d1d74c5c9 | Author: watusimoto | Message: Remove some hackiness, get vertical positioning right for small rounded rect. Mainline buttons looking pretty good.
17:16:02BFLogBot Commit: 65e673fa59d4 | Author: watusimoto | Message: Fix small rect buttons... that was easy!
17:16:03BFLogBot Commit: a7f0a7a3fb1a | Author: watusimoto | Message: Fix big triangle button on dualshock... only one to go.
17:16:05BFLogBot Commit: 20e92b027a3d | Author: watusimoto | Message: Merge
17:16:06BFLogBot Commit: 8f998e61bb5b | Author: watusimoto | Message: Warnings
17:16:09raptorcommits!
17:16:11Watusimotoknocking off for the night... I'm not crazy about the MOTD fix... but maybe we can work it a bit
17:16:20raptorok.. i can kill it
17:16:30Watusimotoyou can leave it for the moment if you like
17:16:40raptori tried thin lines across the whole screen and didn't like it..
17:16:46Watusimotoit will give us a reminder to improve it further
17:16:57raptori thought there should be something to make it less 'noisy' against the menus
17:17:17WatusimotoSure, I think you've identified something we can imrprove
17:17:37WatusimotoLet me think about it for a day or so and see if I come up with any better ideas
17:17:45raptorok (you usually do)
17:17:51Watusimotosometimes
17:18:09Watusimotoanyway... the buttons should look better
17:18:11Watusimotomostly
17:18:17raptorok
17:18:23WatusimotoI should be able to get rid of the junk tomorrow
17:18:50Watusimotoargh... still need to do the crazy X and Triangle icon buttons
17:18:52Watusimotoblech
17:19:05raptorremove hackiness!
17:19:44Watusimotoyes, always good
17:20:04Watusimotook, signing out
17:20:09Watusimotohasta manana
17:20:10raptornight!
17:30:30fordcarslater guys, brb
17:34:46fordcars Quit (Ping timeout: 250 seconds)
17:55:48fordcars has joined
18:24:13Watusimoto Quit (Ping timeout: 256 seconds)
18:25:02bobdaduck has joined
18:25:15bobdaduckfordcars
18:25:23bobdaduckdo you know what custom weap you want yet?
18:25:41fordcarsman nope
18:25:50fordcarsk FINE I'll think
18:26:03bobdaduckxD
18:27:37fordcarsData\Bitfighter\scripts\robot_helper_functions.lua:56: bad argument #1 to 'ipairs' (table expected, got number -- did you use '.' instead of ':'?) Stack Traceback
18:27:47fordcarsno idea why I am getting this
18:28:05fordcarsI never touched lua_helper_functions :(
18:29:22fordcarsoh never mind
18:29:24bobdaduckpost lin
18:29:26bobdaduckline?
18:29:41fordcarsnah I guess I had the wrong args for findClosest
18:30:52fordcarshahahahahahahhahahaha yeah
18:38:03bobdaduckkso
18:38:13bobdaduckraptor you know how I'm making this sentinel thing right?
18:38:55bobdaduckI've got it working and stuff problem is now the client is crashing when you touch the actual sentinel, as well as loot zones.
18:39:19fordcarswhat'd you doing?
18:39:33bobdaduckI haven't the slightest idea
18:39:38fordcarsxD
18:39:39bobdaduckand I haven't even touched loot zones
18:39:48fordcarsloot zones?
18:41:25bobdaduckyeah
18:41:31bobdaduckwhen you die you drop loot.
18:41:35bobdaduckbeen in there for a while
18:41:51bobdaduckbut why that should randomly start causing the game to crash...
18:44:03bobdaduckuh oh...
18:44:24fordcarsoh that
18:44:36bobdaduckNOOOOOOO
18:44:42fordcarswatup
18:44:50bobdaduckOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
18:45:12bobdaduckThe ship is enteriing the zone and leaving it at the same time
18:45:21bobdaduckbecause its right on the edge.
18:46:44fordcars?
18:47:11bobdaduckor something like that.
18:47:14fordcarsisn't it quite big?
18:47:22fordcarswell, computer wise
18:47:33bobdaduckwhat?
18:47:41fordcarsthe loot zone
18:47:49bobdaduckgah I dunno I just know raptor and I have encountered it before
18:47:55fordcarslike you don't leave it a the same time as going on it
18:47:59bobdaduckhowd we solve it howd we solve it...
18:48:48fordcarsa timer
18:48:56fordcarsthat'll do the trick :P
18:49:04bobdaduckhm?
18:49:24fordcarswell I dunno the prob dude!
18:49:45fordcarsmake the zone bigger (?)
18:49:50bobdaduckxD
18:50:10fordcarsor just make a "dead zone" in the timeline with a timer
18:50:16bobdaduckFixed
18:50:26fordcarswhat you do
18:50:42bobdaduckswitched zone:removeFromGame() to removeObjectFromGameWithDelay(zone, 100)
18:50:57fordcarsmhahahahahahah told you to use timer
18:51:34bobdaducklol yeah
18:52:17bobdaduckheck that's practically the only reason the function exists is to prevent this exact crash xD
18:52:38fordcarshaha
18:57:57fordcarsman the bot can't even go to a Loadout and the problem doesn't seem to be on my side :/
18:58:04bobdaduckhm?
18:58:06fordcarsmaybe I should ask raptor
18:58:15raptorhello!
18:58:18bobdaduckxD
18:58:19bobdaduckhai
18:58:24fordcarsI hi
18:58:27Nothing_Much has joined
18:58:34Nothing_Much Quit (Client Quit)
18:58:44Nothing_Much has joined
18:59:00bobdaduckAfter you help ford, can you tell me about the lua memory leak?
18:59:19raptorwhat am i helping>
18:59:21raptor?
18:59:22fordcarsraptor my bot is weird it's coded to look for the closes loadout and then go to it using s_bot's goToPosition()
18:59:30fordcarsbut it doesn't
18:59:42raptorhmm... I coded a bot to do that once..
18:59:44fordcarsI think it finds the closest loadout though
19:00:00fordcarsno crash, just no go :)
19:00:01bobdaducklogprint closest loadouts coords
19:00:08fordcarsmaybe
19:00:10fordcarsk
19:00:32fordcarsconvert point to string anybody?
19:00:45bobdaduckjust logprint it
19:00:47bobdaduckusually works for me.
19:00:55bobdaduckif not use tostring(loadoutcoords)
19:01:23raptorfordcars: this bot goes to nearest loadout zone if energy is low: http://bitfighter.org/forums/viewtopic.php?f=12&t=1492
19:01:33raptorbut it's probably broken for 018..
19:01:42fordcarsthanks for the zip
19:02:28bobdaduckokay my turn so tell me about the lua memory leak?
19:03:02raptorok bobdaduck
19:03:05raptorit's like this
19:04:16raptorwhen you create a c++ object, like say, a resource, we also create a lua object 'proxy'
19:04:57raptorso when you call .new() it creates two objects, a c++ one which is the actual resource, and a Lua one which let's you call methods on the c++ one
19:05:05bobdaduckright
19:05:12raptorso if you do someObject:setGeom()
19:05:30fordcars101.99999237061, -629 those seem like good coords
19:05:42raptor'someObject' is the Lua proxy which calls the underlying c++ method, whatever it may be
19:05:46bobdaduckuse /showcoords ingame
19:05:49raptorok that's the basics of the system, now
19:05:54bobdaduckyeah
19:06:12raptorthe Lua proxy system has some issues
19:06:42raptorif you remember in 018, sam686 had a blizzard level that would sometimes not load objects
19:06:55bobdaduckyeah
19:07:01bobdaduckuh... sure.
19:07:38raptorwhat would happen is that there would be memory corruptions with removing the objects - for some reason, the Lua object would sometimes be removed too early
19:07:55raptoreven though the c++ was still alive
19:08:10raptorso we'd get crashes
19:09:18raptorthe 'fix' was to *never* allow deleting (and therefore clean-up of memory) of the Lua objects
19:10:29raptorso when you create a new object with .new() it creates two objects in memory: c++ and Lua
19:10:39bobdaduckand the lua one never gets deleted.
19:10:51raptorbut when you remove an object, the Lua never does
19:10:55raptorcorrect
19:11:00raptorso that memory stays used
19:11:23bobdaduckso to cut down on that, I just try to cut down on object:removeFromGame?
19:11:38raptoryes - try to reuse objects as much as possible
19:12:26bobdaduckokay
19:12:49bobdaduckso you told me earlier to avoid calling .new()
19:12:55bobdaduckbut its remove that's the problem
19:13:57raptorit's both
19:14:20raptorevery time you add an object, you use memory - every time removeFromGame is called, memory is *not* released
19:14:24raptorso
19:14:45raptoractually it would be .new() problem since that's creating the memory
19:15:41bobdaduckokey
19:16:01bobdaduckso to make DnD run better I should...
19:16:13bobdaduckI already have it reusing arrows and stuff
19:17:25raptorwell, if you think you've minimized .new() calls then I'm not sure what else to do...
19:17:41raptormaybe..
19:17:42raptorhmm
19:17:58raptorsam686: would you have an idea how to clean up the memory leaks from Lua while a script is running?
19:18:08raptormaybe there could be some sort of timed cleaned up
19:18:49kaenmaybe you could use http://www.lua.org/manual/5.1/manual.html#pdf-collectgarbage
19:18:50kaen?
19:19:31kaenassuming the internal lua refcounts aren't totally bonkers after our workaround...
19:20:23kaenbtw raptor thank you for showing me how awesome the word "bonkers" is
19:20:51bobdaduckrofl
19:21:51kaenbobdaduck have you actually opened the task manager thing in windows to see if it's memory or cpu that's the problem?
19:21:59bobdaduckof course not
19:22:14kaenlol
19:22:19bobdaduckbut after about 30 minutes the script crashes with the error "***levelgen error: not enough memory***"
19:22:29kaenoh, fair enough
19:22:37bobdaduckxD
19:22:53raptorkaen: my pleasure :)
19:22:56kaenmaybe it's the points?
19:23:06kaendon't point.* all create copies?
19:23:53kaenoh wait, points a native datatype in lua-vec
19:23:57kaenhmm...
19:25:00raptoryeah points are native
19:25:00bobdaduckso raptor, when you were making the original zoneswords
19:25:07bobdaducktell me, did you know about this? http://bitfighter.org/luadocs/class_geom.html
19:26:25raptorha!
19:26:27raptorno
19:26:32raptori wonder, does it work??
19:26:54bobdaducklol
19:26:58bobdaduckI dunno haven't checke
19:27:32fordcarsman I have a really weird bug
19:27:53bobdaduckwhatsit?
19:27:59fordcarssaying a variable is not declared when it is, and it checks if that variable is not equal to nil
19:28:17bobdaduckpastie relevant code?
19:28:55fordcarshttp://pastie.org/7998707
19:29:10fordcarslog: Data\Bitfighter\robots/bobot.bot:651: Variable 'loadway' cannot be used if it is not first declared.
19:29:35fordcarsDON'T LOOK
19:29:44fordcarsfreaking CAP
19:29:56bobdaduckwha?
19:30:39fordcarslolol I forgot to put a cap at logPrint
19:32:05fordcarssorry :P
19:32:10fordcarsloadWay
19:32:37bobdaduckI haven't the slightest idea what you just said
19:32:46fordcarssorry mahahhahahahaha
19:33:10fordcarsI wrote loadway instead of loadWay in logprint(loadWay)
19:33:24fordcarsbut now I get this : attempt to call missing or unknown method 'setThrustPt' (a nil value)
19:33:53bobdaducksetThrustToPt isn't it?
19:34:33fordcarsoooohhhh curse you WIKI
19:34:46bobdaduckxD
19:34:48fordcarslua docs don't say anything about functions
19:34:59fordcarsso I am stuck with an outdated wikik
19:35:14raptorso i wonder
19:35:49fordcarsme too
19:35:54fordcarsdon't we all?
19:36:03bobdaduckI don't wonder
19:36:08raptorbobdaduck: are you calling .new() for a Geom object a lot?
19:36:14bobdaduckyeah?
19:36:32raptorin DnD... I wonder if that is excessively adding lots of memory
19:36:33bobdaduckwell not as much now that I cleaned up arrows and stuff
19:36:53raptorand if a list of point would work instead
19:37:10fordcarsFINALLY worked man
19:38:23bobdaduckyayy
19:58:31sam686note that many of Lua leaks that is in 018 may be fixed on 019.. If you are still using 018, expect memory leaks...
20:01:25bobdaduck Quit (Remote host closed the connection)
20:20:31fordcarslater guys, gtg
20:25:04fordcars Quit (Ping timeout: 250 seconds)
20:49:35sam686first problem I found, The shield, turbo, and especially repair is messed up like it is repeatedly starting and stopping sound (maybe sensor if I know how to make the sensor sound)
20:49:47sam686though only happens when you see any other ship..
21:26:44raptori need to improve the bot kicking algorithm
21:32:21bobdaduck_m has joined
21:32:45bobdaduck_mI, for one, welcome our new triangle overlords.
21:32:57raptorgood evening
21:34:24bobdaduck_mEvenin
21:41:12kaengeneeltmn
21:41:32raptorhello
21:41:48kaenI've started just typing "gentlemen" into a letter scrambler
21:41:57kaenautomatic #bitfighter greeting generator
21:41:59bobdaduck_m Quit (Ping timeout: 264 seconds)
21:42:36raptorha
21:46:45BFLogBot Commit: 9525d0e219e7 | Author: buckyballreaction | Message: Command /kickbot is now smarter, it will kick a bot from the largest team with bots
22:01:10raptormy algorithm brain is stupid right now..
22:09:36bobdaduck_m has joined
22:14:07bobdaduck_mWhat we need is to launch an aggressive advertising campaign targetted at 12-15 year old christian kids
22:15:57bobdaduck_mMaybe John3:38 would have some ideas about a bible-themed dungeon?
22:16:09bobdaduck_mHe could run it on his server.
22:16:38raptorthat's an interesting idea - themed servers
22:16:51bobdaduck_mGhost is themed
22:16:59bobdaduck_mSo is the tutorial server sorta
22:18:05raptori like the idea
22:19:02bobdaduck_msolid gold is also themed, just not thematically.
22:20:25raptorumm.. that sentence hurts
22:20:59bobdaduck_mxD
22:21:28bobdaduck_mThe theme is "good levels", but that isn't something that shows in art scheme or gametype or whatever.
22:22:46bobdaduck_mlike my space-station-5 dungeon is very themed, artistically and gameplay. I can't make a server out of that though.
22:22:53raptorok, 2/3 done with the new ROBOTS menu..
22:23:09raptorthat's a good dungeon..
22:25:06fordcars_ has joined
22:25:16bobdaduck_mI could do a dungeon server, or a novelty server. Those are easier. Level theme though? You would almost have to design an entire map pack.
22:26:17fordcars_ Quit (Remote host closed the connection)
22:28:02raptoryes
22:28:06raptoran entire map pack..
22:28:16raptorkaen: you up?
22:37:47bobdaduck_m Quit ()
22:40:21fordcars_ has joined
22:44:26fordcars_ Quit (Remote host closed the connection)
22:46:23fordcars_ has joined
22:46:42fordcars_ Quit (Remote host closed the connection)
22:46:57fordcars_ has joined
22:47:45fordcars_ Quit (Remote host closed the connection)
23:04:01raptoryay
23:04:03BFLogBot Commit: 1860fb3f13fa | Author: buckyballreaction | Message: Add in-game ROBOTS menu for adding and removing bots. The rules are as follows: - MORE BOTS will add bots to balance any teams, otherwise it will add a bot to every team - FEWER BOTS will remove bots to balance teams, otherwise it will remove a bot from every team that has one
23:04:05BFLogBot Commit: a7b4e16b76d5 | Author: buckyballreaction | Message: Remove magic number
23:11:13raptorgood night!
23:16:16BFLogBot Commit: f809eb993745 | Author: buckyballreaction | Message: Fix not returning to game after using menus to select a new level
23:16:28raptor Quit ()

Index Search ←Prev date Next date→

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