#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2014-07-05

Timestamps are in GMT/BST.

00:44:22raptor has joined
00:44:22ChanServ sets mode +o
00:44:33raptorgood evening
00:47:56amgine123gtg in 13m
00:48:13amgine123raptor is 10x^2 ok for exp to level ?
00:48:19raptorhi
00:48:29raptormight be
00:53:14raptorfalling asleep. night!
00:53:19raptor Quit ()
00:54:15amgine123night
00:58:26amgine123 Quit (Ping timeout: 246 seconds)
01:40:23Flynnn has joined
01:42:17Flynnn Quit (Client Quit)
02:37:13Flynnn has joined
04:03:55Flynnn Quit (Quit: This computer has gone to sleep)
04:04:49Flynnn has joined
04:21:33Invisible has joined
04:22:13Invisible Quit (Client Quit)
04:25:34Flynnn Quit (Quit: This computer has gone to sleep)
04:40:45Akien has joined
04:59:58Watusimoto has joined
05:55:35destroyerimo_clo has joined
05:57:17LordDVG has joined
06:22:09Platskies has joined
06:48:05Watusimoto Quit (Ping timeout: 240 seconds)
07:51:55LordDVG Quit (Ping timeout: 255 seconds)
08:05:03LordDVG has joined
09:44:07Akien Quit (Remote host closed the connection)
10:42:44raptor has joined
10:42:44ChanServ sets mode +o
10:47:11destroyerimo_clo Quit (Ping timeout: 264 seconds)
10:48:22destroyerimo has joined
10:59:37Platskies Quit (Read error: Connection reset by peer)
11:13:45destroyerimo_clo has joined
11:15:59destroyerimo Quit (Ping timeout: 264 seconds)
11:29:18destroyerimo has joined
11:31:07destroyerimo_clo Quit (Ping timeout: 244 seconds)
12:08:11destroyerimo Quit (Ping timeout: 264 seconds)
12:31:58Watusimoto has joined
12:44:36raptorAttempting to fix the forums' styles
12:53:03raptorgetting closer!
13:03:57raptoroh wow, sam686 got the wiki hooked into phpbb, and using a better method than before (with a real plugin)
13:08:42raptorha!
13:08:49raptorI just found a pleiades export from June 6
13:08:54raptornot a database dump
13:08:57raptora levels dump
13:09:01raptorfrom my export script
13:50:32raptorgetting closer!
14:15:43raptorWatusimoto: I propose putting the header styles in the page_header.html include
14:15:58raptorand pulling them out from other CSS
14:16:07raptorbecause... look at the forums
14:23:13raptornevermind... looks like i got it
14:23:59Watusimotohi
14:24:49Watusimotonot sure where you ended up with the style question
14:24:53Watusimotobut
14:25:43WatusimotoI propose that we collapse all the styles into two stylesheets -- one for common styles that will be used across different elements (forums, wiki, etc.), and one that is just for the static web pages, that doesn't make sense to share
14:25:52Watusimotoand, at the same time, weeding out all the unused styles
14:25:58raptorwe need a 3rd
14:26:00raptorfor the header
14:26:15Watusimotothe header here is the menu bar/site logo/etc.?
14:26:22raptoryes
14:26:25raptorno other styles
14:26:37Watusimotothat wouldn't go in the common styles?
14:26:56raptorno, because the common styles includes conflicting things that are already set by the forums style
14:27:03raptorprobably because it was drupal stuff
14:27:49Watusimotoso the forums would only use the header styles, and not common styles?
14:27:57raptorI just split out the header styles and it fixes in the forums
14:28:10raptoryes, because it has its own style scheme
14:28:27Watusimotoso, if I understand, we will have styles duplicaed between forums and what I am calling common
14:28:51raptorI was not proposing to do major style overhaul of the forums/wiki - just get the overall feel close, then use the site headers
14:29:33Watusimotook
14:29:38Watusimotoso I propose this
14:29:48raptorwith my current stategy, I only had to include one line in one file for the forums
14:29:52raptorok
14:29:55Watusimotoshort term solution: 3 styles, with some duplication, but less work
14:30:08Watusimotolong term aspirational goal; 2 styles with less duplication
14:30:43raptorthe issue with the 2 styles is that both the forums/wiki pull from their own theme engines
14:31:00raptoroh wait
14:31:05raptormaybe i'm misunderstanding
14:31:15raptorbecause right now, static pages are pulling styles from forums
14:31:29WatusimotoI didn't realize that
14:31:50raptoroh yeah - there is this ugly mix of drupal/forums styles
14:31:58raptorbut there are direct includes to the forums
14:32:32Watusimotomy aspiration is to have a single set of styles that applies to wiki/html/forums
14:32:38Watusimotothat aspiration may never be met
14:32:43raptorok wait
14:32:58Watusimotomaybe I should look at some page code!
14:33:01raptori agree with that, but is the scope of the single-set? is it just for header/footer?
14:33:08sam686 Quit (*.net *.split)
14:33:09raptor*but what is
14:33:30raptorif the single-set of styles is just for page header/footer, then i think that's doable
14:33:35Watusimotomy thought was the scope would include things like the orange header color
14:34:01Watusimotoor the blue we use here and there
14:34:04Watusimotoand the fonts
14:34:14Watusimotobut not necessarily the structural layout stuff
14:34:43raptori was thinking it'd just be header/headerlinks/online box/footer
14:35:00raptoranything else and we have to diagnose overrides with the forums/wiki/anyotherapp internal themes
14:35:30Watusimotowell, let's start with what you propose
14:35:38Watusimotobut I think for the font colors it may work ok
14:35:41raptorit looks like our original site used the forums styles hacked into drupal
14:35:46Watusimotoeven if we have to resort to tstuff like:
14:36:18Watusimoto.phpthingie, .mediawikitextcolor, .favorite_blue { textcolor: blue }
14:36:35raptorok
14:36:46Watusimotobut I want to be pragmatic
14:36:52raptoryes, most definitely
14:37:03Watusimotoand so I say let's worry about that tomorrow
14:38:19raptorok here: https://beta.etherpad.org/bfsitedesign
14:38:37amgine123 has joined
14:44:59Watusimotoso it appears you want to collapse the two headers I created into one (menu bar + frame starting stuff)
14:45:02Watusimotois that right?
14:45:07raptoryes
14:45:34raptorwe should have a large frame wrapper so that the forums don't look like they do now... :)
14:45:54raptorand that will go right up against the other header stuff
14:47:10Watusimotooh, so all pages will go inside the set of 6 divs?
14:47:21raptor6?
14:47:24Watusimoto5?
14:47:28raptorone
14:47:44Watusimotodid you change that?
14:47:48sam686 has joined
14:47:48ChanServ sets mode +v
14:47:48raptormaybe 2 or 3 if really needed?
14:47:50raptorno
14:48:03Watusimotothe existing code (last time I looked) had 6
14:48:20Watusimotonot sure that all 6 are needed, but the page frame has a complex look
14:48:22raptoryeah - that was because of the hacked forums-on-drupal work
14:48:26Watusimotoyes
14:48:33Watusimotook, so you simplified it
14:49:43raptorbasically, i think we need a single wrapper for any apps that we want to 'fit' in
14:49:45Watusimoto*updating local cache so I can see what things look like code-wise*
14:49:57raptorand therefor not conflict with the header as the forums do now
14:50:11raptorWatusimoto: you are pulling from bf.org, not pushing, right?
14:50:28Watusimotouh....
14:50:39raptorI haven't done the simplification work yet
14:50:42Watusimotoit was my intent to pull
14:51:18Watusimotobut now you've scared me
14:51:33raptorha... you just pushed the changes back to bf.org
14:51:38Watusimotocrap!
14:51:54WatusimotoI'm using an unfamilliar tool to keep a synchronized copy locally
14:52:07raptorwhat exactly did you sync?
14:52:13raptor(before you go further)
14:52:25WatusimotoI thought that when it started it updated my local copy; maybe it starts by updating the remote copy
14:52:37Watusimoto/var/www/html
14:52:45Watusimotonot all of it
14:52:46raptor!!
14:53:06Watusimotobut the html and css stuff
14:53:17Watusimotodid I just wipe out your work??
14:53:31raptorno... because i moved all styles to a single directory
14:53:33raptor:)
14:53:52raptoroh, haha, you adjusted the permissions on 'html'
14:53:55Watusimotook, well, before I start this thing in the future, I'll do a manual sync from remote to local
14:53:55sam686at least it didn't erase the wiki phpbb plugin...
14:54:02raptorno wonder you were able to sync ...
14:54:25raptorok, almost cleaned up remote
14:54:32raptorlooks like you did something with screenshots..
14:54:35Watusimotoman, really sorry for any distress
14:54:40raptorlet me make sure my changes are still there
14:55:00Watusimotoat least "delete files" is unchecked :-)
14:55:16raptorok
14:55:18raptorall cleaned up
14:55:22Watusimotothat was fast
14:55:32raptori checked timestamps :)
14:55:48raptorso you'll find that there is no more an 'includes' or 'styles' directory
14:55:50fordcars has joined
14:55:53raptoreverything is under 'inc' now
14:56:47raptorand i've given everyone write access to the files beneath
14:56:51Watusimotook, doing a manual sync now
14:57:47sam686http://sam6.25u.com/wiki/skins/ maybe someday you can download bitfighter.zip wiki skins when ready
15:03:57sam686raptor said in forums "The biggest issue I see is possible conflicting database IDs.", easy, made the new level database ID start at ID=1000
15:05:15raptorok back, sorry - my 2 year old unraveled an entire TP roll
15:05:31raptorthey make such nice fluffy piles!
15:06:02raptorok, i did a quick static file backup to our backup server
15:06:05raptorhi sam686
15:06:35raptorI actually found all levels up until june 6th in a local copy of the pleiades level server
15:06:47raptorso i just have to write a reimport...
15:07:00raptorafter i get kaen to tell me how to redeploy pleiades...
15:08:45Akien has joined
15:09:18amgine123hey raptyor i think i found a good equation for exp needed to level
15:09:39amgine123Y=(x(x+0)*10
15:11:09amgine123does that look good ?
15:11:15raptorWatusimoto: are you editing files from windows?
15:11:25Watusimotono, or ever?
15:11:29Watusimoto*now*
15:11:34raptornow
15:11:40WatusimotoI'm not editing anything now
15:11:45WatusimotoI'm just downloading stuff
15:11:48raptorbecause if you are using linux, you can open remote files in any kde editor
15:12:08WatusimotoI do edit them in windows
15:12:11raptorif windows... i think there is a jedit plugin that'll do it, too
15:12:13Watusimotobut preserve line endings
15:12:48Watusimotowinscp has an option to keep a local folder synced with a remote one
15:12:49amgine123@ raptor and wattsimo ive decided on exp need to level for a level system will be x(x+0)*10 is that good ?
15:12:51raptorooo... and this: http://itekblog.com/ssh-with-notepad/
15:13:26Watusimotoamgine123: I can look at that to compare, but I've been using a system that looks like this:
15:13:38Watusimoto100, 200, 500, 1000, 2000, 5000, ...
15:13:45sam686you can just open txt and himl files into visual studio or whatever you have it reads and probably keeps line endings there too. windows notepad can't read line endings
15:13:52amgine123it gets to stteep later on
15:13:55amgine123steep
15:14:02amgine123level 100 is ridicolus
15:14:21amgine123and thats if im correct x(x+1)*50
15:14:29Watusimotothe idea was to make the first level trivial, and to have only 9 levels, and to make it so sam686 would still have at least one more level to go
15:14:38raptorhaha
15:14:48amgine123well im thinking of a higher level system
15:15:11raptorNppFTP looks cool! but you probably use sublime in windwos?
15:15:19Watusimotothis idea was coneived when we were thinking of having level badges next to player names. that required a limited number of levels
15:15:26Watusimotothat idea seems somewhat dead
15:15:40Watusimotoor at least it's pining for the fjords
15:16:22Watusimoto(if anyone gets that reference)
15:17:05raptorso i propose a single div so that everything is below the header
15:17:33raptorI have to find a non-conflicting id name
15:17:47Watusimoto(https://www.youtube.com/watch?v=npjOSLCR2hE)
15:18:09WatusimotoI'm not sure such a div will work
15:18:15Watusimotobut other than that, I like it!
15:18:46amgine123not really you could have more levels but fewer badges
15:19:25amgine123look at my equation its really mild and gives alot of flexibility
15:19:37amgine123only 100000 exp for level 100
15:19:43amgine123100k
15:20:21Watusimotook, good amgine123
15:22:58raptorhowabout: bfheader, bfpage, bffooter
15:23:07raptoras ids for our 3 section divs
15:23:15raptoron every page, including forums/wiki
15:23:44raptorbecause 'header' and 'page' and 'footer' are already taken in varying degrees by the web apps
15:26:32Watusimotoit compiles!!!!
15:26:48Watusimotoraptor: the ids sound good
15:26:51raptorWatusimoto: are you working on the website at all?
15:26:58Watusimotobfheader or bf_header
15:26:59raptorif not, then i'd like to make some changes...
15:27:00Watusimotono
15:27:04Watusimotogo for it
15:27:04raptorok great
15:27:13raptorunderscore looks cleaner
15:27:16WatusimotoI was planning on doing some of the grunt work of consilidating the styles
15:27:24Watusimotobut am not doing that now
15:27:35Watusimotoand will not do that unless I need some "down" time
15:36:31raptorha
15:50:16raptorThis is what I did with my down time the last 2 days: https://github.com/raptor/stars/blob/master/java/src/main/java/org/starsautohost/starsapi/encryption/Decryptor.java
15:51:26raptorrewrote the stars! file decryption algorithm in java
16:02:55Watusimotogreat!
16:03:02Watusimotowhy?
16:03:53raptorbecause I wanted to change a server flag in a game i was playing with my brother (forgot to let AIs ally with each other)
16:04:13destroyerimo has joined
16:04:46amgine123whew just finished putting in a new faucet handle for my father
16:05:08amgine123im soaked XD
16:06:47raptorand i discovered that everyone else was keeping the stars! decryption code secret
16:06:56raptorso i decompiled a .NET DLL i found
16:07:02raptorand posted it
16:08:35amgine123stars ?
16:09:41amgine123btw raptor the code is a bit messy why dont we do like professionals and have 2 files 1 with source code and 1 with a header
16:10:05amgine123or jsut put all headers into a super header that only needs to be called once .....
16:12:42Anonymous_ has joined
16:16:51Anonymous_ Quit (Ping timeout: 246 seconds)
16:28:06Akien Quit (Ping timeout: 240 seconds)
16:29:01fordcarsamgine123, the files are split like that like that it is waaaayyy easier to find the things you are looking for. It is more organized this way.
16:29:25amgine123not really it takes me forever to find certin files
16:29:52amgine123i mean if you need some individual headers you can keep them al but calling 1 header is easier no ?
16:30:04amgine123you can call the individual one
16:32:39fordcarsWell it's not very difficult. Say you want colors, you include "colors.h"
16:33:22amgine123but what if oyu want more then one header owuldnt it be nice to jsut say one header instead of like 50 million ?
16:33:57raptorit's called modularization, and you'll almost never find a professional project that uses only 1 header
16:34:09raptorin fact, the only one i can think of is sqlite3
16:37:16fordcarsModular programming is a software design technique that emphasizes separating the functionality of a program into independent, interchangeable modules, such that each contains everything necessary to execute only one aspect of the desired functionality. Conceptually, modules represent a separation of concerns, and improve maintainability by enforcing logical boundaries between components
16:43:06Akien has joined
16:52:08sam686No matter what I put on $server in stats db_functions.php it will not connect to the correct server... It turns out index.php was setting $server = ""; after including db_functions.php
16:52:26raptoroh wow
16:52:37raptoryeah, rename the variables in db_functions
16:53:36sam686I just erase the $server = "" line and it now connects to correct server
16:54:05sam686http://sam6.25u.com/bitfighter/gamereports/ using the replicated copy of database
16:54:42sam686I end up using $server = ":/var/run/mysqld/mysqld2.sock"; for my second server, or it can also be localhost:3308
16:56:00sam686i think I have a slightly older version of stats then the one on bitfighter.org currently
16:56:41sam686will update it eventually, probably after when kaen updates it
17:07:35destroyerimo Quit (Ping timeout: 264 seconds)
17:26:23amgine123hey sam
17:26:46amgine123im thinking of X(x+0)*10 for exp needed for each level what do you think ?
17:27:00LordDVG Quit (Remote host closed the connection)
17:53:50Watusimotowow... costa rica is tied with NL after the first 90 mins
17:53:59Watusimotonever expected that
18:24:56Akien Quit (Quit: Quitte)
18:32:53Flynnn has joined
18:52:48sam686I dare you try to load http://sam6.25u.com/bitfighter/gamereports/?days=30000 into your web brower... internet explorer hangs for a minute then crashes.. chrome goes blackout when scrolled all the way to the bottom after gaving it 20 minutes to load completely
18:59:37raptorsorry, playing with site styles
18:59:42raptornobody panic!
19:04:54sam686game reports between 22 Nov 2013 06:19:46 PM and 03 Jul 2014 03:16:28 PM appers to be missing or lost
19:09:42raptoryes - all databases, except forums, date to 23 Nov
19:10:18sam686forum files/avatars?
19:10:55sam686There is a whole lot of broken avatar pictures, and that might also include the broken download attachments
19:13:12sam686the "search" bar in the forum looks like it is way off to the right edge of the page
19:21:08sam686after putting in bitfighter.php in skins, in wiki/localsettings.php, change $wgDefaultSkin = "bitfighter";
19:22:22sam686you don't need to change the DefaultSkin yet, until after verifying that http://bitfighter.org/wiki/index.php?title=Main_Page&useskin=bitfighter is a bitfighter skin
19:35:30sam686|2 has joined
19:35:30ChanServ sets mode +v
19:36:22sam686|2is my other sam going to time out?
19:39:32sam686|2or is my other sam going to net split away from here?
19:40:49sam686|2my other sam was at adams freenode net, I switched to card freenode net
19:41:45sam686|2either the ping time out changed to 480 seconds or more likely, the one of many freenode server died
19:42:06sam686 Quit (*.net *.split)
19:42:34sam686|2and.. that was the adams freenode net server that I lost connection to....
19:42:52sam686|2 is now known as sam686
19:43:55fordcarsHey raptor, you are a java developer, right?
19:44:17raptoryes
19:44:34fordcarsJust wondering, when you create a new object, and you dereference it, does the object delete itself?
19:45:02fordcarsObj obj = new Obj();
19:45:05fordcarsobj = 0;
19:45:32raptorno
19:45:34raptorbut
19:45:46raptorwell sort of
19:45:48raptorok
19:45:53raptorforget references
19:46:01raptorjava has a garbage collector
19:46:15raptorso depending on the scope of the object, it will get cleaned up automatically
19:46:26fordcarsThat's like javascript
19:46:32raptoryes and Lua
19:46:49fordcarsLol, I never did any object oriented programming with Lua
19:47:06raptorheh, i've tried but failed miserably
19:47:39fordcarsOk, so if there aren't any variables that point to the object, then it gets thrown away (in the garbage) when the scope ends?
19:47:49fordcarsOr somthing
19:50:24sam686I think I partly kindof done something like oop on one level in lua? http://sam6.25u.com/43265784/2/
19:50:57sam686well that link is not so secret anymore... it was back in a level editing contest
19:55:33sam686not found http://bitfighter.org/forums/images/smilies/zap_dance.gif
19:56:03raptortry searching for those resources in /root/temp/bitfighter
19:56:12raptorthat's the old website dump from the previous move
19:56:23sam686A bunch of post icons is also missing like http://bitfighter.org/forums/images/icons/day.png
20:00:40sam686sudo find /root -name zap_dance nope nowhere to be found bit i did found day.png
20:01:23amgine123trying to find missing server files ?
20:09:24sam686theres the php warning [Sat Jul 05 19:40:08 2014] [error] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York'
20:12:15sam686anybody have this file? [Sat Jul 05 20:10:13 2014] [error] script '/var/www/html/stats/player.php' not found or unable to stat
20:22:53Watusimotosam686: you can probably answer this the quickest:
20:22:58Watusimotois this case feasible?
20:22:59Watusimotohttps://code.google.com/p/bitfighter/issues/detail?id=448&start=100
20:23:34Watusimotothat is, can we scope objects on a per-player basis, and only send textItems to the players who should see them?
20:24:03raptorI hated having to debug that team/neutral/editor rendering logic
20:29:36sam686the scoping stuff is done one gametype.cpp performScopeQuery
20:30:10sam686TextItem::onAddedToGame have setScopeAlways
20:32:40WatusimotoWould it be feasible to create a setScopeTeam() or something?
20:33:03WatusimotoI think it should be
20:34:43Watusimotook, well, time for bed
20:34:56Watusimotogood night!
20:35:00raptornight!
20:40:06Watusimoto Quit (Ping timeout: 272 seconds)
21:54:26raptor Quit ()
23:21:50Flynnn Quit (Quit: This computer has gone to sleep)
23:25:02destroyerimo has joined
23:53:07destroyerimo_clo has joined
23:54:17destroyerimo Quit (Ping timeout: 252 seconds)
23:54:40amgine123 Quit (Ping timeout: 246 seconds)

Index Search ←Prev date Next date→

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