#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2011-10-21

Timestamps are in GMT/BST.

00:15:00Flynnn Quit (Quit: This computer has gone to sleep)
00:25:00watusimoto Quit (Ping timeout: 248 seconds)
01:32:00Flynnn has joined
01:32:00Flynnn Quit (Client Quit)
01:36:00Zoomber has joined
01:36:00ChanServ sets mode +v Zoomber
01:36:00Zoomberhi
01:59:00Zoombersam686 on?
03:37:00raptor has joined
03:37:00ChanServ sets mode +o raptor
04:32:00sam686 Quit (Ping timeout: 258 seconds)
04:33:00sam686 has joined
04:33:00ChanServ sets mode +v sam686
04:42:00Zoomberhi raptor
04:45:00raptorhi
04:45:00raptorsorry, i'm a little slow tonight
04:45:00raptorbrain's not completely here...
04:51:00raptorso Zoomber, have you been making a concerted effort to try and make as many posts as possible in the last week or so?
04:52:00raptorbecause many times i look at the 'newest posts' list, I see pages of purple :)
05:20:00raptor Quit (Remote host closed the connection)
05:46:00Zoomber Quit (Quit: Zoomber)
07:48:00sam686 Quit (Ping timeout: 258 seconds)
07:49:00sam686 has joined
07:49:00ChanServ sets mode +v sam686
08:06:00watusimoto has joined
12:00:00watusimoto Quit (Ping timeout: 256 seconds)
12:31:00LordDVG has joined
13:56:00LordDVG Quit (Remote host closed the connection)
14:13:00eykamp has joined
15:44:00raptor has joined
15:44:00ChanServ sets mode +o raptor
15:44:00raptorwell hello eykamp
15:44:00raptoryou must be new
15:44:00eykamphi
15:44:00raptorhave you ever played bitfighter before? :)
15:44:00eykampodd
15:45:00eykamphow did that get in here?
15:46:00eykamp has left
15:46:00watusimoto_ has joined
15:47:00watusimoto_ah, that feels better
15:47:00watusimoto_sort of
15:47:00raptoroh hi
15:47:00watusimoto_not sure this client is any better than the last one
15:47:00raptorsmuxi?
15:47:00raptornever heard of it
15:49:00watusimoto_it's kind of crappy
15:50:00watusimoto_but then I've disliked all irc clients I've tried so far
15:50:00raptorkonversation has been my favorite
15:50:00raptorbut it's for KDE
15:50:00watusimoto_I just want a simple client that will log me in when it runs, and will open a window on my groups, and will notifiy me whne a message comes in
15:50:00watusimoto_how hard could that be?
15:51:00raptorhuh, i thought that was ubiquitous in iRC clients
15:57:00watusimoto_yeah, you'd think
15:58:00watusimoto_most require at lesat some manual intervention to get going
15:58:00watusimoto_open this, click that, whatever. I just want a window to be there
15:58:00watusimoto_I'm lazy :-)
15:58:00raptorlaziness drives good software...
16:04:00watusimoto_ Quit (Read error: Operation timed out)
16:25:00LordDVG has joined
16:31:00watusimoto has joined
17:34:00raptorsam686 or watusimoto, can I pass an array [] over c2s rpc protocols?
17:34:00raptoror does everything need to be Vector?
18:14:00raptorwatusimoto: are you around?
19:09:00sam686rpc protocol doesn't handle array[], i don't think, better to go with Vector...
19:12:00raptorthanks sam686
19:28:00watusimotoaround
19:28:00watusimotoyes, vector
19:30:00raptoroh goodie, you're here
19:30:00raptorquestion about moving some of the logic client-side for the game commands
19:31:00raptorIs it actually worth it moving things like bounds-checking and argument sanitization client-side?
19:31:00raptorI will save some bandwidth, but a hacked client can take advantage
19:31:00raptorand possibly exploit
19:32:00raptorbut, the benefits may out weigh that risk (which is minimal)
19:32:00raptorwhat do you think, watusimoto?
19:34:00watusimotoI usually do bounds check on client side, with nice error message, then also on server side, but fail silently
19:35:00watusimotobut yes, we do need to protect against hacked clients
19:35:00watusimotobut the failure need not be so pretty if the client can check (and it should).
19:35:00watusimotoso both
19:36:00raptorok
19:36:00raptorI will implement the same logic on both sides
19:37:00raptorbut only give error messages client-side if possible
19:37:00raptorthanks
19:39:00watusimotoit's not _bad_ to give an error on the server side, just unncecessary if it has already been checked on cient
19:39:00raptorok
19:40:00raptornow the question is - is it even worth it to check on the client side? why not just call the rpc directly and let the server do everything? error message transmittion should be relatively low, right?
19:43:00raptorworth it, as in worth the duplicate code?
19:47:00watusimotoI like to check on the client side... what is the situation?
19:47:00raptorjust writing duplicate code
19:47:00watusimotooften the check can be put into a function that works client and server side
19:48:00raptorso the RPC calls are some what of a mess
19:48:00watusimotohow so?
19:49:00raptorlots of duplicate code,
19:49:00sam686what could be a problem with client side checks is if wanting to let players use something without admin permission of what would normally be admin only for example..
19:49:00raptori found a couple other RPC calls that do more than one thing (setServerParam)
19:49:00watusimotothat is my creation
19:49:00watusimotoit started as doing three tightly coupled actions, and spread a little
19:50:00raptorlooks like it is doing the similar stuff as processServerCommand
19:50:00raptorso that is all - i just find lots of inconsistency
19:50:00watusimotowhat?!? in bitfighter?!?
19:50:00raptorha!
19:51:00raptorsome things are in gameType, somethings in ServerGame
19:51:00sam686GameType::processServerCommand is entirely server side (only clients sends the command)
19:53:00sam686i don't know what is the use of moving /addbot away from processServerCommand when server has to do most checks anyway...
19:54:00sam686but, there should be an easier way of adding bots , maybe through menus...
20:01:00LordDVG Quit (Remote host closed the connection)
20:03:00watusimotoyes, I've thought about creating a bot-adding menu for the editor, perhaps could work in the game as well
20:03:00watusimotoyou pick the bot, specify the parameters
20:03:00watusimotowell. maybe that would be different than what players would want in-game
20:06:00raptorso maybe
20:06:00raptorI can create some helper bounds-checking methods similar to game->hasAdmin
20:31:00watusimoto Quit (Read error: Connection reset by peer)
20:32:00watusimoto has joined
21:02:00watusimotophooey
21:02:00raptor?
21:02:00watusimotowe've been calculating the database extents of walls wrong
21:02:00raptor???
21:02:00watusimotoI'm trying to use the database in the editor to make our object-cursor hit detection more efficient
21:03:00watusimotobut walls soemtimes aren't being found
21:03:00watusimotoand now I know why
21:04:00watusimotofor(S32 i = 0; i < objList->size(); i++)
21:04:00watusimoto {
21:04:00watusimoto EditorObject *obj = objList->get(i);
21:04:00watusimoto //if(isWallType(obj->getObjectTypeNumber()))
21:04:00watusimoto {
21:04:00watusimoto glColor(Colors::red);
21:04:00watusimoto glBegin(GL_LINE_LOOP);
21:04:00watusimoto glVertex2f(obj->getExtents().min.x, obj->getExtents().min.y);
21:04:00watusimoto glVertex2f(obj->getExtents().min.x, obj->getExtents().max.y);
21:04:00watusimoto glVertex2f(obj->getExtents().max.x, obj->getExtents().max.y);
21:04:00watusimotooops
21:04:00raptorhaha max.x = max.y
21:05:00watusimotooh right, this is irc... can't paste an image
21:05:00watusimotook, so I have an image on my clipboard... what's the easiest way to show it?
21:05:00raptorpost here: http://sam686.maxhushahn.com/upload3.php
21:06:00sam686open paint and file, save as type png
21:06:00watusimotothat requires me to open a gfx editor, paste the image, save it to a file soemwhere, then navigate there from the browse button
21:06:00sam686paste in paint usually with ctrl + V
21:06:00watusimotonot terribly convenient
21:06:00raptoris it screenshot of the game?
21:06:00watusimotowe need a pastie for images
21:06:00watusimotoof the editor
21:06:00raptorctrl q
21:06:00raptorlook in screenshots folder
21:06:00sam686if running bitfighter, ctrl + Q will already save it as png
21:07:00sam686in 016, it saves as png
21:10:00watusimotonow I'm searching for a solution via google
21:11:00raptora solution in search of a problem?
21:12:00sam686what do you want, a print screen button save to PNG file as in my linux (ubuntu) does that?
21:15:00sam686for you information, http://208.107.52.15/upload3.php is my computer hosting, and sam686.maxhushahn.com points to my computer set up by zoomber...
21:15:00sam686there is other image hosting sites, http://imageshack.us/ seem to be a good one..
21:16:00sam686there is others in google search, http://www.google.com/search?q=image+host
21:16:00watusimotoI often have an image on my clipoboard I just want to show people... I want a less cumbersome process!
21:17:00raptortry pasting here: http://www.twiddla.com/651224
21:17:00sam686http://sam686.maxhushahn.com/upload3.php its simple, upload a picture file, then copy and paste the link to here..
21:18:00sam686imageshack don't need to be registered... just upload and then share that link..
21:18:00raptoralso, any picture on the clipboard must be a datastream if you want to show people - that means making it into a file first
21:18:00raptorbitfighter can make those for you since we integrated PNG screenshots
21:20:00sam686but, you must choose a picture file (maybe a screenshot) or something to upload..
21:20:00watusimotofrustrated. overwhelmed. lost interest.
21:20:00watusimotosigh
21:21:00sam686oh, maybe one option is ultravnc or some computer screen sharing system...
21:29:00sam686i guess there isn't any easier way, irc simply ton
21:29:00sam686'won't let you paste a picture from clipboard..
21:31:00sam686maybe to avoid having to open an image editor, there is some windows software that will auto save any printscreen screenshots to a file..
21:33:00watusimotothere are plenty of those. I'm going to investigate whether there's a way via html. Probably not
21:34:00watusimotobut I'm giong to fix this #$%^ bug first
21:38:00raptorillegal channel name
22:03:00sam686 Quit (Ping timeout: 258 seconds)
22:04:00sam686 has joined
22:04:00ChanServ sets mode +v sam686
23:10:00BFLogBot - Commit 1de8213cf760 | Author: watusim...@bitfighter.org | Log: Remove "Wall" label from vertices
23:10:00BFLogBot - Commit 97c35feb1297 | Author: watusim...@bitfighter.org | Log: Formatting and slight optimization
23:10:00BFLogBot - Commit fa2e1f8deee3 | Author: watusim...@bitfighter.org | Log: Break big function down into smaller parts. This is a tiny bit less efficient (more jumps, etc.), but is much easier to understand, which is the important thing
23:10:00BFLogBot - Commit 1281682f0969 | Author: watusim...@bitfighter.org | Log: Getting ready to fix wonky wall selection in editor; but first, make item detection more efficient by using database to choose objects we need to consider (rather than cycling through all objects regardless of location) That's why we have a database, right? Selecting walls is disabled in this verison. Will be reneabled soon!
23:10:00BFLogBot - Commit 3b0844f4cd38 | Author: watusim...@bitfighter.org | Log: Pass by reference, not value
23:10:00BFLogBot - Commit f01003bdbcfe | Author: watusim...@bitfighter.org | Log: Variable name
23:10:00BFLogBot - Commit e475c7a40887 | Author: watusim...@bitfighter.org | Log: Formatting
23:10:00BFLogBot - Commit 74829d7aecb1 | Author: watusim...@bitfighter.org | Log: Wall selection much improved in editor -- can now select a wall anywhere you can see it, not just near the centerline.
23:10:00BFLogBot - Commit 02ffdcccb467 | Author: watusim...@bitfighter.org | Log: Move wall hit code into its own function, as with the other hit subcomponents
23:10:00BFLogBot - Commit 8fe396975289 | Author: watusim...@bitfighter.org | Log: Fixed the extent miscalculations, renamed some confusingly named functions, and added some (disabled) debugging code in the editor. maybe we'll delete it later.
23:10:00BFLogBot - Commit 34700dc7cb09 | Author: watusim...@bitfighter.org | Log: I *think* this name is clearer... it certainly is more accurate and explanatory
23:10:00raptoryikes!
23:54:00raptor Quit (Remote host closed the connection)

Index Search ←Prev date Next date→

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