00:00:00 | Watusimoto | this appears to be the line causing the problem: |
00:00:00 | Watusimoto | if(SDL_SetVideoMode(sdlWindowWidth, sdlWindowHeight, 0, sdlVideoFlags) == NULL) |
00:00:00 | Watusimoto | logprintf(LogConsumer::LogFatalError, "Setting display mode failed: %s", SDL_GetError()); |
00:01:00 | Watusimoto | unfortunately, it isn't ours |
00:01:00 | raptor | i put that there! |
00:01:00 | Watusimoto | that seems to fire events simulating keys up |
00:01:00 | raptor | but it should only be called once upon start up |
00:02:00 | | raptor Quit (Remote host closed the connection) |
00:02:00 | Watusimoto | it's called every time you change alt-enter mode |
00:23:00 | | raptor has joined |
00:23:00 | | ChanServ sets mode +o raptor |
00:23:00 | raptor | ok, yes, i was thinking it was the line in InitSdlVideo |
00:24:00 | raptor | so that is very important line |
00:30:00 | Watusimoto | falling asleep |
00:31:00 | Watusimoto | goog night |
00:31:00 | raptor | night |
00:38:00 | | Watusimoto Quit (Ping timeout: 248 seconds) |
00:38:00 | | raptor Quit (Remote host closed the connection) |
03:40:00 | | Zoomber has joined |
03:40:00 | | ChanServ sets mode +v Zoomber |
04:00:00 | Zoomber | http://www.youtube.com/watch?feature=player_embedded&v=Teaft0Kg-Ok |
04:02:00 | CrazyLinuxNerd | that you zoom? |
04:04:00 | Zoomber | haha no i wish |
04:04:00 | CrazyLinuxNerd | i fancy a pancake now |
04:05:00 | Zoomber | true |
04:05:00 | CrazyLinuxNerd | anyhows.. i best get back to trying to get a project of mine to compile :-) |
04:06:00 | CrazyLinuxNerd | (Well i say project, it's more of an experiment, and learning thing) |
04:10:00 | | Zoomber Quit (Ping timeout: 248 seconds) |
04:57:00 | | raptor has joined |
04:57:00 | | ChanServ sets mode +o raptor |
04:57:00 | raptor | now to fix this blasted drupal problem.. |
04:57:00 | raptor | sam686: if you are still here - any other progress on the new site? |
05:06:00 | raptor | ha!! |
05:10:00 | raptor | drupal is working better now |
06:51:00 | | raptor Quit (Remote host closed the connection) |
08:34:00 | | watusimoto has joined |
08:34:00 | | ChanServ sets mode +o watusimoto |
09:54:00 | | CrazyLinuxNerd Quit (Quit: Leaving) |
12:01:00 | sam686 | $HTTP_GET_VARS don't work anymore which is what kind of breaks http://199.192.229.168/screens/thumbs/rid.php?pic=random1 |
12:02:00 | sam686 | easily fixed by changing $HTTP_GET_VARS to $_GET |
13:23:00 | | kodax has joined |
14:05:00 | | kodax Quit (Quit: kodax out) |
14:06:00 | | kodax has joined |
15:08:00 | | LordDVG has joined |
15:18:00 | | raptor has joined |
15:18:00 | | ChanServ sets mode +o raptor |
15:21:00 | raptor | onwards to drupal 7! |
15:24:00 | sam686 | at one time, i got an error with unable to save master.cfg, probably because the master was in the middle of reading that master.cfg |
15:24:00 | sam686 | but i have now got the http://199.192.229.168/statusWidget.php under line name part working (authentication) |
15:25:00 | raptor | it might have been my fault - i've been messing with permissions again.. |
15:25:00 | sam686 | it was my master.cfg mistake |
15:26:00 | sam686 | the problem was the master had no logprint on authenticate error, and it says it was trying to log in as a wrong "sam686" user instead |
15:27:00 | sam686 | i had the wrong "maysql3_username master" instead of what should be just "db_username master" |
15:37:00 | watusimoto | you guys are fantastic! |
15:37:00 | watusimoto | I so hate doing what you're doing! |
15:37:00 | watusimoto | totally hate it |
15:37:00 | watusimoto | hate hate hate it |
15:37:00 | watusimoto | etc. |
15:37:00 | raptor | i consider it a nice break from c++... :) |
15:42:00 | raptor | ok, here goes the upgrade... |
15:43:00 | raptor | 6% ! |
15:45:00 | sam686 | is it possible to have like master.bitfighter.org a different address (like, to 199.192.229.168) while continuing ( a little longer) to keep bitfighter.org the old address |
15:46:00 | sam686 | because it is possible to have some dns name as a master server |
15:46:00 | raptor | probably |
15:47:00 | sam686 | 67.18.11.81 is where our old bitfighter.org is, but 67.18.11.66 is where the old master is.. |
15:47:00 | raptor | they were different IPs? |
15:47:00 | raptor | i thought they were the same... |
15:47:00 | sam686 | they wasn't the same |
15:48:00 | sam686 | i tried bitfighter.org as a master server address a long time ago and it doesn't work due to different addresses |
15:51:00 | sam686 | though, bitfighter.org and master server would be the same after bitfighter.org points to 199.192.229.168 (not now but soon) |
15:52:00 | raptor | ok, well |
15:52:00 | raptor | the database upgrade worked |
15:52:00 | raptor | but the site is very interesting now...: http://199.192.229.168/ |
15:52:00 | watusimoto | egads! |
15:53:00 | raptor | did you add any drupal custom modules? |
15:56:00 | | BlackBird has joined |
15:56:00 | BlackBird | hello? |
15:56:00 | sam686 | hi |
15:57:00 | BlackBird | _k: i am having an issue with submiting my level |
15:57:00 | BlackBird | i had to submit it with just plain text insted of puting it in the level code thing |
15:58:00 | sam686 | i don't know if _k is available right now at this minute... usually just go AFK here in IRC |
15:58:00 | BlackBird | i know |
15:59:00 | raptor | if you type his full name, IRC might alert him: karamazovapy |
15:59:00 | BlackBird | just when he does come to, he can read it. |
15:59:00 | raptor | gotta go! |
15:59:00 | | raptor Quit (Remote host closed the connection) |
15:59:00 | BlackBird | ok |
15:59:00 | BlackBird | its really weird |
16:00:00 | BlackBird | gwhen i put the code in the "level code" things, and preview it, its just blank. |
16:00:00 | BlackBird | however when i put it on C++ or bot code, there is somethin here |
16:01:00 | sam686 | just put in [code] level_goes_here [/code] and it will be fine.. |
16:01:00 | BlackBird | thats what i did |
16:02:00 | BlackBird | but when i do that there isnt anything there |
16:02:00 | BlackBird | as in no level code or text |
16:02:00 | BlackBird | nothing |
16:02:00 | BlackBird | zilch |
16:02:00 | BlackBird | nada |
16:03:00 | sam686 | not sure, maybe your level is too big, i guess |
16:03:00 | sam686 | can try uploading as a file |
16:03:00 | BlackBird | it isnt very big at all |
16:03:00 | BlackBird | how ever i do have ALOT of curves |
16:04:00 | BlackBird | i will say that much about my level |
16:04:00 | sam686 | or you can paste level text here http://pastie.org/ and pm the link to your level |
16:04:00 | sam686 | as in pm to _k |
16:05:00 | BlackBird | i just copy and pasted the text strait from the level file |
16:05:00 | BlackBird | and sent him that |
16:06:00 | sam686 | i guess it might be fine without any [code] either but it won't look the prettiest |
16:06:00 | BlackBird | the level or the pm? |
16:06:00 | sam686 | the pm level code without [code] |
16:06:00 | BlackBird | ok |
16:07:00 | sam686 | if you have a message on outbox you could edit ot.. |
16:07:00 | sam686 | until the receiver reads it, and outbox moved to sent message |
16:08:00 | BlackBird | so when is he deadline for the contest thingy? |
16:08:00 | watusimoto | hey sam686 -- I want to make bitfighter.net go to the new domain; any idea on which nameservers I need to specify? |
16:09:00 | sam686 | i don't know if you need to specify any name server unless you want something like something.bitfighter.net |
16:15:00 | watusimoto | well, at my domain registrar I need to specify a nameserver |
16:16:00 | watusimoto | right now it points to the company hosting bitfighter.org |
16:17:00 | watusimoto | no worries -- I'll open a support ticket and go from there |
16:20:00 | | BFLogBot - Commit b6c307e581ac | Author: sam8641 | Log: change MasterServerAddress, fix master.cfg support file |
16:25:00 | BlackBird | blarg |
16:28:00 | | BlackBird Quit (Quit: Page closed) |
16:41:00 | | raptor has joined |
16:41:00 | | ChanServ sets mode +o raptor |
16:42:00 | raptor | ok back |
16:42:00 | raptor | so for drupal 7: i think I need to completely revert and start anew |
16:43:00 | raptor | maybe make an entirely new site and slowly import content from scratch? |
16:43:00 | raptor | I'm not exactly sure how to use drupal and if there is some sort of export... |
16:54:00 | raptor | hi watusimoto, can you please reset the password of user id 1 on drupal again? |
16:55:00 | watusimoto | um... is that the admin user? |
16:56:00 | watusimoto | ok, done. new pw works this time |
16:57:00 | raptor | thanks |
17:03:00 | raptor | also watusimoto do you remember any customizations you did to drupal? |
17:06:00 | | kodax Quit (Quit: kodax out) |
17:06:00 | watusimoto | photos |
17:06:00 | raptor | aww |
17:07:00 | watusimoto | and videos |
17:07:00 | raptor | the zubrick theme |
17:07:00 | raptor | not available for drupal 7 |
17:07:00 | watusimoto | but maybe those were just custom html in the content itself |
17:07:00 | watusimoto | zubrick is not available? |
17:07:00 | raptor | not for 7 |
17:07:00 | watusimoto | well screw it -- should we try a different cms? |
17:08:00 | watusimoto | Drupal is overly complex for our needs, and I never could figure out how to give k rights to modify the home page |
17:08:00 | raptor | well, either we rewrite everything in the new CMS or we rewrite half of it for drupal 7 |
17:08:00 | raptor | because druapl stores everything in a database... |
17:08:00 | watusimoto | copy and paste |
17:08:00 | watusimoto | most of the content on the home page can go anyway |
17:08:00 | watusimoto | some is really old |
17:09:00 | raptor | http://en.wikipedia.org/wiki/List_of_content_management_systems |
17:10:00 | raptor | looks like our best options are drupal, joomla!, wordpress |
17:10:00 | raptor | because they handle updates/upgrades |
17:10:00 | watusimoto | joomla is way too over the top |
17:11:00 | raptor | oh yeah, i agree |
17:11:00 | watusimoto | wordpress will work for this?? |
17:11:00 | watusimoto | there are other simpler cms's I think |
17:11:00 | raptor | like vi |
17:11:00 | watusimoto | like, say simplecms |
17:11:00 | sam686 | haha, Mediawiki is listed as part of "List of content management systems" |
17:11:00 | watusimoto | and, yes, I suppose, like vi |
17:11:00 | raptor | so the whole nature of a cms can be too complex: storing all the nodes in a database |
17:12:00 | watusimoto | yes |
17:12:00 | watusimoto | maybe we can get by with static html |
17:12:00 | watusimoto | most of the site is static anyway |
17:12:00 | watusimoto | but |
17:12:00 | raptor | ?: http://www.cmsimple.org/ |
17:12:00 | watusimoto | forget it -- I didnt realize it was commercial |
17:13:00 | watusimoto | but we need a way for others to edit content; k, for example |
17:13:00 | watusimoto | so I think having some sort of dynamic site makes sense |
17:13:00 | watusimoto | maybe we should just stick with drupal |
17:13:00 | raptor | yeah - let me try drupal 7 |
17:13:00 | watusimoto | ok. |
17:13:00 | watusimoto | gotta go, will be back on in a couple of hours |
17:13:00 | raptor | it would only be half the work instead of starting from scratch |
17:13:00 | watusimoto | ok |
17:13:00 | raptor | later |
17:14:00 | watusimoto | later |
17:14:00 | watusimoto | and I was looking at simplecms.org, though not anymore |
17:19:00 | | watusimoto Quit (Ping timeout: 244 seconds) |
17:42:00 | raptor | ok trying the drupal update again... |
18:20:00 | | LordDVG Quit (Read error: Connection reset by peer) |
19:50:00 | raptor | well this looks better if not themed: http://199.192.229.168/ |
19:56:00 | sam686 | let me guess, a broken theme? |
19:56:00 | raptor | well, yes... |
19:56:00 | raptor | but not AS broken as before :) |
20:29:00 | raptor | ok starting over with a theme-starter-kit: http://199.192.229.168/ |
20:39:00 | | CrazyLinuxNerd has joined |
21:07:00 | | Watusimoto has joined |
21:49:00 | raptor | so Watusimoto, i'm think we just stay with drupal 6 |
21:49:00 | raptor | 7 and themes is way too much work for the time I have.. |
21:49:00 | raptor | beside, most people seem to still be using 6 anyways... |
21:50:00 | sam686 | whats the differences when it only affects the viewing of pages that hardly changes at all (and doesn't affect forum and wiki)? |
21:50:00 | raptor | exactly |
21:51:00 | raptor | unless you are trying to get at a different point? |
21:51:00 | sam686 | although, i don't know if there is that many changes to the skin / template or what ever it is... |
21:52:00 | raptor | they completely re-engineered the skin system |
21:52:00 | raptor | so i have to basically rewrite from scratch |
21:52:00 | raptor | and I do not want to lose my soul in CSS |
21:53:00 | raptor | also drupal 7 is not as responsive |
21:53:00 | raptor | which bugs me |
21:54:00 | sam686 | yes, i see it currently being a bit slow... |
21:54:00 | raptor | ok, i'm making the decision to stick with drupal 6 |
21:54:00 | sam686 | wiki loads almost instantly compared to home page or screenshot page |
21:54:00 | raptor | i just killed teh DB |
21:55:00 | CrazyLinuxNerd | ah who needs the DB anyway? (joke) |
21:57:00 | raptor | ahhh.. much better |
22:04:00 | raptor | karamazovapy: you around? |
22:04:00 | sam686 | what will happen if i register here? http://199.192.229.168/user/register (note that bitfighter.org has it too) |
22:06:00 | raptor | bwahahaha |
22:07:00 | sam686 | is email working or not, it just taking forever to load after hitting "create new account" |
22:08:00 | raptor | ok |
22:08:00 | raptor | ? |
22:08:00 | sam686 | maybe it is working, mail got sent to me... |
22:08:00 | raptor | oh, haha |
22:08:00 | raptor | the cron piece isn't set up yet... |
22:09:00 | raptor | wow the site is LOADS faster on drupal 6 |
22:09:00 | raptor | also, Watusimoto, i created a new drupal role 'omnipotent' that I gave to myself and karamazovapy |
22:09:00 | sam686 | thats all i get? it just shows Member for 2 min 27 sec, and edit only edits my email / password / time zone... |
22:09:00 | raptor | yep |
22:10:00 | raptor | i will make you omnipotent |
22:11:00 | raptor | ok, you are omnipotent |
22:11:00 | raptor | please play nicely |
22:11:00 | sam686 | am i really user number "374"? as if a lot of others went register at the wrong place? |
22:11:00 | raptor | yeah - lots of bots have signed up |
22:11:00 | raptor | i just deleted about 50 of them |
22:12:00 | raptor | but you can do anything with signing up anyways... |
22:12:00 | raptor | *can't |
22:12:00 | sam686 | ok.. so bots couldn't do anything like me.. |
22:12:00 | raptor | correct, but i bet they were hoping to do so... :) |
22:15:00 | sam686 | did you just gave me the ability to edit or what? i start seeing an "edit" at the bottom of /screenshots |
22:15:00 | raptor | yes |
22:15:00 | raptor | i gave you much access |
22:15:00 | sam686 | ok, though i have nothing to change at the moment.. |
22:20:00 | | CrazyLinuxNerd Quit (Changing host) |
22:20:00 | | CrazyLinuxNerd has joined |
22:21:00 | sam686 | next problem: http://199.192.229.168/gamereports/ |
22:21:00 | raptor | oh yeah... |
22:22:00 | raptor | i don't have a dump of that yet - Watusimoto needs to get it to me |
22:22:00 | raptor | Watusimoto: we need a dump of the stats database |
22:23:00 | sam686 | or maybe we could just start a new database, and make some mroe changes to it as well... |
22:29:00 | sam686 | as usual you could use mine for testing... http://127.0.0.1/bitfighter/gamereports/db_functions.php.txt |
22:29:00 | Watusimoto | main thing I was concerned with is security |
22:29:00 | Watusimoto | have no grand plans for drupal |
22:29:00 | raptor | Watusimoto: which question are you answering? |
22:30:00 | sam686 | i think be default, register to drupal gave a user nothing at all, until admin changes that user permission |
22:31:00 | Watusimoto | ah... an earlier one |
22:31:00 | Watusimoto | why go to 7? security concerns |
22:31:00 | Watusimoto | if 6 is still being developed, it's probably secure |
22:31:00 | Watusimoto | no other reason to go to 7 |
22:31:00 | Watusimoto | so staying with 6 prob ok |
22:32:00 | Watusimoto | stats db |
22:32:00 | Watusimoto | ok |
22:32:00 | raptor | drupal 6 has still been developed along side drupal 7 |
22:32:00 | raptor | last release was May |
22:32:00 | Watusimoto | is stats in mysql or slqite? |
22:32:00 | raptor | Watusimoto: i think master stats are mysql? |
22:33:00 | sam686 | yes, master game stats writes to mysql, and that php stats reads the mysql stats |
22:33:00 | raptor | database: 'bitfighter' |
22:34:00 | sam686 | for now, i have the master.cfg write to my computer database, which is of course slower then direct localhost.. |
22:37:00 | sam686 | maybe, the same "master" mysql user used for master can insert stats to a stats database. |
22:40:00 | raptor | i installed a firewall on the master to block the database port |
22:40:00 | raptor | do we need mailing server? |
22:42:00 | Watusimoto | how to dump a table in mysql? |
22:42:00 | raptor | mysqldump -u root -p <database> > file.sql |
22:43:00 | sam686 | i don't know about blocking database port, as anyway, by default, you can only connect to mysql user "root" from a localhost (not from internet) |
22:43:00 | raptor | but you may not have root access... |
22:43:00 | sam686 | you could set up other users to only be allow to connect from localhost |
22:44:00 | sam686 | for accessing mysql database... |
22:44:00 | raptor | hey you're right... |
22:44:00 | raptor | i guess i just work with really insecure databases here at work... |
22:45:00 | sam686 | whats the risk if a "read_bitfighter_stats" user can only "select" from only bitfighter database? |
22:46:00 | raptor | the risk is always DOS |
22:46:00 | raptor | :) |
22:46:00 | Watusimoto | ok, it's in bforg folder |
22:47:00 | raptor | thanks! |
22:47:00 | sam686 | DOS could happen to anyone... even to the bitfighter master server... |
22:48:00 | Watusimoto | yes |
22:48:00 | raptor | i already turned off the firewall - you've convinced me we don't need it (yet) |
22:48:00 | raptor | i was under the impression that mysql allow external connections by default |
22:49:00 | sam686 | it depends for each mysql user if it can connect from outside the "localhost" |
22:49:00 | Watusimoto | I asked support about how to configure dns/nameservers |
22:49:00 | Watusimoto | here was the reply: |
22:49:00 | Watusimoto | Even though we are offering unmanaged VPS, we are glad to provide these information to you. |
22:49:00 | Watusimoto | I could see that the VPS does not have any domain control panels like cpanel, kloxo, etc. |
22:49:00 | Watusimoto | Any one of the panel is necessary to manage your VPS/domains by yourself easily. If some panel is installed its easy to configure DNS for the domain in your VPS. Also its is necessary to make changes with your VPS nameservers at your registrar end. |
22:50:00 | Watusimoto | this doesn't help me much |
22:50:00 | Watusimoto | I know what cpanel and kloxo are |
22:50:00 | Watusimoto | generally |
22:50:00 | Watusimoto | but not sure how dns works, and if we can somehow configure things at our end such that our domain name/ip address migrates to main dns servers |
22:51:00 | Watusimoto | that doesn't make sense |
22:51:00 | Watusimoto | it seems more logical that we configure something with the registrar |
22:51:00 | Watusimoto | but I'm somewhat at a loss |
22:51:00 | Watusimoto | if neither of you know, I'll research |
22:52:00 | raptor | wait wait, tell me your end goal |
22:52:00 | sam686 | changing bitfighter.net to point to 199.192.229.168? |
22:53:00 | Watusimoto | yes |
22:53:00 | raptor | Watusimoto: i'm afraid i only have 3 tables of 5 from the stats database |
22:53:00 | Watusimoto | both to make things easier now, and also to know how to do it with bf.org in a month |
22:53:00 | Watusimoto | ok |
22:53:00 | Watusimoto | tables |
22:54:00 | sam686 | i wonder if we should run our own "name servers" at 199.192.229.168 ? if so, how? |
22:55:00 | Watusimoto | what tables are missing? |
22:58:00 | raptor | stats_player_shots |
22:58:00 | raptor | stats_team |
22:58:00 | raptor | are you doing the tables one-by-one? |
22:59:00 | Watusimoto | no |
23:00:00 | Watusimoto | I did the cmd you suggested |
23:00:00 | Watusimoto | I wonder why only 3 tables came out.. there are indeed 5 in the db |
23:00:00 | raptor | well that's odd |
23:01:00 | Watusimoto | and there are records in those tables |
23:01:00 | Watusimoto | I'll try again |
23:02:00 | Watusimoto | ok, |
23:03:00 | Watusimoto | I checked; the stats_team table should get created |
23:03:00 | Watusimoto | the sql is there |
23:03:00 | Watusimoto | the dump file is in same place |
23:03:00 | raptor | nope |
23:03:00 | raptor | it must be truncated... |
23:03:00 | raptor | it does not have that table |
23:03:00 | raptor | at /bforg |
23:04:00 | Watusimoto | sorry try again |
23:04:00 | raptor | much better! |
23:04:00 | Watusimoto | odd |
23:05:00 | Watusimoto | fixed the video mode-sends-key-up-events problem |
23:05:00 | raptor | how? |
23:05:00 | Watusimoto | right after SDL_SetVideoMode |
23:05:00 | Watusimoto | do a while(SDL_PollEvent(&event)) {} |
23:05:00 | Watusimoto | :-) |
23:05:00 | Watusimoto | works like a charm |
23:05:00 | raptor | ha! |
23:05:00 | raptor | nice |
23:05:00 | Watusimoto | unfortunately, might have side effects |
23:06:00 | Watusimoto | so what I'll do is make a list of all the events just before setvideo |
23:06:00 | Watusimoto | do setvideo |
23:06:00 | raptor | add in the specific case statement for the key press event... |
23:06:00 | Watusimoto | the do my while loop |
23:06:00 | Watusimoto | then process any events I grabbed |
23:06:00 | raptor | stats imported |
23:06:00 | Watusimoto | great |
23:07:00 | Watusimoto | all keys that are down generate key up events |
23:21:00 | raptor | sam686: gamereports should work now |
23:25:00 | sam686 | while game reports works, what the name of database the stats are in, and does mysql user "master" able to wrtie to stats? |
23:26:00 | raptor | yes |
23:26:00 | sam686 | master will need both "select" and "insert" to stats database |
23:26:00 | raptor | i gave the 'master' user full write permisions to the 'bf_stats' database |
23:26:00 | Watusimoto | argh |
23:27:00 | Watusimoto | now when I release a key that was down while alt-entering, the key up event doesn';t get fired |
23:27:00 | raptor | ha! |
23:27:00 | Watusimoto | yeah, this sucks |
23:27:00 | raptor | mountain from molehill? |
23:27:00 | sam686 | sdl thinks you already released it, i guess, and refuses to send key_up event more then once without keydown... |
23:28:00 | Watusimoto | that's my conculusion as well |
23:31:00 | raptor | what was the issue that brought this up again? |
23:32:00 | sam686 | i get errors on master writing stats |
23:32:00 | sam686 | Failure writing stats to database: Unknown column 'switched_team_count' in 'field list' |
23:32:00 | raptor | what |
23:32:00 | raptor | did the schema change? |
23:33:00 | Watusimoto | I didn't change it |
23:33:00 | Watusimoto | corruption? |
23:34:00 | sam686 | http://208.107.52.15/phpmyadm/index.php read only stats user=test pass=555 |
23:34:00 | sam686 | compare that to yours.. |
23:35:00 | sam686 | stats saving worked when master writes to my database.. |
23:36:00 | raptor | ah, it is different... |
23:37:00 | Watusimoto | raptor -- during the first iteration of fullscreen, did you use SDL_WM_ToggleFullScreen ? |
23:37:00 | raptor | nononono |
23:38:00 | Watusimoto | no? |
23:38:00 | raptor | wait |
23:38:00 | raptor | wait wait |
23:38:00 | raptor | where are you? |
23:38:00 | Watusimoto | we don't use it now |
23:38:00 | Watusimoto | I'm in Luxembourg |
23:38:00 | Watusimoto | :-) |
23:38:00 | raptor | nope |
23:38:00 | raptor | never used it |
23:38:00 | raptor | it only works in X11 |
23:38:00 | Watusimoto | togglefullscreen does? |
23:38:00 | raptor | SDL_WM_ToggleFullScreen |
23:39:00 | Watusimoto | ah |
23:39:00 | Watusimoto | , if supported. (X11 is the only target currently supported, BeOS support is experimental). |
23:39:00 | raptor | ^^ only works in X11 for SDL 1.2 |
23:39:00 | raptor | 1.3 might have it for windows, i think |
23:39:00 | raptor | but the world hasn't moved to 1.3 yet |
23:39:00 | raptor | only commercial games |
23:39:00 | Watusimoto | http://sdl.beuc.net/sdl.wiki/SDL_WM_ToggleFullScreen |
23:39:00 | sam686 | question, does the "hold W and press alt+enter" problem happen in linux? |
23:39:00 | Watusimoto | has a code fragment |
23:39:00 | Watusimoto | did you try that? |
23:40:00 | raptor | which fragment? |
23:40:00 | raptor | the portable one is the one that i coded in |
23:40:00 | Watusimoto | the one on that page I just pasted the url for |
23:41:00 | Watusimoto | For portability it's better to do something like this: |
23:41:00 | Watusimoto | that's the text printed just above it |
23:41:00 | raptor | yes, that uses SDL_SetVideoMode which is what we are using |
23:41:00 | Watusimoto | ah, ok |
23:41:00 | Watusimoto | I guess it looks different because there are more checks in the sample presented |
23:42:00 | Watusimoto | but I am cureious about sam's question about whethre this is an issue on linux |
23:42:00 | Watusimoto | easy way to check: fire up bf, hit alt-enter |
23:42:00 | raptor | what is it that you did to trigger the issue? |
23:42:00 | Watusimoto | don't release alt |
23:42:00 | Watusimoto | then press enter again |
23:42:00 | Watusimoto | video mode should change again |
23:42:00 | raptor | nope doesn't do it |
23:42:00 | sam686 | simple, go into either editor or in-game (host), then try "hold W and press alt+enter" |
23:42:00 | Watusimoto | but the bug makes it not happen (because alt key-up event gets fired) |
23:43:00 | Watusimoto | doesn't do it means it works as expected |
23:43:00 | Watusimoto | that is, as you would expect if there were no bug |
23:43:00 | raptor | so the first time i coded it, it would keep changing resolution |
23:43:00 | sam686 | if you stop scrolling / moving even while holding down W, then it may be a problem |
23:43:00 | raptor | and i thought that was good :) |
23:43:00 | Watusimoto | it is good |
23:43:00 | Watusimoto | sam -- can you trigger it without alt-enter? |
23:44:00 | Watusimoto | maybe this is a windows only bug |
23:44:00 | Watusimoto | can't find any references on the internet |
23:44:00 | raptor | i remember specifically that one commit you made, Watusimoto, made it so it wouldn't keep changing resolution |
23:44:00 | raptor | if continuing to hold down ALT |
23:44:00 | sam686 | yes, by going to option, and pressing right on "windowed" option also triggers key-up when not released yet. |
23:45:00 | Watusimoto | sam, ah, ok |
23:45:00 | Watusimoto | raptor -- my fix is not directly connected to htis bug |
23:45:00 | Watusimoto | I checked last night |
23:45:00 | raptor | ok |
23:45:00 | Watusimoto | this looks like an sdl bug |
23:46:00 | raptor | what is the *proper* behaviour? hold ALT, and each successive ENTER changes screen mode? |
23:46:00 | raptor | sam686: stats should write to master now |
23:48:00 | sam686 | master stats saving appears to work fine now. http://199.192.229.168/gamereports/ |
23:48:00 | Watusimoto | yes |
23:48:00 | Watusimoto | alt is down |
23:48:00 | Watusimoto | each subseqent enter is an alt-enter event |
23:49:00 | raptor | so if that was how it worked when i first coded it, why does it not now? |
23:49:00 | sam686 | but i think an error causes a partial data write that are left unlinked, mostly stats_weapons / modules |
23:49:00 | raptor | i remember that one of your commits broke it for me on linx |
23:49:00 | raptor | linux |
23:49:00 | Watusimoto | broke that behavior? |
23:49:00 | raptor | and i thought to myself - "I guess he wants it that way"... |
23:49:00 | raptor | yes |
23:50:00 | Watusimoto | hmmm |
23:50:00 | Watusimoto | not sure how I could have |
23:50:00 | raptor | let me find it again |
23:50:00 | Watusimoto | because it looks like when we do SDL_SetVideoMode, several keyboard events are fired |
23:52:00 | sam686 | the "hold W and press alt+enter" problem happens to my linux ubuntu too... and thats not even on the latest 016 code.. |
23:53:00 | Watusimoto | to be specific: setVideoMode triggered by alt-enter fires two keyboard events, an SDL_ACTIVEEVENT, and a SDL_VIDEOEXPOSE event |
23:53:00 | Watusimoto | those last two make sense, I suppose |
23:54:00 | Watusimoto | the keyboard events less so |
23:54:00 | raptor | ok it works on this rev: 58e1d57d28c9 |
23:55:00 | raptor | but doesn't on this one: 6984352c6d87 |
23:55:00 | raptor | time to bisect |
23:56:00 | raptor | problem is: they are ~400 revisions apart |
23:57:00 | sam686 | start somewhere half way between, then it will cut the number of revisions apart.. |
23:57:00 | sam686 | by half |
23:57:00 | raptor | that's what hg bisect does for you |
23:57:00 | raptor | problem is: murky linux-non-compiling revisions with watusimoto's editor changes in there... |