00:03:29 | sam686 | http://sam6.25u.com/upload/screenshot_318.png resolution 20000x15000, linewidth 2 pixels |
00:03:35 | sam686 | screenshooter.cpp http://sam6.25u.com/upload/text1411/141105_23-01-59.txt |
00:06:20 | sam686 | trying to screenshot a super high resolution might crash 32 bit build, but 64 bit is ok |
00:08:44 | sam686 | also, 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:14 | sam686 | i may be heading to bed now... |
00:16:25 | | Watusimoto has joined |
01:51:03 | | Watusimoto Quit (Ping timeout: 255 seconds) |
02:08:42 | | Watusimoto has joined |
02:18:19 | | Watusimoto Quit (Ping timeout: 250 seconds) |
02:29:55 | | watusimoto has joined |
02:29:55 | | ChanServ sets mode +o |
04:03:58 | | LordDVG has joined |
04:23:30 | | Darrel Quit (Ping timeout: 258 seconds) |
04:24:15 | | Darrel has joined |
05:00:51 | | vs73nx Quit (Quit: Quitting for now… See you all later) |
07:02:15 | | LordDVG Quit (Remote host closed the connection) |
07:54:17 | | Darrel Quit (Read error: Connection reset by peer) |
07:54:33 | | Darrel has joined |
11:09:42 | | raptor has joined |
11:09:55 | | ChanServ sets mode +o |
11:09:59 | raptor | good morning! |
11:41:02 | | sam686 Quit (Read error: Connection reset by peer) |
11:44:23 | | sam686 has joined |
11:44:23 | | ChanServ sets mode +v |
11:52:42 | raptor | sam686: that image of yours was too HUGE |
11:57:15 | sam686 | huge image filesize of only 5 MB |
12:09:22 | raptor | for whatever reason firefox 33 on linux couldn't handle it - it took 2 minutes to load then kept the CPU pegged |
12:11:33 | sam686 | on chrome it works |
12:12:18 | sam686 | window's image viewer sort of downscales while loading png, all without using up more then 20 MB |
12:12:35 | sam686 | the image size 20000x15000x3 = about 900 MB |
12:13:34 | sam686 | windows version of firefox works too |
12:13:41 | raptor | i have a question about your screenshooter changes: http://pastie.org/pastes/9700661/text |
12:14:04 | raptor | that for loop |
12:14:18 | sam686 | i was thinking of making line width much bigger to make up for very thin lines |
12:14:25 | raptor | actually |
12:14:37 | sam686 | that loop basically renders in small parts, due to opengl limits |
12:14:42 | sam686 | mostly hardware limits |
12:14:45 | raptor | i think the best scenario would be to find the zoom factor and multiply width/height by that |
12:14:58 | raptor | so that the result is identical to how it looks when playing in-game |
12:15:17 | raptor | then the linewidths are just right |
12:15:59 | raptor | but what i don't understand is why you need to do the uiManager->renderCurrent(); in each for iteration |
12:16:37 | sam686 | try it without it, and you will see why ... black screenshot or repeating tiling.. |
12:17:05 | sam686 | (if you also took off clear screen its repeating tiling) |
12:17:44 | raptor | which gl command is it that actually expands the drawing to fit the new size? or do you do that at all?? |
12:17:58 | raptor | glortho? |
12:17:59 | sam686 | glOrtho or some scaling |
12:18:35 | raptor | I was trying that yesterday and couldn't quite get it to work... |
12:20:54 | sam686 | screenshot 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:06 | raptor | ha! |
12:22:36 | sam686 | i 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:09 | sam686 | mostly if the size if bigger then 4 GB |
12:24:23 | raptor | haha, insane sizes |
12:28:43 | | Watusimoto_ has joined |
12:39:06 | raptor | I have plans to have a method to export a level to SVG at normal zoom ratio |
12:46:49 | watusimoto | hi |
12:47:01 | watusimoto | odd |
12:47:23 | watusimoto | where did all these chat messages come from? my machine was supposed to be asleep |
12:47:51 | raptor | it decided it wanted to backup your hard drive to the NSA datacenter... |
12:48:08 | watusimoto | I must be connected there now |
12:49:16 | | Watusimoto_ Quit (Ping timeout: 260 seconds) |
13:38:53 | raptor | i think glOrtho is purposely enigmatic to the layman |
13:47:07 | | Watusimoto_ has joined |
13:54:57 | | Watusimoto_ Quit (Ping timeout: 264 seconds) |
14:02:54 | | LordDVG has joined |
15:51:28 | | FoOtloOse has joined |
15:51:33 | FoOtloOse | meow |
15:57:19 | FoOtloOse | psst |
15:57:27 | FoOtloOse | help :c |
16:54:17 | raptor | hi FoOtloOse |
16:56:27 | FoOtloOse | raptor! |
16:56:32 | FoOtloOse | HELP ME PLEASE D: |
16:57:15 | FoOtloOse | how does one |
16:57:21 | FoOtloOse | add a name to a script thing |
16:59:41 | watusimoto | hi FoOtloOse: what do you mean add a name to a script? |
16:59:54 | FoOtloOse | i have a script raptor made for me awhile ago |
17:00:03 | FoOtloOse | and i have it so only i can get into the zone |
17:00:13 | FoOtloOse | and i tried adding another name |
17:00:19 | FoOtloOse | and it got really weird |
17:00:44 | FoOtloOse | i just changed it from "and name == "FoOtloOse" then" |
17:00:55 | FoOtloOse | to "and name == "FoOtloOse" or "Little_Apple" then |
17:01:12 | FoOtloOse | and it like broke all the zones and let anybody in |
17:01:19 | FoOtloOse | and moved us in when we entered the loadout zone |
17:01:55 | watusimoto | try: and (name == "Fooloose) or (name == "LittleApple") |
17:02:09 | watusimoto | or rather: |
17:02:21 | watusimoto | and (name == "Fooloose or name == "LittleApple") |
17:02:31 | watusimoto | no! this: |
17:02:42 | watusimoto | and (name == "Fooloose" or name == "LittleApple") |
17:02:50 | FoOtloOse | okay! |
17:03:44 | watusimoto | I know why what you tried seemed right, but you were really saying name is footloose or "little apple" is true |
17:03:49 | watusimoto | which doesn't make much sense |
17:03:52 | FoOtloOse | aw |
17:03:57 | FoOtloOse | he said to do it that way! |
17:04:02 | FoOtloOse | and it worked for him? |
17:04:06 | watusimoto | I doubt it |
17:04:16 | FoOtloOse | it worked! |
17:04:17 | FoOtloOse | thank you! |
17:04:26 | watusimoto | you probably misunderstood; I doubt raptor would make that mistake |
17:04:44 | watusimoto | (at least not after having made it once or twice when he was learning programming) |
17:04:45 | FoOtloOse | i meant little_apple |
17:04:48 | FoOtloOse | :D |
17:15:32 | | vs73nx has joined |
17:15:32 | | vs73nx Quit (Changing host) |
17:15:32 | | vs73nx has joined |
17:17:04 | raptor | hello |
17:17:22 | raptor | thanks for helping watusimoto - new hire at work and i'm running around a lot... |
17:17:41 | watusimoto | no worries... I do what I can! |
17:31:32 | FoOtloOse | congratulations raptor! |
17:31:49 | FoOtloOse | also! you should totally add a command to enable/disable /getmap in game! |
17:40:55 | | Watusimoto_ has joined |
17:41:08 | raptor | what who? |
17:42:12 | FoOtloOse | you? |
17:44:11 | raptor | what about you? |
17:44:34 | FoOtloOse | add a command to enable or disable /getmap in game please? |
17:45:00 | | Invisible has joined |
17:46:56 | raptor | uhh, can't that already be done from the server menu? |
17:47:44 | | Watusimoto_ Quit (Ping timeout: 245 seconds) |
17:48:54 | FoOtloOse | uh |
17:49:00 | FoOtloOse | you have to leave |
17:49:04 | FoOtloOse | go into host server |
17:49:07 | FoOtloOse | and enable it then rehost? |
17:49:16 | | Watusimoto_ has joined |
17:50:07 | raptor | oh really? |
17:50:09 | raptor | hmmm |
17:50:11 | FoOtloOse | yeah! |
17:50:13 | FoOtloOse | its annoying! |
17:50:15 | raptor | maybe we should add a command... |
17:50:18 | FoOtloOse | yeah! |
17:50:28 | raptor | /allowgetmap |
17:50:32 | raptor | or something |
17:50:37 | FoOtloOse | yeah! |
17:50:51 | raptor | can you please write that down here?: https://code.google.com/p/bitfighter/issues/list |
17:50:56 | FoOtloOse | uh |
17:50:57 | raptor | here: https://code.google.com/p/bitfighter/issues/entry |
17:51:01 | FoOtloOse | how do i write |
17:51:03 | FoOtloOse | :c |
17:51:08 | raptor | with a computer? |
17:51:13 | raptor | brb |
17:51:17 | FoOtloOse | aw kay |
17:54:08 | | Watusimoto_ Quit (Ping timeout: 244 seconds) |
17:54:38 | FoOtloOse | that was horrible traumatizing! |
17:54:41 | FoOtloOse | and gotta go |
17:54:42 | FoOtloOse | kbai |
17:54:48 | | FoOtloOse Quit (Quit: Page closed) |
18:19:36 | raptor | FoOtloOse entered a feature request! |
18:20:31 | | Invisible Quit (Ping timeout: 255 seconds) |
18:34:38 | | LordDVG Quit (Remote host closed the connection) |
19:17:27 | | raptor Quit () |
20:17:44 | | vs73nx Quit (Remote host closed the connection) |
20:28:02 | | FoOtloOse has joined |
20:28:11 | FoOtloOse | help! |
20:28:15 | FoOtloOse | please! |
20:29:26 | | raptor_ has joined |
20:29:29 | | raptor_ is now known as raptor |
20:29:31 | | raptor Quit (Changing host) |
20:29:31 | | raptor has joined |
20:29:31 | | ChanServ sets mode +o |
20:29:38 | FoOtloOse | raptor! |
20:29:45 | raptor | FoOtloOse: help is here!... maybe |
20:29:49 | FoOtloOse | yay! |
20:29:53 | FoOtloOse | my script hates LA :D |
20:29:59 | raptor | ha |
20:30:11 | FoOtloOse | now every time he enters a goal it moves him like he hit a zone! |
20:30:18 | FoOtloOse | i have no clue what i did! |
20:30:20 | FoOtloOse | http://pastie.org/9701677 ! |
20:30:32 | raptor | looking |
20:30:39 | raptor | what did you intend to do? |
20:30:43 | FoOtloOse | uh |
20:30:56 | FoOtloOse | if you go in zone 2 i think |
20:31:05 | FoOtloOse | you move into the bed |
20:31:10 | FoOtloOse | zone 1 moves you out |
20:31:26 | FoOtloOse | and if your name isnt there zone 3 moves you out? |
20:31:47 | FoOtloOse | something like that! |
20:31:48 | raptor | ok, what do you want zone 1 to do - it looks like there is a logic error |
20:32:02 | FoOtloOse | okay zone 1! |
20:32:18 | FoOtloOse | make it so anybody besides me or LA cant get in |
20:32:24 | FoOtloOse | which was working when i tested it! |
20:32:47 | FoOtloOse | and every time he hits a goal it acts like zone 2 |
20:33:29 | raptor | ah |
20:33:30 | raptor | ok |
20:33:34 | raptor | you need parenthesis |
20:33:41 | FoOtloOse | oops |
20:33:49 | | Watusimoto_ has joined |
20:33:54 | raptor | doing this: A and B or C |
20:34:03 | raptor | it should be: A and (B or C) |
20:34:15 | FoOtloOse | i always forget something! |
20:34:38 | raptor | without parenthesis, it's hard to tell what should go together |
20:34:44 | | vs73nx has joined |
20:34:55 | | vs73nx Quit (Changing host) |
20:34:55 | | vs73nx has joined |
20:35:04 | FoOtloOse | aw |
20:35:06 | FoOtloOse | thank you! |
20:35:17 | raptor | sure, let me know if anything else bad happens... :) |
20:35:22 | FoOtloOse | uh |
20:35:29 | FoOtloOse | now the zones broke! |
20:36:03 | raptor | hmmm |
20:36:06 | FoOtloOse | but the goals dont move him anymore! |
20:36:16 | raptor | may i join the server? |
20:36:29 | FoOtloOse | sure! |
20:39:52 | raptor | if zoneId == 2 and (name == "FoOtloOse" or name == "Little_Apple") |
20:40:08 | FoOtloOse | but i have that? |
20:40:09 | FoOtloOse | if zoneId ==2 and name == ("FoOtloOse" or name == "Little_Apple") then |
20:40:26 | FoOtloOse | wait |
20:40:31 | FoOtloOse | DO I NEED A SPACE BETWEEN |
20:40:32 | FoOtloOse | == 2 |
20:40:34 | raptor | no |
20:40:36 | FoOtloOse | aw |
20:43:49 | raptor | if zoneId == 1 and (name ~= "FoOtloOse" or name ~= "Little_Apple") then |
20:44:29 | raptor | you need parenthesis and forgot the squiggly~ |
20:45:37 | sam686 | (name ~= "FoOtloOse" or name ~= "Little_Apple") so its either (true or false) (false or true) (true or true), ALWAYS TRUE |
20:45:59 | raptor | oh duh |
20:46:03 | raptor | FoOtloOse: I GAVE BAD LOGIC |
20:46:21 | raptor | if zoneId == 1 and (name ~= "FoOtloOse" and name ~= "Little_Apple") then |
20:46:25 | raptor | ^^ that is correct |
20:46:39 | FoOtloOse | what |
20:46:42 | FoOtloOse | im so confused |
20:46:51 | raptor | yeah, it needs to be an 'and' in between those |
20:47:17 | FoOtloOse | that evil or. |
20:47:36 | sam686 | if zoneId == 2 and false == (name == "FoOtloOse" or name == "Little_Apple") |
20:47:47 | sam686 | if zoneId == 2 and ~(name == "FoOtloOse" or name == "Little_Apple") --- not sure if that work |
20:47:50 | raptor | haha |
20:48:02 | raptor | too much complication - FoOtloOse is just starting to get used to scripts |
20:48:10 | FoOtloOse | scripts are evil |
20:49:25 | sam686 | in lua, -- comments (anything past a double minus in a line is ignored by lua so it can be comments/any text) |
20:49:41 | FoOtloOse | yea! |
20:49:57 | FoOtloOse | that is like the one part of scripting i understand |
20:50:04 | sam686 | its not all scripts though, theres C++ that bitfighter is coded in. |
20:51:34 | raptor | FoOtloOse: http://pastie.org/pastes/9701714/text |
20:51:57 | FoOtloOse | yay! |
20:52:07 | raptor | you need to make a zone with ID 4 |
20:52:16 | FoOtloOse | kay |
20:52:18 | sam686 | watch out, you are setting name = "raptor" and not comparing, use == to compare |
20:52:20 | FoOtloOse | can i make a bunch of them? |
20:52:30 | raptor | FoOtloOse: I GAVE BAD SCRIPT |
20:52:34 | FoOtloOse | OH NO |
20:52:38 | raptor | change it to name == "raptor" |
20:52:41 | raptor | with two == |
20:52:43 | FoOtloOse | okay! |
20:52:50 | FoOtloOse | i can just stick this in my script? |
20:54:05 | raptor | yes, but you need to add a zone with id 4 |
20:54:11 | FoOtloOse | kay |
20:54:22 | FoOtloOse | if i make a bunch of different zones with id 4 will it work? |
20:54:28 | raptor | uhhh... |
20:54:30 | raptor | maybe |
20:54:31 | FoOtloOse | :D |
20:54:39 | raptor | ID usuually means ' unique' |
20:54:50 | raptor | but, i think bobdaduck proved it still works... |
20:55:14 | FoOtloOse | :D |
20:55:34 | FoOtloOse | join? |
21:00:24 | raptor | FoOtloOse: http://pastie.org/pastes/9701723/text |
21:00:37 | FoOtloOse | yay! |
21:01:07 | | watusimoto Quit (Quit: Leaving.) |
21:04:40 | FoOtloOse | http://pastie.org/9701727 |
21:05:09 | raptor | oh |
21:05:18 | raptor | you can't have two functions named onShipEnteredZone |
21:05:24 | raptor | you have to combine them |
21:05:32 | FoOtloOse | aw |
21:52:04 | | vs73nx Quit (Remote host closed the connection) |
21:53:22 | | vs73nx has joined |
22:06:55 | | vs73nx Quit (Read error: Connection reset by peer) |
22:07:04 | | vs73nx has joined |
22:17:22 | FoOtloOse | thanks for helping! |
22:17:27 | raptor | sure thing |
22:18:05 | FoOtloOse | so moving zones! :D |
22:19:12 | raptor | basically, you create a zone with a specific shape... and have the levelgen script move it a certain amount each 'tick' |
22:19:52 | FoOtloOse | uh |
22:19:56 | FoOtloOse | okay! |
22:20:03 | FoOtloOse | ill stick with killzones for now! |
23:08:45 | | Watusimoto_ Quit (Ping timeout: 264 seconds) |
23:13:02 | | fordcars has joined |
23:13:21 | | fordcars Quit (Client Quit) |
23:13:41 | | fordcars has joined |
23:17:39 | raptor | ok |
23:17:43 | raptor | this is bonkers |
23:18:04 | raptor | the editor scale does not correlate to the in-game scale |
23:22:08 | fordcars | The drama! |
23:22:33 | raptor | do you think that if i'm at an editor scale of '1', it should look identical to playing the level? |
23:22:39 | raptor | as a zoom level? |
23:22:46 | fordcars | I do |
23:23:02 | raptor | yeah well, editor scale of about .75 is that way :-/ |
23:23:14 | fordcars | Heh, that is evil |
23:25:32 | raptor | what the crazy |
23:25:38 | raptor | i can't even find out how it's doing that... |
23:29:29 | fordcars | Maybe there isn't anything doing that? |
23:30:01 | fordcars | Or maybee, the client is scaled by 1.3 |
23:30:09 | fordcars | :) |
23:36:18 | raptor | WHAT ON EARTH |
23:36:34 | raptor | I found some random 1.3s... |
23:37:16 | fordcars | huh?? |
23:37:45 | raptor | ok, they aren't hurting anything... |
23:38:53 | | Watusimoto has joined |
23:42:50 | raptor | this is definitely something I need to ask Watusimoto about |
23:58:19 | raptor | Watusimoto: are you around? |