#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2011-12-22

Timestamps are in GMT/BST.

00:15:00karamazovapythere are some accusations of registered name hacking in the game lobby
00:15:00karamazovapynot sure if it's just one player screwing with botfighter, though
00:18:00sam686it could be the master might have trouble reading the database, and then just let that person in, not underlined..
00:22:00sam686or it might have been some users leaked their password to log in, possible when the password is saved in bitfighter.ini
00:23:00Watusimotosam686 -- #38 on your list should be done (deleting large number of items is too slow) (came from my list, not sure how it got on yours!)
00:24:00WatusimotoI've made the items I think are done italic in the wiki
00:24:00sam686ok..
00:24:00Watusimotoyou can remove them when you are statisfied
00:25:00sam686i saw "hugo" not underlined a while ago... (though, that disappeared)
00:26:00sam686as in, not underlined in bitfighter.org
00:34:00Watusimotocould have been hugo (with space) or soemthing
00:36:00sam686possibly, though i didn't look hard enough...
00:37:00sam686only way to know for sure is to read master log file...
00:38:00sam686hint, in linux, use a command: cat bitfighter_master.log
00:38:00BFLogBot - Commit b7621efa8251 | Author: watusim...@bitfighter.org | Log: •Deleting large numbers of objects now dramatically faster; sadly, couldn't use work done in previous checkin...
00:38:00BFLogBot - Commit 76902a2a8c93 | Author: watusim...@bitfighter.org | Log: whitespace
00:38:00BFLogBot - Commit 9dcc022eced1 | Author: watusim...@bitfighter.org | Log: Extend wonders of modern batch deletion to dragging items to the dock
00:38:00BFLogBot - Commit 269a9b62b88f | Author: watusim...@bitfighter.org | Log: Comment
00:38:00BFLogBot - Commit b6c26c32c409 | Author: watusim...@bitfighter.org | Log: whitespace
00:40:00raptor has joined
00:40:00ChanServ sets mode +o raptor
00:42:00sam686there is some conflict and link errors trying to build master, it needs gameWeapons.h just for enum and WeaponInfo::getWeaponName, but gameWeapons include a lot of "ship.h" "projectile.h"... the stuff master won't use...
00:43:00raptorhello!!
00:43:00raptoroooo
00:44:00raptori leave for a few hours and we have stories of intrigue!
00:45:00sam686it seems a problem to have ProjectileInfo gProjInfo in gameWeapons.cpp, but "struct ProjectileInfo" om projectile.h
00:45:00sam686in, not om.
00:45:00raptormaster is failing to compile now?
00:46:00sam686yes
00:49:00raptorok, i'll take a look
00:53:00raptorstill looking through the latest changesets...
00:57:00raptorthat's a weird error
00:58:00raptorah I see
00:59:00raptormy header clean-up
01:05:00Watusimoto Quit (Ping timeout: 240 seconds)
01:32:00karamazovapyfyi - the two max678's (or whatever his name is) were both underliend
01:32:00karamazovapy*underlined
02:02:00sam6862 or more of a same name both underlined, could be one of several reasons.
02:02:00sam6861. One person runs multiple clients
02:02:00sam6862. If Hugo uses multiple computer, their login password is saved, that lets another person use that client without changing the username and password.
02:02:00sam6863. Hugo's username and password might have been leaked or shared by multiple people, ask Hugo to change password?
02:03:00sam686there are screenshots Botfighter sent me. http://sam686.maxhushahn.com/upload/botfighter_screenshot_bfhjgo22f.png http://sam686.maxhushahn.com/upload/botfighter_screenshot_blahbfhgo2.png
02:04:00karamazovapyyeah, I told him the same thing
02:04:00karamazovapyand told him to change his forum password if he was worried
02:05:00sam686I don't think Hugo itself use the forum much, because of Last visited: Mon Nov 28, 2011
02:14:00sam686you can edit your PM as long as it is in the Outbox (haven't been read by receiving person yet)
02:38:00Zoomber has joined
02:38:00ChanServ sets mode +v Zoomber
02:43:00Zoomber is now known as asdfasdf
02:43:00asdfasdf is now known as Test
02:48:00Test is now known as Minebot
02:48:00Minebot is now known as Mcbot
02:49:00Mcbot is now known as FactionBOT
03:40:00FactionBOT Quit (Quit: FactionBOT)
03:45:00raptorOK, I think I finally got the weapon stuff cleaned-up a little...
03:50:00raptorOK sam686, master should compile now with my latest changes
03:51:00sam686ah, and i just fix the master compile too (not pushed yet)
03:51:00raptorsorry - i had familial duties to attend to..
03:52:00sam686one thing that is broken - dedicated server compile...
03:52:00raptori'm sure
03:53:00raptorbut i'm still worried about the other bugs first...
03:53:00raptorand I'm on vacation!
03:54:00sam686oh then that means i need to edit my master/bitfighter_master.vcproj to add a file...
03:54:00raptoroops, i forgot that one...
03:54:00BFLogBot - Commit 596cc36ce433 | Author: buckyballreaction | Log: Reorganize weapon data - get rid of gWeapons and gProjInfo - also fix master compiling that relied on WeaponInfo class
03:54:00raptorsorry
03:54:00sam686although i don't think there is a mac master server...
03:54:00raptoryeah, no master for mac
03:54:00raptorever
03:54:00raptori mean, i'm not willing to put the work into it
04:07:00raptorone of these days I will compile with gcc -Wall
04:07:00raptorand see how compliant our code really is...
04:09:00BFLogBot - Commit f3dde5a1825f | Author: buckyballreaction | Log: Fix minor compile warning
04:10:00raptorjust for fun i'm compiling with -Wall...
04:10:00sam686what does that do?
04:10:00raptorturns on all of gcc's warnins
04:11:00raptorwarnings
04:11:00sam686let be guess, 10000 warnings...
04:12:00raptorhttp://pastebin.com/mR2b9UYe
04:12:00raptorthere we go...
04:13:00raptor Quit (Remote host closed the connection)
04:14:00raptor has joined
04:14:00ChanServ sets mode +o raptor
04:14:00sam686645 warnings..
04:14:00raptorlooks like many can be gotten rid of from just those ones in EditorObject.h..
04:15:00sam686many warning are simply repeating the same thing ( .h file)
04:16:00raptori bet if i add 'const' to those they'll go away...
04:18:00raptorbetter: http://pastebin.com/kkWzfvJN
04:19:00sam686436 warnings on that paste bin
04:19:00raptorhow did you count the warnings so fast?
04:22:00sam686i will print screen how i did that, chrome actually counts how many it finds for me..
04:22:00raptorinteresting
04:24:00sam686http://sam686.maxhushahn.com/upload/chrome_search.png look at top right
04:26:00raptorah neat
04:27:00sam686it might help to click on "RAW" pastie then search, so it doesn't count in double in the editor box bottom of pastis
04:27:00sam686http://pastebin.com/raw.php?i=kkWzfvJN it finds "warning" 387 times
04:31:00raptori'm not sure how to get rid of these warnings:
04:31:00raptorUIEditor.h:106:21: warning: ‘Zap::HIGHLIGHT_COLOR’ defined but not used [-Wunused-variable]
04:31:00raptorUIEditor.h:107:21: warning: ‘Zap::SELECT_COLOR’ defined but not used [-Wunused-variable]
04:31:00raptorstatic const S32 is allowed to be declared in a .h file
04:32:00raptorbut those are pointers...
04:37:00raptorI got it!
04:37:00sam686i think i have just fixed dedicated compile
04:38:00sam686and pushed..
04:39:00sam686!Read_Google_Code_Revision
04:39:00raptorok
04:39:00BFLogBot - Commit f6d1b802e775 | Author: sam8641 | Log: USE_EXCEPTION_BACKTRACE doesn't seem useful, it can crash in ways other then segfault.
04:39:00BFLogBot - Commit e801cb7da409 | Author: sam8641 | Log: Fix dedicated compile
04:39:00raptorhttp://pastebin.com/jx9vFwgQ
04:39:00raptor^^ got rid of more...
04:40:00sam686101 warnings on http://pastebin.com/raw.php?i=jx9vFwgQ
04:40:00raptorprogress!!
04:42:00FactionBOT has joined
04:42:00sam686ClientGame.cpp:945:10: warning: enumeration value �ReasonTimedOut� not handled in switch [-Wswitch]
04:42:00sam686i bet it is missing "default:"
04:42:00raptoryes
04:42:00raptori just solved the UIEditor one with a 'default'
04:49:00raptorthis is a fun one: soccerGame.cpp:511
04:50:00raptorto which 'if' statement is the 'else' supposed to go?
04:52:00sam686haha, i wonder if compiler choose the last if to make else belong to
04:53:00sam686well, as the number of space says, it should be the first else.
04:53:00raptorhaha, yep
04:53:00raptorthat's funny
04:53:00sam686but i guess compiler ignores repeated spaces
05:13:00FactionBOThi
05:13:00FactionBOTyoyo
05:13:00raptorhi zoomber
05:13:00FactionBOT is now known as Zoomber
05:13:00ChanServ sets mode +v Zoomber
05:16:00raptorok sam686, i'm gonna need your logic abilities here...
05:18:00sam686what is it?
05:19:00raptorif i int | int | int | int
05:19:00raptoris that the same as (int | int) | (int | int) ?
05:19:00sam686(int | int) | (int | int) is the same as int | int | int | int
05:20:00raptorok, that's what i thought
05:20:00sam686think of it as ||, but in multiple bits at a time..
05:20:00raptorok
05:24:00sam686cool, don't let the order of operation mess up the math, you can use paranthesis. http://en.wikipedia.org/wiki/Order_of_operations#Programming_languages
05:27:00sam686there is ^ operator, which is kind of the same as doing !=, but for each single bit..
05:28:00sam686note, in C++, ^ is "Bitwise exclusive OR"
05:30:00raptoryes
05:38:00raptorgameType.cpp:107
05:40:00raptorsolved it, nevermind
05:51:00raptorsam686: dataConnection.cpp:109
05:51:00raptorwhat is the precedence there?
06:04:00sam686while(!started || dataConn && dataConn->isEstablished()) it appears to do && first
06:04:00sam686just like this wiki says. http://en.wikipedia.org/wiki/Order_of_operations#Programming_languages
06:05:00raptorah, ok
06:06:00sam686otherwise, if it is this: (!started || dataConn) && dataConn->isEstablished() it will crash if not started and dataConn == NULL
06:09:00sam686boo, editor copy and paste crash on WallSegmentManager
06:10:00raptorblech
06:10:00sam686did you forgot "A"?
06:10:00sam686as in, bleach?
06:11:00sam686blech
06:11:00sam686oops, i thought i was typing into a search
06:11:00raptorhaha
06:12:00raptorjust a textual expression of disgust
06:12:00sam686http://en.wikipedia.org/wiki/Blech this tell me something else...
06:13:00sam686oh there is the meaning you talking about http://www.urbandictionary.com/define.php?term=blech
06:13:00raptoryep
06:18:00raptorok sam686, i'm about to commit a big clean-up
06:18:00raptori got all warnings except for 3 - which i think are there because watusimoto is in the middle of something
06:18:00raptori got all warnings fixed, i mean
06:19:00Zoomberyoyo karamazovapyAYYYY
06:20:00sam686ok
06:22:00raptorok pushed
06:22:00sam686it seems like my problem with 6357.levelgen, it just ignores all the parameters that was passed to it as if it was never passed into it, causing my 6357.levelgen to simply generate only one type - single team spawn points, no flag, no goal zones
06:23:00raptorodd
06:24:00sam686i tried 6357ctfbig, and it generate tiny level instead.. (should be big with 2 team turrets)
06:24:00BFLogBot - Commit d721e55d3937 | Author: buckyballreaction | Log: I did it now... I compiled with -Wall. This commit is the result of fixing the hundreds of warnings that appeared.
06:26:00sam686next: compile master with -Wall ?
06:28:00raptoroh yeah...
06:28:00raptori guess i could
06:31:00sam686i will need to get to bed soon, in a few ninutes..
06:31:00raptorlooks liek master only has 1 warning
06:32:00sam686well then, i guess you can fix that one warning and fix other stuff at the same time..
06:32:00sam686or same commit
06:34:00raptorphoew
06:34:00raptorthat was a long project
06:34:00BFLogBot - Commit c2cd46cfe16c | Author: buckyballreaction | Log: Let's make -Wall the default and see how it goes. Also fix warning with master compiling.
06:36:00raptorok good night
06:36:00raptori'm going to sleep, too
06:36:00sam686night
06:36:00sam686 Quit ()
06:37:00raptor Quit (Remote host closed the connection)
08:12:00kodax has joined
08:21:00kodax Quit (Quit: kodax out)
08:22:00kodax has joined
09:30:00Zoomber Quit (Quit: Zoomber)
09:31:00Zoomber has joined
09:31:00ChanServ sets mode +v Zoomber
11:45:00kodax Quit (Ping timeout: 240 seconds)
13:40:00Watusimoto has joined
13:51:00kodax has joined
13:56:00kodax Quit (Remote host closed the connection)
13:57:00kodax has joined
15:54:00raptor has joined
15:54:00ChanServ sets mode +o raptor
15:54:00raptorgood morning!
15:56:00raptorHi Watusimoto
15:56:00raptorI have a couple of code clean-up questions...
15:57:00raptor1. Event.cpp:153: pushSimulatedAltKeyPress() <-- is this going to be used anywhere?
16:00:00raptor2. luaLevelGenerator.cpp:74 and luaObject.cpp:365 both have an used method: ToggleMenuItem* getMenuItem()
16:00:00raptorunused method, i mean
16:44:00sam686 has joined
16:44:00ChanServ sets mode +v sam686
16:44:00watusimoto1 has joined
16:45:00watusimoto1hi
16:45:00sam686hi
16:45:00raptorhi
16:45:00sam686hi
16:45:00watusimoto1hey -- I'm on here twice
16:45:00raptorfork!
16:46:00sam686it might be you left your second computer on irc..
16:46:00watusimoto1kids playing video games, most likely
16:46:00watusimoto1had a great idea for bot sleep function
16:46:00raptorso I made Reactor -> Core, and I'm about to commit...
16:46:00watusimoto1great
16:46:00raptorbot sleep
16:47:00watusimoto1unsubscribe from onTick() events
16:47:00raptorsleep... what is that?
16:47:00watusimoto1and set a timer to resubscribe
16:47:00raptorah
16:47:00raptorneat idea
16:47:00watusimoto1maybe we just need to document this and not provide an explicit sleep function
16:47:00watusimoto1if it works
16:47:00watusimoto1or create a helper function in one of the helper script files
16:48:00watusimoto1will need to play around and see what feels right
16:48:00watusimoto1and if it works
16:49:00raptori like the subscription system
16:49:00watusimoto1I do too
16:50:00watusimoto1just tune into what you want
16:50:00watusimoto1the only complication is that I don;t know if you can unsubscribe to onTick events
16:50:00watusimoto1but if not, it can be fixed
16:51:00watusimoto1tonight's work will be related to lua
16:51:00raptortoday i'm travelling!
16:51:00watusimoto1great!
16:51:00watusimoto1fresh perspective
16:53:00raptori just caught a crash in the editor that i can't duplicate: http://pastie.org/3058121
16:55:00watusimoto1else if(mHitVertex != NONE && (!mHitItem || !mHitItem->isSelected())) // Hit a vertex of an unselected item
16:55:00watusimoto1 { // (braces required)
16:55:00watusimoto1 if(!mHitItem->vertSelected(mHitVertex))
16:55:00watusimoto1 {
16:55:00watusimoto1 clearSelection();
16:55:00watusimoto1 mHitItem->selectVert(mHitVertex);
16:55:00watusimoto1 onSelectionChanged();
16:55:00watusimoto1 }
16:55:00watusimoto1 }
16:55:00watusimoto1it made it down into the mHitItem->selectVert(mHitVertex); line
16:55:00watusimoto1mHitItem was probably null
16:56:00raptorhow can mHitItem be null?
16:56:00watusimoto1ah
16:56:00watusimoto1still looking
16:56:00watusimoto1maybe our line numbers are different?
16:57:00watusimoto1sorry, scrub all that
16:57:00watusimoto1no wait, don't
16:58:00raptori still can't dupe it... maybei'm just dumb
16:58:00watusimoto1just not sure where isSelected() is called
16:59:00watusimoto1neither clearSelection nor selectVert nor onSelectionChanged has an isselected in it
16:59:00raptorEditorObject
17:00:00watusimoto1ah, but this line does
17:00:00watusimoto1else if(mHitVertex != NONE && (!mHitItem || !mHitItem->isSelected()))
17:00:00watusimoto1for me that's 3496
17:00:00watusimoto1so yes, I think mHitItem was NULL
17:00:00watusimoto1first line of your stacktrace says this = 0x0
17:00:00watusimoto1inside isSelected
17:01:00watusimoto1but if mHitItem was NULL, the isSelected would not have been called
17:01:00raptorso we need a fail-fast test of mHitItem
17:02:00watusimoto1wfail-fast test?
17:02:00raptorinstaed of: mHitVertex != NONE && mHitItem->isSelected() && mHitItem->getGeomType() != geomPoint
17:02:00raptormHitVertex != NONE && mHitItem && mHitItem->isSelected() && mHitItem->getGeomType() != geomPoint
17:03:00watusimoto1you're looking at the wrong block
17:03:00watusimoto1I think
17:03:00raptorthat's 3501 in my file
17:03:00watusimoto1paste it
17:03:00watusimoto1or you did
17:03:00watusimoto1ok
17:03:00watusimoto1wait
17:03:00raptorhttp://pastie.org/3058157
17:04:00watusimoto1ok
17:04:00watusimoto1that's your proposed fix
17:04:00raptorno
17:04:00raptorthat's original code
17:04:00raptorproposed fix is to add a test '&& mHitItem'
17:05:00watusimoto1ah, that's 3476 for me
17:05:00watusimoto1so yes, need to insert that && mHitItem
17:06:00watusimoto1ok, that makes total sense
17:06:00raptori still don't know how i triggered it
17:06:00raptorfail-fast: a battery of tests where the null test is first and if it fails, the rest of the tests aren't evaluated
17:07:00watusimoto1well, if you fix it, you never will again
17:07:00raptori.e. if(obj != NULL && obj->someMethod)
17:07:00raptorNULL check must be first to trigger fail-fast
17:07:00watusimoto1yes
17:07:00watusimoto1ok, yes insert that, and problem solved
17:07:00raptorok will do
17:07:00watusimoto1every other line inthat area has one
17:09:00watusimoto1when you see this=0x0 in your stacktrace, it's usually an easy fix, just like NPEs in Java
17:09:00raptoryes - it was just bugging me that i couldn't dupe it
17:10:00BFLogBot - Commit 8878e7dfe214 | Author: buckyballreaction | Log: Reactor -> Core
17:10:00BFLogBot - Commit b1a9842c4071 | Author: buckyballreaction | Log: Fix segfault in Editor
17:21:00watusimoto1great, heading home now
17:21:00watusimoto1on later
17:23:00raptorlater
17:23:00raptorhave fun merging!
17:24:00raptor:-)
17:25:00watusimoto1 Quit (Read error: Operation timed out)
18:17:00Watusimoto_ has joined
18:19:00Watusimoto Quit (Ping timeout: 240 seconds)
18:36:00kodax Quit (Ping timeout: 248 seconds)
19:30:00Watusimoto_ Quit (Ping timeout: 252 seconds)
20:42:00koda has joined
20:52:00raptor Quit (Ping timeout: 252 seconds)
21:36:00Zoomber Quit (Quit: Zoomber)
21:36:00Zoomber has joined
21:36:00ChanServ sets mode +v Zoomber
21:51:00BFLogBot - Commit 32be3d61de13 | Author: sam8641 | Log: remove master "mVersionString", not needed anymore for new master.
22:23:00Watusimoto has joined

Index Search ←Prev date Next date→

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