#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2014-01-08

Timestamps are in GMT/BST.

00:05:39Nothing_Much Quit (Remote host closed the connection)
00:12:08Canseco Quit (Remote host closed the connection)
00:36:09kodab Quit (Ping timeout: 272 seconds)
00:47:58Flynnn Quit (Quit: This computer has gone to sleep)
00:53:03Nothing_Much has joined
01:08:05raptor has joined
01:08:05ChanServ sets mode +o
01:08:11raptorhello!
01:08:34Watusimoto_what a bitfightery day
01:08:38Watusimoto_crazy
01:08:45raptoroh?
01:08:56raptorI was on from 9 to 1 and there wasn't a peep
01:12:11Watusimoto_http://gamejolt.com/games/arcade/bitfighter/20546/
01:12:21Watusimoto_this took waaaay too long
01:12:31Watusimoto_I've also been searching for a good screenshot sharing site
01:12:39Watusimoto_and been ealing with our various gci students
01:13:00raptoroh wow!
01:13:06Watusimoto_I wrote a long review of the copy/paste task (spent 45 mins or so on it), which melange promptly deleted
01:13:15raptorawww
01:13:15Watusimoto_you saw the much truncated 5 minute rewrite
01:13:26Watusimoto_(or at least you should have)
01:13:35raptornot yet...
01:13:39raptorchecking...
01:13:47Watusimoto_emailed it to r@b.org
01:13:53raptoroh great
01:13:56Watusimoto_bcc'ed you
01:14:09Watusimoto_in any event, tonight was the night I was going to bed early...
01:14:21vs73nxaww
01:14:21Watusimoto_so now that's it's 2:15AM, I'll bid you a good night
01:14:28vs73nxgoodnight!
01:14:29raptorgood night!
01:18:17SkybaxGoodmorning!
01:18:31vs73nxGood afternoon!
01:18:52Watusimoto_ Quit (Ping timeout: 246 seconds)
01:20:01vs73nxraptor: ive nearly got my project working!
01:20:13vs73nxalthough im having problems with leveloading
01:22:24vs73nxit seems that no matter what path i supply to my leveloading routine, it cant seem to find the level
01:36:54fordcars has joined
01:37:25raptorhi vs73nx
01:37:36raptorso the playlist loads?
01:37:45raptorbut when it looks for the level it can't find it?
01:53:07BFLogBot Commit: 708d4fbb4a9f | Author: buckyballreaction | Message: Fix scrolling MOTD. I'm not sure I like this font..
02:04:11raptor Quit (Ping timeout: 272 seconds)
02:26:02Flynnn has joined
02:53:21Nothing_Much Quit (Remote host closed the connection)
04:06:21Darrel[OFF] Quit (Read error: Connection reset by peer)
04:19:18Darrel has joined
04:33:47raptor has joined
04:33:48ChanServ sets mode +o
04:44:47fordcarsraptor? I need help with a timer, it's just, weird
04:44:55raptorhello!
04:45:01fordcarsHi!
04:45:04raptortell me your woes
04:45:50fordcarsThe timer is set to 10000 ms, and it doesn't run the event before 10000, but for like another time, like around 80000
04:46:23fordcarsI tried a timer alone in a levelgen, and it is fine.
04:46:34fordcarsIf you want I can show you
04:47:20raptorshow me code
04:47:53fordcarshttp://pastie.org/8612788
04:48:18fordcarsBut this works fine: http://pastie.org/8612789
04:53:16raptorthat first one is so complicated that I think I would print out the timedelays before they're run
04:54:08fordcarsI did actually
04:54:22fordcarsI even did it in onTick and it is ALWAYS 10000
04:54:52raptorevent hat getRandomNumber one?
04:56:46fordcarsUh, yeah? What do you mean
04:57:02raptoreven that
04:57:21fordcarsOh, no
04:57:23raptorthere is one scheduleOnce with a random amount
04:57:34Darrel Quit (Read error: No route to host)
04:57:40fordcarsThat one, I don't really know if it is spot on,
04:58:09fordcarsBut, with an argument, I can specify to use that or not, and when I don't use it, I am sure that it doesn't go into that
04:58:12raptoryou need to save that value first and print it out
04:59:55fordcarsThat value isn't modified
05:00:03fordcarstimeDelay?
05:00:24Darrel has joined
05:02:27raptorthis line: Timer:scheduleOnce(switchPlayers,getRandomNumber(timeDelay-timeAddSubPercent,timeDelay+timeAddSubPercent))
05:03:03raptoryou need to store this in variable: getRandomNumber(timeDelay-timeAddSubPercent,timeDelay+timeAddSubPercent)
05:03:09raptorand print that, just to check
05:03:16fordcarsOh ok
05:04:24Darrel Quit (Read error: Connection reset by peer)
05:05:07fordcarsI get 8223
05:05:12fordcarsThat is a good value
05:05:56raptorin both places? in main() and in switchPlayers() ?
05:06:28Darrel has joined
05:08:30Flynnn Quit (Quit: This computer has gone to sleep)
05:08:54Darrel Quit (Read error: Connection reset by peer)
05:09:03fordcarsOh, uh
05:09:40fordcarsWell I copied pasted those
05:11:16Darrel has joined
05:13:53fordcarsI get 8342, which is also good
05:29:48Nothing_Much has joined
05:33:26Flynnn has joined
05:38:20raptorcould it be that some other condition just isn't being met until a few iterations?
05:46:07fordcarsI don't have a loop :P But seriously, I really have no idea, I am near certain that it runs the right stuff, but, argh
05:46:22raptoryes you do
05:46:35raptoryou call switchPlayers(), then at the end, you call switchPlayers() again
05:47:02fordcarsWhere?
05:47:09raptorfunction switchPlayers()
05:47:20raptorat the end you do: Timer:scheduleOnce(switchPlayers,timeDelay)
05:47:25raptoryou call itself again
05:47:29raptorthat's a loop
05:47:33fordcarsOh ok sorry
05:47:53raptorso, i'm thinking that you go through the loop several times before actually switching
05:48:21raptorwhich if you put a print statement in the switchPlayers() method you can see if that's true
05:49:24fordcarsAhh maybe
05:49:37fordcarsWhoa Bitfighter crashed while I was trying to add a bot, random
05:49:42fordcarsNo error message
05:49:47fordcarsAdding Zapdancer
05:52:26fordcarsHeh, haveMargin is always false
05:53:00raptorthat's because it's only set in main(), i think
05:53:08fordcarsYeah
05:54:03fordcarsI tried a globalMsg in switchPlayers(), it only runs once per switch
05:54:31raptorif you add a logprint, it'll show up in the console (CTRL + / )
05:54:37fordcarsBut, actually, the timer runs for 4 sconds it seems, coincidentially the percentage thing I put there, probably a coincidence though
05:54:38raptoror in a terminal
05:54:58fordcarsOh ok thanks
05:57:11fordcarsOh never mind, it is not 4 seconds, more 5 seconds
05:57:58fordcarsWhen I logprint timeDelay before and after the Timer in the if, I get 10000
06:03:42raptorI'm wondering about this conditional in switchPlayers() - if(getLength(allItems)>1)
06:04:00raptorif that isn't met, then it doesn't do the task, right? is that met on every loop?
06:12:18fordcarsep
06:12:21fordcars*Yep
06:54:51fordcarsI guess I am stuck for now
06:54:56fordcarsAnyway, night!
06:55:02fordcars:P
06:55:05fordcars Quit (Quit: Page closed)
07:23:52raptor Quit ()
07:37:55vs73nx Quit (Ping timeout: 245 seconds)
07:41:08Flynnn Quit (Quit: Leaving)
08:31:40Skybax Quit (Ping timeout: 245 seconds)
08:44:05watusimoto has joined
08:44:05ChanServ sets mode +o
09:21:16vs73nx has joined
09:23:23vs73nxhi all!
09:39:06vs73nx_ has joined
09:39:36vs73nx_watusimoto: did you get anything of what i said?
09:39:50vs73nx_my ping timed out so you might of not seen it
09:39:53watusimotono
09:39:56vs73nx Quit (Ping timeout: 252 seconds)
09:40:00vs73nx_oh
09:40:26vs73nx_yeah so ive beed tinkering with the code all day
09:40:36vs73nx_but to no avail
09:40:49vs73nx_right now im resorting to hardoding the levels name...
09:42:36vs73nx_yeah, that didnt work
09:50:43vs73nx_watusimoto: Yay, i can get fileExists(filename.c_str()) to work!
09:52:03vs73nx_but sadly i am getting this message...
09:52:03vs73nx_Unable to find level file "bm.level
09:52:09vs73nx_:(
09:57:51Darrel Quit (Read error: Connection reset by peer)
09:58:10vs73nx_watusimoto: IT WORKS!!!!!
09:58:16vs73nx_i finally got it working!
09:58:27watusimotofeels good, no?
09:58:45vs73nx_yes, but with a catch...
09:58:57vs73nx_the levels need to be in the levels folder
09:59:08vs73nx_and the levelfile im loading is hardcoded
09:59:11vs73nx_but still...
09:59:19vs73nx_its pretty cool
09:59:33watusimotogreat!
10:01:30Darrel has joined
10:02:22vs73nx_watusimoto: Why would if i use a hardcoded string it works, yet when i use a softcoded string that is EXACTLY the same, it doesnt work?
10:02:41watusimotorae the
10:02:50watusimotoare they strings or const char *s?
10:04:03vs73nx_tried both
10:04:11vs73nx_example...
10:04:52vs73nx_string filename = FolderManager::findLevelFile(GameSettings::getFolderManager()->levelDir, fullFilename); < DOESNT work -- fullFilename value is "bm.level"
10:04:55vs73nx_yet...
10:05:08vs73nx_string filename = FolderManager::findLevelFile(GameSettings::getFolderManager()->levelDir, "bm.level"); < WORKS
10:05:51vs73nx_also if i do fullFileName.c_str(), it doesnt work
10:06:07watusimototry a 3rd variant, with some new var called test; then set test = "bm.level" and see if that works
10:06:14watusimotomaybe you already tried that
10:07:05vs73nx_no i havent
10:08:06vs73nx_the test var works
10:08:21watusimotook, so compare test and fullFilename
10:08:26watusimotothey must be different
10:09:12vs73nx_when i printf they are exactly the same...
10:09:24watusimotoactually compare them with ==
10:09:32vs73nx_but test is a string, while fullFilename, is a const string &fullFilename
10:09:52watusimotoyou can still compare them
10:13:49vs73nx_hmm
10:14:01vs73nx_the condition file != fullFilename fails
10:14:12vs73nx_and my debugging output returns this...
10:14:22vs73nx_File and fullFilename dont match...
10:14:22vs73nx_File = bm.level
10:14:22vs73nx_fullFileName = bm.level
10:15:04vs73nx_NOTE: file is the test var
10:15:35watusimotoma
10:15:42watusimotomaybe one has a space around it?
10:15:50vs73nx_no
10:15:55vs73nx_they dont
10:16:17vs73nx_well.
10:16:18watusimotoso they look the same, but the computer tells you they are not the same
10:16:21vs73nx_maybe they do
10:16:26watusimotoI'd check
10:16:39vs73nx_how do i get rid of spaces in a string?
10:16:41watusimotoprintf ("xx%sxx")
10:16:48watusimotowe have a trim function
10:18:38vs73nx_your right...
10:18:54vs73nx_File = __bm.level__
10:18:54vs73nx_fullFileName = __bm.level
10:19:12vs73nx_and the printf\'s are
10:19:20vs73nx_printf("File = __%s__\n", file.c_str());
10:19:20vs73nx_printf("fullFileName = __%s__\n", fullFilename.c_str());
10:19:57vs73nx_why would the chars after the second string be ignored?
10:21:42watusimotonot sure, but the solution is to trim your nput
10:21:45watusimotoinput
10:23:02vs73nx_whats the niput trimming function?
10:23:06vs73nx_*input
10:24:39watusimototrim
10:24:44watusimotoin stringutils
10:26:26vs73nx_is this the right syntax?
10:26:26vs73nx_string file2 = trim(fullFilename);
10:28:40vs73nx_beacuse idid that and im still getting the same tresults
10:28:50vs73nx_*i did that ^
10:29:01vs73nx_*results
10:32:10vs73nx__ has joined
10:32:45vs73nx__watusimoto: did you say anything while was gone?
10:33:17vs73nx_ Quit (Ping timeout: 252 seconds)
11:07:18vs73nx__watusimoto: what is the correct way to use the trim function?
11:09:49watusimotolook for examples in the code
11:09:56watusimotox=trim(y) or something like that
11:10:27vs73nx__im usning the trim function but it isnt doing anything
11:12:03vs73nx__i know the problem...
11:12:14vs73nx__i need to trim a newline at the end of the problem string
11:32:50vs73nx__i got the newline trimming to work...
11:39:56YoshiSmb has joined
11:41:59vs73nx__watusimoto: ok i got it fully working without hardcoded values
11:42:10vs73nx__but the levels still need to be in the levels folder...
11:42:13vs73nx__is that ok?
11:44:34vs73nx__watusimoto: oh dear, it isnt working...
11:44:45vs73nx__it seems to only work with one level...
11:50:44YoshiSmbmorning!
11:54:52vs73nx__good night, YoshiSmb
11:54:55vs73nx__heh
11:55:05vs73nx__isnt different timezones fun!
11:55:13vs73nx__*arent
11:55:27YoshiSmbwell yea,
11:56:00YoshiSmbim 3 hours away from the server.
11:56:04YoshiSmb-3 GMT
11:57:15YoshiSmb(sometimes i forget the hour for the party servers)
11:59:18vs73nx__well its 11 o'cloack in australia!
11:59:22vs73nx__*clock
11:59:26vs73nx__*PM
11:59:43YoshiSmb8:59 o'clock here.
12:00:03YoshiSmbPM
12:00:47vs73nx__oh
12:02:27vs73nx__YoshiSmb: im going to take a guess here, based on the freenode server your connected to... do you live in germany?
12:05:43YoshiSmbnope
12:06:56YoshiSmbi always connect to a random server, :/
12:07:04YoshiSmbno wonder why...
12:08:18vs73nx__oh ok, whoops :3
12:15:00watusimotovs73nx__: it would be good if you could specify any level name -- no path would be in the levels folder, or a relative or absolute path
12:15:50watusimotofor the moment you can focus on the no path/levels folder option, which seems to be working, and we can look at the other variants later, after everything else is working
12:16:28YoshiSmbvs73nx__: so, you're new here huh?
12:22:32Watusimoto_ has joined
12:33:04vs73nx__watusimoto: unfortunantly i cant load more than a single file
12:33:10vs73nx__YoshiSmb: yes i am
12:33:39YoshiSmbthen, welcome to bitfighter.
12:33:53watusimotowhy not?
12:34:07vs73nx__dont know
12:34:34vs73nx__when i add a new file i get the output... EG:
12:34:36vs73nx__Could not load level zc.level -- FullFileName = levels/zc.level... Skipping...
12:38:15YoshiSmb Quit (Ping timeout: 272 seconds)
12:44:21YoshiSmb has joined
12:49:51YoshiSmb!bot
12:49:51BFLogBotI'm a real boy!
12:56:47Watusimoto_ Quit (Ping timeout: 246 seconds)
13:04:19vs73nx__ok everyone im going to bed
13:04:23vs73nx__cya all!
13:05:00vs73nx__ Quit (Quit: bedtime for me)
13:32:52Watusimoto_ has joined
13:40:19YoshiSmb Quit (Ping timeout: 272 seconds)
14:08:07Invisible1 has joined
14:11:18Watusimoto_ Quit (Ping timeout: 265 seconds)
14:14:38Invisible1 Quit (Ping timeout: 240 seconds)
14:20:23Watusimoto_ has joined
14:21:40Invisible1 has joined
14:38:43Watusimoto_ Quit (Ping timeout: 260 seconds)
14:51:37destroyerimo has joined
15:02:05Watusimoto_ has joined
15:10:08NothingMuchHereT has joined
15:10:29Nothing_Much Quit (Ping timeout: 246 seconds)
15:14:02koda has joined
15:30:53yomanurock has joined
15:31:19yomanurockcan watusimoto still review my task though gcis over?
15:31:30yomanurock(i sumbitted before it ended)
15:31:59watusimotoI sent you an email; I can discuss it with you in about 1/2 hour
15:32:10yomanurockk
15:32:13yomanurockill check
15:34:50NothingMuchHereT Quit (Ping timeout: 252 seconds)
15:36:18Nothing_Much has joined
15:40:17yomanurock Quit (Quit: Leaving)
15:50:53sam686 has joined
15:51:07ChanServ sets mode +v
16:01:30koda Quit (Ping timeout: 276 seconds)
16:02:44Invisible1 Quit (Ping timeout: 252 seconds)
16:06:55Watusimoto_ Quit (Ping timeout: 260 seconds)
16:13:59Watusimoto_ has joined
16:57:47koda has joined
17:14:54raptor has joined
17:14:54ChanServ sets mode +o
17:14:58raptorgood day!
17:16:50raptorwatusimoto: what is game jolt exactly? another desura-like platform?
17:21:53Darrel Quit (Ping timeout: 272 seconds)
17:22:23Darrel has joined
17:27:04Skybax has joined
17:36:44kodab has joined
17:39:39koda Quit (Ping timeout: 276 seconds)
17:49:36koda has joined
17:53:02kodab Quit (Ping timeout: 245 seconds)
18:00:26Skybax Quit (Read error: Connection reset by peer)
18:00:36Canseco has joined
18:02:12Watusimoto_ Quit (Ping timeout: 245 seconds)
18:07:38Skybax has joined
18:28:47watusimoto Quit (Ping timeout: 260 seconds)
18:39:09koda Quit (Ping timeout: 272 seconds)
18:54:33Canseco Quit (Ping timeout: 252 seconds)
19:58:55Watusimoto has joined
20:32:25Watusimotohi all
20:32:35Watusimotoraptor: gamejolt seems to be a desura-light site
20:32:50raptorhi Watusimoto
20:32:56raptorhmm interesting
20:33:02Watusimotoone cool idea they have is to use portable installs as a kind of "run almost in the browser" type think
20:33:05raptoryou chose some really good artwork!
20:33:18Watusimotoexcept that it din't work for Bitfighter, which is why we got a rating of 1 by someone who tried it
20:33:25raptoroh?
20:33:26WatusimotoI've since disabled that feature for us
20:33:29Watusimotothanks
20:33:43Watusimotowe should rename the game Bitfighter 2100
20:33:52Watusimototo be more futuristic
20:34:07raptorthat's a big leap in version numbers..
20:34:18WatusimotoBiftifhter 2100 019a
20:34:23Watusimotowould be the next release
20:36:45Watusimotoanother idea, to up our player stats
20:37:32raptorthat's umm... a mouthful?
20:37:33Watusimotowould be to choose a random "unlogged in" name each time the game starts, so ChumpChange would not be used over and over
20:38:13raptor Quit (Remote host closed the connection)
20:38:41Flynnn has joined
20:40:05sam686perhaps a random number at the end of name might do..
20:40:20sam686Probably should save random name into ini so it uses the same random name for each computer
20:41:34WatusimotoMaybe something like this
20:41:35Watusimotohttp://jsfiddle.net/Panomosh/AXbLy/embedded/result/
20:41:53Watusimotobut funnier
20:42:41Flynnn Quit (Client Quit)
20:43:22sam686I go with at least 4 digits random number
20:44:15sam686One idea, can make the master pick a unique random name for a client and have that client save that random name into ini.
20:44:49sam686the master server can potentially can make sure its name isn't used, for stats tracking.
20:47:00Flynnn has joined
20:47:00Flynnn Quit (Remote host closed the connection)
20:51:03Watusimotook I've been looking for an easy image sharing website where people cna upload good screenshots of bitfhgiter, and we can periodically harvest them for use in promotional material
20:51:05Watusimotocriteria:
20:51:14Watusimoto1) easy upload with no login required
20:51:32Watusimoto2) taggability/searchability so we can find the bitfighter images
20:51:38Watusimoto3) not lame
20:52:24Watusimotoso far, imgur is the best I've found, except I can't find the images I upload. I label them with bitfighter, and there is a search, but the search does not find my uploads
20:52:26Watusimotoany ideas?
20:53:45sam686I don't know any good ones.. most of my images and files I upload to..... is http://sam6.25u.com/upload/
20:53:58sam686though, raptor sometimes uploads there..
20:54:47sam686and thats my home server, right next to me..
20:54:56Flynnn has joined
21:06:29Flynnn Quit (Ping timeout: 265 seconds)
21:06:33Flynnn has joined
21:30:44WatusimotoI'm thinking for players
21:58:02destroyerimo Quit (Ping timeout: 252 seconds)
22:05:33koda has joined
22:12:18yomanurock has joined
22:12:45yomanurockhi, sam686
22:12:53sam686hi
22:13:41yomanurock has left #bitfighter
22:55:34koda Quit (Quit: Leaving)
22:56:14Flynnn Quit (Quit: This computer has gone to sleep)
22:56:37Flynnn has joined
22:57:06Flynnn Quit (Client Quit)
23:06:10Watusimotoshould we create a BitfighterCoin?
23:06:13Watusimotohttp://coingen.io/
23:07:40Darrel is now known as Darrel[OFF]
23:12:03Skybax Quit (Ping timeout: 260 seconds)
23:25:52Flynnn has joined
23:36:38YoshiSmb has joined
23:46:25YoshiSmb Quit (Ping timeout: 272 seconds)
23:52:51Flynnn Quit (Quit: This computer has gone to sleep)

Index Search ←Prev date Next date→

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