Timestamps are in GMT/BST.
| 00:07:13 | raptor | Watusimoto: now take a look at the motd on the forums... |
| 00:07:47 | Watusimoto | great! Let's try that for a few days and see how we like it |
| 00:07:58 | raptor | ok... it doesn't blind you, does it? |
| 00:07:59 | Watusimoto | Much more visible |
| 00:08:06 | Watusimoto | no, not at all |
| 00:08:14 | raptor | ok |
| 00:08:19 | raptor | it's almost too much for me |
| 00:08:31 | Watusimoto | well, maybe a little, but I like it anyway |
| 00:08:36 | raptor | ok |
| 00:08:42 | Watusimoto | let's get some feedback from others |
| 00:09:07 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 00:15:57 | raptor | this commit is fun |
| 00:16:03 | | BFLogBot Commit: 27510d7318bb | Author: buckyballreaction | Message: Fix floating point problems with game time when saving levels in the editor |
| 00:16:07 | raptor | My solution feels like overkill |
| 00:19:09 | Skybax | Overkill is fun |
| 00:20:07 | raptor | that fixes your game time problem Skybax |
| 00:20:25 | Skybax | Hoorah |
| 00:22:20 | oskopek | good night everyone |
| 00:25:50 | | kumul has joined |
| 00:31:40 | | Flynnn has joined |
| 00:51:07 | | vs73nx has joined |
| 00:55:30 | vs73nx | hi |
| 00:55:41 | vs73nx | im completly stuck on my GCI task |
| 00:56:45 | vs73nx | i dont know how to specify to bitfighter what levelsource to use |
| 00:57:26 | vs73nx | folderlevelsource seems to be the default levelsource for a lot of the fuctions of bitfighter |
| 01:00:12 | | fordcars has joined |
| 01:04:28 | Watusimoto | hi |
| 01:04:43 | Watusimoto | I'm about to go to bed, but will try to get you started if I can |
| 01:05:23 | Watusimoto | ok, so you know where the game creates a folderlevelsource now, right? |
| 01:05:34 | vs73nx | several places |
| 01:05:36 | Watusimoto | yes |
| 01:05:47 | Watusimoto | when it does that, it will now have to make a choice |
| 01:05:58 | Watusimoto | either use the folderlevelsource, or use your new levelsource |
| 01:06:08 | Skybax | Hi Ford! |
| 01:06:09 | vs73nx | how would i tell bitfighter what choice it is? |
| 01:06:19 | Watusimoto | that's where the cmd line optino comes in |
| 01:07:00 | Watusimoto | if you specify something like -usefile (or whatever), then the game will know to use your new levelsource |
| 01:07:16 | Watusimoto | if that option is omitted, it will use the folderlevelsource as it always has |
| 01:07:22 | Watusimoto | does that make sense? |
| 01:07:27 | vs73nx | yes |
| 01:08:06 | Watusimoto | so the way I would do it is to create a new function called something like chooseLevelSource() |
| 01:08:22 | Watusimoto | pass it what it needs, and let it return a levelsource to you |
| 01:08:33 | Watusimoto | and you can call that from wherever you need to make that decision |
| 01:08:37 | fordcars | Hi |
| 01:08:43 | vs73nx | ok |
| 01:08:46 | amginea | wattismo pc |
| 01:08:51 | Watusimoto | does that help at all? |
| 01:08:55 | fordcars | Hi vs73! |
| 01:09:14 | vs73nx | its vs37nx |
| 01:09:16 | fordcars | Skybax, for some reason the bot works |
| 01:09:24 | Skybax | For some reason? xD |
| 01:09:30 | vs73nx | the 73 was a typo while i was regersting for freenode |
| 01:09:30 | fordcars | Lol |
| 01:10:58 | fordcars | SOmetimes Bitfighter does that with bots |
| 01:11:12 | fordcars | It poops on you when you try to debug it |
| 01:11:17 | fordcars | And then suddenly works |
| 01:11:20 | vs73nx | Watusimoto: what data type would the function return? |
| 01:11:39 | vs73nx | probably a pointer |
| 01:11:45 | vs73nx | but to what? |
| 01:12:33 | vs73nx | or it could be a bool |
| 01:12:51 | vs73nx | isUsingPlaylist |
| 01:13:08 | Watusimoto | well... |
| 01:13:09 | vs73nx | returns falso if not ising a playlist and true if it is |
| 01:13:51 | Watusimoto | what about a pointer to a LevelSource |
| 01:14:10 | vs73nx | but whichoen? |
| 01:14:14 | Watusimoto | LevelSource *chooseLevelSource(...) |
| 01:14:25 | vs73nx | oh |
| 01:14:29 | Watusimoto | all of them are LevelSources, after all |
| 01:14:32 | Watusimoto | polymorphism! |
| 01:14:44 | Watusimoto | that's the beauty of it |
| 01:14:53 | vs73nx | more like uglieness |
| 01:14:57 | vs73nx | C FTW |
| 01:14:59 | Watusimoto | no, not at all |
| 01:15:25 | Watusimoto | you can create a new levelsource, and have the game use it without further modification (theoretically) |
| 01:15:36 | Watusimoto | as long as that levelsource implementes the interface defined by LevelSource |
| 01:15:43 | vs73nx | ok... |
| 01:15:48 | Watusimoto | it's actually quite elegant |
| 01:15:52 | vs73nx | ihmm |
| 01:15:55 | Watusimoto | once you get your head wrapped around it |
| 01:15:55 | vs73nx | agreed |
| 01:16:16 | vs73nx | i started programming with JAVA so i should understand this stuff... |
| 01:16:40 | Skybax | Well okay then xD |
| 01:17:03 | vs73nx | but that was a year ago so i cant remember back that long.. :D |
| 01:17:08 | Watusimoto | I don't have a lot of good to say about java, but it does do classes reasonably well |
| 01:17:33 | Skybax | So is it ready then. fordcars? |
| 01:17:49 | fordcars | I tried to develop something on Mobile Java for an old Cell Phone, never good to create a MIDlet or whatever |
| 01:17:57 | fordcars | Skybax, not yet haha |
| 01:18:04 | Skybax | Ohkay xD |
| 01:18:07 | fordcars | I have to clean all the debugging stuff away |
| 01:18:13 | fordcars | It was really a pain |
| 01:21:06 | Watusimoto | in Java terms, think of LevelSource as an interface |
| 01:21:22 | Watusimoto | The only difference is that it also includes some implementation code |
| 01:25:12 | raptor | a standard abstract class |
| 01:27:30 | amginea | wattisimo did you see my query |
| 01:27:56 | amginea | raptor S_bot has gotten super dumb he needs a update in his codeing |
| 01:28:30 | raptor | that's a known issue, thanks |
| 01:28:48 | Watusimoto | amginea: where is your query? |
| 01:28:51 | fordcars | amgina, the problem is more of a Bitfighter problem, Waypoints aka Bot Nav Zones |
| 01:29:12 | Watusimoto | amginea: we know that s_bot is having problems |
| 01:29:18 | raptor | fordcars: i don't think so |
| 01:29:29 | amginea | i re queryd you |
| 01:29:34 | fordcars | Well that is the only problem I've seen with it |
| 01:29:47 | fordcars | And soccer, but you know |
| 01:30:15 | raptor | heh, yes - soccer has major problems |
| 01:35:06 | Watusimoto | Skybax: I sent you a message on a private irc link... did you see it? |
| 01:36:07 | amginea | would a chatlog.ini file be possible to add to Bitfighter |
| 01:36:59 | Watusimoto | generally, we don't log chats |
| 01:37:20 | amginea | but it would be only for a user to see what was going on on there server |
| 01:37:32 | amginea | also you log the irc XD |
| 01:37:37 | Watusimoto | yes, we do log that |
| 01:37:39 | raptor | you can do it voa levelgen |
| 01:37:42 | fordcars | A levelgen and bitfighter io would be perfect for that |
| 01:37:50 | fordcars | ^^ |
| 01:37:53 | raptor | io is out! |
| 01:37:57 | Watusimoto | generally, I dislike logging of conversations |
| 01:38:05 | fordcars | Yayy! |
| 01:38:17 | fordcars | watusimoto, bitfighter.org/irclogs |
| 01:38:18 | raptor | out as in gone! |
| 01:38:19 | Watusimoto | this channel included, but here it can be useful so we do it anyway |
| 01:38:36 | Watusimoto | fordcars: :-) |
| 01:38:43 | fordcars | :) |
| 01:38:49 | fordcars | raptor, why! |
| 01:38:55 | raptor | because... io |
| 01:39:23 | amginea | i know nothing about lev gens |
| 01:39:38 | fordcars | raptor, |
| 01:39:45 | fordcars | I meant sandboxed thing |
| 01:39:54 | fordcars | Sorry :x |
| 01:39:59 | raptor | io as in How-to-wipe-your-home-directory-with-a-robot 101 |
| 01:40:03 | Watusimoto | amginea: do you run your own server? |
| 01:40:36 | fordcars | Yay! |
| 01:40:43 | fordcars | Yeah I know raptor |
| 01:40:45 | amginea | yes |
| 01:41:22 | raptor | but, fordcars, we do provide these: http://bitfighter.org/luadocs/classglobal.html |
| 01:41:26 | Watusimoto | well, maybe someone can help you write a chat logger if you really want one |
| 01:41:36 | fordcars | Yes those thanks :) |
| 01:41:55 | Watusimoto | actually, raptor, if io is out, how would you write a log? |
| 01:42:04 | fordcars | http://bitfighter.org/luadocs/classglobal.html |
| 01:42:06 | fordcars | :) |
| 01:42:06 | raptor | Watusimoto: http://bitfighter.org/luadocs/classglobal.html |
| 01:42:25 | fordcars | in screenshots folder I think |
| 01:42:29 | Watusimoto | good ol' classglobal! |
| 01:42:29 | raptor | we provide reading and writing methods, but only on files in the 'screenshots' folder |
| 01:42:43 | raptor | just to be safe... |
| 01:42:48 | Watusimoto | ok... I imagine we discussed this at one point, and I concurred |
| 01:42:56 | raptor | yes |
| 01:42:56 | Watusimoto | seems a reasonable place |
| 01:43:03 | | Skybax Quit (Ping timeout: 272 seconds) |
| 01:43:03 | raptor | because io was waaay too dangerous |
| 01:43:08 | Watusimoto | yes |
| 01:43:13 | fordcars | raptor, why is it logprint and not logPrint? |
| 01:43:20 | raptor | in Lua? |
| 01:43:24 | fordcars | yeah |
| 01:43:33 | raptor | because... ummm... we hate capital letters? |
| 01:43:34 | Watusimoto | it comes from logprintf in our c++ code |
| 01:43:41 | Watusimoto | that's how we're used to seeing it |
| 01:43:44 | fordcars | Oh ok |
| 01:43:57 | Watusimoto | logPrint looks wrong, even if it is more consistent |
| 01:43:57 | fordcars | It's just, pretty much the only method like this |
| 01:44:09 | fordcars | Yes ok you win :P |
| 01:44:38 | Watusimoto | and if we changed our code... what would that be? logPrintF? |
| 01:44:44 | fordcars | nononoonon |
| 01:44:46 | Watusimoto | blech |
| 01:44:55 | Watusimoto | logPRINTf |
| 01:45:04 | fordcars | Then, change all standard libraries |
| 01:45:09 | Watusimoto | exactly! |
| 01:45:11 | fordcars | pRIntf |
| 01:45:27 | fordcars | Then, change c++ |
| 01:45:29 | Watusimoto | goes all they way back to 1973 and the dawn of C |
| 01:45:32 | fordcars | :) |
| 01:45:34 | fordcars | Yeah |
| 01:45:37 | Watusimoto | (or whenever) |
| 01:50:20 | Watusimoto | raptor: what was this a fix for? getRemainingGameTimeInMinutesString |
| 01:51:18 | fordcars | A shorter name |
| 01:52:04 | | Skybax has joined |
| 01:52:18 | raptor | haha |
| 01:52:31 | raptor | Watusimoto: I don't know where that method came from |
| 01:52:41 | raptor | the meethod name |
| 01:53:04 | raptor | but I added that fix because of this bug: https://code.google.com/p/bitfighter/issues/detail?id=356 |
| 01:54:14 | | YoshiSmb has joined |
| 01:55:02 | vs73nx | how would i check if im using a command line param or not? |
| 01:57:33 | Watusimoto | oops! |
| 01:58:10 | Watusimoto | vs73nx: add a new parameter to here: |
| 01:58:11 | Watusimoto | ParamInfo paramDefs |
| 01:58:40 | Watusimoto | access it with soemthing like this: |
| 01:58:59 | Watusimoto | string GameSettings::getString(ParamId paramId) |
| 01:59:17 | Watusimoto | if you want a parameter that was like -uselevelfile filexxx |
| 01:59:25 | Watusimoto | that function will return the filexxx bit |
| 01:59:43 | Watusimoto | if the parameter was not specified, you'll get back a "" |
| 02:00:55 | raptor | this is my current life: http://imagebin.org/285181 |
| 02:01:00 | vs73nx | ok thanks |
| 02:03:37 | Watusimoto | wow... you've progressed fast |
| 02:03:56 | Watusimoto | none of this 1 turn a day stuff for you! |
| 02:04:05 | raptor | yeah, i built a semi-monster race |
| 02:04:14 | raptor | but fighting hyper-expansion is starting to get crazy |
| 02:05:04 | Watusimoto | that's right -- you like micromanagement |
| 02:05:21 | raptor | sadly, to an extent, that is true of me... |
| 02:05:32 | Watusimoto | then stars is the perfect game! |
| 02:05:52 | raptor | my brother is less so, so that's why he's always the alternate-reality race |
| 02:06:48 | raptor | back to bug fixing... |
| 02:10:44 | YoshiSmb | sam, can i ask? |
| 02:13:32 | fordcars | HI Yoshi! |
| 02:13:45 | YoshiSmb | Hi fordcars! |
| 02:14:08 | | YoshiSmb is waiting for sam686 to respond... |
| 02:26:38 | fordcars | Skybax, I am proud to announce that the bot finally changes modules correctly |
| 02:26:39 | vs73nx | seems that i cant call getString(USE_FILE) even though i called it a few lines up in a different func |
| 02:27:54 | Watusimoto | scope issues? |
| 02:32:24 | Watusimoto | ok gents... 3:30AM... time for bed!! |
| 02:32:37 | | Watusimoto Quit (Remote host closed the connection) |
| 02:34:29 | vs73nx | good night |
| 02:35:00 | | Darrel is now known as Darrel[OFF] |
| 02:35:41 | Darrel[OFF] | 4:30AM. definitely time for bed :D |
| 02:35:54 | fordcars | :P |
| 02:36:14 | amginea | hmm |
| 03:02:40 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 03:06:20 | | Flynnn has joined |
| 03:06:34 | | Flynnn Quit (Client Quit) |
| 03:13:17 | | Flynnn has joined |
| 03:30:09 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 03:38:47 | fordcars | Later! I'll be back in an hour, bot nearly done! |
| 03:38:49 | | fordcars Quit (Quit: Page closed) |
| 03:43:27 | | Flynnn has joined |
| 04:14:41 | Skybax | Hoorah! |
| 04:21:28 | amginea | ?? |
| 04:21:46 | amginea | who wants me to finish te Bf tee shirt design or do oyu not care |
| 04:31:51 | amginea | ok this is odd my friend cannot se my bitfighter server EVER |
| 04:33:32 | | yomanurock has joined |
| 04:36:50 | yomanurock | hi raptor |
| 04:37:21 | yomanurock | could anyone tell me how to use parseLevelLine? |
| 04:37:44 | vs73nx | i know |
| 04:38:01 | yomanurock | hi cs73nx: could you tell me please? |
| 04:38:23 | yomanurock | ^^vs73nx |
| 04:38:33 | vs73nx | wait a sec |
| 04:38:36 | yomanurock | k |
| 04:39:15 | vs73nx | i think that parseLevelLine loads a level when you pass it a path to a level |
| 04:39:17 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 04:39:37 | vs73nx | id ask raptor for a complete/correct explaination but im pretty sure im right |
| 04:39:55 | vs73nx | yomanurock: are you a GCI student? |
| 04:40:02 | yomanurock | yes |
| 04:40:22 | vs73nx | well i welcome you |
| 04:40:31 | yomanurock | anc actually parseLevelLine generates all params needed by processLevelLine |
| 04:40:37 | vs73nx | what are you working on? |
| 04:40:47 | yomanurock | ^^processLevelLoadLine |
| 04:40:59 | yomanurock | im working on improving copy/paste in the editor |
| 04:41:13 | vs73nx | ahh |
| 04:41:24 | vs73nx | im doing file playlist |
| 04:41:35 | yomanurock | oh |
| 04:42:00 | vs73nx | if you can be online when Watusimoto is on, you can get lots of help |
| 04:42:25 | yomanurock | our timings dont match (im in India) |
| 04:42:44 | vs73nx | im in australia |
| 04:42:54 | vs73nx | timings dont match for me too |
| 04:42:59 | yomanurock | where in australia, i have some friends there |
| 04:42:59 | yomanurock | ? |
| 04:43:10 | vs73nx | i wake up early in the morning and stay up late to get these taks done |
| 04:43:10 | vs73nx | sydney |
| 04:43:40 | yomanurock | my friends are in hobart |
| 04:44:28 | yomanurock | getting back to the point, what params do i pass to parseLevelLine? |
| 04:47:08 | yomanurock | ? |
| 04:48:27 | vs73nx | wait... |
| 04:48:43 | yomanurock | k |
| 04:49:06 | vs73nx | parseLevelLine(const char *line, GridDatabase *database, const string &levelFileName) |
| 04:49:32 | vs73nx | a char* or string.c_str() |
| 04:49:42 | vs73nx | a pointer to GridDatabase |
| 04:49:53 | vs73nx | and the levels filename |
| 04:50:40 | yomanurock | but i am parsing a line of levelcode |
| 04:50:59 | yomanurock | what database and levelFileName do i give? |
| 04:51:38 | yomanurock | ? |
| 04:52:48 | vs73nx | are you sure that parseLevelLine is what you want? |
| 04:53:30 | yomanurock | yes |
| 04:53:39 | yomanurock | watasimoto said that it would work |
| 04:53:43 | vs73nx | database 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:46 | vs73nx | ohh ok then |
| 04:53:59 | vs73nx | levelFileName is the levels filename |
| 04:54:02 | vs73nx | duh |
| 04:54:03 | yomanurock | i do understand pointers |
| 04:54:09 | vs73nx | ok then |
| 04:54:18 | yomanurock | yes but i dont have a level file |
| 04:54:24 | yomanurock | just a line of levelcode |
| 04:54:29 | vs73nx | hmm |
| 04:54:37 | vs73nx | im ont farmilliar with levelcode |
| 04:55:22 | vs73nx | the levelFileName is the filename of the level that you are parsing |
| 04:55:24 | vs73nx | i think |
| 04:56:39 | vs73nx | as i said, id wait for Watusimoto or ask Raptor for more help because im not really the most reliable source of help |
| 04:56:55 | yomanurock | but i dont have enough time right? |
| 04:58:06 | vs73nx | oh |
| 04:58:33 | vs73nx | Raptor: are you on? yomanurock want your help. |
| 05:02:07 | yomanurock | sam686, are you on? |
| 05:05:05 | yomanurock | also, i need to make a function something like -- vector<string> splitString(const string &text) //splits Strings into lines according to \n's |
| 05:05:08 | yomanurock | any idea? |
| 05:09:53 | | yomanurock Quit (Ping timeout: 272 seconds) |
| 05:20:15 | | yomanurock has joined |
| 05:35:03 | | fordcars has joined |
| 05:41:28 | | yomanurock Quit (Quit: Page closed) |
| 05:43:16 | amginea | wow i forced a cpp crash on blc |
| 05:43:20 | amginea | dyue to modding |
| 05:43:25 | amginea | integer overflow |
| 05:45:33 | fordcars | Oh that is only because a number is too high |
| 05:46:07 | amginea | i crashed BLC |
| 05:46:13 | amginea | the entire server |
| 05:47:05 | fordcars | Maximum is around 2147483647 |
| 05:47:16 | fordcars | Bitfighter tends to do that :x |
| 05:48:25 | | Skybax Quit (Ping timeout: 272 seconds) |
| 05:55:46 | fordcars | raptor, quick question, in what file does Bitfighter do all of the ranks? |
| 05:55:58 | fordcars | Well, the amount of kills (kills streak) |
| 05:56:54 | raptor | oh hello there |
| 05:57:36 | fordcars | Hi :) |
| 05:58:06 | raptor | what specifically are you looking for? |
| 05:58:40 | raptor | basically 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:46 | fordcars | Ahh sorry |
| 05:58:47 | raptor | however, the rank code is commented out |
| 05:59:08 | raptor | but it starts in gameObjectRender.cpp in the method renderShipName() |
| 05:59:25 | fordcars | Zapgamer wanted to know (for some reason) what it said when he got like 1000 kills etc |
| 05:59:29 | raptor | you'll see a commented out piece renderGamesPlayedMark() |
| 05:59:35 | raptor | kills don't affect rank |
| 05:59:36 | fordcars | Oh ok thanks! |
| 05:59:41 | fordcars | Oh never mind! |
| 05:59:50 | fordcars | :P |
| 06:00:46 | fordcars | Oh gahh never mind, I don't think Zapgamer will cry about it |
| 06:02:11 | raptor | yeah, we had to choose some data point controlled by the master |
| 06:03:43 | | amginea Quit (Ping timeout: 272 seconds) |
| 06:05:39 | raptor | hi vs73nx, you rang? |
| 06:06:07 | vs73nx | oh yes... yomanurock wanted help |
| 06:06:11 | vs73nx | but he left |
| 06:06:29 | raptor | ah yes, i see that. ok, thanks! |
| 06:09:10 | fordcars | Later, I'll be back in around an hour |
| 06:09:13 | | fordcars Quit (Quit: Page closed) |
| 06:27:58 | | Flynnn has joined |
| 06:45:54 | | vs73nx Quit (Read error: Connection reset by peer) |
| 06:46:16 | | vs73nx has joined |
| 06:46:50 | | fordcars has joined |
| 07:17:14 | | kumul Quit (Quit: Leaving) |
| 07:28:43 | | Darrel[OFF] is now known as Darrel |
| 08:00:17 | | Arc has joined |
| 08:00:22 | Arc | hey raptor |
| 08:00:33 | raptor | hi Arc |
| 08:00:40 | Arc | end of gci, students tend to do a task rush. can you help review? |
| 08:01:08 | Arc | you have a claimrequested and needsreview pending |
| 08:01:40 | Arc | ah nm the prior got resolved, just the review pending |
| 08:01:44 | raptor | One I'm reviewing with watusimoto - i didn't know about the claim, let me check |
| 08:01:47 | raptor | ah ok |
| 08:01:54 | Arc | cool |
| 08:02:12 | raptor | yes, you're right about the rush.. :) |
| 08:02:18 | Arc | every year |
| 08:02:43 | Arc | its 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:54 | Arc | and others, who did 2 tasks and want to finish a 3rd for a tshirt |
| 08:03:12 | raptor | ooo, they get a t-shirt for a 3rd task? |
| 08:03:16 | Arc | yep. |
| 08:03:23 | raptor | cool! |
| 08:03:31 | Arc | certificate with 1st, tshirt with 3rd |
| 08:03:55 | Arc | and we're able to award swag packs on our own outside the program as a thank you to students who did more |
| 08:04:13 | raptor | heh, cool |
| 08:05:08 | Arc | right now we only have 6 students who've completed 3+ tasks |
| 08:05:17 | Arc | but 3 more who've completed 2 |
| 08:14:11 | | YoshiSmb Quit (Ping timeout: 272 seconds) |
| 08:36:45 | fordcars | Skybax? |
| 08:36:56 | fordcars | Oh haha never mind |
| 08:37:02 | raptor | ok folks, heading to bed.. night! |
| 08:37:06 | fordcars | Night! |
| 08:37:25 | | raptor Quit () |
| 09:34:15 | | yomanurock has joined |
| 09:34:48 | yomanurock | anyone there who can review my task? |
| 09:37:21 | fordcars | I don't think so :( But watusimoto will be here soon :) |
| 09:37:26 | fordcars | We will be able too |
| 09:37:34 | fordcars | Anyway, I am going to bed, night! |
| 09:37:42 | oskopek | good night fordcars |
| 09:37:50 | fordcars | :P Bye |
| 09:37:56 | | fordcars Quit (Quit: Page closed) |
| 09:55:27 | vs73nx | hmm waiting for watusimoto so he can help me with the final part of my task |
| 09:55:44 | vs73nx | i havent procrastinated, im just i bit slow at programming |
| 09:56:01 | vs73nx | *noob |
| 09:58:30 | oskopek | :D |
| 10:15:36 | sam686 | HI |
| 10:17:08 | vs73nx | hello |
| 10:43:01 | | yomanurock Quit (Ping timeout: 272 seconds) |
| 10:52:40 | | destroyerimo has joined |
| 11:12:49 | | YoshiSmb has joined |
| 11:19:44 | | YoshiSmb has left #bitfighter |
| 11:46:04 | | vs73nx Quit (Remote host closed the connection) |
| 12:30:57 | | destroyerimo Quit (Ping timeout: 272 seconds) |
| 12:42:50 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 13:15:17 | | Nothing_Much Quit (Ping timeout: 265 seconds) |
| 13:15:51 | | Nothing_Much has joined |
| 13:24:59 | | Darrel Quit (Ping timeout: 260 seconds) |
| 13:25:20 | | Darrel has joined |
| 14:34:05 | | yomanurock has joined |
| 14:34:54 | | yomanurock has left #bitfighter |
| 14:43:25 | | yomanurock has joined |
| 14:44:04 | | yomanurock Quit (Client Quit) |
| 15:32:22 | | destroyerimo has joined |
| 15:59:56 | | Nothing_Much Quit (Quit: No Ping reply in 180 seconds.) |
| 16:00:19 | | Nothing_Much has joined |
| 16:37:16 | | Darrel Quit (Read error: Connection reset by peer) |
| 16:39:09 | | Darrel has joined |
| 16:45:54 | | Nothing_Much Quit (Quit: No Ping reply in 180 seconds.) |
| 16:46:15 | | Nothing_Much has joined |
| 17:13:47 | | Watusimoto has joined |
| 17:24:41 | | Nothing_Much Quit (Remote host closed the connection) |
| 17:24:45 | | NothingMuchHereT has joined |
| 17:25:05 | | Watusimoto Quit (Ping timeout: 245 seconds) |
| 17:41:33 | | kumul has joined |
| 17:54:54 | | raptor has joined |
| 17:54:54 | | ChanServ sets mode +o |
| 18:20:30 | | kumool has joined |
| 18:22:53 | | Skybax has joined |
| 18:23:11 | | kumul Quit (Ping timeout: 260 seconds) |
| 18:23:20 | | Watusimoto has joined |
| 18:24:12 | Skybax | Goodmorning |
| 18:26:26 | destroyerimo | good morning |
| 18:34:53 | | noneofmynickswor has joined |
| 18:36:17 | | Canseco has joined |
| 18:38:15 | | kumool Quit (Ping timeout: 276 seconds) |
| 18:48:04 | | kumool has joined |
| 18:49:02 | | noneofmynickswor Quit (Ping timeout: 240 seconds) |
| 19:41:17 | | BFLogBot Commit: d544e2d83b12 | Author: watusimoto | Message: Add info about where a robot came from so the robot manager can prioritize deletion |
| 19:41:19 | | BFLogBot 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:20 | | BFLogBot Commit: beec3f4d33c6 | Author: watusimoto | Message: Add test, fix things so it works; update tests to use ClientInfo::Classxxx |
| 19:41:22 | | BFLogBot Commit: e6a18f1be08f | Author: watusimoto | Message: Merge |
| 19:45:55 | | Watusimoto_ has joined |
| 19:47:22 | | Canseco_ has joined |
| 19:50:16 | | noneofmynickswor has joined |
| 19:52:19 | | Watusimoto Quit (Ping timeout: 248 seconds) |
| 19:53:28 | | Canseco Quit (*.net *.split) |
| 19:56:09 | | fordcars has joined |
| 19:56:31 | fordcars | Skybax! |
| 19:56:45 | fordcars | Yo but is dune |
| 19:57:48 | | kumool Quit (Ping timeout: 260 seconds) |
| 20:01:56 | raptor | hello |
| 20:02:20 | | destroyerimo_ has joined |
| 20:03:06 | fordcars | Hi |
| 20:07:44 | fordcars | Skybax, I PMed you the code on forums |
| 20:07:54 | fordcars | Later, breakfast time |
| 20:07:59 | | fordcars Quit (Quit: Page closed) |
| 20:08:22 | | Darrel Quit (Read error: Operation timed out) |
| 20:08:30 | | destroyerimo Quit (Ping timeout: 265 seconds) |
| 20:08:53 | | Darrel has joined |
| 20:20:04 | | Platskies 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:37 | | sam686 Quit (Read error: Connection reset by peer) |
| 20:37:13 | | oskopek Quit (Ping timeout: 264 seconds) |
| 20:37:26 | | Flynnn has joined |
| 20:37:30 | | destroyerimo_ Quit (Ping timeout: 259 seconds) |
| 20:37:31 | | destroyerimo_ has joined |
| 20:37:39 | | oskopek has joined |
| 20:37:39 | | fordcars has joined |
| 20:37:48 | fordcars | Aww Freenode is getting DDOS again |
| 20:37:49 | fordcars | Really studpid |
| 20:37:59 | noneofmynickswor | should move to oftc |
| 20:38:00 | noneofmynickswor | they dont get ddos there |
| 20:38:03 | noneofmynickswor | All this talk about distributed stuff and security, maybe we need a distributed network |
| 20:38:03 | noneofmynickswor | for chatrooms |
| 20:38:05 | | Guest31816 has joined |
| 20:38:20 | | ChanServ sets mode +v |
| 20:39:14 | Skybax | fordcars: |
| 20:39:23 | Skybax | Are you sure you sent it to me? lol I didn't get any message |
| 20:40:37 | fordcars | Oh reall6? |
| 20:40:45 | Skybax | Yeah |
| 20:40:58 | Skybax | Maybe you accidentally sent it to someone else lol |
| 20:41:07 | fordcars | Hah nah |
| 20:41:17 | fordcars | I guess it bugged, it is not in my outboz :( |
| 20:41:22 | fordcars | *outbox |
| 20:41:39 | Skybax | Sometimes I hit preview instead of submit and think I sent it xD |
| 20:42:11 | Skybax | Ramen is tasty |
| 20:43:31 | fordcars | Hah |
| 20:43:42 | fordcars | Maybe that is what I did |
| 20:45:35 | fordcars | Ohhhhh |
| 20:45:53 | fordcars | CLikcing Submit somehow shows a preview, then if you click again it will send. Weird |
| 20:46:00 | Skybax | That is weird |
| 20:46:50 | fordcars | Anywho, I sent you the code :) |
| 20:46:55 | Skybax | Awesome |
| 20:48:04 | raptor | hello again |
| 20:48:36 | fordcars | Hello |
| 20:48:45 | | Skybax_ has joined |
| 20:49:01 | Skybax_ | lol you said "it's actually really awesome" OF COURSE IT'S AWESOME |
| 20:50:04 | fordcars | Fuck crap man |
| 20:50:25 | fordcars | I didn't test it in all gametypes! |
| 20:50:32 | raptor | I admit your conversation makes no sense to me |
| 20:50:36 | fordcars | It just shoots bursts in Bitmatch |
| 20:50:44 | fordcars | Haha |
| 20:50:45 | Skybax_ | Hahahahaha xD |
| 20:50:51 | | Guest31816 is now known as sam686 |
| 20:51:00 | fordcars | Skybax, I'll repair that |
| 20:51:07 | Skybax_ | So what gametypes does it work in? |
| 20:51:30 | | Skybax Quit (Ping timeout: 252 seconds) |
| 20:51:33 | fordcars | Well, it should work in all games with a loadout right now |
| 20:51:34 | | Skybax_ is now known as Skybax |
| 20:51:45 | Skybax | Okay |
| 20:51:52 | Skybax | What will it do if the level has no loadout? |
| 20:52:05 | fordcars | It is supposed to kill itself :) |
| 20:52:12 | Skybax | Nice x) |
| 20:52:22 | fordcars | But it was never stoping in Bitmatch, so I'll check it out |
| 20:54:52 | fordcars | Wait SKybax_, I'll buff it alittle |
| 20:55:16 | fordcars | 4 shilengths is tough to calculate :P |
| 20:55:29 | Skybax | It just killed me pretty quickly lol |
| 20:55:34 | Skybax | But then Bitfighter crashed |
| 20:55:34 | fordcars | Lol |
| 20:55:40 | fordcars | Haha whaaat |
| 20:55:48 | fordcars | Can you cheeck the log please? |
| 20:55:53 | Skybax | Idk if the bot and the crash are related but I'm gonna try it again lol |
| 20:56:13 | fordcars | :P It shouldn't anyway, that isnt my fault :3 |
| 20:56:16 | sam686 | [14:36:13] NickServ [NickServ@services.]: You have 30 seconds to identify to your nickname before it is changed. |
| 20:56:16 | sam686 | 2 seconds later: [14:36:15] NickServ [NickServ@services.]: You failed to identify in time for the nickname sam686 |
| 20:56:17 | Skybax | Uhh.. where's the log? |
| 20:56:26 | fordcars | With the bifighter.ini |
| 20:56:33 | sam686 | lookss like nickserv didn't give enough time for me to identify |
| 20:56:42 | fordcars | Wow |
| 20:56:52 | fordcars | Well freenode is getting DOS |
| 20:57:21 | | destroyerimo_ Quit (Ping timeout: 276 seconds) |
| 20:57:48 | fordcars | Ok Skybax |
| 20:57:49 | sam686 | at least freenode isn't one giant server, its multiple servers linked together |
| 20:57:50 | fordcars | I got it |
| 20:57:52 | Skybax | fordcars: join my server |
| 20:57:53 | fordcars | Yep |
| 20:58:02 | sam686 | when one freenode server dies, NET SPLIT |
| 21:00:54 | fordcars | raptor, the bot won't update it's module when it kills itself when there are no loadouts |
| 21:01:00 | fordcars | zones |
| 21:03:30 | Skybax | fordcars: The bot works good |
| 21:03:52 | fordcars | Skybax, I am making players it's main goal, and repairing loadouts |
| 21:04:11 | Skybax | Okay. I only want players to be the main goal when it sees one, though |
| 21:04:23 | fordcars | Uh |
| 21:04:34 | Skybax | Like, it goes for the flag, until it sees a player and has to cloak, and then attacks the player |
| 21:04:44 | fordcars | Oh ok |
| 21:04:45 | Skybax | Only hunter players when cloaked |
| 21:05:08 | Skybax | If that makes sense xD |
| 21:05:46 | fordcars | Sure :P |
| 21:06:14 | Skybax | Bitfighter just crashed again |
| 21:06:15 | raptor | fordcars, I don't understand |
| 21:06:23 | fordcars | Uh |
| 21:06:54 | fordcars | The 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:03 | fordcars | *requested |
| 21:07:20 | Skybax | The log says nothing about crashing |
| 21:07:45 | fordcars | Good Skybax, that may mean that it is not my fault :P |
| 21:07:52 | fordcars | But it is weird |
| 21:08:09 | fordcars | What error message do you get? |
| 21:08:17 | raptor | fordcars: you can do setLoadoutNow() also |
| 21:08:25 | Skybax | Well 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:35 | fordcars | raptor, what |
| 21:08:46 | fordcars | Ok Skybax |
| 21:09:00 | raptor | yeah, loadout is much easier in 019 |
| 21:09:05 | Skybax | Bitfighter 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:09 | fordcars | raptor, if that function does what I think it does, than you have got to be kidding me |
| 21:09:14 | raptor | you can set a bot's loadout at any time |
| 21:09:20 | raptor | immediately |
| 21:09:23 | fordcars | OH MY GAOIHSDOUHDSUISDGHIUDSGSIDUGSD |
| 21:09:34 | Skybax | Hahaha xD |
| 21:09:48 | fordcars | I had written a huge chunck of code to have a stable loadout change |
| 21:09:57 | fordcars | Argh |
| 21:10:02 | fordcars | Arghargharghargharghargahgrhgar |
| 21:10:09 | fordcars | aghghgahgrhargharghragrahgrahgrahraghraghragrahgrahgrahgrahgrahgrahrghrghraghragrhgrahgrah |
| 21:10:14 | Skybax | Well it makes it more like a real player if it has to loudout lol |
| 21:10:22 | fordcars | Lol yeah |
| 21:10:25 | fordcars | Ok |
| 21:10:37 | fordcars | If they are no loadouts, it will cheat, ok :3 |
| 21:10:41 | Skybax | Otay! |
| 21:10:45 | fordcars | yay! |
| 21:11:24 | sam686 | when did it crash? when starting a map/hosting? or when soccer touches goalzone in soccer gametype? |
| 21:12:33 | Skybax | Before 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:53 | Skybax | Idk for sure though |
| 21:14:14 | fordcars | Weird it doesn't do that for me |
| 21:14:20 | fordcars | It is only globalMsg() |
| 21:15:30 | sam686 | what version you have? the release 019, or the later version? |
| 21:18:08 | Skybax | 019 |
| 21:18:10 | raptor | also - if you guys are getting the game to hard crash, we really want to know about and how to duplicate |
| 21:18:37 | raptor | *any* crash is a critical bug |
| 21:19:31 | | Canseco_ Quit (Remote host closed the connection) |
| 21:20:01 | fordcars | Alright SKyboax, I made the Cloaking mechanisme way better |
| 21:20:12 | | Skybax_ has joined |
| 21:20:32 | sam686 | the 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:49 | Skybax_ | SKyboax |
| 21:21:00 | fordcars | :) |
| 21:21:10 | Skybax_ | Aight |
| 21:21:15 | fordcars | Aight |
| 21:21:27 | Skybax_ | It hasn't crashed again |
| 21:21:32 | Skybax_ | And I've been playing for a few minutes |
| 21:21:53 | sam686 | what do you want, a CrashBot? |
| 21:22:05 | Skybax_ | lol if you have multiple Skybots they talk to each other a lot xD |
| 21:22:22 | Skybax_ | A LOT |
| 21:22:55 | | Skybax Quit (Ping timeout: 260 seconds) |
| 21:23:24 | Skybax_ | Oh. Nope, just crashed again xD |
| 21:23:55 | sam686 | bot file? |
| 21:24:06 | | Skybax has joined |
| 21:24:39 | Skybax | You want it? |
| 21:25:17 | sam686 | if it crashes only with your custom bot, I probably want to see your bot file |
| 21:26:22 | Skybax | fordcars: 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:27 | sam686 | eliza bot just don't talk to each other though, not sure whats differeent with yours |
| 21:26:45 | Skybax | It turned into a cloaking OrbitBot! |
| 21:27:00 | fordcars | Lol what |
| 21:27:06 | Skybax | Join my server and see |
| 21:27:07 | Skybax | It's orbiting me |
| 21:28:16 | | Skybax_ Quit (Ping timeout: 265 seconds) |
| 21:29:33 | fordcars | raptor, how do we know if it is a team gam? |
| 21:30:18 | raptor | it's in the gameinfo object |
| 21:30:22 | raptor | let's see.. |
| 21:31:03 | raptor | http://bitfighter.org/luadocs/class_lua_game_info.html |
| 21:31:15 | raptor | you get it by doing bf:getGameInfo |
| 21:31:22 | fordcars | Aww sweet |
| 21:31:41 | fordcars | bf:getGameInfo():isTeamGame()? |
| 21:32:14 | raptor | yessiree |
| 21:32:35 | Skybax | Crashed again |
| 21:32:44 | Skybax | Directly after I added the bot |
| 21:33:05 | fordcars | Skybax, really weird |
| 21:33:48 | raptor | give bot! we need to know the crash |
| 21:33:53 | Skybax | Here's a link to the bot file https://drive.google.com/file/d/0BxG8HP-PAsmMSExJZEgtRGxWNE0/edit?usp=sharing |
| 21:34:07 | raptor | thanks! |
| 21:34:19 | | LordDVG has joined |
| 21:38:08 | | LordDVG Quit (Remote host closed the connection) |
| 21:41:50 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 21:45:47 | fordcars | SKybax, it should be pretty much done now |
| 21:45:53 | fordcars | *Skybax |
| 21:45:53 | Skybax | Okay |
| 21:46:01 | fordcars | I'll just debug it now :) |
| 21:48:36 | | Skybax_ has joined |
| 21:52:36 | | Skybax Quit (Ping timeout: 276 seconds) |
| 22:00:05 | | Skybax_ is now known as Skybax |
| 22:02:19 | | Platskies Quit (Quit: Sleep time…) |
| 22:24:21 | | Flynnn has joined |
| 22:25:43 | | Platskies has joined |
| 22:35:28 | Skybax | Find anything crashy with the bot, raptor? |
| 22:45:35 | | vs73nx has joined |
| 22:46:14 | vs73nx | Watusimoto_: you thrre? |
| 22:53:00 | | Skybax Quit (Ping timeout: 245 seconds) |
| 22:53:55 | fordcars | Skybaaaaxxxx |
| 22:54:09 | | Watusimoto_ Quit (Ping timeout: 252 seconds) |
| 22:54:11 | | Skybax has joined |
| 22:54:27 | fordcars | SKybax, I repaired cloak, player priority and Single Team games :D |
| 22:54:38 | fordcars | Bitmathc with Nexus works now |
| 22:54:42 | Skybax | Hooray! |
| 22:54:44 | fordcars | Argh typos |
| 22:55:05 | fordcars | I'll just make the bot search for neutral loadout zones too, and then we are done! |
| 22:55:22 | Skybax | Just post it in the Bots section when it's complete |
| 22:55:29 | fordcars | Forums? |
| 22:55:36 | Skybax | Yeah |
| 22:55:39 | vs73nx | its the lest day of GCI today... |
| 22:55:43 | fordcars | Ok |
| 22:55:46 | fordcars | :) |
| 22:55:51 | vs73nx | i think |
| 22:56:15 | vs73nx | raptor: aree you able to hep me with a dilema with polymorthism? |
| 22:56:37 | vs73nx | is it possible for a function which is declared like. Superclass *function() that returns new Subclass() ? |
| 22:56:47 | vs73nx | so woiuld i use it like Parent *parent = functionThatReturnsChild() |
| 22:57:40 | vs73nx | i also asked on ##c++ and someone said that using a hared_ptr would be a good idea... |
| 22:57:41 | vs73nx | is it |
| 23:00:03 | sam686 | I see there is some sort of problem in skybot, with possible recursive event inside event, when longtext is longer then 30 characters. |
| 23:00:18 | fordcars | Wow |
| 23:01:11 | sam686 | somehow Robot::lua_globalMsg getGame() returns a broken pointer |
| 23:01:14 | fordcars | Ok finally done this |
| 23:01:23 | fordcars | Whaa really? |
| 23:01:45 | Skybax | What if we make it 60 characters instead of 30? |
| 23:01:57 | fordcars | It wont chnage anything I think :( |
| 23:02:16 | fordcars | sam, why is it only in that function? longText |
| 23:02:34 | fordcars | Ohhh neverMind |
| 23:02:46 | sam686 | its not just that, its when a bot event triggers after a bot does global |
| 23:02:47 | fordcars | Is it because of that array in longText? |
| 23:02:47 | sam686 | Msg |
| 23:03:04 | fordcars | Oh ok |
| 23:03:17 | Skybax | So it's the bot triggering it's own events? |
| 23:03:23 | vs73nx | hmmm none of the montors are on... |
| 23:03:45 | fordcars | Skybax, it is a bug when the bot "talks" right after an event I guess |
| 23:03:52 | fordcars | Luck :/ |
| 23:04:43 | sam686 | now I get a stack overflow |
| 23:04:50 | fordcars | Wow |
| 23:05:49 | fordcars | Skybax, can you join my server? |
| 23:06:22 | sam686 | probably when globalMsg(..) calls another bot's function onMsgReceived(message) which itself runs globalMsg that calls another bot's onMsgReceived |
| 23:06:28 | sam686 | and so on... |
| 23:06:32 | fordcars | Oh okokok |
| 23:07:02 | sam686 | I have had another crash, out of random, a different one too.. |
| 23:07:20 | fordcars | isRobot() never worked, so I can't really repair that |
| 23:07:35 | fordcars | oh wait |
| 23:07:43 | Skybax | So it's the bot triggering it's own events? xD |
| 23:07:56 | fordcars | YEah, I'l fix it :) |
| 23:07:57 | fordcars | Typos... |
| 23:08:43 | Skybax | If your server is the IP that starts with 96, I time out when trying to connect |
| 23:08:51 | fordcars | Not me :) |
| 23:09:01 | sam686 | it 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:03 | fordcars | Wait, I'll repair the bug, then I'll host |
| 23:09:14 | fordcars | OH yeah Skybax |
| 23:09:22 | fordcars | Like eliza |
| 23:09:40 | fordcars | Execpt eliza crashes trying to get the bot's info |
| 23:09:49 | Skybax | Ah, so that's why it would crash when using multiple bots? |
| 23:09:56 | fordcars | Yeah :/ |
| 23:10:04 | fordcars | sam, does isRobot() still work? |
| 23:10:08 | sam686 | 96.2 was my server.. |
| 23:10:22 | fordcars | Oh probably not since it doesn't work in Eliza |
| 23:10:34 | Skybax | Hey, wouldn't the same thing happen if one of the bot's random sayings was longer than 30 characters> |
| 23:10:35 | Skybax | ? |
| 23:10:46 | fordcars | Yeah |
| 23:10:57 | Skybax | So could that be why it crashes by itself? |
| 23:11:01 | fordcars | Nonononon |
| 23:11:07 | fordcars | :) |
| 23:11:19 | Skybax | Okay |
| 23:11:28 | fordcars | The robot can't launch the messageReceived event by itself, happily |
| 23:11:32 | sam686 | function onMsgReceived(message, player) |
| 23:11:33 | sam686 | if message ~= "" and not player:isRobot() then |
| 23:11:40 | vs73nx | raptor: are you there? |
| 23:11:45 | fordcars | sam, isRobot doesn't work since 018 I think |
| 23:11:45 | sam686 | that what elizabot has |
| 23:12:14 | sam686 | maybe you need to add a second argument for onMsgReceived |
| 23:12:18 | fordcars | Oh it works now! |
| 23:12:23 | fordcars | Eliza^^ |
| 23:12:27 | fordcars | Ok, I'll use that |
| 23:13:23 | fordcars | Tadaa, repaired, thanks sam |
| 23:13:29 | Skybax | Wooha |
| 23:13:41 | fordcars | Ok SKy, hosting |
| 23:20:15 | Skybax | What happens if you say something over 30 characters that also has "sky" in it? |
| 23:20:18 | Skybax | Will it trigger two events? |
| 23:20:42 | fordcars | Uh no I made sure it wouldn't, to keep the realism |
| 23:20:45 | fordcars | :) |
| 23:20:48 | Skybax | Okay |
| 23:22:15 | fordcars | Sone |
| 23:22:18 | fordcars | *Done haha |
| 23:22:48 | Skybax | Neato! |
| 23:22:55 | raptor | hi |
| 23:22:59 | raptor | vs73nx: i'm here |
| 23:23:10 | vs73nx | oh good |
| 23:23:17 | raptor | tell me your woes |
| 23:23:21 | vs73nx | i have some problems with polymorthism |
| 23:23:36 | raptor | fun topic! |
| 23:23:58 | vs73nx | behold... |
| 23:23:59 | vs73nx | vhttp://pastie.org/8604918 |
| 23:24:02 | vs73nx | http://pastie.org/8604918 |
| 23:24:11 | vs73nx | ^this one is correct |
| 23:24:24 | vs73nx | gosh i need to learn to type |
| 23:25:11 | raptor | hmmm... I think this is more complicated than it needs to be |
| 23:25:27 | vs73nx | yeah so the return type is LevelSource, yet it returns a sibling of the superclass. EG FolderLevelSource |
| 23:25:44 | raptor | ok, so let's back up - tell me what your attempting to do |
| 23:26:41 | vs73nx | have a function that when called returns a pointer to FolderLevelSource, or FileListLevelSource, depending on if the -usefile command line switch is used |
| 23:26:49 | raptor | ah ok |
| 23:26:49 | sam686 | skybax or anyone, you see my 'sam test' as no longer ping timed out? |
| 23:26:54 | raptor | i don't think you should do that |
| 23:27:08 | vs73nx | go on... |
| 23:27:14 | raptor | ultimately you want the game to have a list of levels, right? |
| 23:27:20 | vs73nx | yes |
| 23:27:21 | sam686 | it turns out I needed to make sure the iptables was correct (used for port forwarding) |
| 23:27:32 | vs73nx | but i want to choose which source |
| 23:27:51 | raptor | so whether or not that is a Folder or LevelFile is important |
| 23:27:55 | raptor | but |
| 23:27:59 | sam686 | parhaps an update to iptables from upgrade deleted all my iptables entries, or maybe a reboot erased them.. who knows |
| 23:28:46 | raptor | when 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:21 | vs73nx | ok |
| 23:29:46 | raptor | so how did watusimoto tell you to activate the FileList? |
| 23:30:00 | vs73nx | dont think he did |
| 23:30:07 | raptor | oh no? |
| 23:30:15 | raptor | hmmm... ok, that means I need to do a code dive |
| 23:30:26 | vs73nx | well then i have a function called getPlaylist that returns a list of all the levels inside a levelFile? |
| 23:30:26 | raptor | i'm guessing he mentioned that you provide a command line argument, yes? |
| 23:30:40 | vs73nx | i got that sorted |
| 23:30:41 | sam686 | think its time to reboot my router then.. |
| 23:31:00 | vs73nx | -usefile works... |
| 23:31:07 | raptor | ok, you coded that? |
| 23:31:13 | vs73nx | yes |
| 23:33:05 | | sam686 Quit (Read error: Connection reset by peer) |
| 23:35:58 | fordcars | Ok |
| 23:36:01 | | sam686 has joined |
| 23:36:01 | | ChanServ sets mode +v |
| 23:36:01 | fordcars | :) |
| 23:39:21 | vs73nx | raptor: i also have a function called 'isUsingPlaylist()' that is a bool ( duh ) |
| 23:42:35 | raptor | ok, i'm starting from the beginning... |
| 23:42:40 | raptor | in main.cpp |
| 23:42:46 | raptor | i see a LevelSource being created |
| 23:43:08 | raptor | it is put into initHosting() |
| 23:43:14 | vs73nx | thats for the dedicated server though... |
| 23:43:27 | vs73nx | wait nvm |
| 23:43:29 | vs73nx | continue\ |
| 23:43:31 | raptor | it's for any server |
| 23:43:50 | fordcars | Skybax, it is done! Do I put it one forums? |
| 23:44:01 | Skybax | Sure! |
| 23:44:03 | raptor | in initHosting() we have getLevelCount() which you implemented in your FileListLevelSource? |
| 23:44:06 | fordcars | Okey |
| 23:44:21 | sam686 | initHosting is called when you host (from the game menu) |
| 23:44:35 | vs73nx | getLevelCount() isnt impoemented |
| 23:44:53 | raptor | oh wait, it doesn't need ot be |
| 23:44:58 | sam686 | although initHosting is called the moment dedicated runs, without the fancy client/rendering |
| 23:45:00 | raptor | because the parent (LevelSource) does it |
| 23:45:15 | raptor | ok, so you have that covered |
| 23:45:54 | fordcars | Done! |
| 23:47:03 | Skybax | Awesome! |
| 23:47:17 | Skybax | You mispelled "talking", though lol |
| 23:47:21 | Skybax | You said "taking" |
| 23:48:27 | fordcars | Whaaaa |
| 23:48:32 | Skybax | xD |
| 23:48:42 | fordcars | :P |
| 23:49:12 | fordcars | My brother tried playing against the bot, bot -5 bro -0 Mhahaha |
| 23:49:35 | fordcars | - not being negative :3 |
| 23:49:42 | fordcars | "-"^^ |
| 23:51:06 | sam686 | I think you should see my sam test as pingable now.. I hope.. |
| 23:52:07 | sam686 | oh wait, its not my router, it may be windows firewall blocking incoming connection |
| 23:52:15 | Skybax | It's an epic bot |
| 23:53:00 | fordcars | :) |
| 23:53:35 | raptor | vs73nx: 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:43 | raptor | i'm sorry |
| 23:53:55 | vs73nx | but he isnt going to be here for a while... |
| 23:54:13 | raptor | hmmm... you're right, it's already passed his bed time |
| 23:55:00 | fordcars | :) |
| 23:55:06 | raptor | well I don't know what to do exactly - I don't fully understand what he was architecting |
| 23:55:41 | vs73nx | same |
| 23:56:06 | vs73nx | and i was so close... |
| 23:56:12 | sam686 | windows firewall OFF, port forwarded, what else can get in the way from allowing my 'sam test' from being pingable? |
| 23:56:17 | vs73nx | only 4 GCI tasks total done... |
| 23:56:32 | vs73nx | good enough |
| 23:56:38 | vs73nx | 2 bitfighter ones |
| 23:56:43 | vs73nx | and 2 KDE ones |
| 23:57:21 | vs73nx | i think i did ok for a coder who doesnt understand pointers, polymorthism, and memory allocation |
| 23:57:49 | vs73nx | i hope im welcome to continue with bitfighter development after GCI? |
| 23:58:07 | raptor | heh |
| 23:58:09 | raptor | sure |
| 23:58:18 | vs73nx | ok |
| 23:58:23 | raptor | but it might be good to do less intensive tasks |
| 23:58:27 | raptor | we had some hard ones |
| 23:58:28 | vs73nx | agreed |
| 23:58:32 | raptor | you did KDE? |
| 23:58:35 | vs73nx | yes |
| 23:58:40 | raptor | what did you do for them? |
| 23:59:07 | vs73nx | port libkwineffects to use QCDebug |
| 23:59:08 | vs73nx | and |
| 23:59:21 | vs73nx | oprt libkdekoration to use QCDebug |
| 23:59:37 | vs73nx | it was cmake and C++ |
| 23:59:42 | vs73nx | very fun |
| 23:59:49 | raptor | Skybax / fordcars / sam686, i can't get that earlier revision of skybot to crash on the latest development version |