#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2014-11-06

Timestamps are in GMT/BST.

00:03:29sam686http://sam6.25u.com/upload/screenshot_318.png resolution 20000x15000, linewidth 2 pixels
00:03:35sam686screenshooter.cpp http://sam6.25u.com/upload/text1411/141105_23-01-59.txt
00:06:20sam686trying to screenshot a super high resolution might crash 32 bit build, but 64 bit is ok
00:08:44sam686also, for me it becomes garbled when the resolution width is bigger then about 20000 (i think the limit is 65536 / 3 (bpp)) caused by a problem on probably windows radeon's glPixelStorei(GL_PACK_ROW_LENGTH, width)
00:10:14sam686i may be heading to bed now...
00:16:25Watusimoto has joined
01:51:03Watusimoto Quit (Ping timeout: 255 seconds)
02:08:42Watusimoto has joined
02:18:19Watusimoto Quit (Ping timeout: 250 seconds)
02:29:55watusimoto has joined
02:29:55ChanServ sets mode +o
04:03:58LordDVG has joined
04:23:30Darrel Quit (Ping timeout: 258 seconds)
04:24:15Darrel has joined
05:00:51vs73nx Quit (Quit: Quitting for now… See you all later)
07:02:15LordDVG Quit (Remote host closed the connection)
07:54:17Darrel Quit (Read error: Connection reset by peer)
07:54:33Darrel has joined
11:09:42raptor has joined
11:09:55ChanServ sets mode +o
11:09:59raptorgood morning!
11:41:02sam686 Quit (Read error: Connection reset by peer)
11:44:23sam686 has joined
11:44:23ChanServ sets mode +v
11:52:42raptorsam686: that image of yours was too HUGE
11:57:15sam686huge image filesize of only 5 MB
12:09:22raptorfor whatever reason firefox 33 on linux couldn't handle it - it took 2 minutes to load then kept the CPU pegged
12:11:33sam686on chrome it works
12:12:18sam686window's image viewer sort of downscales while loading png, all without using up more then 20 MB
12:12:35sam686the image size 20000x15000x3 = about 900 MB
12:13:34sam686windows version of firefox works too
12:13:41raptori have a question about your screenshooter changes: http://pastie.org/pastes/9700661/text
12:14:04raptorthat for loop
12:14:18sam686i was thinking of making line width much bigger to make up for very thin lines
12:14:25raptoractually
12:14:37sam686that loop basically renders in small parts, due to opengl limits
12:14:42sam686mostly hardware limits
12:14:45raptori think the best scenario would be to find the zoom factor and multiply width/height by that
12:14:58raptorso that the result is identical to how it looks when playing in-game
12:15:17raptorthen the linewidths are just right
12:15:59raptorbut what i don't understand is why you need to do the uiManager->renderCurrent(); in each for iteration
12:16:37sam686try it without it, and you will see why ... black screenshot or repeating tiling..
12:17:05sam686(if you also took off clear screen its repeating tiling)
12:17:44raptorwhich gl command is it that actually expands the drawing to fit the new size? or do you do that at all??
12:17:58raptorglortho?
12:17:59sam686glOrtho or some scaling
12:18:35raptorI was trying that yesterday and couldn't quite get it to work...
12:20:54sam686screenshot of such huge size takes minutes to finish, about 30% is rendering and reading pixels (the bigger the window, the faster it is), most of the time is spent compressing and writing png
12:21:06raptorha!
12:22:36sam686i also had to cast size_t for 64-bit multiplications to fix malloc/new too small problems, although it will likely fail on 32-bit builds
12:24:09sam686mostly if the size if bigger then 4 GB
12:24:23raptorhaha, insane sizes
12:28:43Watusimoto_ has joined
12:39:06raptorI have plans to have a method to export a level to SVG at normal zoom ratio
12:46:49watusimotohi
12:47:01watusimotoodd
12:47:23watusimotowhere did all these chat messages come from? my machine was supposed to be asleep
12:47:51raptorit decided it wanted to backup your hard drive to the NSA datacenter...
12:48:08watusimotoI must be connected there now
12:49:16Watusimoto_ Quit (Ping timeout: 260 seconds)
13:38:53raptori think glOrtho is purposely enigmatic to the layman
13:47:07Watusimoto_ has joined
13:54:57Watusimoto_ Quit (Ping timeout: 264 seconds)
14:02:54LordDVG has joined
15:51:28FoOtloOse has joined
15:51:33FoOtloOsemeow
15:57:19FoOtloOsepsst
15:57:27FoOtloOsehelp :c
16:54:17raptorhi FoOtloOse
16:56:27FoOtloOseraptor!
16:56:32FoOtloOseHELP ME PLEASE D:
16:57:15FoOtloOsehow does one
16:57:21FoOtloOseadd a name to a script thing
16:59:41watusimotohi FoOtloOse: what do you mean add a name to a script?
16:59:54FoOtloOsei have a script raptor made for me awhile ago
17:00:03FoOtloOseand i have it so only i can get into the zone
17:00:13FoOtloOseand i tried adding another name
17:00:19FoOtloOseand it got really weird
17:00:44FoOtloOsei just changed it from "and name == "FoOtloOse" then"
17:00:55FoOtloOseto "and name == "FoOtloOse" or "Little_Apple" then
17:01:12FoOtloOseand it like broke all the zones and let anybody in
17:01:19FoOtloOseand moved us in when we entered the loadout zone
17:01:55watusimototry: and (name == "Fooloose) or (name == "LittleApple")
17:02:09watusimotoor rather:
17:02:21watusimotoand (name == "Fooloose or name == "LittleApple")
17:02:31watusimotono! this:
17:02:42watusimotoand (name == "Fooloose" or name == "LittleApple")
17:02:50FoOtloOseokay!
17:03:44watusimotoI know why what you tried seemed right, but you were really saying name is footloose or "little apple" is true
17:03:49watusimotowhich doesn't make much sense
17:03:52FoOtloOseaw
17:03:57FoOtloOsehe said to do it that way!
17:04:02FoOtloOseand it worked for him?
17:04:06watusimotoI doubt it
17:04:16FoOtloOseit worked!
17:04:17FoOtloOsethank you!
17:04:26watusimotoyou probably misunderstood; I doubt raptor would make that mistake
17:04:44watusimoto(at least not after having made it once or twice when he was learning programming)
17:04:45FoOtloOsei meant little_apple
17:04:48FoOtloOse:D
17:15:32vs73nx has joined
17:15:32vs73nx Quit (Changing host)
17:15:32vs73nx has joined
17:17:04raptorhello
17:17:22raptorthanks for helping watusimoto - new hire at work and i'm running around a lot...
17:17:41watusimotono worries... I do what I can!
17:31:32FoOtloOsecongratulations raptor!
17:31:49FoOtloOsealso! you should totally add a command to enable/disable /getmap in game!
17:40:55Watusimoto_ has joined
17:41:08raptorwhat who?
17:42:12FoOtloOseyou?
17:44:11raptorwhat about you?
17:44:34FoOtloOseadd a command to enable or disable /getmap in game please?
17:45:00Invisible has joined
17:46:56raptoruhh, can't that already be done from the server menu?
17:47:44Watusimoto_ Quit (Ping timeout: 245 seconds)
17:48:54FoOtloOseuh
17:49:00FoOtloOseyou have to leave
17:49:04FoOtloOsego into host server
17:49:07FoOtloOseand enable it then rehost?
17:49:16Watusimoto_ has joined
17:50:07raptoroh really?
17:50:09raptorhmmm
17:50:11FoOtloOseyeah!
17:50:13FoOtloOseits annoying!
17:50:15raptormaybe we should add a command...
17:50:18FoOtloOseyeah!
17:50:28raptor/allowgetmap
17:50:32raptoror something
17:50:37FoOtloOseyeah!
17:50:51raptorcan you please write that down here?: https://code.google.com/p/bitfighter/issues/list
17:50:56FoOtloOseuh
17:50:57raptorhere: https://code.google.com/p/bitfighter/issues/entry
17:51:01FoOtloOsehow do i write
17:51:03FoOtloOse:c
17:51:08raptorwith a computer?
17:51:13raptorbrb
17:51:17FoOtloOseaw kay
17:54:08Watusimoto_ Quit (Ping timeout: 244 seconds)
17:54:38FoOtloOsethat was horrible traumatizing!
17:54:41FoOtloOseand gotta go
17:54:42FoOtloOsekbai
17:54:48FoOtloOse Quit (Quit: Page closed)
18:19:36raptorFoOtloOse entered a feature request!
18:20:31Invisible Quit (Ping timeout: 255 seconds)
18:34:38LordDVG Quit (Remote host closed the connection)
19:17:27raptor Quit ()
20:17:44vs73nx Quit (Remote host closed the connection)
20:28:02FoOtloOse has joined
20:28:11FoOtloOsehelp!
20:28:15FoOtloOseplease!
20:29:26raptor_ has joined
20:29:29raptor_ is now known as raptor
20:29:31raptor Quit (Changing host)
20:29:31raptor has joined
20:29:31ChanServ sets mode +o
20:29:38FoOtloOseraptor!
20:29:45raptorFoOtloOse: help is here!... maybe
20:29:49FoOtloOseyay!
20:29:53FoOtloOsemy script hates LA :D
20:29:59raptorha
20:30:11FoOtloOsenow every time he enters a goal it moves him like he hit a zone!
20:30:18FoOtloOsei have no clue what i did!
20:30:20FoOtloOsehttp://pastie.org/9701677 !
20:30:32raptorlooking
20:30:39raptorwhat did you intend to do?
20:30:43FoOtloOseuh
20:30:56FoOtloOseif you go in zone 2 i think
20:31:05FoOtloOseyou move into the bed
20:31:10FoOtloOsezone 1 moves you out
20:31:26FoOtloOseand if your name isnt there zone 3 moves you out?
20:31:47FoOtloOsesomething like that!
20:31:48raptorok, what do you want zone 1 to do - it looks like there is a logic error
20:32:02FoOtloOseokay zone 1!
20:32:18FoOtloOsemake it so anybody besides me or LA cant get in
20:32:24FoOtloOsewhich was working when i tested it!
20:32:47FoOtloOseand every time he hits a goal it acts like zone 2
20:33:29raptorah
20:33:30raptorok
20:33:34raptoryou need parenthesis
20:33:41FoOtloOseoops
20:33:49Watusimoto_ has joined
20:33:54raptordoing this: A and B or C
20:34:03raptorit should be: A and (B or C)
20:34:15FoOtloOsei always forget something!
20:34:38raptorwithout parenthesis, it's hard to tell what should go together
20:34:44vs73nx has joined
20:34:55vs73nx Quit (Changing host)
20:34:55vs73nx has joined
20:35:04FoOtloOseaw
20:35:06FoOtloOsethank you!
20:35:17raptorsure, let me know if anything else bad happens... :)
20:35:22FoOtloOseuh
20:35:29FoOtloOsenow the zones broke!
20:36:03raptorhmmm
20:36:06FoOtloOsebut the goals dont move him anymore!
20:36:16raptormay i join the server?
20:36:29FoOtloOsesure!
20:39:52raptorif zoneId == 2 and (name == "FoOtloOse" or name == "Little_Apple")
20:40:08FoOtloOsebut i have that?
20:40:09FoOtloOseif zoneId ==2 and name == ("FoOtloOse" or name == "Little_Apple") then
20:40:26FoOtloOsewait
20:40:31FoOtloOseDO I NEED A SPACE BETWEEN
20:40:32FoOtloOse== 2
20:40:34raptorno
20:40:36FoOtloOseaw
20:43:49raptorif zoneId == 1 and (name ~= "FoOtloOse" or name ~= "Little_Apple") then
20:44:29raptoryou need parenthesis and forgot the squiggly~
20:45:37sam686(name ~= "FoOtloOse" or name ~= "Little_Apple") so its either (true or false) (false or true) (true or true), ALWAYS TRUE
20:45:59raptoroh duh
20:46:03raptorFoOtloOse: I GAVE BAD LOGIC
20:46:21raptorif zoneId == 1 and (name ~= "FoOtloOse" and name ~= "Little_Apple") then
20:46:25raptor^^ that is correct
20:46:39FoOtloOsewhat
20:46:42FoOtloOseim so confused
20:46:51raptoryeah, it needs to be an 'and' in between those
20:47:17FoOtloOsethat evil or.
20:47:36sam686if zoneId == 2 and false == (name == "FoOtloOse" or name == "Little_Apple")
20:47:47sam686if zoneId == 2 and ~(name == "FoOtloOse" or name == "Little_Apple") --- not sure if that work
20:47:50raptorhaha
20:48:02raptortoo much complication - FoOtloOse is just starting to get used to scripts
20:48:10FoOtloOsescripts are evil
20:49:25sam686in lua, -- comments (anything past a double minus in a line is ignored by lua so it can be comments/any text)
20:49:41FoOtloOseyea!
20:49:57FoOtloOsethat is like the one part of scripting i understand
20:50:04sam686its not all scripts though, theres C++ that bitfighter is coded in.
20:51:34raptorFoOtloOse: http://pastie.org/pastes/9701714/text
20:51:57FoOtloOseyay!
20:52:07raptoryou need to make a zone with ID 4
20:52:16FoOtloOsekay
20:52:18sam686watch out, you are setting name = "raptor" and not comparing, use == to compare
20:52:20FoOtloOsecan i make a bunch of them?
20:52:30raptorFoOtloOse: I GAVE BAD SCRIPT
20:52:34FoOtloOseOH NO
20:52:38raptorchange it to name == "raptor"
20:52:41raptorwith two ==
20:52:43FoOtloOseokay!
20:52:50FoOtloOsei can just stick this in my script?
20:54:05raptoryes, but you need to add a zone with id 4
20:54:11FoOtloOsekay
20:54:22FoOtloOseif i make a bunch of different zones with id 4 will it work?
20:54:28raptoruhhh...
20:54:30raptormaybe
20:54:31FoOtloOse:D
20:54:39raptorID usuually means ' unique'
20:54:50raptorbut, i think bobdaduck proved it still works...
20:55:14FoOtloOse:D
20:55:34FoOtloOsejoin?
21:00:24raptorFoOtloOse: http://pastie.org/pastes/9701723/text
21:00:37FoOtloOseyay!
21:01:07watusimoto Quit (Quit: Leaving.)
21:04:40FoOtloOsehttp://pastie.org/9701727
21:05:09raptoroh
21:05:18raptoryou can't have two functions named onShipEnteredZone
21:05:24raptoryou have to combine them
21:05:32FoOtloOseaw
21:52:04vs73nx Quit (Remote host closed the connection)
21:53:22vs73nx has joined
22:06:55vs73nx Quit (Read error: Connection reset by peer)
22:07:04vs73nx has joined
22:17:22FoOtloOsethanks for helping!
22:17:27raptorsure thing
22:18:05FoOtloOseso moving zones! :D
22:19:12raptorbasically, you create a zone with a specific shape... and have the levelgen script move it a certain amount each 'tick'
22:19:52FoOtloOseuh
22:19:56FoOtloOseokay!
22:20:03FoOtloOseill stick with killzones for now!
23:08:45Watusimoto_ Quit (Ping timeout: 264 seconds)
23:13:02fordcars has joined
23:13:21fordcars Quit (Client Quit)
23:13:41fordcars has joined
23:17:39raptorok
23:17:43raptorthis is bonkers
23:18:04raptorthe editor scale does not correlate to the in-game scale
23:22:08fordcarsThe drama!
23:22:33raptordo you think that if i'm at an editor scale of '1', it should look identical to playing the level?
23:22:39raptoras a zoom level?
23:22:46fordcarsI do
23:23:02raptoryeah well, editor scale of about .75 is that way :-/
23:23:14fordcarsHeh, that is evil
23:25:32raptorwhat the crazy
23:25:38raptori can't even find out how it's doing that...
23:29:29fordcarsMaybe there isn't anything doing that?
23:30:01fordcarsOr maybee, the client is scaled by 1.3
23:30:09fordcars:)
23:36:18raptorWHAT ON EARTH
23:36:34raptorI found some random 1.3s...
23:37:16fordcarshuh??
23:37:45raptorok, they aren't hurting anything...
23:38:53Watusimoto has joined
23:42:50raptorthis is definitely something I need to ask Watusimoto about
23:58:19raptorWatusimoto: are you around?

Index Search ←Prev date Next date→

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