#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-09-29

Timestamps are in GMT/BST.

00:00:20raptorblech
00:00:30raptorwhat is the code you wrote?
00:00:57kodaif (argv.contains("-rootdatadir") == NO)
00:01:24kodaEXTREME coding
00:02:57raptorcan you remove the ==NO?
00:03:08raptormaybe .contains doesn't really work on vector
00:03:16raptor(or Vector)
00:03:19kodai'm using Vector
00:03:28kodaand ==NO doesn't affect it :\
00:04:59raptorhuh - you may have found a bug in our Vector class...
00:05:13raptorwhat line number is it giving in tnlVector.h?
00:06:48kodaumh it's not failing in tnlVector.h
00:06:59kodaonly in the line i gave you
00:08:25raptortry adding before it: const string s = "-rootdatadir";
00:08:31raptorthen do contains(s)
00:08:43raptori think it that evil const modifier
00:08:50raptorwhich we all so love
00:09:01koda:P
00:09:04kodano it's not that
00:09:07kodasame error
00:11:35raptorha! duplicated the error
00:11:40raptorok, now to see how to fix
00:14:07raptorhttp://pastie.org/4858415hey sam686, is there a way to get this to compile?:
00:14:11raptorhttp://pastie.org/4858415
00:14:13raptoroops
00:14:27raptorits the const part of Vector that is making it fail...
00:15:32kodaor i can just use vector at this point...
00:15:49raptoryeah... that may be better, even though it doesn't have a contains() (i think)
00:15:57kodait doesn't
00:16:05kodathat's why i was trying to get Vector to work :p
00:16:21sam686looking at that..
00:18:06raptorargh, the solution is to add 'const' to the end of contains like so: bool contains(const T&) const;
00:18:11raptorwhy oh why
00:18:51raptorkoda: can you remove the 'const' part of the argument liek so: setDefaultPaths(vector<string> &argv);
00:18:55raptorjust to see what happens :)
00:19:26kodayes also because getStlVector is giving me a linking problem right now
00:19:34raptoryay linking
00:20:01raptorif you remove the 'const' in the argument, you have to promise not to modify the Vector :)
00:20:19kodabut i want to modify it >_<
00:21:03raptorok, well... i need to get home
00:21:24raptori'll be back on later... but i assume you'll probably be asleep. I'll look at the logs for anything you post
00:21:32kodaokey dokey
00:21:36kodathanks for the help :)
00:21:39raptorand thanks!
00:21:53raptorif you register an account on the forums, i'll get you the badge
00:21:54sam686just add a const at the end of fucntion line in tnlVector.h
00:22:09raptorok, see you all laters
00:22:29raptor Quit ()
00:26:33sam686Ok kaen, If you update / pull the bitfighter main repository, cause I fixed the http://pastie.org/4858415 case
00:27:12BFLogBot - Commit 4d296696ed0c | Author: sam8641 | Log: Fix some of const access in tnlVector.
00:27:15sam686i mean, koda, thats a fix I did
00:29:35koda tries
00:53:54kodasam686: ok the contains method now works but i get the previous error when i use .push_back
00:55:09sam686I don't think you can push_back a const, because that will be modifying the Vector (and no longer be a const)
00:56:04kodaok, so just need to remove const from the prototype
00:56:15sam686yes.
00:57:15kodawell that was easy but indeed works :P
00:58:03amginea135246 has joined
00:58:15amginea135246umm whered ya go sam
00:58:32sam686in a FordCars server
00:58:47amginea135246i didnt see it whats its name
01:01:25koda\o/
01:05:49kodasam686, raptor pushed my changes :)
01:17:18amginea135246what do oyu mean koda?
01:18:30sam686amgine, pushing changes to repository mostly means uploading changes to repository.
01:19:22sam686as in, this repository changes: http://code.google.com/p/bitfighter/source/list
01:24:52amginea135246btw sam what you saw was small sacle large enough scales = a crash that wasent the real level and ill never publish it either
01:25:53sam686millions of flag spawns spawning flag every one second in a Nexus game level...
01:26:18amginea135246 like the one i just did froze the program im waiting for it to close
01:26:46amginea135246 so i was thinking of maybe you could chage the course code to limit the max numbr of flags on ALL servers
01:26:51amginea135246source
01:27:07amginea135246 on a level or else........
01:27:13sam686use task manager and end task all "Bitfighter.exe" in process tab (if using windows) when bitfighter freezes..
01:27:30amginea135246i did it stills not closed yet and its almost crashed my ocmputer now
01:27:48amginea135246 im sufffering major cpu problesm
01:28:25sam686go to process tab, click CPU column to sort, and end tack high CPU usage
01:29:24amginea135246there we go as you see it is a very hihg pritorty to fix that and i wouldnt of said that in the irc btw cause now people might do it
01:32:21amginea135246promise me you will stay and here and report it to raptor or wattisimo
01:34:34amginea135246 Quit (Quit: Page closed)
01:36:16sam686Servers that don't allow level uploads aren't going to crash from not being able to upload a level having "millions of flag spawns on nexus"
01:37:37amginea123456 has joined
01:40:09amginea123456hello sam?
01:40:32sam686hi
01:41:55raptor has joined
01:41:55ChanServ sets mode +o raptor
01:42:02raptorhi, not here for long...
01:42:04Fordcars has joined
01:42:12sam686hi
01:42:19FordcarsHI
01:42:20BFLogBot - Commit dc4b4967722b | Author: koda | Log: set default rootdatadir and sfxdir on osx if they are not set, so you can launch Bitfighter directly from the app bundle
01:42:38raptorhi
01:42:41FordcarsOk you had to click connect
01:42:48sam686yes..
01:43:17sam686I think its the first time Fordcars using a KVIrc client for windows, like I use..
01:43:55sam686oh and messages containing your name alerts you, too..
01:44:17amginea123456raptor sam wants to reprot somthing to you i reprotd to him
01:44:24Fordcarsnice small window thing
01:44:40koda\o/
01:44:47sam686As I said when amgine wasn't here for a few minutes: Servers that don't allow level uploads aren't going to crash from not being able to upload a level having "millions of flag spawns on nexus"
01:44:59kodaalso i just registered to the forums
01:45:02raptorlooked koda... and even compiles!
01:45:16amginea123456yes but servers that can......
01:45:22kodathat's incredible, right
01:45:45Fordcarslater
01:45:48raptorbye
01:45:52raptorkoda: what is your forum name?
01:45:53Fordcarsbye
01:46:07kodakoda but still waiting the activation email
01:46:14kodawaiting for*
01:46:19amginea123456anyways to many flag spawns = crash
01:46:37Fordcars Quit (Client Quit)
01:47:30raptori activated it for you koda
01:47:36raptormy guess it was 'koda'?
01:47:38raptor(I hope)
01:48:17amginea123456so raptro any diea when vrsion 18 will come out?
01:48:46raptornope
01:48:55raptorprobably within the next month (hopefully)
01:49:16raptorbut no guarantees
01:49:16amginea123456cool =)
01:49:30amginea123456i know im patient i cant wait XD
01:49:40raptor awards the dev badge to koda
01:50:06koda gladly accepts the badge from raptor
01:50:14amginea123456do bad my bot work im doing doesnt earn me one*
01:51:04raptorso if you join a game now, koda, and press <tab> to see the scoreboard, you should see you're shiny new badge next to your name
01:51:06amginea123456 alhtough i would like to see if i could fix the bot path problems with getting stuck on arrows and forcefeilds
01:51:25kodaneat
01:51:30kodawill try that
01:51:43raptor*your (not 'you're' - I am ashamed)
01:52:13raptoramginea123456: you should know that s_bot has changed a lot since 017
01:52:25kodanow that that part is fixed i plan to start from there and see if i can contribute more
01:52:44raptor jumps for joy at having a REAL Apple dev around
01:53:02raptorno more hedgewars work?
01:53:04raptor:)
01:53:11kodaapple dev? where? >_>
01:53:14amginea123456we;; i bet my S-bot could outpreform S_bot
01:53:23amginea123456err a_bot
01:53:55kodaraptor: nah, quite a lot to do with hw, but i wanted to focus on some new project
01:54:06kodamaybe i'll finally be able to program in c++
01:54:06raptorexcellent!
01:54:29raptorit's funny - i think we open source coders like to drift around a bit
01:54:38raptorwe have a main project, but like to help on others
01:54:42kodaor maybe i'll get swamped of work and not be able to either :p
01:54:55kodayeah that too
01:54:59amginea123456*wants to help*
01:56:41amginea123456*and get dev badge*
01:57:50sam686for one thing, kod a already have been commiting and helping bithfgither C++ code..
01:59:16raptoramginea123456: you get the dev badge if you get a revision into the code tree :)
01:59:54raptor goes to test out the xcode play button
02:00:39amginea123456dont be fooled my a_bot is good
02:02:04amginea123456and im still improving it
02:02:27amginea123456currently it out performs the current S_bot
02:04:06kodamaybe that nasty 'system()' hack could be improved...
02:04:16koda*tomorrow*
02:05:29raptorsystem() hack?
02:10:01amginea123456yeah
02:10:18kodathe one that calls the old bitfighter.sh script
02:13:58raptor Quit (Remote host closed the connection)
02:14:51raptor has joined
02:14:51ChanServ sets mode +o raptor
02:18:35raptor Quit (Client Quit)
02:32:15raptor has joined
02:32:15ChanServ sets mode +o raptor
02:32:24raptorconnection problems...
02:32:25raptor:(
02:33:15sam686connection problems? I saw just "raptor has quit IRC: Client Quit"
02:41:04raptorgotta go! might not be back tonight
02:41:08raptornight!
02:41:12sam686ok
02:41:23raptor Quit ()
02:51:31amginea123456 Quit (Quit: Page closed)
03:07:36amgine136246 has joined
03:14:17Fordcars has joined
03:14:28Fordcarshey
03:17:27Fordcars Quit (Client Quit)
03:17:48Fordcars has joined
04:13:08sam686hi
04:15:02amgine136246<<< is afk
04:39:20Fordcars Quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
05:18:14amgine136246samyour still here?
05:18:33amgine136246koda hello anyone?
05:18:40sam686Yes, but not for long..
05:19:35amgine136246 i just have a question so youve played my double decker maps the problems is you cant make the rings on solid shope is there and way to do that?
05:20:21amgine136246also is there any way to make a full circle with the draw curves plugin
05:20:37amgine136246 thats all i wonder and i want to to go to bed after you answer
05:21:47sam686not sure, if you can create a GoalZone circle, you can change it to PolyWall in a level file..
05:22:58sam686you could edit the plugin, in bitfighter files, /scripts/plugin
05:22:59amgine136246cause i want to be able to make shapes that have holes on them so they are one solid peice for exmple if you make sqares it treats it like 4 wall over laping i dont want that
05:23:01sam686_arc.lua
05:24:38sam686I guess the only way to make shape with holes is to use 2 walls (probably poly wall) overlapping to make it look like one shape with hole..
05:28:46amgine136246never mind you dont ubnderstand me go to bed
05:29:19sam686good night
05:29:24sam686 has left
05:42:05amgine136246 Quit (Quit: Page closed)
05:57:28raptor has joined
05:57:28ChanServ sets mode +o raptor
06:35:08raptor Quit ()
08:14:42Watusimoto has joined
10:17:25koda Quit (Quit: koda)
12:29:51raptor has joined
12:29:51ChanServ sets mode +o raptor
12:31:32Watusimotohello
12:31:35raptorhi
12:31:57WatusimotoWill anyone ever read these docs I'm writing?
12:32:11raptorperhaps
12:32:24raptori'm sure I will a little bit to update any previous bots...
12:33:11BFLogBot - Commit d129d070a7a9 | Author: watusim...@bitfighter.org | Log: doxygen improvements
12:33:13BFLogBot - Commit e34930174593 | Author: watusim...@bitfighter.org | Log: luadoc now launches doxygen, making it a one-stop doc builder
12:33:14BFLogBot - Commit faff41ad8767 | Author: watusim...@bitfighter.org | Log: Lua docs
12:33:16BFLogBot - Commit c7c98b201fcd | Author: watusim...@bitfighter.org | Log: Documentation and remove MoveItem from the Lua class hiearchy (still part of the normal C++ classes, but it unnecessarily complicates the class system as seen from Lua)
12:33:17BFLogBot - Commit e9f8a9b216bb | Author: watusim...@bitfighter.org | Log: Comment & small docs update
12:33:19BFLogBot - Commit 370481ad546f | Author: watusim...@bitfighter.org | Log: Add missing method
12:33:20BFLogBot - Commit 66b2d15e658d | Author: watusim...@bitfighter.org | Log: More documentation
12:33:22BFLogBot - Commit 4f6146413f83 | Author: watusim...@bitfighter.org | Log: Merge
12:36:53raptoryou probably want to hear something like: "yes! and they will help steer future generations towards progress!"
12:40:52Watusimotomaybe I'd rather hear, "probably not. forget about it; go outside and do something fun with your kids while they still don't hate you."
12:41:32raptorthat's good too! :)
12:41:43Watusimoto:-)
12:42:06koda has joined
12:47:30raptoroff-topic question: you wouldn't happen to know a good way to set a rib back in place?
12:48:25BFLogBot - Commit 379e5d99742f | Author: watusim...@bitfighter.org | Log: Rename HeatSeeker to Seeker internally
12:48:27BFLogBot - Commit 622d1d422962 | Author: watusim...@bitfighter.org | Log: Fix compile issue & docs
12:49:24Watusimotoseekers are move items? who knew?
12:49:31Watusimotoset a rib?
12:49:35Watusimotois it out of place?
12:49:38raptori've got at least one that's slipped out of where it attaches to the spine (because of muscle tension)
12:49:44Watusimoto(perhaps a dumb question)
12:49:51Watusimotoslipped out??
12:50:10raptorwell, technically, it doesn't come *out*
12:50:14WatusimotoI'd suggest seeing a doctor over that one
12:50:27Watusimotodetachment sounds bad to me
12:51:04Watusimoto(and I'm they guy who broke a rib skiing, and canceled my doctor's appointment because it started snowing, and I didn't want to miss skiing in the fresh poweder)
12:51:11raptorha
12:51:22Watusimotoit was *almost* worth the pain!
12:51:29raptorhaha
12:52:04Watusimotobut with a fracture, it heals itself if you can immobilize it somehow. A "disjointed" rib, not so sure
12:52:16raptorwell my problem is that i'm a tense person and my own muscles have pushed it out of place
12:52:31Watusimotoyou don't seem tense!
12:52:56WatusimotoI do know that you can get a treatment that will relax your muscles
12:53:19WatusimotoI had electric shocks applied to some muscles in my back to get them accustomed to moving, rather than just clentching
12:53:41raptorinteresting
12:54:26WatusimotoI went hoping for massage treatment, and got jolted instead. Basically they let me turn up the juice until I was at the edge of unbearable pain.
12:54:40raptoroooo, that's sounds good, actually
12:54:55Watusimotoespecially when they turned the power off!
12:54:58raptor(pain helps me relax afterwards)
12:55:08Watusimotowell, that worked really well for me
12:56:20raptori can never tell what type of doctor to go for things like this: standard industrial doctors just seem to give pills, chiropractors seem to give partial, instant relief
12:56:48raptori've never been to a massage therapist or the like..
12:57:04Watusimototry that
12:57:17raptoroh yay, i can compile again
12:57:44Watusimotoa "conventional" (read science based) doctor may give pills without considering other treatments, but then that may not be the right doc for you
12:58:13WatusimotoThis does seem to be one case where a chiropractor might be able to help
12:58:24Watusimotobut I wouldn't try one for a stomach flu, for example
12:59:09raptorheh
12:59:25raptorthis has been an ongoing problem for about 4 months now
12:59:57raptorit's just that it's so bad now that i'm not getting much sleep
13:00:09raptorthat's why i was up at 6am on a Saturday!
13:00:54WatusimotoTry a massage therapist
13:01:00Watusimotothat's where I got my shocks
13:01:19raptorhmm, ok
13:02:00raptormy wife and I have been disillusioned with 'conventional' doctors/pediatricians the last few times - it seems like they don't make diagnoses anymore
13:02:30raptorthey just hand you over to 'specialists' without getting involved (then charge your insurance a couple hundred $)
13:05:33raptoroh hey, another SDL patch i needed to apply for Mac isn't needed anymore!
13:05:52raptorand some possible android OpenGL fixes...
13:07:00Watusimotowhat did we decide about shooting down seekers with phaser?
13:07:11raptorthat it was difficult
13:07:14raptornot much else
13:07:18Watusimotoabout the docs, you are probably going to the wrong ones
13:07:32Watusimotolike any professional, some will see things like you do, some won't
13:07:47raptoryeah, that's true
13:08:18raptorbut the last problem my year old had was solved by wikipedia because the doc just gave antibiotics and sent us home
13:08:23raptor*1 year old
13:10:17raptorso with seekers - are you contemplating make then shootable?
13:10:20raptor*them
13:13:33Watusimotoyes
13:13:44Watusimotoand get a new doctor
13:13:59Watusimotobut not a luxembourgish one... they give you 100 pills for a common cold
13:14:09raptorblech
13:14:16Watusimotoyou need to get a doctor's note for almost every absence from school or work
13:14:24Watusimotoand they give you meds
13:14:35Watusimotonext time I told my wife to say no
13:14:40raptorman
13:19:58koda Quit (Quit: koda)
13:28:20raptorseeker was a moveitem because it was originally based on burst
13:31:16Watusimoto Quit (Ping timeout: 245 seconds)
14:45:23koda has joined
15:10:33kodahi
15:27:02kodaraptor: i'm dissecting the old bitfighter.sh, can you explain me the various numbers in upgrade specifics and what they are for please?
15:31:14raptorhi kida
15:31:17raptorkoda:
15:31:28raptorlet me look...
15:31:53raptorok
15:32:04raptorso with each release, there are upgrade directives
15:32:47raptorso for instance with release 015a, we added the AI s_bot. so i put a check in the script to test for its existence, if it isn't found, then copy it over
15:33:24sam686 has joined
15:33:24ChanServ sets mode +v sam686
15:33:27raptorfor 016, we decided to have the scripts/plugins/levels in the user data dir
15:33:35raptorand so on
15:34:06kodaumh
15:34:23kodathat's why the check for first time is only on $userdatadir/robots, right
15:36:21raptoroh that..
15:36:45raptoryeah, well... i didn't think this through very well
15:37:55raptorthe logic isn't all that great... in fact, i wonder if it should be done in the cpp
15:38:02raptor1. determine if it is an upgrade
15:38:08raptor2. if so, do junk
15:38:44kodai can do that on the objc front
15:39:04raptorif you look in main.cpp
15:39:07raptorthere is checkIfThisIsAnUpdate()
15:39:18raptorthat does INI upgrades for settings we may change
15:39:47raptorall this stuff should probably be consolidated...
15:42:05kodayeah, so...
15:42:25kodano objc haxx?
15:42:52raptori'm not sure...
15:42:58raptorsam686: you around?
15:44:38raptorso i guess there are two parts to upgrading: the INI stuff, and the file stuff
15:44:49raptorINI stuff can easily be handled in .cpcp
15:45:05raptorthe file stuff...
15:45:12raptornot really sure how best to do that in cros
15:45:22raptorcross platform environment
15:45:41kodawell i converted the initial directory creation, maybe i can commit that first and then think about the updates
15:45:47koda adds a todo note
15:46:08raptormaybe in cpp, somehow, using paths to the various game directories..
15:46:27raptorok
15:46:50raptorwell, i need to go for a couple hours - i'll be back later
15:46:57kodacya
15:47:11raptorsam686: if you're around, how does Windows update it's files with a new release?
15:47:16raptor(for when I come back)
15:47:19raptorbye now
15:47:22raptor Quit ()
15:47:40kodaand also how does it create the first time directories
15:59:25kodapushed my changes btw
16:05:08sam686there is build/windows/installer/updator which bacically downloads the nsis installer i think, and then the installer overwrites old files with newer files, but keeps any old files not overwritten by installer..
16:06:16kodaso it basically overwrites the files every time there is an update
16:07:10sam686yes, files not in installer includes bitfighter.ini, logs, and custom levels..
16:37:33Watusimoto has joined
16:45:01uknow has joined
16:45:15uknowhey
16:46:27sam686hi\
16:48:09uknow:)
16:48:20uknowalot of people still play at this game?
16:49:04sam686There may be a few players, though I can play..
17:09:22sam686I will be gone for a few hours.
17:09:27sam686 has left
17:17:28Watusimoto Quit (Ping timeout: 255 seconds)
18:09:53uknow Quit (Ping timeout: 245 seconds)
18:22:11Watusimoto has joined
18:38:43raptor has joined
18:38:43ChanServ sets mode +o raptor
18:54:29raptorhello
19:01:21LordDVG has joined
19:13:22raptorbrb
20:59:30raptorhiello
21:23:13Watusimotohi
21:23:31raptorhi
21:44:21LordDVG Quit (Quit: Leaving)
21:47:04raptor Quit ()
22:32:37amgine135246 has joined
22:33:35amgine135246hi
22:44:30Watusimotohi
22:49:22BFLogBot - Commit 0dc394bdc407 | Author: watusim...@bitfighter.org | Log: Docs update
22:49:23BFLogBot - Commit dca25503c339 | Author: watusim...@bitfighter.org | Log: Seekers can be shot down with other projectiles.
23:19:03raptor has joined
23:19:04ChanServ sets mode +o raptor
23:19:24amgine135246hi raptor
23:24:39amgine135246 i had a tencical quetion how does using the servers login get peoples i.p another game i play online had hte problems of guests (the equivivlent of chump chages logging in and harrsing people and being rude however the mods since its not a a acunt cant do a acount ban so we need to be able to do i.p bans
23:33:34raptoramgine135246: if it's your own server, you can look in the bitfighter_server.log for the IP address of anyone who connects
23:33:56sam686 has joined
23:33:56ChanServ sets mode +v sam686
23:36:19raptoryou cannot ban anyone on a server unless you are the administrator of the server
23:39:25sam686you hosting = you running a server that quits when you leave. (to keep server up without a bitfighter graphics window, run bitfighter as -dedicated startup command)
23:55:23amgine135246umm i dont htink you understood what i asked

Index Search ←Prev date Next date→

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