#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2014-01-05

Timestamps are in GMT/BST.

00:07:13raptorWatusimoto: now take a look at the motd on the forums...
00:07:47Watusimotogreat! Let's try that for a few days and see how we like it
00:07:58raptorok... it doesn't blind you, does it?
00:07:59WatusimotoMuch more visible
00:08:06Watusimotono, not at all
00:08:14raptorok
00:08:19raptorit's almost too much for me
00:08:31Watusimotowell, maybe a little, but I like it anyway
00:08:36raptorok
00:08:42Watusimotolet's get some feedback from others
00:09:07Flynnn Quit (Quit: This computer has gone to sleep)
00:15:57raptorthis commit is fun
00:16:03BFLogBot Commit: 27510d7318bb | Author: buckyballreaction | Message: Fix floating point problems with game time when saving levels in the editor
00:16:07raptorMy solution feels like overkill
00:19:09SkybaxOverkill is fun
00:20:07raptorthat fixes your game time problem Skybax
00:20:25SkybaxHoorah
00:22:20oskopekgood night everyone
00:25:50kumul has joined
00:31:40Flynnn has joined
00:51:07vs73nx has joined
00:55:30vs73nxhi
00:55:41vs73nxim completly stuck on my GCI task
00:56:45vs73nxi dont know how to specify to bitfighter what levelsource to use
00:57:26vs73nxfolderlevelsource seems to be the default levelsource for a lot of the fuctions of bitfighter
01:00:12fordcars has joined
01:04:28Watusimotohi
01:04:43WatusimotoI'm about to go to bed, but will try to get you started if I can
01:05:23Watusimotook, so you know where the game creates a folderlevelsource now, right?
01:05:34vs73nxseveral places
01:05:36Watusimotoyes
01:05:47Watusimotowhen it does that, it will now have to make a choice
01:05:58Watusimotoeither use the folderlevelsource, or use your new levelsource
01:06:08SkybaxHi Ford!
01:06:09vs73nxhow would i tell bitfighter what choice it is?
01:06:19Watusimotothat's where the cmd line optino comes in
01:07:00Watusimotoif you specify something like -usefile (or whatever), then the game will know to use your new levelsource
01:07:16Watusimotoif that option is omitted, it will use the folderlevelsource as it always has
01:07:22Watusimotodoes that make sense?
01:07:27vs73nxyes
01:08:06Watusimotoso the way I would do it is to create a new function called something like chooseLevelSource()
01:08:22Watusimotopass it what it needs, and let it return a levelsource to you
01:08:33Watusimotoand you can call that from wherever you need to make that decision
01:08:37fordcarsHi
01:08:43vs73nxok
01:08:46amgineawattismo pc
01:08:51Watusimotodoes that help at all?
01:08:55fordcarsHi vs73!
01:09:14vs73nxits vs37nx
01:09:16fordcarsSkybax, for some reason the bot works
01:09:24SkybaxFor some reason? xD
01:09:30vs73nxthe 73 was a typo while i was regersting for freenode
01:09:30fordcarsLol
01:10:58fordcarsSOmetimes Bitfighter does that with bots
01:11:12fordcarsIt poops on you when you try to debug it
01:11:17fordcarsAnd then suddenly works
01:11:20vs73nxWatusimoto: what data type would the function return?
01:11:39vs73nxprobably a pointer
01:11:45vs73nxbut to what?
01:12:33vs73nxor it could be a bool
01:12:51vs73nxisUsingPlaylist
01:13:08Watusimotowell...
01:13:09vs73nxreturns falso if not ising a playlist and true if it is
01:13:51Watusimotowhat about a pointer to a LevelSource
01:14:10vs73nxbut whichoen?
01:14:14WatusimotoLevelSource *chooseLevelSource(...)
01:14:25vs73nxoh
01:14:29Watusimotoall of them are LevelSources, after all
01:14:32Watusimotopolymorphism!
01:14:44Watusimotothat's the beauty of it
01:14:53vs73nxmore like uglieness
01:14:57vs73nxC FTW
01:14:59Watusimotono, not at all
01:15:25Watusimotoyou can create a new levelsource, and have the game use it without further modification (theoretically)
01:15:36Watusimotoas long as that levelsource implementes the interface defined by LevelSource
01:15:43vs73nxok...
01:15:48Watusimotoit's actually quite elegant
01:15:52vs73nxihmm
01:15:55Watusimotoonce you get your head wrapped around it
01:15:55vs73nxagreed
01:16:16vs73nxi started programming with JAVA so i should understand this stuff...
01:16:40SkybaxWell okay then xD
01:17:03vs73nxbut that was a year ago so i cant remember back that long.. :D
01:17:08WatusimotoI don't have a lot of good to say about java, but it does do classes reasonably well
01:17:33SkybaxSo is it ready then. fordcars?
01:17:49fordcarsI tried to develop something on Mobile Java for an old Cell Phone, never good to create a MIDlet or whatever
01:17:57fordcarsSkybax, not yet haha
01:18:04SkybaxOhkay xD
01:18:07fordcarsI have to clean all the debugging stuff away
01:18:13fordcarsIt was really a pain
01:21:06Watusimotoin Java terms, think of LevelSource as an interface
01:21:22WatusimotoThe only difference is that it also includes some implementation code
01:25:12raptora standard abstract class
01:27:30amgineawattisimo did you see my query
01:27:56amginearaptor S_bot has gotten super dumb he needs a update in his codeing
01:28:30raptorthat's a known issue, thanks
01:28:48Watusimotoamginea: where is your query?
01:28:51fordcarsamgina, the problem is more of a Bitfighter problem, Waypoints aka Bot Nav Zones
01:29:12Watusimotoamginea: we know that s_bot is having problems
01:29:18raptorfordcars: i don't think so
01:29:29amgineai re queryd you
01:29:34fordcarsWell that is the only problem I've seen with it
01:29:47fordcarsAnd soccer, but you know
01:30:15raptorheh, yes - soccer has major problems
01:35:06WatusimotoSkybax: I sent you a message on a private irc link... did you see it?
01:36:07amgineawould a chatlog.ini file be possible to add to Bitfighter
01:36:59Watusimotogenerally, we don't log chats
01:37:20amgineabut it would be only for a user to see what was going on on there server
01:37:32amgineaalso you log the irc XD
01:37:37Watusimotoyes, we do log that
01:37:39raptoryou can do it voa levelgen
01:37:42fordcarsA levelgen and bitfighter io would be perfect for that
01:37:50fordcars^^
01:37:53raptorio is out!
01:37:57Watusimotogenerally, I dislike logging of conversations
01:38:05fordcarsYayy!
01:38:17fordcarswatusimoto, bitfighter.org/irclogs
01:38:18raptorout as in gone!
01:38:19Watusimotothis channel included, but here it can be useful so we do it anyway
01:38:36Watusimotofordcars: :-)
01:38:43fordcars:)
01:38:49fordcarsraptor, why!
01:38:55raptorbecause... io
01:39:23amgineai know nothing about lev gens
01:39:38fordcarsraptor,
01:39:45fordcarsI meant sandboxed thing
01:39:54fordcarsSorry :x
01:39:59raptorio as in How-to-wipe-your-home-directory-with-a-robot 101
01:40:03Watusimotoamginea: do you run your own server?
01:40:36fordcarsYay!
01:40:43fordcarsYeah I know raptor
01:40:45amgineayes
01:41:22raptorbut, fordcars, we do provide these: http://bitfighter.org/luadocs/classglobal.html
01:41:26Watusimotowell, maybe someone can help you write a chat logger if you really want one
01:41:36fordcarsYes those thanks :)
01:41:55Watusimotoactually, raptor, if io is out, how would you write a log?
01:42:04fordcarshttp://bitfighter.org/luadocs/classglobal.html
01:42:06fordcars:)
01:42:06raptorWatusimoto: http://bitfighter.org/luadocs/classglobal.html
01:42:25fordcarsin screenshots folder I think
01:42:29Watusimotogood ol' classglobal!
01:42:29raptorwe provide reading and writing methods, but only on files in the 'screenshots' folder
01:42:43raptorjust to be safe...
01:42:48Watusimotook... I imagine we discussed this at one point, and I concurred
01:42:56raptoryes
01:42:56Watusimotoseems a reasonable place
01:43:03Skybax Quit (Ping timeout: 272 seconds)
01:43:03raptorbecause io was waaay too dangerous
01:43:08Watusimotoyes
01:43:13fordcarsraptor, why is it logprint and not logPrint?
01:43:20raptorin Lua?
01:43:24fordcarsyeah
01:43:33raptorbecause... ummm... we hate capital letters?
01:43:34Watusimotoit comes from logprintf in our c++ code
01:43:41Watusimotothat's how we're used to seeing it
01:43:44fordcarsOh ok
01:43:57WatusimotologPrint looks wrong, even if it is more consistent
01:43:57fordcarsIt's just, pretty much the only method like this
01:44:09fordcarsYes ok you win :P
01:44:38Watusimotoand if we changed our code... what would that be? logPrintF?
01:44:44fordcarsnononoonon
01:44:46Watusimotoblech
01:44:55WatusimotologPRINTf
01:45:04fordcarsThen, change all standard libraries
01:45:09Watusimotoexactly!
01:45:11fordcarspRIntf
01:45:27fordcarsThen, change c++
01:45:29Watusimotogoes all they way back to 1973 and the dawn of C
01:45:32fordcars:)
01:45:34fordcarsYeah
01:45:37Watusimoto(or whenever)
01:50:20Watusimotoraptor: what was this a fix for? getRemainingGameTimeInMinutesString
01:51:18fordcarsA shorter name
01:52:04Skybax has joined
01:52:18raptorhaha
01:52:31raptorWatusimoto: I don't know where that method came from
01:52:41raptorthe meethod name
01:53:04raptorbut I added that fix because of this bug: https://code.google.com/p/bitfighter/issues/detail?id=356
01:54:14YoshiSmb has joined
01:55:02vs73nxhow would i check if im using a command line param or not?
01:57:33Watusimotooops!
01:58:10Watusimotovs73nx: add a new parameter to here:
01:58:11WatusimotoParamInfo paramDefs
01:58:40Watusimotoaccess it with soemthing like this:
01:58:59Watusimotostring GameSettings::getString(ParamId paramId)
01:59:17Watusimotoif you want a parameter that was like -uselevelfile filexxx
01:59:25Watusimotothat function will return the filexxx bit
01:59:43Watusimotoif the parameter was not specified, you'll get back a ""
02:00:55raptorthis is my current life: http://imagebin.org/285181
02:01:00vs73nxok thanks
02:03:37Watusimotowow... you've progressed fast
02:03:56Watusimotonone of this 1 turn a day stuff for you!
02:04:05raptoryeah, i built a semi-monster race
02:04:14raptorbut fighting hyper-expansion is starting to get crazy
02:05:04Watusimotothat's right -- you like micromanagement
02:05:21raptorsadly, to an extent, that is true of me...
02:05:32Watusimotothen stars is the perfect game!
02:05:52raptormy brother is less so, so that's why he's always the alternate-reality race
02:06:48raptorback to bug fixing...
02:10:44YoshiSmbsam, can i ask?
02:13:32fordcarsHI Yoshi!
02:13:45YoshiSmbHi fordcars!
02:14:08YoshiSmb is waiting for sam686 to respond...
02:26:38fordcarsSkybax, I am proud to announce that the bot finally changes modules correctly
02:26:39vs73nxseems that i cant call getString(USE_FILE) even though i called it a few lines up in a different func
02:27:54Watusimotoscope issues?
02:32:24Watusimotook gents... 3:30AM... time for bed!!
02:32:37Watusimoto Quit (Remote host closed the connection)
02:34:29vs73nxgood night
02:35:00Darrel is now known as Darrel[OFF]
02:35:41Darrel[OFF]4:30AM. definitely time for bed :D
02:35:54fordcars:P
02:36:14amgineahmm
03:02:40Flynnn Quit (Quit: This computer has gone to sleep)
03:06:20Flynnn has joined
03:06:34Flynnn Quit (Client Quit)
03:13:17Flynnn has joined
03:30:09Flynnn Quit (Quit: This computer has gone to sleep)
03:38:47fordcarsLater! I'll be back in an hour, bot nearly done!
03:38:49fordcars Quit (Quit: Page closed)
03:43:27Flynnn has joined
04:14:41SkybaxHoorah!
04:21:28amginea??
04:21:46amgineawho wants me to finish te Bf tee shirt design or do oyu not care
04:31:51amgineaok this is odd my friend cannot se my bitfighter server EVER
04:33:32yomanurock has joined
04:36:50yomanurockhi raptor
04:37:21yomanurockcould anyone tell me how to use parseLevelLine?
04:37:44vs73nxi know
04:38:01yomanurockhi cs73nx: could you tell me please?
04:38:23yomanurock^^vs73nx
04:38:33vs73nxwait a sec
04:38:36yomanurockk
04:39:15vs73nxi think that parseLevelLine loads a level when you pass it a path to a level
04:39:17Flynnn Quit (Quit: This computer has gone to sleep)
04:39:37vs73nxid ask raptor for a complete/correct explaination but im pretty sure im right
04:39:55vs73nxyomanurock: are you a GCI student?
04:40:02yomanurockyes
04:40:22vs73nxwell i welcome you
04:40:31yomanurockanc actually parseLevelLine generates all params needed by processLevelLine
04:40:37vs73nxwhat are you working on?
04:40:47yomanurock^^processLevelLoadLine
04:40:59yomanurockim working on improving copy/paste in the editor
04:41:13vs73nxahh
04:41:24vs73nxim doing file playlist
04:41:35yomanurockoh
04:42:00vs73nxif you can be online when Watusimoto is on, you can get lots of help
04:42:25yomanurockour timings dont match (im in India)
04:42:44vs73nxim in australia
04:42:54vs73nxtimings dont match for me too
04:42:59yomanurockwhere in australia, i have some friends there
04:42:59yomanurock?
04:43:10vs73nxi wake up early in the morning and stay up late to get these taks done
04:43:10vs73nxsydney
04:43:40yomanurockmy friends are in hobart
04:44:28yomanurockgetting back to the point, what params do i pass to parseLevelLine?
04:47:08yomanurock?
04:48:27vs73nxwait...
04:48:43yomanurockk
04:49:06vs73nxparseLevelLine(const char *line, GridDatabase *database, const string &levelFileName)
04:49:32vs73nxa char* or string.c_str()
04:49:42vs73nxa pointer to GridDatabase
04:49:53vs73nxand the levels filename
04:50:40yomanurockbut i am parsing a line of levelcode
04:50:59yomanurockwhat database and levelFileName do i give?
04:51:38yomanurock?
04:52:48vs73nxare you sure that parseLevelLine is what you want?
04:53:30yomanurockyes
04:53:39yomanurockwatasimoto said that it would work
04:53:43vs73nxdatabase is a pointer to GridDatabase. if you dont understand pointers to objects, then you are going to have a tough time programming for bitfighter
04:53:46vs73nxohh ok then
04:53:59vs73nxlevelFileName is the levels filename
04:54:02vs73nxduh
04:54:03yomanurocki do understand pointers
04:54:09vs73nxok then
04:54:18yomanurockyes but i dont have a level file
04:54:24yomanurockjust a line of levelcode
04:54:29vs73nxhmm
04:54:37vs73nxim ont farmilliar with levelcode
04:55:22vs73nxthe levelFileName is the filename of the level that you are parsing
04:55:24vs73nxi think
04:56:39vs73nxas i said, id wait for Watusimoto or ask Raptor for more help because im not really the most reliable source of help
04:56:55yomanurockbut i dont have enough time right?
04:58:06vs73nxoh
04:58:33vs73nxRaptor: are you on? yomanurock want your help.
05:02:07yomanurocksam686, are you on?
05:05:05yomanurockalso, i need to make a function something like -- vector<string> splitString(const string &text) //splits Strings into lines according to \n's
05:05:08yomanurockany idea?
05:09:53yomanurock Quit (Ping timeout: 272 seconds)
05:20:15yomanurock has joined
05:35:03fordcars has joined
05:41:28yomanurock Quit (Quit: Page closed)
05:43:16amgineawow i forced a cpp crash on blc
05:43:20amgineadyue to modding
05:43:25amgineainteger overflow
05:45:33fordcarsOh that is only because a number is too high
05:46:07amgineai crashed BLC
05:46:13amgineathe entire server
05:47:05fordcarsMaximum is around 2147483647
05:47:16fordcarsBitfighter tends to do that :x
05:48:25Skybax Quit (Ping timeout: 272 seconds)
05:55:46fordcarsraptor, quick question, in what file does Bitfighter do all of the ranks?
05:55:58fordcarsWell, the amount of kills (kills streak)
05:56:54raptoroh hello there
05:57:36fordcarsHi :)
05:58:06raptorwhat specifically are you looking for?
05:58:40raptorbasically when a client connects, the master sends how many games have been played - then the ship is rendered with that number and that number determines the rank
05:58:46fordcarsAhh sorry
05:58:47raptorhowever, the rank code is commented out
05:59:08raptorbut it starts in gameObjectRender.cpp in the method renderShipName()
05:59:25fordcarsZapgamer wanted to know (for some reason) what it said when he got like 1000 kills etc
05:59:29raptoryou'll see a commented out piece renderGamesPlayedMark()
05:59:35raptorkills don't affect rank
05:59:36fordcarsOh ok thanks!
05:59:41fordcarsOh never mind!
05:59:50fordcars:P
06:00:46fordcarsOh gahh never mind, I don't think Zapgamer will cry about it
06:02:11raptoryeah, we had to choose some data point controlled by the master
06:03:43amginea Quit (Ping timeout: 272 seconds)
06:05:39raptorhi vs73nx, you rang?
06:06:07vs73nxoh yes... yomanurock wanted help
06:06:11vs73nxbut he left
06:06:29raptorah yes, i see that. ok, thanks!
06:09:10fordcarsLater, I'll be back in around an hour
06:09:13fordcars Quit (Quit: Page closed)
06:27:58Flynnn has joined
06:45:54vs73nx Quit (Read error: Connection reset by peer)
06:46:16vs73nx has joined
06:46:50fordcars has joined
07:17:14kumul Quit (Quit: Leaving)
07:28:43Darrel[OFF] is now known as Darrel
08:00:17Arc has joined
08:00:22Archey raptor
08:00:33raptorhi Arc
08:00:40Arcend of gci, students tend to do a task rush. can you help review?
08:01:08Arcyou have a claimrequested and needsreview pending
08:01:40Arcah nm the prior got resolved, just the review pending
08:01:44raptorOne I'm reviewing with watusimoto - i didn't know about the claim, let me check
08:01:47raptorah ok
08:01:54Arccool
08:02:12raptoryes, you're right about the rush.. :)
08:02:18Arcevery year
08:02:43Arcits mostly students who INTENDED to do a task this whole 7 weeks, but procrastinated, and now realize they only have 24 hours left
08:02:54Arcand others, who did 2 tasks and want to finish a 3rd for a tshirt
08:03:12raptorooo, they get a t-shirt for a 3rd task?
08:03:16Arcyep.
08:03:23raptorcool!
08:03:31Arccertificate with 1st, tshirt with 3rd
08:03:55Arcand we're able to award swag packs on our own outside the program as a thank you to students who did more
08:04:13raptorheh, cool
08:05:08Arcright now we only have 6 students who've completed 3+ tasks
08:05:17Arcbut 3 more who've completed 2
08:14:11YoshiSmb Quit (Ping timeout: 272 seconds)
08:36:45fordcarsSkybax?
08:36:56fordcarsOh haha never mind
08:37:02raptorok folks, heading to bed.. night!
08:37:06fordcarsNight!
08:37:25raptor Quit ()
09:34:15yomanurock has joined
09:34:48yomanurockanyone there who can review my task?
09:37:21fordcarsI don't think so :( But watusimoto will be here soon :)
09:37:26fordcarsWe will be able too
09:37:34fordcarsAnyway, I am going to bed, night!
09:37:42oskopekgood night fordcars
09:37:50fordcars:P Bye
09:37:56fordcars Quit (Quit: Page closed)
09:55:27vs73nxhmm waiting for watusimoto so he can help me with the final part of my task
09:55:44vs73nxi havent procrastinated, im just i bit slow at programming
09:56:01vs73nx*noob
09:58:30oskopek:D
10:15:36sam686HI
10:17:08vs73nxhello
10:43:01yomanurock Quit (Ping timeout: 272 seconds)
10:52:40destroyerimo has joined
11:12:49YoshiSmb has joined
11:19:44YoshiSmb has left #bitfighter
11:46:04vs73nx Quit (Remote host closed the connection)
12:30:57destroyerimo Quit (Ping timeout: 272 seconds)
12:42:50Flynnn Quit (Quit: This computer has gone to sleep)
13:15:17Nothing_Much Quit (Ping timeout: 265 seconds)
13:15:51Nothing_Much has joined
13:24:59Darrel Quit (Ping timeout: 260 seconds)
13:25:20Darrel has joined
14:34:05yomanurock has joined
14:34:54yomanurock has left #bitfighter
14:43:25yomanurock has joined
14:44:04yomanurock Quit (Client Quit)
15:32:22destroyerimo has joined
15:59:56Nothing_Much Quit (Quit: No Ping reply in 180 seconds.)
16:00:19Nothing_Much has joined
16:37:16Darrel Quit (Read error: Connection reset by peer)
16:39:09Darrel has joined
16:45:54Nothing_Much Quit (Quit: No Ping reply in 180 seconds.)
16:46:15Nothing_Much has joined
17:13:47Watusimoto has joined
17:24:41Nothing_Much Quit (Remote host closed the connection)
17:24:45NothingMuchHereT has joined
17:25:05Watusimoto Quit (Ping timeout: 245 seconds)
17:41:33kumul has joined
17:54:54raptor has joined
17:54:54ChanServ sets mode +o
18:20:30kumool has joined
18:22:53Skybax has joined
18:23:11kumul Quit (Ping timeout: 260 seconds)
18:23:20Watusimoto has joined
18:24:12SkybaxGoodmorning
18:26:26destroyerimogood morning
18:34:53noneofmynickswor has joined
18:36:17Canseco has joined
18:38:15kumool Quit (Ping timeout: 276 seconds)
18:48:04kumool has joined
18:49:02noneofmynickswor Quit (Ping timeout: 240 seconds)
19:41:17BFLogBot Commit: d544e2d83b12 | Author: watusimoto | Message: Add info about where a robot came from so the robot manager can prioritize deletion
19:41:19BFLogBot Commit: 8a6049eedb51 | Author: watusimoto | Message: Add test support for new ClientClasses, try testing bots added from levels. Not all tests pass due to bugs in main game code.
19:41:20BFLogBot Commit: beec3f4d33c6 | Author: watusimoto | Message: Add test, fix things so it works; update tests to use ClientInfo::Classxxx
19:41:22BFLogBot Commit: e6a18f1be08f | Author: watusimoto | Message: Merge
19:45:55Watusimoto_ has joined
19:47:22Canseco_ has joined
19:50:16noneofmynickswor has joined
19:52:19Watusimoto Quit (Ping timeout: 248 seconds)
19:53:28Canseco Quit (*.net *.split)
19:56:09fordcars has joined
19:56:31fordcarsSkybax!
19:56:45fordcarsYo but is dune
19:57:48kumool Quit (Ping timeout: 260 seconds)
20:01:56raptorhello
20:02:20destroyerimo_ has joined
20:03:06fordcarsHi
20:07:44fordcarsSkybax, I PMed you the code on forums
20:07:54fordcarsLater, breakfast time
20:07:59fordcars Quit (Quit: Page closed)
20:08:22Darrel Quit (Read error: Operation timed out)
20:08:30destroyerimo Quit (Ping timeout: 265 seconds)
20:08:53Darrel has joined
20:20:04Platskies has joined
20:22:30-mist- [Global Notice] Sorry about the network split noise, folk. Unfortunately, yet another bunch of idiots has decided to DOS us. Yes, very funny guys. I guess your mummy and daddy bought you a botnet for christmas. Anyway, hopefully they'll get bored soon, until then, sorry again for the network noise, and thanks to all our sponsors who generously provide the bandwidth that this idiots fill with garbage.
20:36:37sam686 Quit (Read error: Connection reset by peer)
20:37:13oskopek Quit (Ping timeout: 264 seconds)
20:37:26Flynnn has joined
20:37:30destroyerimo_ Quit (Ping timeout: 259 seconds)
20:37:31destroyerimo_ has joined
20:37:39oskopek has joined
20:37:39fordcars has joined
20:37:48fordcarsAww Freenode is getting DDOS again
20:37:49fordcarsReally studpid
20:37:59noneofmynicksworshould move to oftc
20:38:00noneofmynicksworthey dont get ddos there
20:38:03noneofmynicksworAll this talk about distributed stuff and security, maybe we need a distributed network
20:38:03noneofmynicksworfor chatrooms
20:38:05Guest31816 has joined
20:38:20ChanServ sets mode +v
20:39:14Skybaxfordcars:
20:39:23SkybaxAre you sure you sent it to me? lol I didn't get any message
20:40:37fordcarsOh reall6?
20:40:45SkybaxYeah
20:40:58SkybaxMaybe you accidentally sent it to someone else lol
20:41:07fordcarsHah nah
20:41:17fordcarsI guess it bugged, it is not in my outboz :(
20:41:22fordcars*outbox
20:41:39SkybaxSometimes I hit preview instead of submit and think I sent it xD
20:42:11SkybaxRamen is tasty
20:43:31fordcarsHah
20:43:42fordcarsMaybe that is what I did
20:45:35fordcarsOhhhhh
20:45:53fordcarsCLikcing Submit somehow shows a preview, then if you click again it will send. Weird
20:46:00SkybaxThat is weird
20:46:50fordcarsAnywho, I sent you the code :)
20:46:55SkybaxAwesome
20:48:04raptorhello again
20:48:36fordcarsHello
20:48:45Skybax_ has joined
20:49:01Skybax_lol you said "it's actually really awesome" OF COURSE IT'S AWESOME
20:50:04fordcarsFuck crap man
20:50:25fordcarsI didn't test it in all gametypes!
20:50:32raptorI admit your conversation makes no sense to me
20:50:36fordcarsIt just shoots bursts in Bitmatch
20:50:44fordcarsHaha
20:50:45Skybax_Hahahahaha xD
20:50:51Guest31816 is now known as sam686
20:51:00fordcarsSkybax, I'll repair that
20:51:07Skybax_So what gametypes does it work in?
20:51:30Skybax Quit (Ping timeout: 252 seconds)
20:51:33fordcarsWell, it should work in all games with a loadout right now
20:51:34Skybax_ is now known as Skybax
20:51:45SkybaxOkay
20:51:52SkybaxWhat will it do if the level has no loadout?
20:52:05fordcarsIt is supposed to kill itself :)
20:52:12SkybaxNice x)
20:52:22fordcarsBut it was never stoping in Bitmatch, so I'll check it out
20:54:52fordcarsWait SKybax_, I'll buff it alittle
20:55:16fordcars4 shilengths is tough to calculate :P
20:55:29SkybaxIt just killed me pretty quickly lol
20:55:34SkybaxBut then Bitfighter crashed
20:55:34fordcarsLol
20:55:40fordcarsHaha whaaat
20:55:48fordcarsCan you cheeck the log please?
20:55:53SkybaxIdk if the bot and the crash are related but I'm gonna try it again lol
20:56:13fordcars:P It shouldn't anyway, that isnt my fault :3
20:56:16sam686[14:36:13] NickServ [NickServ@services.]: You have 30 seconds to identify to your nickname before it is changed.
20:56:16sam6862 seconds later: [14:36:15] NickServ [NickServ@services.]: You failed to identify in time for the nickname sam686
20:56:17SkybaxUhh.. where's the log?
20:56:26fordcarsWith the bifighter.ini
20:56:33sam686lookss like nickserv didn't give enough time for me to identify
20:56:42fordcarsWow
20:56:52fordcarsWell freenode is getting DOS
20:57:21destroyerimo_ Quit (Ping timeout: 276 seconds)
20:57:48fordcarsOk Skybax
20:57:49sam686at least freenode isn't one giant server, its multiple servers linked together
20:57:50fordcarsI got it
20:57:52Skybaxfordcars: join my server
20:57:53fordcarsYep
20:58:02sam686when one freenode server dies, NET SPLIT
21:00:54fordcarsraptor, the bot won't update it's module when it kills itself when there are no loadouts
21:01:00fordcarszones
21:03:30Skybaxfordcars: The bot works good
21:03:52fordcarsSkybax, I am making players it's main goal, and repairing loadouts
21:04:11SkybaxOkay. I only want players to be the main goal when it sees one, though
21:04:23fordcarsUh
21:04:34SkybaxLike, it goes for the flag, until it sees a player and has to cloak, and then attacks the player
21:04:44fordcarsOh ok
21:04:45SkybaxOnly hunter players when cloaked
21:05:08SkybaxIf that makes sense xD
21:05:46fordcarsSure :P
21:06:14SkybaxBitfighter just crashed again
21:06:15raptorfordcars, I don't understand
21:06:23fordcarsUh
21:06:54fordcarsThe bot requests a loadout, and then kills itself because there are no loadout zones, but the bot doesn't get the requestes loadout when it spawns back
21:07:03fordcars*requested
21:07:20SkybaxThe log says nothing about crashing
21:07:45fordcarsGood Skybax, that may mean that it is not my fault :P
21:07:52fordcarsBut it is weird
21:08:09fordcarsWhat error message do you get?
21:08:17raptorfordcars: you can do setLoadoutNow() also
21:08:25SkybaxWell it's crashing in the same fasion it's crashed before, it's just never done it so close to a recent crash
21:08:35fordcarsraptor, what
21:08:46fordcarsOk Skybax
21:09:00raptoryeah, loadout is much easier in 019
21:09:05SkybaxBitfighter freezes, then a window pops up and says it's stopped working and it's troubleshooting, and then it says troubleshooting failed and wants me to close the program
21:09:09fordcarsraptor, if that function does what I think it does, than you have got to be kidding me
21:09:14raptoryou can set a bot's loadout at any time
21:09:20raptorimmediately
21:09:23fordcarsOH MY GAOIHSDOUHDSUISDGHIUDSGSIDUGSD
21:09:34SkybaxHahaha xD
21:09:48fordcarsI had written a huge chunck of code to have a stable loadout change
21:09:57fordcarsArgh
21:10:02fordcarsArghargharghargharghargahgrhgar
21:10:09fordcarsaghghgahgrhargharghragrahgrahgrahraghraghragrahgrahgrahgrahgrahgrahrghrghraghragrhgrahgrah
21:10:14SkybaxWell it makes it more like a real player if it has to loudout lol
21:10:22fordcarsLol yeah
21:10:25fordcarsOk
21:10:37fordcarsIf they are no loadouts, it will cheat, ok :3
21:10:41SkybaxOtay!
21:10:45fordcarsyay!
21:11:24sam686when did it crash? when starting a map/hosting? or when soccer touches goalzone in soccer gametype?
21:12:33SkybaxBefore it would crash randomly.. when joining the lobby, when testing a map, just random times.. but just in the last ten minutes it's crashed I think when Skybot tries to talk xD
21:12:53SkybaxIdk for sure though
21:14:14fordcarsWeird it doesn't do that for me
21:14:20fordcarsIt is only globalMsg()
21:15:30sam686what version you have? the release 019, or the later version?
21:18:08Skybax019
21:18:10raptoralso - if you guys are getting the game to hard crash, we really want to know about and how to duplicate
21:18:37raptor*any* crash is a critical bug
21:19:31Canseco_ Quit (Remote host closed the connection)
21:20:01fordcarsAlright SKyboax, I made the Cloaking mechanisme way better
21:20:12Skybax_ has joined
21:20:32sam686the soccer crash is fixed (after 019 released), and the bot zone generating crash (on start hosting or changing map) is, i think, 99.9% fixed.
21:20:49Skybax_SKyboax
21:21:00fordcars:)
21:21:10Skybax_Aight
21:21:15fordcarsAight
21:21:27Skybax_It hasn't crashed again
21:21:32Skybax_And I've been playing for a few minutes
21:21:53sam686what do you want, a CrashBot?
21:22:05Skybax_lol if you have multiple Skybots they talk to each other a lot xD
21:22:22Skybax_A LOT
21:22:55Skybax Quit (Ping timeout: 260 seconds)
21:23:24Skybax_Oh. Nope, just crashed again xD
21:23:55sam686bot file?
21:24:06Skybax has joined
21:24:39SkybaxYou want it?
21:25:17sam686if it crashes only with your custom bot, I probably want to see your bot file
21:26:22Skybaxfordcars: I'm on a Bitmatch level, and it has a Nexus, so the bot went to the nexus and started cloaking, but now it just follows me around and doesn't shoot
21:26:27sam686eliza bot just don't talk to each other though, not sure whats differeent with yours
21:26:45SkybaxIt turned into a cloaking OrbitBot!
21:27:00fordcarsLol what
21:27:06SkybaxJoin my server and see
21:27:07SkybaxIt's orbiting me
21:28:16Skybax_ Quit (Ping timeout: 265 seconds)
21:29:33fordcarsraptor, how do we know if it is a team gam?
21:30:18raptorit's in the gameinfo object
21:30:22raptorlet's see..
21:31:03raptorhttp://bitfighter.org/luadocs/class_lua_game_info.html
21:31:15raptoryou get it by doing bf:getGameInfo
21:31:22fordcarsAww sweet
21:31:41fordcarsbf:getGameInfo():isTeamGame()?
21:32:14raptoryessiree
21:32:35SkybaxCrashed again
21:32:44SkybaxDirectly after I added the bot
21:33:05fordcarsSkybax, really weird
21:33:48raptorgive bot! we need to know the crash
21:33:53SkybaxHere's a link to the bot file https://drive.google.com/file/d/0BxG8HP-PAsmMSExJZEgtRGxWNE0/edit?usp=sharing
21:34:07raptorthanks!
21:34:19LordDVG has joined
21:38:08LordDVG Quit (Remote host closed the connection)
21:41:50Flynnn Quit (Quit: This computer has gone to sleep)
21:45:47fordcarsSKybax, it should be pretty much done now
21:45:53fordcars*Skybax
21:45:53SkybaxOkay
21:46:01fordcarsI'll just debug it now :)
21:48:36Skybax_ has joined
21:52:36Skybax Quit (Ping timeout: 276 seconds)
22:00:05Skybax_ is now known as Skybax
22:02:19Platskies Quit (Quit: Sleep time…)
22:24:21Flynnn has joined
22:25:43Platskies has joined
22:35:28SkybaxFind anything crashy with the bot, raptor?
22:45:35vs73nx has joined
22:46:14vs73nxWatusimoto_: you thrre?
22:53:00Skybax Quit (Ping timeout: 245 seconds)
22:53:55fordcarsSkybaaaaxxxx
22:54:09Watusimoto_ Quit (Ping timeout: 252 seconds)
22:54:11Skybax has joined
22:54:27fordcarsSKybax, I repaired cloak, player priority and Single Team games :D
22:54:38fordcarsBitmathc with Nexus works now
22:54:42SkybaxHooray!
22:54:44fordcarsArgh typos
22:55:05fordcarsI'll just make the bot search for neutral loadout zones too, and then we are done!
22:55:22SkybaxJust post it in the Bots section when it's complete
22:55:29fordcarsForums?
22:55:36SkybaxYeah
22:55:39vs73nxits the lest day of GCI today...
22:55:43fordcarsOk
22:55:46fordcars:)
22:55:51vs73nxi think
22:56:15vs73nxraptor: aree you able to hep me with a dilema with polymorthism?
22:56:37vs73nxis it possible for a function which is declared like. Superclass *function() that returns new Subclass() ?
22:56:47vs73nxso woiuld i use it like Parent *parent = functionThatReturnsChild()
22:57:40vs73nxi also asked on ##c++ and someone said that using a hared_ptr would be a good idea...
22:57:41vs73nxis it
23:00:03sam686I see there is some sort of problem in skybot, with possible recursive event inside event, when longtext is longer then 30 characters.
23:00:18fordcarsWow
23:01:11sam686somehow Robot::lua_globalMsg getGame() returns a broken pointer
23:01:14fordcarsOk finally done this
23:01:23fordcarsWhaa really?
23:01:45SkybaxWhat if we make it 60 characters instead of 30?
23:01:57fordcarsIt wont chnage anything I think :(
23:02:16fordcarssam, why is it only in that function? longText
23:02:34fordcarsOhhh neverMind
23:02:46sam686its not just that, its when a bot event triggers after a bot does global
23:02:47fordcarsIs it because of that array in longText?
23:02:47sam686Msg
23:03:04fordcarsOh ok
23:03:17SkybaxSo it's the bot triggering it's own events?
23:03:23vs73nxhmmm none of the montors are on...
23:03:45fordcarsSkybax, it is a bug when the bot "talks" right after an event I guess
23:03:52fordcarsLuck :/
23:04:43sam686now I get a stack overflow
23:04:50fordcarsWow
23:05:49fordcarsSkybax, can you join my server?
23:06:22sam686probably when globalMsg(..) calls another bot's function onMsgReceived(message) which itself runs globalMsg that calls another bot's onMsgReceived
23:06:28sam686and so on...
23:06:32fordcarsOh okokok
23:07:02sam686I have had another crash, out of random, a different one too..
23:07:20fordcarsisRobot() never worked, so I can't really repair that
23:07:35fordcarsoh wait
23:07:43SkybaxSo it's the bot triggering it's own events? xD
23:07:56fordcarsYEah, I'l fix it :)
23:07:57fordcarsTypos...
23:08:43SkybaxIf your server is the IP that starts with 96, I time out when trying to connect
23:08:51fordcarsNot me :)
23:09:01sam686it doesn't trigger its own events, but it triggers other bot's events and other bot triggers back to your bot (2 bots)
23:09:03fordcarsWait, I'll repair the bug, then I'll host
23:09:14fordcarsOH yeah Skybax
23:09:22fordcarsLike eliza
23:09:40fordcarsExecpt eliza crashes trying to get the bot's info
23:09:49SkybaxAh, so that's why it would crash when using multiple bots?
23:09:56fordcarsYeah :/
23:10:04fordcarssam, does isRobot() still work?
23:10:08sam68696.2 was my server..
23:10:22fordcarsOh probably not since it doesn't work in Eliza
23:10:34SkybaxHey, wouldn't the same thing happen if one of the bot's random sayings was longer than 30 characters>
23:10:35Skybax?
23:10:46fordcarsYeah
23:10:57SkybaxSo could that be why it crashes by itself?
23:11:01fordcarsNonononon
23:11:07fordcars:)
23:11:19SkybaxOkay
23:11:28fordcarsThe robot can't launch the messageReceived event by itself, happily
23:11:32sam686function onMsgReceived(message, player)
23:11:33sam686if message ~= "" and not player:isRobot() then
23:11:40vs73nxraptor: are you there?
23:11:45fordcarssam, isRobot doesn't work since 018 I think
23:11:45sam686that what elizabot has
23:12:14sam686maybe you need to add a second argument for onMsgReceived
23:12:18fordcarsOh it works now!
23:12:23fordcarsEliza^^
23:12:27fordcarsOk, I'll use that
23:13:23fordcarsTadaa, repaired, thanks sam
23:13:29SkybaxWooha
23:13:41fordcarsOk SKy, hosting
23:20:15SkybaxWhat happens if you say something over 30 characters that also has "sky" in it?
23:20:18SkybaxWill it trigger two events?
23:20:42fordcarsUh no I made sure it wouldn't, to keep the realism
23:20:45fordcars:)
23:20:48SkybaxOkay
23:22:15fordcarsSone
23:22:18fordcars*Done haha
23:22:48SkybaxNeato!
23:22:55raptorhi
23:22:59raptorvs73nx: i'm here
23:23:10vs73nxoh good
23:23:17raptortell me your woes
23:23:21vs73nxi have some problems with polymorthism
23:23:36raptorfun topic!
23:23:58vs73nxbehold...
23:23:59vs73nxvhttp://pastie.org/8604918
23:24:02vs73nxhttp://pastie.org/8604918
23:24:11vs73nx^this one is correct
23:24:24vs73nxgosh i need to learn to type
23:25:11raptorhmmm... I think this is more complicated than it needs to be
23:25:27vs73nxyeah so the return type is LevelSource, yet it returns a sibling of the superclass. EG FolderLevelSource
23:25:44raptorok, so let's back up - tell me what your attempting to do
23:26:41vs73nxhave a function that when called returns a pointer to FolderLevelSource, or FileListLevelSource, depending on if the -usefile command line switch is used
23:26:49raptorah ok
23:26:49sam686skybax or anyone, you see my 'sam test' as no longer ping timed out?
23:26:54raptori don't think you should do that
23:27:08vs73nxgo on...
23:27:14raptorultimately you want the game to have a list of levels, right?
23:27:20vs73nxyes
23:27:21sam686it turns out I needed to make sure the iptables was correct (used for port forwarding)
23:27:32vs73nxbut i want to choose which source
23:27:51raptorso whether or not that is a Folder or LevelFile is important
23:27:55raptorbut
23:27:59sam686parhaps an update to iptables from upgrade deleted all my iptables entries, or maybe a reboot erased them.. who knows
23:28:46raptorwhen you actually build the list of levels, you don't need to know which one - you just call a common method on the Parent LevelSource
23:29:21vs73nxok
23:29:46raptorso how did watusimoto tell you to activate the FileList?
23:30:00vs73nxdont think he did
23:30:07raptoroh no?
23:30:15raptorhmmm... ok, that means I need to do a code dive
23:30:26vs73nxwell then i have a function called getPlaylist that returns a list of all the levels inside a levelFile?
23:30:26raptori'm guessing he mentioned that you provide a command line argument, yes?
23:30:40vs73nxi got that sorted
23:30:41sam686think its time to reboot my router then..
23:31:00vs73nx-usefile works...
23:31:07raptorok, you coded that?
23:31:13vs73nxyes
23:33:05sam686 Quit (Read error: Connection reset by peer)
23:35:58fordcarsOk
23:36:01sam686 has joined
23:36:01ChanServ sets mode +v
23:36:01fordcars:)
23:39:21vs73nxraptor: i also have a function called 'isUsingPlaylist()' that is a bool ( duh )
23:42:35raptorok, i'm starting from the beginning...
23:42:40raptorin main.cpp
23:42:46raptori see a LevelSource being created
23:43:08raptorit is put into initHosting()
23:43:14vs73nxthats for the dedicated server though...
23:43:27vs73nxwait nvm
23:43:29vs73nxcontinue\
23:43:31raptorit's for any server
23:43:50fordcarsSkybax, it is done! Do I put it one forums?
23:44:01SkybaxSure!
23:44:03raptorin initHosting() we have getLevelCount() which you implemented in your FileListLevelSource?
23:44:06fordcarsOkey
23:44:21sam686initHosting is called when you host (from the game menu)
23:44:35vs73nxgetLevelCount() isnt impoemented
23:44:53raptoroh wait, it doesn't need ot be
23:44:58sam686although initHosting is called the moment dedicated runs, without the fancy client/rendering
23:45:00raptorbecause the parent (LevelSource) does it
23:45:15raptorok, so you have that covered
23:45:54fordcarsDone!
23:47:03SkybaxAwesome!
23:47:17SkybaxYou mispelled "talking", though lol
23:47:21SkybaxYou said "taking"
23:48:27fordcarsWhaaaa
23:48:32SkybaxxD
23:48:42fordcars:P
23:49:12fordcarsMy brother tried playing against the bot, bot -5 bro -0 Mhahaha
23:49:35fordcars- not being negative :3
23:49:42fordcars"-"^^
23:51:06sam686I think you should see my sam test as pingable now.. I hope..
23:52:07sam686oh wait, its not my router, it may be windows firewall blocking incoming connection
23:52:15SkybaxIt's an epic bot
23:53:00fordcars:)
23:53:35raptorvs73nx: I don't know what to say about this - as I dig deeper, it seems like this FolderSource stuff isn't fully built out - I think we're going to need watusimoto
23:53:43raptori'm sorry
23:53:55vs73nxbut he isnt going to be here for a while...
23:54:13raptorhmmm... you're right, it's already passed his bed time
23:55:00fordcars:)
23:55:06raptorwell I don't know what to do exactly - I don't fully understand what he was architecting
23:55:41vs73nxsame
23:56:06vs73nxand i was so close...
23:56:12sam686windows firewall OFF, port forwarded, what else can get in the way from allowing my 'sam test' from being pingable?
23:56:17vs73nxonly 4 GCI tasks total done...
23:56:32vs73nxgood enough
23:56:38vs73nx2 bitfighter ones
23:56:43vs73nxand 2 KDE ones
23:57:21vs73nxi think i did ok for a coder who doesnt understand pointers, polymorthism, and memory allocation
23:57:49vs73nxi hope im welcome to continue with bitfighter development after GCI?
23:58:07raptorheh
23:58:09raptorsure
23:58:18vs73nxok
23:58:23raptorbut it might be good to do less intensive tasks
23:58:27raptorwe had some hard ones
23:58:28vs73nxagreed
23:58:32raptoryou did KDE?
23:58:35vs73nxyes
23:58:40raptorwhat did you do for them?
23:59:07vs73nxport libkwineffects to use QCDebug
23:59:08vs73nxand
23:59:21vs73nxoprt libkdekoration to use QCDebug
23:59:37vs73nxit was cmake and C++
23:59:42vs73nxvery fun
23:59:49raptorSkybax / fordcars / sam686, i can't get that earlier revision of skybot to crash on the latest development version

Index Search ←Prev date Next date→

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