01:07:00 | | watusimoto has joined |
02:23:00 | watusimoto | a weird game site |
02:23:00 | watusimoto | http://www.uvlist.net/forum/thread/33201 |
02:24:00 | watusimoto | an odd conversation at said site |
03:09:00 | | zoomber_laptop has joined |
03:09:00 | | dkiller has joined |
03:09:00 | | ChanServ sets mode +v dkiller |
03:09:00 | | zoomber_laptop has left |
03:09:00 | | dkiller has left |
03:10:00 | karamazovapy | that is a weird conversation. |
03:26:00 | | raptor has joined |
03:26:00 | | ChanServ sets mode +o raptor |
03:26:00 | raptor | good evening! |
03:28:00 | raptor | wow, that conversation |
03:29:00 | raptor | it's like they are being literary critics and putting thoughts words into the writer's head |
03:32:00 | raptor | yeah... |
03:32:00 | raptor | you tell 'em watusimoto |
03:32:00 | karamazovapy | to be fair, I don't remember what downloads for linux distros looked like back in 2008 |
03:33:00 | karamazovapy | it might've seemed less organized back with 011 |
03:33:00 | raptor | they didn't exist i don't think |
03:33:00 | karamazovapy | so their point(s) should be well taken, for the time |
03:33:00 | raptor | at least, i thought i was the first builder last fall for any distro |
03:34:00 | karamazovapy | I think you're right |
03:34:00 | karamazovapy | watusimoto was the only developer then |
03:35:00 | karamazovapy | and 011/012 was a time of major basic bugfixing from the zap! days |
03:35:00 | raptor | i remember he posted a news item to linuxgames.com, specifically stating that the 'team' needed linux packagers |
03:35:00 | raptor | like last september |
03:36:00 | raptor | and packaging was a hobby of mine (for lesser known games i thought were cool) |
03:37:00 | raptor | then watusimoto somehow convinced me to learn c++ |
03:41:00 | raptor | sam686: did i just crash zoomber's server? |
03:42:00 | raptor | all i did was '/next' and it started loading a level called 'Calico' or soemthing |
03:42:00 | karamazovapy | it looks like it's still up...which server? |
03:42:00 | karamazovapy | Main()? |
03:43:00 | raptor | no, it was called 'All levs' |
03:43:00 | karamazovapy | well I just switched to Calico on Main() |
03:43:00 | karamazovapy | doesn't seem to be working out well |
03:43:00 | raptor | it crashed? |
03:44:00 | sam686 | that "all levels" at 208.115.198.220 isn't there, no bitfighterd.. |
03:44:00 | karamazovapy | looks like I killed it |
03:44:00 | karamazovapy | Calico seems to be bugged |
03:44:00 | karamazovapy | I'm guessing it's triangle |
03:44:00 | raptor | sam686: can you restart it in gdb and switch to 'Calico' |
03:44:00 | raptor | and was the server build with both -g and -O2? |
03:45:00 | sam686 | no, it was build only -o2 |
03:45:00 | raptor | rats |
03:47:00 | raptor | i found an oddity |
03:47:00 | raptor | oh wait, no that makes sense |
03:48:00 | sam686 | here is a stack trace: #0 0x00000000006a2207 in luaS_newlstr () |
03:48:00 | sam686 | #1 0x000000000069a1d7 in lua_getfield () |
03:48:00 | sam686 | #2 0x00000000005735c8 in Zap::Robot::runMain() () |
03:48:00 | sam686 | #3 0x0000000000573761 in Zap::Robot::initialize(Zap::Point&) () |
03:48:00 | sam686 | #4 0x00000000005136dd in Zap::GameType::spawnRobot(Zap::Robot*) () |
03:49:00 | sam686 | the problem is probably the robot script file... |
03:51:00 | raptor | i didn't spawn a bot... |
03:51:00 | raptor | did one spawn automatically with the server? |
03:52:00 | sam686 | yes, uploaded_Calico have: Robot 0 qbot.bot .5 1 0 1 .25 |
03:52:00 | karamazovapy | http://www.popthatzit.com/ |
03:58:00 | raptor | what the heck, k |
03:58:00 | raptor | now i can't eat my snack |
03:59:00 | karamazovapy | was it pudding? |
03:59:00 | raptor | gross |
03:59:00 | karamazovapy | string cheese? |
03:59:00 | raptor | i showed my wife |
03:59:00 | raptor | utter disgust on her face |
03:59:00 | karamazovapy | I am actually laughing out loud right now |
04:01:00 | raptor | i should stop clicking on your links... i've been so messed up today what with the ponies, and now this... |
04:01:00 | karamazovapy | unlike videos where people suffer from horrible stunt accidents or broken bones or hyperextensions, from time to time I can watch zit popping with disgusted fascination |
04:01:00 | karamazovapy | hearing the people in the video freak out about how bad it smells is always really funny |
04:02:00 | karamazovapy | but there was nothing disturbing about those ponies! |
04:02:00 | raptor | too much! |
04:02:00 | raptor | too much for one day.. |
04:06:00 | | kodax has joined |
04:07:00 | karamazovapy | it's been a good day for internet video. |
04:07:00 | raptor | have you seen this?: http://www.youtube.com/watch?v=9AbFebGh8Rg |
04:08:00 | karamazovapy | I haven't |
04:08:00 | sam686 | both the bot and level seems to crash on my windows... only that i never had qbot.bot. |
04:08:00 | sam686 | http://96.2.123.136/bitfighter/qbot.bot and http://96.2.123.136/bitfighter/levels/upload_Calico.level |
04:09:00 | karamazovapy | not much use without the levelgen |
04:09:00 | karamazovapy | maybe the levelgen didn't get uploaded and that's why it crashes? |
04:10:00 | sam686 | it is not the missing level gen crashing (i don't think), it is with the qbot.bot only meant for CTF i think.. |
04:10:00 | karamazovapy | wouldn't the bots just crash if that was the problem? |
04:11:00 | raptor | that's what i thought, too |
04:12:00 | karamazovapy | it looks to me like the doObjective() is just kind of useless, and the rest of the code looks a lot like s_bot |
04:12:00 | sam686 | and not sure why it does not crash when manually using /addbot 0 qbot, it just does a robot error and qbot quits |
04:12:00 | karamazovapy | or quickbot, whatever |
04:13:00 | sam686 | or not, it doesn't quit ( was quitting due to missing qbot.. |
04:13:00 | sam686 | but still /addbot doesn't crash, but having "Robot qbot" line does crash? |
04:14:00 | karamazovapy | it doesn't crash when I remove the script |
04:14:00 | karamazovapy | and test from the editor |
04:15:00 | sam686 | testing from editor for saving level from bitfighter editor does not include any "Robot" lines in level |
04:16:00 | karamazovapy | all I did was copy/paste the code into a text editor, open in the client, delete the script param, and test |
04:16:00 | karamazovapy | but the level code itself isn't broken |
04:18:00 | raptor | do you have that levelgen sam686? |
04:18:00 | karamazovapy | my money's on the gen crashing it |
04:19:00 | sam686 | i have a missing levelgen, with an available qbot.bot file.. |
04:19:00 | karamazovapy | or lack of the gen crashing it |
04:19:00 | raptor | i can't switch to the level in my test server - probably because i am missing gen.levelgen? |
04:19:00 | sam686 | the missing levelgen itself is not crashing it, and the Robots itself is not crashing it either, it is both trying to load missing levelgen, and loaded some qbot.bot |
04:20:00 | sam686 | it is in Soccer - Calico if you put the level at the right place and restart hosting.. |
04:23:00 | sam686 | even with just 2 lines in level file (after GameType) will crash the host: |
04:23:00 | sam686 | Script missingfile.levelgen |
04:23:00 | sam686 | Robot |
04:24:00 | sam686 | Robot without parameters will try to load a default s_bot into some team. |
04:26:00 | raptor | do i started a dedicated server: |
04:26:00 | raptor | Warning: Could not find script "gen.levelgen" in level"upload_Calico.level" |
04:26:00 | raptor | Could not load level upload_Calico.level. Skipping... |
04:26:00 | raptor | *so |
04:27:00 | sam686 | are you testing in 016? or older 015? |
04:27:00 | raptor | 015a |
04:27:00 | raptor | just built dedicated server with just -g |
04:28:00 | sam686 | do you know why it fail to load? |
04:28:00 | raptor | it says i need the levelgen |
04:28:00 | raptor | do you have the file for me? |
04:28:00 | raptor | oh, wait |
04:28:00 | raptor | those are two different messages... |
04:28:00 | sam686 | i get this when loading: |
04:28:00 | sam686 | Loading C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\BITFIGHTER\ |
04:28:00 | sam686 | levels/downloaded_Calico.level |
04:28:00 | sam686 | Warning: Could not find script "missingfile.levelgen" in level"downloaded_Calico |
04:28:00 | sam686 | .level" |
04:28:00 | sam686 | Recast built 179 zones! |
04:28:00 | sam686 | Timings: 128 10 147 |
04:29:00 | raptor | interesting... |
04:29:00 | sam686 | then it crash when there is "Robot" line in the level.. |
04:30:00 | raptor | for some reason i hit the else statement on game.cpp:541 |
04:31:00 | sam686 | that means fopen probably returned NULL.. |
04:32:00 | sam686 | maybe try "r" instead of "rb" |
04:33:00 | raptor | ok |
04:36:00 | sam686 | may also help to print the contents of path.cstr().. |
04:37:00 | raptor | fopen worked |
04:37:00 | sam686 | ok, so "r" works and "rb" doesn't work? |
04:37:00 | raptor | my fopen is like this: |
04:37:00 | raptor | FILE *file = fopen(filename, "r"); |
04:38:00 | raptor | is it 'rb' for windows? |
04:38:00 | sam686 | i think the "b" part may be for binary mode.. |
04:39:00 | sam686 | or maybe i am wrong... |
04:40:00 | raptor | ok, i am hitting the 'return false' in game.cpp:847 |
04:40:00 | raptor | so my build is handling it cleanly... |
04:41:00 | sam686 | i think i may have a different version of game.cpp, the line number seems a bit off.. |
04:42:00 | raptor | i am right at tag bitfighter-015a |
04:42:00 | raptor | karamazovapy: are you running a server with slightly different code than 015a? |
04:43:00 | raptor | sam686: method is: ServerGame::loadLevel() at if(getGameType()->mScriptName != "") |
04:43:00 | sam686 | i am right on my 015a clone with several changes.. (see http://code.google.com/r/sam8641-bitfighter04/source/checkout ) |
04:44:00 | sam686 | missing gameType? |
04:44:00 | raptor | line 875 for you |
04:44:00 | raptor | no, it is working cleanly |
04:44:00 | karamazovapy | I might have straight 015 |
04:44:00 | karamazovapy | not sure |
04:45:00 | sam686 | that will be another problem, if it can't find script, it returns skipping this part: makeSureTeamCountIsNotZero() |
04:46:00 | raptor | but if it returns false, the the level isn't loaded at all |
04:46:00 | raptor | which is what i'm seeing - i have no problem because the game correctly disables the level for me |
04:49:00 | sam686 | the problem will then be with ServerGame::cycleLevel it just do loadLevel(..) without using what it returns |
04:50:00 | raptor | really? |
04:50:00 | raptor | interesting... |
04:51:00 | raptor | ok, i tested that |
04:51:00 | sam686 | well, i guess this part: makeSureTeamCountIsNotZero is right after loadLevel in cycleLevel, so that should be ok... |
04:51:00 | | BFLogBot - Commit 9a6df37be622 | Author: watusim...@bitfighter.org | Log: Formatting |
04:51:00 | | BFLogBot - Commit 78768cd6cd1e | Author: watusim...@bitfighter.org | Log: var name |
04:51:00 | | BFLogBot - Commit 3ea46f96009d | Author: watusim...@bitfighter.org | Log: Fix for Circle MoveObject status bug discussed last night -- this fix seems ideal; no maintenance required even as we add new objects |
04:52:00 | | BFLogBot - Commit 84f42c1e9c5d | Author: watusim...@bitfighter.org | Log: whitespace |
04:52:00 | raptor | ok, i put two levels on my dedicated server: calico and ctf1 |
04:52:00 | raptor | only ctf1 is loaded |
04:52:00 | raptor | when using '/next' in game, it just loads ctf1 again, never cycles to calico |
04:52:00 | sam686 | try hosting with only calico |
04:52:00 | raptor | it did |
04:52:00 | raptor | i did |
04:53:00 | raptor | the server shutdown saying there are no levels |
04:53:00 | sam686 | is it a problem with unable to find calico level? |
04:53:00 | raptor | nope, it finds it then disables it like it shoudl because it can't find the levelgen |
04:53:00 | | watusimoto Quit (Ping timeout: 250 seconds) |
04:54:00 | sam686 | at some changes later, i made a quick loading system, to speed up loading all levels when starting "HOST" |
04:54:00 | raptor | ahh... |
04:55:00 | raptor | karamazovapy: you said calico crashes for you, too? |
04:56:00 | sam686 | and, uploading levels to a server that have level uploads, with missing levelgen, will be a sure way to get the level to load.. |
04:56:00 | raptor | ok, let me try that... |
04:58:00 | raptor | how do you upload level? |
04:58:00 | sam686 | Note that I had to make a quick loading level to allow reading level title and gametype, in a middle of game after uploading level.. |
04:59:00 | raptor | did you add the upload command after 015a to your clone? |
05:00:00 | sam686 | the "UPLOAD LEVELS" option is added a little before the release of 015a, not older 015 |
05:00:00 | sam686 | to upload levels, either you need admin, or the server needs to have upload enabled in INI file |
05:01:00 | raptor | ah ha! segfault! |
05:01:00 | sam686 | and, you can't (useless to) upload if your client is hosting.. |
05:03:00 | raptor | ok, i got the crash with that first backtrace you posted |
05:03:00 | sam686 | yes.. |
05:05:00 | sam686 | i think it is because of it skips getGameType()->onLevelLoaded in loadLevel, if it can't find levelgen script and returns false.. |
05:07:00 | sam686 | GameType:: onLevelLoaded have Robot::startBots , if ti get skipped with Robot lines in level, it crash.. |
05:07:00 | raptor | ok that makes sense |
05:13:00 | raptor | looks like after trying to upload the level, my dedicated server tries to load the level twice |
05:14:00 | raptor | first time it fails, then second time it passes the if(getGameType()->mScriptName != "") |
05:16:00 | sam686 | have more then some levels? uploading level may create level files named "uploaded_" + title + ".level" |
05:16:00 | raptor | game.cpp:705 |
05:16:00 | raptor | doesn't have a boolean check on loading the level the second time |
05:17:00 | raptor | line 733 for you |
05:17:00 | raptor | that's the problem - we need to add another check there |
05:17:00 | raptor | because uploading level can get by the first check |
05:17:00 | sam686 | what happens if it returns false? |
05:18:00 | raptor | it hits the else below if(gBotNavMeshZones.size() != 0) |
05:20:00 | sam686 | for now, i will just move getGameType()->onLevelLoaded() into cycleLevel. |
05:20:00 | raptor | ok |
05:21:00 | sam686 | i made the changes on my 015a clone: http://code.google.com/r/sam8641-bitfighter04/source/detail?r=5557146671bea7614402cce7b5138cbd767f8f2d |
05:21:00 | raptor | shouldn't it be handled by skipping the level entirely? |
05:22:00 | sam686 | that we could work on in 016... for 015a, i put in cheap fix to prevent crash. |
05:23:00 | raptor | haha ok |
05:24:00 | raptor | so for 016, how should we fix it? |
05:25:00 | raptor | so it is in game.cpp:1250 |
05:25:00 | raptor | and that loadLevel returns false |
05:25:00 | raptor | what should we do to handle the false? just return out of the method? |
05:26:00 | sam686 | not sure, switch to another level? |
05:27:00 | raptor | yeah, i'd say just go to the next one |
05:27:00 | raptor | so cycleLevel needs to be a boolean, then? |
05:29:00 | sam686 | the problem is, load level already did clear existing level and may partially added some gameObject and new gameType, then it may fail.. |
05:29:00 | raptor | yeah.. |
05:29:00 | sam686 | so, can, |
05:29:00 | sam686 | can't really have it say "ERROR loading level on /next command" |
05:30:00 | sam686 | and the existing gameplay had to stop and end to start loadlevel.. |
05:38:00 | raptor | i'm getting tired - i think i'll turn in |
05:38:00 | raptor | haven't quite figured out what to do with that loadLevel, yet... |
05:39:00 | raptor | have a good night |
05:39:00 | sam686 | ok.. night raptor.. |
05:39:00 | | raptor Quit (Remote host closed the connection) |
06:09:00 | | Flynnn Quit (Quit: Leaving) |
07:10:00 | | sam686 Quit (Ping timeout: 258 seconds) |
07:11:00 | | sam686 has joined |
07:11:00 | | ChanServ sets mode +v sam686 |
07:58:00 | | kodax Quit (Quit: Sto andando via) |
08:37:00 | | LordDVG has joined |
08:37:00 | | LordDVG Quit (Changing host) |
08:37:00 | | LordDVG has joined |
11:58:00 | | LordDVG Quit (Remote host closed the connection) |
14:40:00 | | raptor has joined |
14:40:00 | | ChanServ sets mode +o raptor |
15:45:00 | | Flynnn has joined |
15:50:00 | karamazovapy | Calico did not crash for me, as long as I had the script line removed |
16:04:00 | raptor | when it did have teh script line, did it just not get loaded into the server? or did it crash the server? |
16:54:00 | | zoomber_laptop has joined |
16:54:00 | zoomber_laptop | RAPTOR: |
16:55:00 | raptor | hi |
16:55:00 | zoomber_laptop | LYNX IS SO COOL |
16:55:00 | raptor | text-based www browser? |
16:55:00 | zoomber_laptop | ja |
16:55:00 | raptor | good little utility |
16:55:00 | zoomber_laptop | thats crazy cool |
16:58:00 | zoomber_laptop | hey raptor, can you grab up bitfighter.org/forums on yoru screen for me? |
16:59:00 | raptor | you want a screenshot? |
17:00:00 | zoomber_laptop | see if you see "zoomber" at the bottom of the users list |
17:00:00 | zoomber_laptop | if i do that, its not a real test because id already be logged in from both places |
17:00:00 | raptor | Registered users: karamazovapy, raptor, sam686, Yahoo [Bot] |
17:00:00 | zoomber_laptop | try refreshing |
17:00:00 | raptor | same |
17:00:00 | sam686 | 4 registered, 0 hidden and 2 guests |
17:00:00 | raptor | i see 3 guests |
17:00:00 | zoomber_laptop | oh wait, i think i logged into watusimoto's master site |
17:01:00 | raptor | but yes |
17:01:00 | sam686 | maybe not logged in? |
17:01:00 | zoomber_laptop | done |
17:01:00 | zoomber_laptop | now try |
17:01:00 | zoomber_laptop | sam686 was right, i didnt log in successfully last time |
17:01:00 | sam686 | now it shows zoomber.. |
17:02:00 | zoomber_laptop | ok |
17:02:00 | zoomber_laptop | im goign to send raptor a private message using lynx |
17:02:00 | zoomber_laptop | oh |
17:03:00 | zoomber_laptop | interesting, i got logged out |
17:03:00 | raptor | i have PM disabled |
17:03:00 | zoomber_laptop | oh |
17:03:00 | raptor | too many ways to communicate with me already... |
17:03:00 | raptor | :) |
17:04:00 | sam686 | could try pm yourself or pm me.. |
17:04:00 | zoomber_laptop | ok |
17:16:00 | karamazovapy | just played The Stanley Parable |
17:19:00 | zoomber_laptop | opinion? |
17:19:00 | karamazovapy | liked it. not much to it, but fun. |
17:20:00 | zoomber_laptop | ok |
17:20:00 | karamazovapy | I mean, it's completely free |
17:20:00 | zoomber_laptop | so is bitfighter |
17:21:00 | karamazovapy | yeah, but stanley parable is a half life 2/source sdk mod |
17:24:00 | zoomber_laptop | Tuesday, August 16, 2011 11:00 AM The bitfighter server is down at: IP:74.122.199.250:28000 |
17:24:00 | zoomber_laptop | That was fast |
17:39:00 | | LordDVG has joined |
17:42:00 | karamazovapy | http://www.youtube.com/watch?v=OIppRUoe70E |
17:46:00 | zoomber_laptop | interesting.. |
17:52:00 | | zoomber_laptop Quit (Quit: zoomber_laptop) |
18:13:00 | | zoomber_laptop has joined |
18:18:00 | zoomber_laptop | sam686, you there? |
18:19:00 | sam686 | yes |
18:19:00 | zoomber_laptop | can you try putting this fix on your server? |
18:19:00 | zoomber_laptop | change abs to fabs in |
18:19:00 | zoomber_laptop | input.cpp:1208: error: call of overloaded ‘abs(TNL::F32&)’ is ambiguous |
18:20:00 | zoomber_laptop | this is showing up in a centos console |
18:21:00 | sam686 | ok, made that change.. |
18:21:00 | zoomber_laptop | i will hg up and try it with that change |
18:23:00 | zoomber_laptop | dont understand what the point of hg pull is, what exactly is it pulling that you cant just find with hg update? |
18:23:00 | zoomber_laptop | changesets that could just be looked up and pulled when doing update? |
18:24:00 | sam686 | hg pull will down changes form the server.. |
18:24:00 | raptor | hg pull -u does pull and update at once |
18:24:00 | sam686 | hg up will change to some revision |
18:24:00 | zoomber_laptop | oh, thats what i was wondering about raptor |
18:25:00 | zoomber_laptop | does pull actually get the changes, or the revision numbers and what needs to be changed? |
18:25:00 | zoomber_laptop | sam686, i think that worked |
18:25:00 | sam686 | hg pull will just download all revisions from a server.. |
18:26:00 | zoomber_laptop | done, compiles fine now |
18:26:00 | sam686 | hg pull downloads any missing revision that your local clone don't have.. |
18:27:00 | zoomber_laptop | can you hg up when your offline? |
18:27:00 | sam686 | hg update dfa68becc12 will update to that revision id.. |
18:27:00 | sam686 | yes, you may hg up while offline |
18:27:00 | zoomber_laptop | oooooh, thats why theres hg pull |
18:27:00 | sam686 | yes |
18:28:00 | zoomber_laptop | would seem more efficient for people who have constant internet connection like you and i to have 'hg up' search for the revision number or top number on the repository and pull in the change then |
18:29:00 | sam686 | if the server we pull from stops working, we can find a diffferent place to host it and push, as we "CLONED" everything in it.. |
18:29:00 | sam686 | or.. wait until the server starts working again.. |
18:30:00 | zoomber_laptop | oh |
18:30:00 | zoomber_laptop | so how about keeping pull, yet letting hg-update search the repositroy for a changeset if its not yet present on local machine? |
18:32:00 | sam686 | maybe, but i have a graphical interface of HG showing a list of changes.. |
18:33:00 | sam686 | sometimes, you don't want hg up to mess with changing your clone by downloading changes.. |
18:34:00 | sam686 | there is hg pull (path to where you want to pull) which may be hg pull http://something... |
18:44:00 | | zoomber_laptop Quit (Quit: zoomber_laptop) |
21:05:00 | | LordDVG Quit (Remote host closed the connection) |
23:40:00 | | raptor_ has joined |
23:40:00 | | ChanServ sets mode +o raptor_ |
23:40:00 | | raptor Quit (Disconnected by services) |
23:41:00 | | raptor_ is now known as raptor |
23:41:00 | | raptor_ has joined |
23:55:00 | | raptor_ Quit (Remote host closed the connection) |