Timestamps are in GMT/BST.
| 01:10:12 | Watusimoto | sleepy |
| 01:10:18 | Watusimoto | sorry |
| 01:10:24 | raptor | not asleep yet? |
| 01:10:27 | Watusimoto | need to fix this line: |
| 01:10:30 | Watusimoto | if((item->getPos() - pos).len() > (RepairRadius + CollisionRadius + item->getRadius())) |
| 01:10:30 | Watusimoto | continue; |
| 01:10:43 | Watusimoto | in findRepairTargets() |
| 01:10:54 | Watusimoto | it's inconsitent with our repair ray drawing |
| 01:11:39 | Watusimoto | need to figure out how to make it consistent |
| 01:11:48 | Watusimoto | going back to sleep |
| 01:12:05 | raptor | ok go to bed |
| 01:12:14 | raptor | i;ll ask you tomorrow what wrong |
| 01:12:34 | Watusimoto | you know, 250k would be pretty sweet :-) |
| 01:12:40 | raptor | oh yeah |
| 02:01:49 | | Watusimoto Quit (Ping timeout: 245 seconds) |
| 04:08:25 | | koda Quit (Quit: koda) |
| 04:55:59 | | sam686 Quit (Ping timeout: 245 seconds) |
| 05:00:44 | | raptor Quit () |
| 09:39:45 | | zoomber_mbp has joined |
| 09:39:55 | | zoomber_mbp Quit (Client Quit) |
| 09:56:08 | | zoomber_mbp has joined |
| 10:11:12 | | zoomber_mbp Quit (Quit: zoomber_mbp) |
| 11:06:56 | | LordDVG has joined |
| 11:15:21 | | Watusimoto has joined |
| 11:21:28 | | LordDVG Quit (Remote host closed the connection) |
| 11:21:56 | | LordDVG has joined |
| 12:10:36 | | koda has joined |
| 15:19:04 | | LordDVG Quit (Read error: Connection reset by peer) |
| 15:23:49 | | raptor has joined |
| 15:23:49 | | ChanServ sets mode +o raptor |
| 15:48:37 | | koda Quit (Ping timeout: 248 seconds) |
| 16:24:27 | | LordDVG has joined |
| 16:51:45 | raptor | good day |
| 16:52:32 | raptor | Watusimoto: i've been looking at that function in findRepairTargets() it looks like the check is too liberal |
| 16:52:50 | Watusimoto | hi |
| 16:52:55 | raptor | probably should remove the CollisionRadius piece of it.. |
| 16:52:59 | Watusimoto | I agree |
| 16:53:10 | raptor | because we find using a rect from center to center of object... |
| 16:53:31 | Watusimoto | I have been wrapped up in a hyper frustrating attempt to assemble a lego part list on bricklink. what a crapassed interface |
| 16:53:47 | raptor | bricklink? |
| 16:54:06 | raptor | lego marketplace? |
| 16:54:07 | Watusimoto | legos by the brick |
| 16:54:09 | Watusimoto | yes |
| 16:54:10 | raptor | interesting |
| 16:54:12 | Watusimoto | very |
| 16:54:21 | Watusimoto | but crappy interface |
| 16:54:27 | raptor | looks like they haven't updated the site in 10 years |
| 16:55:19 | Watusimoto | but my thought (as of yet uninvestigated) was to have a special case handler in fRT that, when interacting with cores, called a special function on the core itself that could also be called by the other place we need the same logic |
| 16:55:28 | Watusimoto | centralized logic = good |
| 16:55:34 | Watusimoto | special case handler = bad |
| 16:55:38 | raptor | yes |
| 16:55:38 | | koda has joined |
| 16:55:47 | Watusimoto | but on balance, probably a good thing |
| 16:56:09 | Watusimoto | so then all our core repair locating logic would be consistent |
| 17:00:12 | raptor | just curious - did you track this as the reason for the bug i mentioned? |
| 17:00:20 | raptor | or just something you noticed on the side? |
| 17:11:57 | raptor | different problem |
| 17:22:23 | Watusimoto | good grief... my kids are trying to get me to teach them stars |
| 17:22:51 | Watusimoto | it's sooooo clunky! |
| 17:23:09 | Watusimoto | ah, so which bug are you asking about? |
| 17:23:33 | Watusimoto | I wonder if we shoudl rewrite stars to have less micromanagement and more better ui |
| 17:31:49 | raptor | stars! |
| 17:31:53 | raptor | works great in WINE |
| 17:33:59 | raptor | ok, so... for the (item->getPos() - pos).len() check in findRepairTargets() |
| 17:34:06 | raptor | there are two ways to fix it |
| 17:34:44 | raptor | 1. remove 'CollisionRadius' from the check and therefore reducing the distance for being able to repair |
| 17:35:17 | raptor | 2. add 'CollisionRadius' to the findObjects Rect: Point extend(RepairRadius, RepairRadius); |
| 17:35:27 | Watusimoto | it may run great in wine, but it hardly works well |
| 17:36:22 | Watusimoto | so what are we trying to do here... just detect a core within repair range, saving the question of whether there are any panels that need repairing for later? |
| 17:36:34 | raptor | ignore the Core issue, it doesn't have anything to do with it |
| 17:37:16 | raptor | the issue is basically this: we use a Rect to find objects to repair, but we make sure they are within a circle |
| 17:37:27 | Watusimoto | right |
| 17:37:28 | raptor | but our circle is always outside the Rect |
| 17:37:38 | raptor | currently |
| 17:37:42 | Watusimoto | i.e. larger than the rect? |
| 17:37:44 | raptor | and therefore we don't need the check |
| 17:37:46 | raptor | yep |
| 17:37:59 | Watusimoto | that's interesting |
| 17:38:04 | raptor | so it's wasted cycles |
| 17:38:07 | Watusimoto | sure |
| 17:38:25 | Watusimoto | so why not just remove the check? |
| 17:38:33 | raptor | that's what i'm asking |
| 17:38:36 | raptor | are you ok with that? |
| 17:38:54 | Watusimoto | why wouldn't I be? is there some downside I'm not seeing? |
| 17:39:03 | raptor | not really |
| 17:39:12 | raptor | just that we're using a rect instead of a circle |
| 17:39:22 | raptor | oh wait |
| 17:39:31 | raptor | no never mind |
| 17:40:00 | raptor | so actually, let's step back a bit and ask ourselves, what repair behavior do we want? |
| 17:40:04 | Watusimoto | I am soooo lost. Currently I am adhering to never mind until it's time to mind again! |
| 17:40:10 | Watusimoto | broke stuff to get fixed |
| 17:40:12 | raptor | ok |
| 17:40:17 | Watusimoto | :-) |
| 17:40:18 | raptor | let me deal with it |
| 17:40:23 | raptor | but for the behavior |
| 17:40:29 | Watusimoto | I'm happy to discuss it |
| 17:40:38 | Watusimoto | just confused |
| 17:40:55 | raptor | do we want it to check for objects to repair that are pos + RepairRadius |
| 17:41:08 | raptor | or pos + CollisionRadius + RepairRadius |
| 17:41:21 | raptor | i.e. RepairRadius on top of the object radius |
| 17:42:28 | raptor | you know what, forget it - i'll just fix up the math a little |
| 17:42:33 | Watusimoto | ha |
| 17:42:47 | Watusimoto | let me ask this |
| 17:42:59 | Watusimoto | is collisionRadius a function of the ship or the object being repaired? |
| 17:43:20 | Watusimoto | pos is ship position, and repair radius is a constant |
| 17:44:40 | raptor | i think what we want is Repair radius to be the distance between both collision radii of the ship and the repairable |
| 17:46:01 | raptor | ok, let's drop this issue |
| 17:46:04 | Watusimoto | between the coll radius, i.e. centers within RR + CRship + CRobj ? |
| 17:46:05 | Watusimoto | ok |
| 17:46:16 | Watusimoto | annoyed? :-) |
| 17:46:27 | raptor | ... |
| 17:46:41 | Watusimoto | ok, do whatever you feel is right. I trust you! |
| 17:46:48 | raptor | ok |
| 17:46:57 | raptor | so, the issue with the Core panels |
| 17:47:14 | raptor | which has nothing to do with this minor math mistake in fRT that has ballooned in my head... |
| 17:47:21 | | LordDVG Quit (Read error: Connection reset by peer) |
| 17:47:54 | Watusimoto | ok, the pane;s |
| 17:47:57 | raptor | actually i may have a solution for that too |
| 17:48:03 | raptor | let me test some things... |
| 17:57:52 | raptor | question: do we want a sound effect when a Core panel is destroyed? |
| 17:57:54 | | LordDVG has joined |
| 17:58:27 | | BFLogBot - Commit b0fdb7e48496 | Author: buckyballreaction | Log: Make repair distance checks consistent. This gives a small repair radius increase in-game. Also improve performance slightly |
| 17:59:52 | Watusimoto | yes |
| 17:59:58 | Watusimoto | I've been thinking about that |
| 18:00:15 | raptor | a new one? or an old one? |
| 18:00:19 | raptor | maybe like broken glass? |
| 18:00:33 | raptor | a debris sound effect of sorts |
| 18:01:01 | Watusimoto | could try that |
| 18:01:17 | Watusimoto | but it could easily get too campy |
| 18:01:34 | raptor | campy? |
| 18:06:13 | Watusimoto | cheezy |
| 18:06:21 | raptor | ah |
| 18:06:24 | Watusimoto | being called to dinner... back later |
| 18:06:28 | raptor | later |
| 18:10:49 | | Watusimoto Quit (Ping timeout: 256 seconds) |
| 18:33:31 | | BFLogBot - Commit d48a5a58227c | Author: buckyballreaction | Log: Consolidate repair range check for Panels |
| 18:33:32 | | BFLogBot - Commit 6e7953d9028a | Author: buckyballreaction | Log: Forgot to clean up a bit |
| 18:50:34 | | Watusimoto has joined |
| 18:53:10 | raptor | i found the Core panel bug... now to figure out the fix.. |
| 19:16:21 | raptor | Watusimoto: how would you fix this problem? I need to cast a float to a 4-bit int without rounding up (i.e. if the float is .4999, it needs to be sent as .4375) |
| 19:16:35 | | Little_Apple has joined |
| 19:16:39 | Little_Apple | helloo |
| 19:16:51 | raptor | hi |
| 19:17:09 | Little_Apple | are you enjoying mari0? :D |
| 19:19:33 | raptor | i cannot play it on my system |
| 19:19:48 | raptor | i will have to wait for the LOVE 0.8.0 engine to be officially released |
| 19:20:31 | Little_Apple | aww |
| 19:20:39 | Little_Apple | its fun :D |
| 19:20:54 | Little_Apple | its kinda hard but its still fun |
| 19:25:04 | Little_Apple | LATERS |
| 19:25:07 | | Little_Apple Quit (Quit: Page closed) |
| 19:28:47 | | zoomber_mbp has joined |
| 19:29:54 | Watusimoto | hi |
| 19:30:19 | Watusimoto | cast float to 4 bit int without rounding up |
| 19:30:27 | raptor | yes |
| 19:30:34 | Watusimoto | won't it truncate by default? |
| 19:30:40 | Watusimoto | i.e. not round up? |
| 19:30:51 | Watusimoto | of course, if it idid, you woudn;t be asing me |
| 19:31:11 | raptor | because that's the Core panel problem: we only use 4 bits precision client-side |
| 19:31:19 | Watusimoto | right |
| 19:31:22 | raptor | and if we get close, it sends 0xff |
| 19:31:29 | Watusimoto | I figured that's all we needed |
| 19:31:34 | raptor | which is fine |
| 19:31:46 | raptor | but it uses a bit twiddling hack to round up... |
| 19:31:53 | raptor | and i'm trying to find the one to round down.. |
| 19:31:55 | Watusimoto | if we get close to what? |
| 19:32:01 | Watusimoto | close to 1? |
| 19:32:09 | raptor | to the relevent 1/16th |
| 19:32:26 | raptor | so it is rounding the float up to the nearest bit |
| 19:32:52 | raptor | i may have found one... |
| 19:33:01 | Watusimoto | normally we can solve these problems by subtracting a little bit |
| 19:35:42 | Watusimoto | multiply by 16, round down, and convert to bits? |
| 19:36:02 | Watusimoto | convert the resulting integer to bits, that is |
| 19:38:35 | Watusimoto | my brain is such a fog right now |
| 19:38:42 | raptor | yeah, that's my problem too |
| 19:38:46 | Watusimoto | my kid's homework problems stumped us all: |
| 19:38:56 | raptor | maybe they're undoable |
| 19:38:59 | Watusimoto | 4 dudes are in front of a tunnel, with one light |
| 19:39:13 | Watusimoto | one takes 1 minute to walk through, the others 2, 4, and 5 |
| 19:39:20 | Watusimoto | only 2 can walk through at one time |
| 19:39:32 | Watusimoto | they only have one light, which they need to walk through the tunnel |
| 19:39:40 | Watusimoto | what's the min time to get everyone through? |
| 19:39:50 | | sam686 has joined |
| 19:39:50 | | ChanServ sets mode +v sam686 |
| 19:40:09 | Watusimoto | anyway, it stumped everyone |
| 19:40:22 | raptor | missing info: does the light need to be with everyone in the tunnel? |
| 19:40:30 | Watusimoto | yes |
| 19:41:23 | raptor | that's impossible - at different rates, there will always be a time when one of the two don't have the light |
| 19:41:37 | raptor | unless i'm missing more info |
| 19:42:06 | raptor | like how the light can be used |
| 19:42:21 | Watusimoto | oh, well, if the 1 and 4 minute dudes walk together, they both take 4 mins |
| 19:42:31 | raptor | ahh... |
| 19:42:40 | raptor | ok, so the faster can walk slower |
| 19:42:44 | raptor | if wanted |
| 19:42:46 | Watusimoto | yes |
| 19:43:04 | raptor | 13 min? |
| 19:43:20 | Watusimoto | using the 1 minute dude to ferry the light, right? |
| 19:43:24 | raptor | yes |
| 19:43:31 | Watusimoto | because he's *FAST* |
| 19:43:49 | Watusimoto | that;s the obvious answer, the one we came up with, and, of course, it's wrong |
| 19:43:55 | raptor | haha |
| 19:44:07 | Watusimoto | which you know, because why would you bother ask the question if that was the answer |
| 19:44:19 | Watusimoto | so I knew the answer was wrong, but couldn't find the right one |
| 19:44:31 | sam686 | 5 minute and 4 minute person can be together, and 1/2 min group can be together, totaling up to 7 minutes (ignoring the lights info) |
| 19:44:43 | Watusimoto | right |
| 19:44:57 | raptor | need the light |
| 19:45:01 | Watusimoto | but how do you get the light back to the beginning of the tunnel? |
| 19:45:11 | Watusimoto | btw, this is not a trick question |
| 19:45:12 | sam686 | throw the light? |
| 19:45:14 | raptor | one throws it really really hard |
| 19:45:18 | Watusimoto | and does not rely on throwing the light |
| 19:45:22 | raptor | hahaha |
| 19:45:29 | Watusimoto | or anything else |
| 19:45:42 | Watusimoto | there is a better answer than 13 that is *totally legit* |
| 19:46:26 | Watusimoto | I thought of throwing the light, putting light on a rope, all that garbage |
| 19:46:34 | sam686 | the first group could go with the light till the end, the second group can follow the light |
| 19:46:39 | zoomber_mbp | hey sam686, didn't you disable mysql on my european server or do something like that a while ago? |
| 19:46:40 | raptor | the guys shines the light backwards |
| 19:47:25 | raptor | do they all have to end on the other side? |
| 19:47:52 | Watusimoto | did you forget? *totally legit* |
| 19:47:54 | sam686 | i don't know, i haven't and couldn't touth your european server after a re-install linux or whatever (i couldn't log in anymore) |
| 19:48:12 | raptor | apparition? |
| 19:48:13 | Watusimoto | no technicalities or tricks |
| 19:48:18 | Watusimoto | no magic |
| 19:48:20 | raptor | rats |
| 19:48:27 | Watusimoto | no yet-to-be-invented tech |
| 19:48:31 | Watusimoto | no warp speed |
| 19:48:43 | Watusimoto | no violation of einstein's laws |
| 19:48:50 | Watusimoto | no teleports |
| 19:49:05 | raptor | can we leave someone in the middle of the tunnel? |
| 19:49:09 | Watusimoto | no |
| 19:49:10 | raptor | and go back with the light |
| 19:49:18 | Watusimoto | would that help? |
| 19:49:23 | Watusimoto | I mean, I suppose you could |
| 19:49:35 | Watusimoto | but the better answer has *no giimicks* |
| 19:49:48 | Watusimoto | not just no gimicks, but *no gimicks* |
| 19:50:00 | raptor | what |
| 19:50:03 | raptor | then i'm stumped |
| 19:50:05 | sam686 | one of a group can walk blind (with no lights) |
| 19:50:09 | raptor | even thought i like a good riddle... |
| 19:50:41 | zoomber_mbp | oh yeah thats right, i had to get it reinstalled because something was really messed up with the system |
| 19:51:08 | Watusimoto | argh! |
| 19:51:14 | zoomber_mbp | I'm trying to solve the mystery as to why it uses 800 MB of sacred RAM before I'm even running anything of mine! |
| 19:51:15 | Watusimoto | raptor has given up -- sam? |
| 19:51:36 | raptor | i don't like giving up, but my brain powers are elsewhere at the moment.. |
| 19:51:44 | Watusimoto | understood |
| 19:51:47 | sam686 | one group can follow the sound while the other group talks |
| 19:52:18 | raptor | ha! i fixed the rounding problem |
| 19:53:40 | Watusimoto | ok |
| 19:53:46 | Watusimoto | sam gives up too |
| 19:53:55 | zoomber_mbp | wait |
| 19:54:01 | zoomber_mbp | I'm in on this now so, don't reveal the answer |
| 19:54:06 | Watusimoto | ok |
| 19:54:22 | Watusimoto | while we |
| 19:54:36 | zoomber_mbp | so i can catch up to speed, the 1 minute guy ferrying others ISNT the answer? |
| 19:54:39 | Watusimoto | while we're waiting for zoomber to suggest echolocation, how did you fix the bit problem? |
| 19:54:50 | Watusimoto | no |
| 19:54:54 | Watusimoto | there is a more optimal answer |
| 19:54:56 | zoomber_mbp | strange to me |
| 19:55:14 | sam686 | i think i see the idea, person A,B go together with a light, B go back with a light, B and C go together with a light, B go back with a light, B and D go together with a light |
| 19:55:53 | raptor | it was converting float to int like this: s.writeInt(U32(val * ((1 << bitCount) - 2) + 0.5f) + 1, bitCount) |
| 19:56:03 | raptor | i changed it to: s.writeInt(U32(val * ((1 << bitCount) - 1)), bitCount) |
| 19:56:19 | raptor | so simple... |
| 19:56:26 | sam686 | 13 minutes? if thats the case |
| 19:56:33 | Watusimoto | no less than 13 |
| 19:56:37 | zoomber_mbp | 5 minutes |
| 19:57:11 | Watusimoto | great, raptor! |
| 19:57:13 | Watusimoto | more than 5 |
| 19:57:15 | Watusimoto | of course |
| 19:57:27 | zoomber_mbp | i only throw that out because, i feel like the question is trying to be deceptive |
| 19:57:30 | Watusimoto | sam686: of course that's the right formula |
| 19:57:39 | Watusimoto | the question has *no tricks* |
| 19:57:56 | Watusimoto | the answer is totally legit |
| 19:58:26 | zoomber_mbp | ok well that takes out my answer of 12 then |
| 19:58:40 | | BFLogBot - Commit 1f51595d4a38 | Author: buckyballreaction | Log: Fix client-side Core panel health problem, by always rounding down |
| 19:58:51 | raptor | ok, i declare Core done |
| 19:58:57 | raptor | please |
| 19:58:59 | raptor | :) |
| 19:59:51 | sam686 | lets say, person A = 1 min, B=2, C=4 D=5, then it goes, AB go forward = 2 min, A go back +1min, AC go forward, 4 min, A go back = 1 min, AD go forward = 5 min, that totals up to 13 minutes, right? |
| 20:00:02 | zoomber_mbp | ok |
| 20:00:04 | Watusimoto | in your answer, yes |
| 20:00:08 | Watusimoto | but there is a better answer |
| 20:00:09 | zoomber_mbp | wait though |
| 20:00:48 | zoomber_mbp | when 5 and 1 go through, and one gets back, can one stop a bit before, just enough range for the light to shine enough to see the 4, so he can get to 1, and then walk to the end? |
| 20:01:08 | Watusimoto | no tricks |
| 20:01:08 | zoomber_mbp | can they use the light at the end of the tunnel to subtract part of their traveling distance so 1 can go back a bit before 5 and 4 finish? |
| 20:01:10 | zoomber_mbp | oh, ok |
| 20:01:55 | raptor | wait |
| 20:02:02 | raptor | first send 1 + 2 |
| 20:02:05 | raptor | then 1 comes back |
| 20:02:22 | raptor | then send 5 + 4 |
| 20:02:23 | zoomber_mbp | your up to 3 minutes |
| 20:02:28 | raptor | then send 2 back |
| 20:02:33 | raptor | and send 1 + 2 |
| 20:02:43 | raptor | 12 min? |
| 20:02:47 | zoomber_mbp | oh |
| 20:03:17 | zoomber_mbp | I thought sending people back was considered a "trick" |
| 20:03:31 | Watusimoto | raptor: that's it |
| 20:03:39 | raptor | now i have brain power devoted back.. |
| 20:03:41 | raptor | oh good |
| 20:03:42 | sam686 | that is still 13 minutes in raptors formula, i think.. |
| 20:03:42 | raptor | yay |
| 20:03:45 | Watusimoto | zoomber_mbp: that's the whole point of the puzzle |
| 20:04:06 | raptor | 12! |
| 20:04:08 | raptor | yep, 12 |
| 20:04:09 | Watusimoto | 2 + 1 + 5 + 2 + 2 |
| 20:04:10 | raptor | yay |
| 20:04:14 | raptor | that's at least better |
| 20:04:24 | sam686 | then why? |
| 20:04:41 | Watusimoto | why what? why go through the tunnel? |
| 20:04:51 | Watusimoto | why show up with 4 people and one light? |
| 20:04:58 | zoomber_mbp | anyone want to totally help tell me what's using all my memory? i can post a pastebin |
| 20:05:08 | raptor | the savings of using 5 +4 is just enough to cover using 2 instead of one |
| 20:05:43 | sam686 | 2 can't go back without the light, right? |
| 20:05:58 | raptor | light goes every time |
| 20:06:02 | sam686 | also, no more then 2 people can be on the tunnal at the same time... |
| 20:06:51 | raptor | zoomber_mbp: what is your problem? |
| 20:06:54 | sam686 | if 2 goes back while 5+4 is in the middle, thats putting a third person in a tunnel |
| 20:07:33 | zoomber_mbp | raptor: the VPS seems to be using 800 MB of memory before i even run anything |
| 20:07:35 | Watusimoto | 1 & 2 go through |
| 20:07:41 | Watusimoto | 2 waits while 1 returns |
| 20:07:42 | raptor | zoomber_mbp: doing what |
| 20:07:46 | Watusimoto | 4 & 5 go through |
| 20:07:47 | raptor | i need more context |
| 20:07:55 | Watusimoto | they wait while 2 returns |
| 20:08:02 | zoomber_mbp | I'm not exactly sure, I can paste bin what "top" shows me if you want |
| 20:08:04 | Watusimoto | then 1 & 2 go through and complete the puzzle |
| 20:08:23 | sam686 | oh, i seenow.. |
| 20:08:56 | sam686 | putting 5 & 4 together to save time (instead of 5 and1 ; 5 and 2 like mine) |
| 20:08:59 | zoomber_mbp | wait though, what if you used 1 + 2, and send 2 back, send 4 + 5, and send ONE back, and send 1 + 2 |
| 20:09:05 | raptor | zoomber_mbp: is this a problem with bitfighter? |
| 20:09:15 | raptor | pretend i don't know anything about your problem |
| 20:10:16 | zoomber_mbp | nono, its just with the VPS, but I want to put back up my european server up there, and i could easily do this, if I could clear some of this memory thats all being used up |
| 20:10:27 | raptor | ok |
| 20:10:32 | zoomber_mbp | considering right now, another server I run on it has to fork up its panel whenever my memory caps off |
| 20:10:36 | raptor | run ps avx |
| 20:10:43 | raptor | to see what's taking up the memory |
| 20:10:46 | zoomber_mbp | ok |
| 20:11:14 | zoomber_mbp | oh, curious as to what the "v" stands for, Ive never used that |
| 20:11:41 | sam686 | i might do "top" and press ">" or "<" several times to sort differently, by mem usage |
| 20:11:49 | raptor | oh yes |
| 20:11:52 | raptor | that is better |
| 20:11:57 | raptor | easier to see |
| 20:12:01 | zoomber_mbp | ill paste bin it |
| 20:12:26 | zoomber_mbp | http://pastebin.com/9ANZJfyX |
| 20:12:43 | raptor | mono McMyAdmin.exe |
| 20:12:48 | raptor | is eating up all the ram |
| 20:12:55 | raptor | why is mono installed on a dedicated server? |
| 20:12:59 | zoomber_mbp | that one is intentional |
| 20:13:04 | zoomber_mbp | and the process i run after |
| 20:13:12 | zoomber_mbp | but notice how its only "prepared" to take up that much ram |
| 20:13:14 | raptor | mono is an enormous resource hog |
| 20:13:16 | raptor | akin to java |
| 20:13:36 | raptor | doesn't matter... |
| 20:13:48 | raptor | it is using up the space anyways |
| 20:13:52 | zoomber_mbp | I don't know, i think that McMyAdmin panel is written in C++ |
| 20:14:03 | zoomber_mbp | Mem: 3572 821 2750 0 0 0 |
| 20:14:05 | zoomber_mbp | total used free |
| 20:14:17 | raptor | mono is c# |
| 20:14:25 | zoomber_mbp | the panel itself |
| 20:14:35 | zoomber_mbp | well anyways, thats what they say it is |
| 20:14:36 | raptor | if it's using mono |
| 20:14:38 | raptor | then c# |
| 20:14:44 | zoomber_mbp | I'm not sure then |
| 20:14:49 | raptor | if mono is running, then your throwing your RAM away |
| 20:15:01 | zoomber_mbp | so mono is what is taking up 800 MB of memory? |
| 20:15:15 | | LordDVG Quit (Remote host closed the connection) |
| 20:15:20 | raptor | what happens when you do 'free -m' |
| 20:15:37 | zoomber_mbp | i had what i posted above, 2750 free, 800 used |
| 20:15:40 | zoomber_mbp | ok i just killed the mono process |
| 20:15:53 | zoomber_mbp | heres what i have now |
| 20:16:10 | zoomber_mbp | http://pastebin.com/myhfCBDV |
| 20:16:11 | raptor | i have never seen any free -m yet |
| 20:16:29 | zoomber_mbp | this was when mono was running: Mem: 3572 821 2750 0 0 0 |
| 20:16:50 | zoomber_mbp | and that corresponds to total memory, used memory, and free memory |
| 20:17:08 | zoomber_mbp | but notice now, that i have mono disabled, how much memory is being used up in that pastebin |
| 20:17:12 | raptor | how much ram is on the server? 4GB? |
| 20:17:23 | zoomber_mbp | 3572 MBs |
| 20:18:12 | raptor | seems like you still have plent of ram.. |
| 20:18:41 | sam686 | if anything, you only freed 90 MB by killing mono or what ever it is |
| 20:19:06 | raptor | yep |
| 20:19:07 | | LordDVG has joined |
| 20:19:13 | sam686 | what program is giving out of memory, by the way? |
| 20:19:26 | sam686 | there is more then enough memory to run almost anything |
| 20:19:30 | raptor | i don't think any is - i think he's just worried about ram usage |
| 20:20:34 | zoomber_mbp | basically, I do run something, and its very resource intensive |
| 20:20:39 | raptor | oh haha |
| 20:20:41 | zoomber_mbp | but only really in memory |
| 20:20:54 | zoomber_mbp | not in cpu, it just *needs* to allocate all its memory beforehand |
| 20:21:12 | zoomber_mbp | it takes about 2.5 GB of memory to run, i have 3.5 GB. that extra 1 gb of memory whouldn |
| 20:21:13 | raptor | well, there may be a memory leak, and the OS is still holding onto it... |
| 20:21:16 | zoomber_mbp | oops, enter pressed |
| 20:21:19 | zoomber_mbp | ok, |
| 20:21:23 | zoomber_mbp | what should I do to fix that then? |
| 20:21:31 | raptor | if you restart the server from scratch, what is the RAM usage? |
| 20:21:36 | raptor | with no extra processes |
| 20:21:57 | zoomber_mbp | the mono process automatically starts up, i don't know how to boot the server without it starting |
| 20:22:21 | zoomber_mbp | BUT, be that as it may, the OS itself always seems to be using about 700 MB of space |
| 20:22:31 | raptor | ram? |
| 20:22:33 | zoomber_mbp | yes |
| 20:22:33 | raptor | you mean? |
| 20:22:44 | zoomber_mbp | or whatever process we didn't catch |
| 20:22:51 | raptor | ok - it may just be reserved for video memory or something |
| 20:22:53 | zoomber_mbp | nothing I run externally |
| 20:23:06 | raptor | i wouldn't worry so much unless you're getting OOM errors |
| 20:23:08 | sam686 | you could turn off sendmail if you don't use it... (though that takes about less then 60MB, i think) |
| 20:23:36 | zoomber_mbp | i'm getting full memory issues, and can't run a bitfighter server like sam got to work in the past with these conditions |
| 20:24:49 | zoomber_mbp | yeah, just because i don't use it, i don't see any harm in turning off sendmail |
| 20:25:10 | raptor | Watusimoto: what left should we do before release? |
| 20:25:22 | raptor | i see the preserve load-out thingy on the running list |
| 20:25:30 | Watusimoto | what's on that list? |
| 20:25:32 | raptor | but i don't remember that being part of the game |
| 20:25:44 | sam686 | so whats using 700 MB of ram? |
| 20:25:45 | zoomber_mbp | preserve load-out? |
| 20:25:49 | Watusimoto | what do you mean by that? |
| 20:25:54 | sam686 | are you listing "ALL" processes? |
| 20:25:56 | zoomber_mbp | sam686: thats what I'm trying to find, |
| 20:25:57 | raptor | looks like a feature not a bug |
| 20:26:05 | raptor | !bug |
| 20:26:05 | BFLogBot | To enter a bug, please make sure it is reproducible and then go to http://code.google.com/p/bitfighter/issues/list | Also, see current running bug list: http://bitfighter.org/wiki/index.php/Running_Bug_List |
| 20:26:19 | Watusimoto | ah, well some people find it annoying the way the loadous work now |
| 20:26:21 | zoomber_mbp | @sam I tried "sendmail stop", and no response so far, not sure what this means |
| 20:26:42 | raptor | you mean the original way? |
| 20:26:42 | zoomber_mbp | oh there, i need to put "service" before it |
| 20:26:46 | Watusimoto | since we rever their loadout to the default, they want to be able to get their previous loadout back without reentering it |
| 20:26:55 | zoomber_mbp | still using 726 MB of memory, even without sendmail |
| 20:27:04 | sam686 | try "top" and press "<" ">" buttons to sort by %ram or VIRT, and tell us the output |
| 20:28:06 | zoomber_mbp | http://pastebin.com/m008gn6b |
| 20:28:55 | zoomber_mbp | here, let me give you a more complete pastebin |
| 20:29:05 | zoomber_mbp | http://pastebin.com/s5AfPByG |
| 20:29:20 | sam686 | seems like the only think i can think of is a possible memory leak somewhere, try restarting? |
| 20:29:20 | Watusimoto | so it's not exactly a bug, but not exactly a new feature either |
| 20:29:30 | zoomber_mbp | tried restarting, same thing happens |
| 20:29:34 | raptor | Watusimoto: are you working on the achievement stuff? |
| 20:30:13 | Watusimoto | I *should be* |
| 20:30:30 | Watusimoto | instead I'm trying to get this lego thing sorted so my mother can buy my son his birthday present |
| 20:30:35 | Watusimoto | I'm starting to hate lego |
| 20:30:49 | sam686 | umm, does the RAM usage go down when you delete a big size file? (might be dumb, but that what might happen when file system running in RAM eats MEMORY) |
| 20:30:51 | raptor | ha |
| 20:30:52 | Watusimoto | I'm just about done for the night, though, so I will strart working on something |
| 20:31:08 | Watusimoto | achievements, high score display |
| 20:31:13 | Watusimoto | whatever |
| 20:32:00 | raptor | i'll be honest - i'm ready to release whenever |
| 20:32:18 | zoomber_mbp | ok, could it be possible they lied to me and maybe its burst ram. Maybe i need to know if the ram is burstabale, and if anyone else is using it? |
| 20:33:20 | raptor | ready as in my mind is wanting reward for all the bug fixes already :) |
| 20:33:58 | sam686 | obviously, there is no way for a single process to take up more then 2GB (sometimes 3 GB) on my 32-bit computer |
| 20:34:20 | raptor | yes there is |
| 20:34:27 | raptor | linux kernel supports pae |
| 20:34:37 | raptor | 'physical addresss extensions' |
| 20:34:45 | raptor | will allow larger ram on 32bit |
| 20:35:00 | sam686 | sure, but individual precess can't use more then 4 GB of memory (most of the time) |
| 20:35:16 | raptor | yeah that's right |
| 20:36:47 | zoomber_mbp | and iMacs with 12 GB of ram too, but thats a different story |
| 20:37:06 | raptor | they are 64bit |
| 20:37:32 | sam686 | usually half of addressable memory is used for global kernal memory stuff.. |
| 20:37:55 | zoomber_mbp | I dream the day where the speed which VPS run internet at is the same as my home internet, so i can just run everything here. |
| 20:38:17 | raptor | it's called fiber connection |
| 20:38:18 | sam686 | i want a faster CPU |
| 20:42:03 | sam686 | looks like i see spam on my http://sam686.maxhushahn.com forum (but didn't make it to let everyone see it due to "This post is waiting for approval") |
| 20:44:14 | zoomber_mbp | yes raptor: but even in Los Angeles where I live, i can't obtain it yet |
| 20:47:20 | | zoomber_mbp Quit (Quit: zoomber_mbp) |
| 20:57:28 | raptor | I don't want to look at CoreGame.cpp anymore |
| 20:57:45 | raptor | spend too much time there |
| 21:14:46 | | LordDVG Quit (Remote host closed the connection) |
| 21:14:48 | Watusimoto | ok, what are you doing -- I'm going to start something, and don't want to intrude |
| 21:15:00 | raptor | i am eating a PB and Honey sandwich |
| 21:15:06 | raptor | with honey from Wyoming |
| 21:15:12 | raptor | un processed goodness |
| 21:15:21 | raptor | thicker than the peanut butter |
| 21:15:28 | raptor | as for Bitfighter |
| 21:15:32 | raptor | i am doing nothing at the moment |
| 21:15:35 | raptor | between jobs |
| 21:16:02 | raptor | been perusing the GC issue list, but nothing stands out to me yet |
| 21:16:17 | Watusimoto | gc? |
| 21:16:22 | raptor | google code |
| 21:20:49 | Watusimoto | right |
| 21:21:07 | Watusimoto | ok, I'm going to work on displaying high scores in the interface |
| 21:21:14 | raptor | ok |
| 21:21:29 | Watusimoto | 100% uninspiring |
| 21:22:05 | Watusimoto | UILeaderBoard or UIHighScores? |
| 21:22:23 | raptor | I like high scores |
| 21:22:27 | raptor | less specific |
| 21:23:18 | Watusimoto | I'm good with that |
| 21:28:47 | | BFLogBot - Commit 0849b94abd86 | Author: watusim...@bitfighter.org | Log: Simplify |
| 21:28:49 | | BFLogBot - Commit 60976c4d2ca7 | Author: watusim...@bitfighter.org | Log: Restore private status |
| 21:28:50 | | BFLogBot - Commit 5034326df94c | Author: watusim...@bitfighter.org | Log: Merge |
| 21:35:09 | raptor | do you still want the unused code for pushSimulatedAltKeyPress() in Event.cpp? |
| 21:47:49 | Watusimoto | uh |
| 21:47:53 | Watusimoto | what does that do? |
| 21:48:05 | Watusimoto | probably not |
| 21:48:13 | raptor | nothing at the moment, but i think you added it... |
| 21:48:21 | Watusimoto | sounds like me |
| 21:48:42 | Watusimoto | yeah, that was for a hacky fix of the alt-enter issue |
| 21:48:45 | Watusimoto | remove it |
| 21:49:38 | raptor | ok |
| 21:49:40 | raptor | thanks |
| 21:53:56 | raptor | ok |
| 21:54:05 | raptor | i've sort of fixed the loadout issue... |
| 21:54:11 | raptor | there is one catch |
| 21:54:30 | raptor | on levels without loadout zones, it sets you to the saved loadout |
| 21:58:39 | raptor | is this bad? |
| 21:58:54 | | BFLogBot - Commit d234112aed43 | Author: buckyballreaction | Log: Comments |
| 21:58:56 | | BFLogBot - Commit 3277a2c73035 | Author: buckyballreaction | Log: Remove unused code |
| 22:16:20 | Watusimoto | yes, I think so |
| 22:16:43 | raptor | hmm. ok |
| 22:16:48 | Watusimoto | I think that perhaps the fix you applied should only take effect on levels with load out zones |
| 22:16:51 | Watusimoto | what do you think? |
| 22:17:00 | raptor | yes, that is what i'm thinking too... |
| 22:17:16 | Watusimoto | it's alittle weird, but it also kind of makes sense |
| 22:17:19 | raptor | i'm currently trying to find out where in the flow i can determine that safely.. |
| 22:17:47 | Watusimoto | gametype->mLevelHasLoadoutZone |
| 22:18:11 | raptor | thanks! |
| 22:40:19 | raptor | ok done and pushed, i cross it off now |
| 22:41:38 | raptor | that takes care of our running bug list |
| 22:41:47 | raptor | for nwo |
| 22:41:49 | raptor | now |
| 22:43:24 | Watusimoto | ok, I'd like to do the other stuff on that list for the release |
| 22:43:38 | Watusimoto | thoughts? |
| 22:43:50 | raptor | question: did the level info use to say if the level had a levelgen? |
| 22:43:56 | raptor | let me look at the list.. |
| 22:44:00 | | BFLogBot - Commit aa2710108e87 | Author: buckyballreaction | Log: Save previous level load-out as on-deck for the next, if the next has load-out zones |
| 22:44:27 | Watusimoto | mmm... not sure |
| 22:44:32 | Watusimoto | don't think so |
| 22:44:38 | Watusimoto | but really not sure |
| 22:45:45 | raptor | i just logged in on 015a - there are 6 people in lobby |
| 22:45:59 | Watusimoto | wow |
| 22:46:19 | raptor | not to mention 18 servers |
| 22:48:27 | Watusimoto | 18?!? |
| 22:48:31 | raptor | yeah |
| 22:48:39 | Watusimoto | what the heck??? |
| 22:48:48 | Watusimoto | upgrade, peoples! |
| 22:49:15 | raptor | i'll just idle in the lobby for a while and see if they respond to my request to upgrade... |
| 22:51:20 | raptor | can you check the json on the old master to see how many players are actually logged in? |
| 22:52:53 | raptor | i can get here, but that's it: http://67.18.11.66/~eykamp/ |
| 23:01:01 | raptor | so you added the level stats table |
| 23:01:47 | Watusimoto | if you figure out what the json addr is for the new server, it can be transofrmed by replacing |
| 23:01:52 | Watusimoto | bitfighter.org |
| 23:01:54 | Watusimoto | with |
| 23:02:05 | Watusimoto | eykamp.com/bitfighter/ |
| 23:02:16 | raptor | ok |
| 23:02:17 | Watusimoto | works for game stats as well |
| 23:02:22 | Watusimoto | and the old forums |
| 23:02:28 | Watusimoto | and, really, everything |
| 23:02:37 | raptor | http://eykamp.com/bitfighter/bitfighterStatus.json |
| 23:02:46 | raptor | 20 players |
| 23:02:49 | Watusimoto | looking good! |
| 23:02:53 | raptor | 26 servers |
| 23:02:55 | raptor | what |
| 23:03:12 | Watusimoto | who are those people? |
| 23:03:22 | Watusimoto | sam? |
| 23:03:30 | raptor | i see Zoomber on there |
| 23:03:42 | raptor | andn Lone Wolf |
| 23:03:48 | raptor | both of whom i know upgraded... |
| 23:03:54 | raptor | maybe something is borken |
| 23:03:54 | Watusimoto | and a girl! |
| 23:04:04 | Watusimoto | something is definitely wrong |
| 23:04:24 | Watusimoto | girls don't play bf |
| 23:04:34 | raptor | we have two! |
| 23:04:41 | raptor | Footloose and Random Insanity |
| 23:04:43 | Watusimoto | footloose and... |
| 23:04:44 | Watusimoto | ah |
| 23:04:48 | Watusimoto | did not know that |
| 23:06:31 | Watusimoto | well, we can ask zoomber if he's on later |
| 23:09:55 | raptor | i see a protocol 28 |
| 23:09:58 | raptor | and lots of 21 |
| 23:13:15 | Watusimoto | maybe it's a scout troop |
| 23:13:27 | Watusimoto | going for their Bitfighter Badge |
| 23:13:34 | raptor | haha |
| 23:21:24 | raptor | i wonder |
| 23:21:31 | raptor | could we do bitstream compression? |
| 23:21:41 | raptor | to reduce network bandwidth |
| 23:25:06 | Watusimoto | I doubt it |
| 23:25:15 | Watusimoto | I think the stream is pretty compressed already |
| 23:25:37 | raptor | i know we do lots of bit reduction with decreased precision, etc |
| 23:26:05 | Watusimoto | I think when raw strings are sent they are compressed |
| 23:26:17 | Watusimoto | but stringTableEntries are sent as an int |
| 23:26:18 | raptor | string table entry uses an index |
| 23:26:21 | raptor | oh |
| 23:26:24 | Watusimoto | right |
| 23:31:21 | | Little_Apple has joined |
| 23:31:53 | Little_Apple | raptor |
| 23:32:00 | Little_Apple | i need to tells ou something |
| 23:32:02 | raptor | hi |
| 23:32:15 | Little_Apple | levelgen wont work ._. |
| 23:32:22 | Little_Apple | not even in the scripts folder |
| 23:32:53 | raptor | works for me |
| 23:33:01 | raptor | define 'not work' |
| 23:33:11 | Little_Apple | not macs appearantly |
| 23:33:33 | raptor | do you have a main() in the script? |
| 23:34:10 | Little_Apple | its not the script |
| 23:34:18 | Little_Apple | mazeracer wont work eithre |
| 23:34:21 | Little_Apple | i havent touched it |
| 23:34:27 | raptor | huh... it should work... |
| 23:34:39 | Little_Apple | it doesnt |
| 23:34:41 | raptor | let me launch my mac |
| 23:34:42 | Little_Apple | thats all i can say |
| 23:35:35 | raptor | mazeracer is working for me |
| 23:35:54 | sam686 | are you using the febuary 5 downloads? http://code.google.com/p/bitfighter/downloads/list |
| 23:36:00 | Little_Apple | me? |
| 23:36:03 | sam686 | yes |
| 23:36:12 | Little_Apple | im using the lates release |
| 23:36:23 | Little_Apple | none of the levelgens work for me |
| 23:37:18 | sam686 | does robots work for you? |
| 23:37:41 | sam686 | a simple host and /addbot will do |
| 23:38:00 | Little_Apple | robots work |
| 23:38:02 | Little_Apple | er |
| 23:38:06 | Little_Apple | no they dont i dont think |
| 23:38:12 | Little_Apple | nope |
| 23:38:16 | Little_Apple | they dont work |
| 23:38:36 | raptor | you must have messed up something... |
| 23:38:48 | sam686 | i guess it might be a problem is with a missing scripts file |
| 23:39:05 | Little_Apple | ._. |
| 23:39:12 | Little_Apple | the scripts file is there |
| 23:39:18 | Little_Apple | its all there |
| 23:39:21 | Little_Apple | it just wont work |
| 23:39:42 | sam686 | there should be a "robots" and "scripts" folders.. |
| 23:40:26 | Little_Apple | they are there |
| 23:40:31 | Little_Apple | i already told you |
| 23:40:41 | Little_Apple | i didnt change anything with the folders |
| 23:41:08 | sam686 | what does the console say? (pressing / in editor, or ctrl+/ in game) |
| 23:41:23 | sam686 | or, you can open up bitfighter_server.log |
| 23:41:39 | Little_Apple | could not start robot |
| 23:41:43 | Little_Apple | see server logs |
| 23:42:36 | raptor | open the program 'Console' |
| 23:42:40 | raptor | and see the logs |
| 23:42:58 | raptor | mac spits all output to the Console program |
| 23:43:26 | Little_Apple | ._. |
| 23:44:36 | sam686 | when looking at bitfighter_server.log, go to the very bottom, as new information add to the bottom of text |
| 23:45:14 | Little_Apple | it said it could not find the script |
| 23:45:37 | sam686 | where is it trying to look at? |
| 23:46:09 | Little_Apple | levels for some reason |
| 23:46:22 | Little_Apple | o____o |
| 23:46:57 | raptor | is a levelgen supposed to be in teh levels folder? |
| 23:47:01 | raptor | .levelgen |
| 23:47:09 | raptor | as opposed to .lua in scripts/ folder? |
| 23:47:23 | sam686 | levelgen is in level folder, but it can't find the scripts |
| 23:48:02 | Little_Apple | it was in the scripts folder |
| 23:48:09 | Little_Apple | im trying the levels folder now |
| 23:48:33 | Little_Apple | so did i find a bug? |
| 23:49:03 | raptor | what would the bug be? |
| 23:49:09 | raptor | because it's all working for me |
| 23:49:17 | Little_Apple | it cant load scripts? |
| 23:49:22 | Little_Apple | it wont work at all for me |
| 23:49:56 | sam686 | VNC or teamview or other way to view (and maybe control) little_apple's screen to find the problem? |
| 23:50:10 | Little_Apple | uh |
| 23:50:13 | Little_Apple | this is really weird |
| 23:50:21 | Little_Apple | im looking at the console |
| 23:50:29 | Little_Apple | it said no such file exist |
| 23:50:41 | sam686 | which file? |
| 23:50:47 | Little_Apple | im looking at the path it took and the file is right where it should be ._. |
| 23:50:52 | Little_Apple | my levelgen file |
| 23:51:08 | sam686 | can't find your levelgen file? |
| 23:51:12 | Little_Apple | nope |
| 23:51:12 | sam686 | did you spell it right? |
| 23:51:18 | Little_Apple | its in the right place |
| 23:51:26 | sam686 | or is the problem missing scripts? |
| 23:51:27 | Little_Apple | i checked 5 times it was spelled right |
| 23:51:35 | Little_Apple | it should work |
| 23:51:38 | raptor | case sensitive! |
| 23:51:38 | Little_Apple | it just doesnt |
| 23:51:52 | Little_Apple | so did i find a bug? or something? |
| 23:52:08 | raptor | not yet because i can't duplicate it |
| 23:52:24 | Little_Apple | ._. |
| 23:52:58 | sam686 | we can't see little_apple screens, i don't know much about mac.. |
| 23:53:09 | Little_Apple | i can send a pic of the console |
| 23:53:14 | | Watusimoto_ has joined |
| 23:53:17 | raptor | please do |
| 23:55:37 | Little_Apple | sam |
| 23:55:42 | sam686 | ? |
| 23:55:51 | Little_Apple | can you send me the link to ur uploady site thing? |
| 23:55:54 | sam686 | a place to upload? http://sam686.maxhushahn.com/upload3.php |
| 23:55:57 | | Watusimoto Quit (Ping timeout: 260 seconds) |
| 23:56:30 | Little_Apple | http://sam686.maxhushahn.com/upload/script%20thingy.png |
| 23:56:33 | Little_Apple | there |
| 23:56:34 | sam686 | after uploaded, copy and paste the link here, so others can find the uploaded picture |
| 23:56:50 | Little_Apple | done. |
| 23:57:07 | raptor | that's odd |
| 23:57:20 | Little_Apple | ._. |
| 23:57:26 | raptor | ok do the following |
| 23:57:33 | Little_Apple | i can send a pic of my scripts file |
| 23:57:36 | raptor | nah |
| 23:57:39 | raptor | that isn't the issue |
| 23:57:45 | Little_Apple | ._. |
| 23:57:50 | Little_Apple | what is it then? |
| 23:57:53 | raptor | you know the sfx folder in the Bitfighter.app? |
| 23:57:58 | Little_Apple | yes? |
| 23:58:09 | raptor | along side it is a scripts folder |
| 23:58:24 | Little_Apple | IN the bitfighter.app? |
| 23:58:33 | Little_Apple | not the application support? |
| 23:58:36 | raptor | copy the scripts folder from the .app to your application support/Bitfighter folder |
| 23:58:42 | raptor | IN the .app |
| 23:58:43 | Little_Apple | ok....... |
| 23:58:54 | Little_Apple | why isnt it in the application support? |
| 23:58:55 | raptor | so copy from .app -> application support |
| 23:58:59 | raptor | i don't know |
| 23:59:02 | raptor | it should be |
| 23:59:05 | Little_Apple | thats weird. |
| 23:59:06 | raptor | mine is |
| 23:59:23 | Little_Apple | my scripts file is in the application support ._. |