#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2011-09-17

Timestamps are in GMT/BST.

00:04:00Flynnn Quit (Quit: This computer has gone to sleep)
00:28:00raptor has joined
00:28:00ChanServ sets mode +o raptor
00:53:00raptorok sam686, i need to combine your ban code with mine...
01:12:00raptorsam686: do you know how I could get the player name in masterConnection.cpp:141
01:12:00raptor?
01:13:00sam686i don't think thats possible, as server have no info about that yet... can take off that check there..
01:14:00raptorhmmm... how could I prevent an arranged connection if the person is on the ban list?
01:14:00raptoror is that already handled in GameConnection::readConnectRequest
01:15:00raptori mean, do all connection requests go through there?
01:15:00sam686eventually, after a sucessfull arranged connection, client runs GameConnection::onConnectEstablished,and server reads readConnectRequent
01:15:00raptorok, so readConnectRequest is always called whether arranged or not?
01:16:00sam686yes
01:16:00raptorexcellent, i'll remove that isAddressBanned from masterConnection...
01:28:00raptorhow about this:
01:28:00raptorwe have a 'kick' and a 'ban'
01:28:00sam686yes
01:29:00raptora 'kick' is a simple 30 second timeout, not changeable
01:29:00raptora 'ban' is a longer, persistent setting
01:30:00raptorwould that cover most of the use cases?
01:30:00sam686yes..
01:31:00raptorok
01:37:00Flynnn has joined
02:09:00Flynnn Quit (Quit: This computer has gone to sleep)
02:10:00Flynnn has joined
02:16:00BFLogBot - Commit 06eed183f0dd | Author: sam8641 | Log: Make server send new name to master for /setservname (would need master update)
02:23:00raptor Quit (Ping timeout: 240 seconds)
02:28:00raptor has joined
02:28:00ChanServ sets mode +o raptor
02:28:00raptorgood fix sam
03:11:00sam686i think my idea of new module might make you laugh... http://bitfighter.org/forums/viewtopic.php?t=858
03:11:00raptorhahaha
03:11:00raptornice graphic
03:12:00sam686thanks... though not sure how that magent module will play in bitfighter...
03:14:00raptormaybe like a black hole module - pulls any thing in a radius around the ship
03:15:00raptorthat graphic is great!
03:16:00BFLogBot - Commit 12e7b136916c | Author: buckyballreaction | Log: Consolidate kicking and banning into the same class as well as clean up a bit
03:22:00raptorI have a question
03:22:00raptoris hiding servers really needed?
03:23:00sam686i don't thinks sh shouldn't be hidden...
03:23:00raptorsay again?
03:23:00sam686i think it should be not hidden..
03:24:00raptorI am thinking of just removing that feature? It doesn't seem like it adds much
03:24:00sam686in 015, i sometimes have problem where being kicked will blank out ALL servers for 30 seconds..
03:24:00raptorand it's only used for kicking
03:25:00sam686and, hiding servers is problems as you won't know there is players in a server that can't be seen.
03:25:00raptoryes
03:25:00sam686and then think no one is on..
03:25:00raptorok, i'll remove the code..
03:31:00raptordone
03:31:00BFLogBot - Commit 3157799d17d1 | Author: buckyballreaction | Log: Remove UI server hiding code - it can be buggy and doesn't add much value...
03:31:00raptorok, now i need to add your ban commands
03:59:00raptorwhat is a good default ban?
03:59:00raptor60 minutes?
03:59:00raptorkaramazovapy? what do you think?
04:00:00raptor1 day?
04:01:00raptorsam686: you had default ban for 15 min. Do you think that is a good default?
04:01:00sam686i don't know..
04:02:00raptorlet say 60 min
04:18:00sam686I have seem to have a problem with Address("").isValid() == true? i think that should be not valid...
04:19:00raptori agree
04:28:00raptorok
04:28:00raptorso
04:28:00raptordiscrepency
04:28:00raptordo server commands autocomplete?
04:29:00raptorand the whole structure looks completely different
04:29:00sam686server commands don't auto-complete, but the client could be made to auto-complete server commands..
04:30:00raptoraddbot is a server command
04:30:00raptorand it autocompletes
04:30:00sam686UIGame.cpp line 1616 - shows the place for any auto-complete, server commands is in a serverCommandHandler
04:30:00raptorahhh
04:30:00raptorok
04:31:00raptoris there a reason why some are there and some not?
04:31:00sam686some server commands are too simple ( /yes /no for voting)
04:32:00sam686but other commands, i wasn't thinking about client side auto-complete
04:32:00raptorok
04:32:00raptorwould it be safe to add in gmute and others like it?
04:32:00sam686probably yes..
04:33:00raptorok
04:33:00sam686brobably not /yes /no voting, as it might change later on in an improvement of voting system..
04:33:00raptorthanks
04:33:00raptoryes, i agree
04:33:00raptori'll leave those alone
04:37:00sam686Why is it that mMasterAddressList.push_back(mMasterAddressList[0]); is adding a blank string instead of copying string of mMasterAddressList[0]? game.cpp line 547
04:37:00raptorodd
04:38:00sam686i might think thats due to moving pointer of all strings when vector resizes..
04:40:00raptorif you create a copy first like: string address = mMasterAddressList[0];
04:41:00raptorand then pass it around does it still fail?
04:41:00sam686this works ok:
04:41:00sam686 mMasterAddressList.resize(mMasterAddressList.size()+1);
04:41:00sam686 mMasterAddressList[mMasterAddressList.size() - 1] = mMasterAddressList[0];
04:41:00sam686 mMasterAddressList.erase(0);
04:42:00raptorinteresting
04:42:00raptormaybe we should put a method in tnlVector.h to rotate it?
04:43:00raptorand just call mMasterAddressList.rotateOne();
04:43:00raptoror something
04:43:00sam686seems to only happen with Vector<string>, does not happen with Vector<S32> or Vector<void *>
04:44:00raptorcould use std::algorithm::rotate
04:45:00raptorrotate(mMasterAddressList.begin(), mMasterAddressList.begin()+1, mMasterAddressList.end());
04:46:00raptoroh, but that must be done on the stl vector, i think
04:46:00raptorkind of messy i guess
04:46:00sam686will mMasterAddressList.innerVector.begin() work?
04:47:00sam686except, innerVector is private in tnlVector.h
04:47:00raptorgetStlVector()
04:47:00raptorexposes it
04:48:00raptoryour logic is probably faster - fewer method calls than the stl one
04:48:00raptorand doesn't need the include
04:50:00sam686that sdl rotate seems to make the function very big: std::rotate(mMasterAddressList.getStlVector().begin(), blah.begin() + 1, blah.end())
04:51:00raptoryup
04:52:00sam686I seem to not like that .begin .end (maybe i don't like it yet)
04:52:00raptoryeah, it's dealing with iterators
04:52:00raptorwhich has always been ugly
05:08:00raptorwould /banname or /bannick be better?
05:08:00raptoror alternative?
05:09:00sam686not sure, banname sounds weard..
05:09:00raptoryes it does
05:09:00sam686currently there is /kick <name>
05:10:00sam686i like the sound of /banip better then /banname..
05:10:00sam686what will /ban be ban name?
05:11:00raptori have three
05:11:00raptor1. /banip ip duration
05:11:00raptor2. /bannick nickname duration
05:11:00raptor3. /ban ip nickname duration
05:14:00raptordoes that seem ok?
05:15:00sam686problem with ban nick is if there are players who name copies..
05:15:00raptorI already fixed that
05:15:00sam686my way of /ban is to ban ip address of the entered nick..
05:16:00sam686seems to be ok..
05:16:00raptorit would mostly be used for registered users, i imagine
05:16:00raptorbannick
05:17:00sam686its often easy to nearly bypass the nick bans - change one letter (i to L).
05:18:00raptoryes
05:18:00raptorbut for registered users?
05:18:00sam686yes, they could change names too..
05:18:00raptoryes, but they don't get the privilege of being 'registered' when playing anymore
05:19:00raptorif it matters to them...
05:20:00sam686i don't think nick bans would work, but it may work for some cases, such as some evil bad word in nick..
05:20:00raptorhaha
05:20:00raptori think i mostly agree
05:25:00raptoroh man, i'm getting sleepy
05:25:00raptori'll have to finish this tomorrow
05:25:00raptorgood night
05:25:00sam686ok, later..
05:26:00BFLogBot - Commit 67373a89b772 | Author: sam8641 | Log: Fix missing wrong password master login, make Address("") not valid, fix mMasterAddressList rotate list problem
05:30:00raptorsam686: how come you added that part about gServerGame in main.cpp:339?
05:31:00sam686i was thinking that there could be some cases that TNLAssert(!gServerGame, "already exists!");
05:31:00raptorah ok
05:31:00raptorit seems harmless
05:31:00sam686by deleting it first, it makes sure it won't screw up..
05:34:00raptorok, good night for real now...
05:34:00raptor Quit (Remote host closed the connection)
06:08:00Zoomber has joined
06:08:00ChanServ sets mode +v Zoomber
06:10:00Zoomberhi
06:11:00Zoombersam686, you on?
06:18:00sam686hi
06:18:00Zoombercheck out the new server up
06:21:00Zoomberoh i remembe rnow
06:21:00Zoombersam686: do you have a new copy of bitfighter_mysql thats 015a of your clone, and is up to date?
06:22:00sam686new copy of what? can you just compile it?
06:22:00Zoomberi cant compile it on that windows machine
06:23:00Zoomberi dont have the abiltiy to install visuall C++ on it
06:24:00Zoombernote: the server isnt entirely mine
06:24:00sam686that windows isn't yours?
06:24:00Zoomberthough, i'm running raptor's rediculouos levels off an old copy of your "Bitfighter Mysql" compiled version
06:26:00sam686http://208.107.52.15/bitfighter/ use bitfighter015a_modified.zip
06:27:00Zoomberthanks!
06:28:00sam686i wonder why you may need to run it there when you have several servers...
06:29:00Zoomberthis ones alot more stable, and the lag it generates only makes it more rediculous!
06:33:00sam686what do you mean about more stable? LAG makes the internet connection unstable..
06:33:00Zoomberthe server never shuts down, nor has
06:34:00Zoombernot too much lag here..only a tiny bit
06:34:00sam686so far servers at 96.44.134.183 and 208.115.198.220 has almost never has been down for a long time..
06:35:00sam686but 208.115.198.220 has some unstabe CPU timing or something..
06:35:00Zoomber208 has bad time ticks too
06:35:00Zoomberbut not as bad as watusimoto's server
06:35:00Zoomberjust a little bit slow, not too much to the point of unplayable
06:35:00Zoomberthe one your playing on now, has over 3 ghz dedicated to you..
06:36:00sam686excat Ghz?
06:37:00ZoomberI dont know.. i can check
06:37:00sam686i can go over 3 Ghz by overclocking (up to 3.1 Ghz) higher risks crashing..
06:37:00Zoombersam686, for some reason, i cant download your zip package
06:37:00Zoomberoh wait
06:38:00sam686laggy VNC?
06:38:00Zoomberits because im saving it into C:\program files, which probably doesnt allow explorer to do that...
06:38:00Zoomberill just save it to desktop
06:41:00Zoombersam, its a pentium D 3.00 Ghz, so i was wrong, it stays exactly at 3 ghz
06:42:00sam686i think that about the same speed as my computer, but not sure (Ghz isn't the exact measurement of speed)
06:42:00Zoombermight be faster because it is a pentium D
06:42:00Zoomberwhile yours, and my old ibm were pentium 4 with HT
06:44:00sam686Intel Pentium 4 3.00GHz have a speed of 491 (if you look at http://www.cpubenchmark.net/midlow_range_cpus.html )
06:45:00sam686Intel Pentium D 3.00GHz have a speed of 812
06:45:00sam686i looked at http://www.cpubenchmark.net/
06:50:00sam686Intel Core i7-2617M @ 1.50GHz is 3,010 (6 times faster, at half the clock rate)
06:50:00ZoomberIntel Core i5 540M @ 2.53GHz 2,475
06:52:00Zoombermight be possible to overclock it to 6k, but no need, because it has 4 logical cores..
06:54:00Zoomberhttp://www.newegg.com/Product/Product.aspx?Item=N82E16819115079&nm_mc=AFC-C8Junction&cm_mmc=AFC-C8Junction-_-Processors%20-%20Desktops-_-Intel-_-19115079&AID=10440897&PID=3962334&SID=
06:55:00sam6866 cores + hyperthreading = 12 threads can run at the same time..
06:56:00sam686it makes the operating systeam think there is 12 CPUs.
06:57:00Zoomberi wonder if my i5 imac supports hyperthreading
07:05:00Zoomberdid you see that!
07:05:00Zoombersam686:
07:05:00Zoomberall the 74 servers went out at once
07:06:00sam686that 74.122. server seems to go down too many times...
07:07:00Zoomberits offline
07:07:00Zoomberleme try to boot it up
07:07:00Zoomberits really good though
07:08:00Zoomberit uses the friendliest solusVM interface
07:08:00Zoomberthe control panel is luxerious...
07:08:00Zoomberi get so much bandwidth
07:09:00Zoomberwow, if both my servers were to fail, bitfighter would only have kserv.bots
07:10:00sam686i can run my server from my computer, if that happens..
07:10:00Zoomberyeah, but thats not likley to happen
07:10:00Zoomberuptime on the 96 server is over 20 days
07:10:00sam686thats good..
07:11:00Zoomberi dont understand...this server barley uses .5 M bytes/sec each time, and its running Bitfighter sam686, one of the most used servers
07:11:00sam686i do remember a long time ago, uptime of my router was more then 30 days.
07:12:00sam686too much bandwidth problem?
07:12:00Zoomberin the past week, its been less than 40 k a second
07:12:00Zoomberno, more like, no bandwidth at all used..
07:12:00Zoomberwhile, it could use about 200x that much
07:12:00sam686what do you not underwtand?
07:13:00sam686 understand?
07:13:00Zoomberwhat confuses me, is that my home computer can pump out at least 508 k a second, yet it can be laggy for people
07:13:00Zoomberlinks are 3008 down and 512 up i think
07:14:00Zoomberthe max for my 74 server EVER has been 6.5 M / second
07:14:00Zoomberthe average, is .1 M
07:14:00sam686i think some hackers attempts to through a bunch of input to the servers on the server..
07:14:00Zoomberhackers attempt to go thorugh bitfighter servers on 74?
07:14:00sam686i think some hackers attempts to get through a bunch of input to the servers on the server's receiving side (download).
07:15:00sam686not sure..
07:15:00Zoomberi wonder what killed the server this time
07:16:00Zoomberthe boot request was completed, according to the logs, and it still isnt up
07:17:00sam686 my incoming per day is like 949 MB a day outgoing at about 127 MB a day
07:17:00sam686for my internet
07:17:00Zoomberi dont know my total..
07:18:00sam686but in september 10, i did a lot of uploading September 10, 2011 (Incoming: 1818 MB / Outgoing: 8102 MB)
07:18:00Zoomberraptor's server is up sam
07:25:00LordDVG has joined
07:38:00Zoomberi found a bug!
07:39:00sam686what bug?
07:39:00Zoombercrash when choosing to change someone's team after game end
07:40:00Zoomberhttp://pastebin.com/gu4hDBvB
07:40:00Zoomberclearly shows that im on the user intierface as the game changes
07:41:00karamazovapyI vote /ban [player]
07:41:00karamazovapyand that adds that player's ip to the ban list
07:42:00Zoomberi can do /ban playername length in minutes in my server right now...
07:43:00Zoombersam and I are in..
07:43:00sam686that becuse in my modified 015a, i added a /ban <player> but doesn't read or save bans
07:43:00Zoombersam686: 74 server back up
07:43:00sam686016 probably will save and read ban list from file..
07:44:00Zoomberbut it works if the server is still alive right?
07:44:00Zoomberand this one hopefully wont crash much
07:44:00Zoomberoooops, i forgot to work on upload permissions
07:45:00Zoombermy crash: http://pastebin.com/gu4hDBvB
07:45:00Zoomberah, posted it already
07:49:00Flynnn Quit (Quit: This computer has gone to sleep)
07:49:00Flynnn has joined
07:50:00Flynnn Quit (Client Quit)
07:50:00Flynnn has joined
07:50:00Flynnn Quit (Client Quit)
07:52:00Flynnn has joined
07:55:00Flynnn Quit (Client Quit)
07:56:00Flynnn has joined
07:57:00Flynnn Quit (Client Quit)
09:13:00Zoomber Quit (Quit: Zoomber)
13:16:00sam686 Quit (Ping timeout: 276 seconds)
13:54:00sam686 has joined
13:54:00ChanServ sets mode +v sam686
14:04:00sam686 Quit (Read error: Connection reset by peer)
14:08:00sam686 has joined
14:08:00ChanServ sets mode +v sam686
16:24:00watusimoto has joined
16:34:00raptor has joined
16:34:00ChanServ sets mode +o raptor
16:35:00raptorbuenos
16:54:00raptorso karamazovapy, what would make sense for a ban
16:54:00raptorsomething like this: /ban nickname minutes
16:55:00raptorand it would determine the IP and ban that?
16:55:00raptoralso i have a default time for 60 minutes
16:55:00raptormaybe make it a day
16:55:00raptor?
16:57:00karamazovapythat makes sense to me, as long as nickname ties to ip
16:59:00raptorany other functionality you might want? like banning an IP that isn't in the game?
16:59:00LordDVG Quit (Remote host closed the connection)
17:08:00raptoror ability to add any filter at any time, regardless if the player is online?
17:32:00Flynnn has joined
17:39:00Zoomber has joined
17:39:00ChanServ sets mode +v Zoomber
17:40:00Zoomberhey raptor, did you see the server i put up?
17:40:00raptoroh no...
17:40:00raptordidn't pay attention, let me look
17:40:00raptorha!
17:42:00Zoomberraptor, ill pm you the pass,
17:42:00raptorok
17:42:00Zoomberyou can just upload the levels when you get in
17:46:00raptor Quit (Remote host closed the connection)
18:22:00karamazovapyit would be good if banned players got a notice that they've been banned when it happens and/or when they try to rejoin the server
18:23:00karamazovapymaybe even a short reason for ban, but that's less important
18:38:00watusimoto Quit (Ping timeout: 252 seconds)
19:01:00Zoomberhey karamazovapy, come check out sam686's new feature
19:02:00Zoomberyou get to Vote to do something COOOOOOOOOOl
20:00:00raptor has joined
20:00:00ChanServ sets mode +o raptor
20:18:00karamazovapyI see no feet
20:18:00karamazovapyonly foot
20:18:00raptor ?
20:18:00karamazovapy<Zoomber> hey karamazovapy, come check out sam686's new feature
20:18:00karamazovapy<Zoomber> you get to Vote to do something COOOOOOOOOOl
20:19:00karamazovapythis led me to believe sam was joking: <sam686> i think my idea of new module might make you laugh... http://bitfighter.org/forums/viewtopic.php?t=858
20:19:00raptorso karamazovapy, do you ever envision a situation where you might want to ban a nickname from all IP address? i.e. for banning a registered user
20:20:00karamazovapyit wouldn't do any good
20:20:00raptorok, so IP-only based, then?
20:20:00karamazovapyyeah
20:20:00raptordefault time of 60 minutes ok?
20:21:00karamazovapysure
20:21:00raptorwe have a /kick with non-persistent timeout of 30 seconds
20:21:00karamazovapyright
20:21:00raptorok, that simplifies things..
20:21:00karamazovapyon the nick side though, if the name BitGriefer gets banned, he can just come back as BitGriefer2
20:21:00raptorhow about the ability to add an IP that is not connected to the game at the moment?
20:22:00raptoryes, but if it's a registered user, then they don't get the grand prize of underlining... :)
20:22:00karamazovapythat could be useful. I kind of figured that would be built-in if we were maintaining a ban list
20:22:00raptorok
20:22:00raptorthis: /banip 255.255.255.255 minutes
20:22:00raptorwill not check for connected clients
20:23:00karamazovapyoh...well I don't generally have access to ip's while I'm playing, but I can check my server log if someone was a pain
20:23:00karamazovapyso if there's a list, I can just add an IP to it...but I don't know if it needs to be a part of the client
20:23:00karamazovapymaybe someone else would use it that way, though
20:25:00raptorthe thing is, the list is now part of the INI
20:26:00karamazovapythat's fine. I can copy an ip from my server log to my ini without much trouble
20:26:00raptorso, maybe you can edit the INI with the server running, and it refreshes the list on each level load?
20:26:00raptori am trying to make it so you don't have to restart the server to load a new ban
20:26:00karamazovapythat might not be necessary...what about an /updatebanlist type function you can run
20:26:00raptorthat's a good idea
20:27:00raptori like that better
20:27:00karamazovapyyeah, no need to add an extra process to every level load
20:27:00raptorgood idea
20:28:00karamazovapyyeah.../update or /refresh
20:28:00karamazovapynot sure what the best usage would be.../refreshblist
20:28:00karamazovapyor /updatebans
20:28:00karamazovapymaybe just /banlist
20:29:00karamazovapyI suppose you could build the whole thing that way...
20:29:00karamazovapylike /banlist -u
20:31:00karamazovapy or /banlist -a [User] -t [Mins] -u -p could add a user for a number of minutes, update the list from the ini, and print it to the screen
20:31:00karamazovapyif you wanted to get all fancy
20:32:00raptori might just do separate commands instead of command options - that is a bit more work to build out that type of framework
20:32:00karamazovapyyeah
20:32:00karamazovapyI was just wondering if we're going to hit a point where the number of /commands gets kind of silly
20:33:00raptorit's already there...
20:33:00raptor:)
20:33:00raptorbut at least tab completion works
20:33:00karamazovapyyeah
20:33:00karamazovapygrouping level navigation functions would make sense, but I kind of like having /next /prev /restart
20:34:00karamazovapygrouping passwords might make sense
20:34:00karamazovapyas in /pass -a [Admin] -l [Level] -s [Server]
20:35:00karamazovapyyou could do /host -n [Name] -d [Description]
20:35:00karamazovapyI'm also thinking a bit about how many separate pages of instructions we have
20:36:00karamazovapynot sure what's best, but it might be a conversation worth having
20:37:00raptoryes, i agree
20:37:00raptorcommand options might be good in the long run..
21:10:00raptorsam686: did you go to bed yet?
22:52:00watusimoto has joined
22:57:00BFLogBot - Commit 19846724a538 | Author: buckyballreaction | Log: Add /ban and /banip server admin commands - /ban [duration in minutes] (default 60 if none provided) - /banip [duration in minutes] (default 60)
22:57:00BFLogBot - Commit 164d9c96a69f | Author: buckyballreaction | Log: Add /ban /banip /gmute /rename to CommandInfo array

Index Search ←Prev date Next date→

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