#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2011-08-08

Timestamps are in GMT/BST.

00:14:00iKoda Quit (Quit: K thx bai)
00:24:00BFLogBot - Commit ada61a054551 | Author: sam8641 | Log: Fix some joystick problem, PredefinedJoystickList was rewritten.
00:27:00watusimotoI'll be around for a few minutes if anyone has anything they want to discuss
00:30:00watusimotothat video wasn't in English, btw
00:49:00BFLogBot - Commit 9d2da8b0b97a | Author: sam8641 | Log: Remove gClientGame from GameObject::onGhostAdd and fix Projectile::unpackUpdate
00:50:00sam686Can't use getGame() inside unpackUpdate, as TNL likes to call unpackUpdate first, then onGhostAdd(GhostConnection *theConnection)
00:51:00sam686but with unpackUpdate(GhostConnection *connection, BitStream ) it is possible to use GameConnection *gc = (GameConnection *)connection->mClientGame;
00:51:00raptorwatusimoto: still here?
00:53:00sam686now to fix broken goalZone rendering...
00:59:00raptorsadly, i missed watusimoto again...
01:09:00watusimotohi
01:10:00raptorhi
01:10:00raptorstill around?
01:10:00raptorand can take a question?
01:10:00watusimoto@sam -- maybe we can assign the game when the object is created, rather than waiting until it has been added to the game
01:10:00watusimotothat would fix the timing issue you just described
01:11:00watusimoto@r yes
01:11:00raptoryes!
01:11:00raptorok
01:11:00raptorwhat was your idea about handling CommandMapVisType
01:11:00watusimototwo methods
01:12:00watusimotoisVisibleOnCmdrsMap
01:12:00watusimotoand
01:12:00raptorbecause we need to do a search for objects in that category, as well as change what objects go in the category
01:12:00watusimotoisVisibleOnCmdrsMapWithSensor
01:12:00sam686This is how TNL does it for clients: it creates object, then call unpackUpdate, then calls onGhostAdd
01:12:00watusimoto@s we could change the order, or we could assign game at creation time
01:12:00watusimotothat second might be my pref., then we know getGame will never return null
01:13:00raptoryou mean like a grouping method like these?: http://pastie.org/2336941
01:13:00raptor(which i already wrote)
01:13:00raptorbut we just pass in the correct one when needed?
01:13:00watusimotoyes, create two more
01:13:00watusimotoyes
01:13:00watusimotothen pass the one we need
01:14:00raptorokey doke
01:14:00watusimotomake sense?
01:14:00raptoryep
01:15:00raptordidn't think your idea was that simple for some reason..
01:16:00watusimoto@s -- do you see any drawback to assiging mgame at creation time?
01:18:00sam686i don't really see any problems, but i will test for any problem running unpackUpdate after onGhostAdd
01:19:00watusimotoah, I see your fix now
01:19:00BFLogBot - Commit 05f042d4a4b2 | Author: sam8641 | Log: Fix renderGoalZone
01:19:00watusimotoI like it
01:20:00Flynnn has joined
01:22:00sam686i ran into null ClientGame in GrenadeProjectile::idle - getGame() can be ServerGame...
01:22:00watusimotook; if it was gClientGame before then that was wrong
01:23:00sam686GrenadeProjectile::idle is unrelated to if onGhostAdd is before or after unpackUpdate
01:25:00watusimotoYes -- I see how to fix that;
01:25:00watusimotoI'll do it if you haven't
01:26:00sam686it is only for clients, to attempt to fix lag and burst teleporting behind making it look worse without the fix..
01:26:00watusimotoyes; just need to check if we're client and do the client-only stuff if we are
01:28:00raptordinner time!
01:34:00watusimotoProposed fix comitted
01:34:00watusimotoback in a bit
01:34:00BFLogBot - Commit 2ad63ec8f655 | Author: watusim...@bitfighter.org | Log: Fix GrenadeProjectile::idle
01:34:00BFLogBot - Commit 2ae734f17810 | Author: watusim...@bitfighter.org | Log: Merge
01:36:00sam686having unpackUpdate after onGhostAdd have a speedZone problem (calls onGhostAdd then onAddedToGame then preparePoints) if it didn't get the coords information first (unpackUpdate first) then it ends up at (0,0) at client side
01:37:00sam686also having having unpackUpdate after onGhostAdd can worsen the client's performance due to adding to database then having to move them, for all goalZone and LoadoutZone, and others..
01:51:00watusimotoyes. Let's just assign game at creation. All these issues will dissapear
01:51:00watusimotogotta go.
01:53:00[1]watusimoto has joined
01:54:00raptorhe forked!
01:56:00watusimoto Quit (Ping timeout: 240 seconds)
01:56:00[1]watusimoto is now known as watusimoto
02:05:00sam686probably best to have a onGhostAddBeforeUpdate, just to set mGame, then add to gridDatabase after update..
02:05:00sam686update as in running unpackUpdate
02:16:00raptorphoew, merge still good...
02:18:00zoomber_laptop has joined
02:18:00zoomber_laptopraptor!
02:18:00zoomber_laptophelp
02:18:00raptorhi
02:18:00zoomber_laptopi am standing in a
02:18:00zoomber_laptopfield tryin to get
02:18:00zoomber_laptopwifi signal frm a tower
02:28:00zoomber_laptop Quit (Ping timeout: 255 seconds)
02:34:00BFLogBot - Commit f7b2bc5b4e9c | Author: sam8641 | Log: Added onGhostAddBeforeUpdate, for allowing setting something like mGame
02:54:00zoomber_laptop has joined
02:54:00zoomber_laptopok
02:54:00zoomber_laptopudp working better with low range though
02:55:00zoomber_laptoptnl especially
02:57:00zoomber_laptop_ has joined
02:57:00zoomber_laptop Quit (Read error: Connection reset by peer)
02:57:00zoomber_laptop_ is now known as zoomber_laptop
03:00:00zoomber_laptopok =
03:02:00zoomber_laptopspeed test w/ POOR internet wifi strength
03:02:00zoomber_laptophttp://www.speedtest.net/result/1422290224.png
03:03:00zoomber_laptopcant hold comp 4 muvh longer
03:03:00zoomber_laptopbye
03:03:00raptorbye
03:03:00zoomber_laptop Quit (Quit: zoomber_laptop)
03:16:00raptorare all things that are Items visible on commander's map?
03:19:00raptorlooks like yes
03:20:00sam686enemy FlagItem is not visible in CTF if dropped..
03:20:00sam686but it is commandMapvisible, but sometimes not scoped
03:20:00raptorah ok
04:16:00raptorwhat is burst? minetype?
04:16:00sam686GrenadeProjectile
04:17:00raptorwhich is BulletType
04:18:00raptorshould that be renamed?
04:19:00raptorno i guess not, that is a generic one
04:19:00sam686not sure, if changing BulletType, that could mean existing robots needs a small change..
04:20:00raptoryeah, i won't do it...
04:21:00sam686although existing robots like quickbot and s_bot only use BulletType to determine if it should shield self..
04:24:00raptoranything other than BulletType and MineType is extra on commander's map with sensor?
04:25:00sam686probably now, it is only projectiles..
04:25:00raptorok
04:25:00sam686probably not
04:25:00raptornow time for clean-up...
04:33:00karamazovapyI guess bobdaduck is 17. question answered.
04:41:00raptoris it interesting to see long standing zap/bitfighter citizens age?
04:45:00karamazovapywell I was a college student when I started playing, so my status hasn't changed all that much
04:45:00sam686it still says Ags: 16 in bobdaduck in my view..
04:45:00karamazovapybut with a lot of the others, they seemed like kids when they first started
04:45:00sam686probably isn't 12:00 yet..
04:46:00karamazovapyand at some point, they started to seem more like adults
04:46:00karamazovapybut I'm not sure when it happened
04:46:00karamazovapyzoomber was like little apple when he started!
04:47:00raptorhahaha
04:48:00raptorSo something stranged happened today... I played a game with a girl
04:48:00raptorbitfighter game
04:48:00karamazovapyrandom insanity and footloose are both girls
04:48:00raptorwait, footloose is?
04:48:00karamazovapyyep
04:48:00raptori knew RI was
04:48:00raptorwhat
04:48:00raptorno
04:48:00raptorwhat
04:48:00raptorno
04:48:00karamazovapyyeah
04:48:00karamazovapylol
04:49:00raptorthat means i was playing with TWO girls
04:49:00karamazovapyI mean...they're twelve, but it's neat that there are a couple girls who play
04:49:00raptorparadigm shifted, brain broken
04:50:00sam686ok, do you call this a phpbb bug? changing "My timezone" to [UTC-8] make bobdaduck age show up at 17, but changing "My Timezone" to [UTC-4] make bobdaduck age go back down to 16
04:50:00raptorhahaha
04:50:00karamazovapyyeeeah...that seems weird.
04:50:00karamazovapybut I don't know how UTC actually works
04:51:00karamazovapyI mean, if it's different than GMT, does the day shift?
04:51:00raptorit's not different
04:51:00raptorcomputer nerds just say UTC
04:51:00karamazovapyoh, then it's no error
04:51:00raptorthe only that makes a difference is the international date line
04:51:00karamazovapyUTC-8 is further west than UTC-4
04:52:00karamazovapyoh wait
04:52:00sam686my clock's date is still August 7, as it has not hit midnight yet (11:52 PM for me)
04:52:00karamazovapythen that is wrong
04:52:00raptorhehe
04:52:00karamazovapydunno negro.
04:52:00sam686oh i got the [UTC-8] [UTC-4} switched around..
04:52:00karamazovapyjackpot
04:53:00karamazovapygonna go watch falling skies and get my nerd on - see y'all later.
04:53:00raptorbye
04:53:00kodax has joined
04:58:00sam686i will go bye until tomorrow morning..
05:15:00raptornight
05:15:00kodaxtomorrow morning... of which timezone?
05:16:00raptorUTC - 6, i think
05:16:00raptoror maybe that's me
05:16:00raptorhe is close to me
05:39:00raptoranyone awake that knows lua?
06:15:00Flynnn Quit (Quit: This computer has gone to sleep)
07:09:00raptor Quit (Remote host closed the connection)
07:15:00kodax Quit (Quit: Sto andando via)
08:27:00watusimoto Quit (Ping timeout: 255 seconds)
11:11:00LordDVG has joined
11:11:00LordDVG Quit (Changing host)
11:11:00LordDVG has joined
11:20:00LordDVG Quit (Ping timeout: 276 seconds)
11:23:00LordDVG has joined
11:23:00LordDVG Quit (Changing host)
11:23:00LordDVG has joined
11:40:00LordDVG Quit (Remote host closed the connection)
14:50:00sam686 Quit (Ping timeout: 250 seconds)
14:51:00zoomber_laptop has joined
14:52:00raptor has joined
14:52:00ChanServ sets mode +o raptor
14:52:00zoomber_laptopi see only karamazovapy and BFlogbot
14:52:00zoomber_laptopoh, hi raptor
14:52:00raptorgood day
14:53:00zoomber_laptopwierd, i get this when i open a new terminal window now
14:53:00zoomber_laptopoptiplexgx150:~ hushahn$
14:53:00zoomber_laptopisnt optiplex gx150 an old computer brand?
14:53:00raptoroh yes
14:53:00zoomber_laptopor model by dell?
14:53:00raptorboth
14:53:00zoomber_laptopok
14:54:00zoomber_laptopi wonder why in the name of names is it displaying that on my macbook terminal window
14:54:00raptoris it a hackintosh?
14:54:00zoomber_laptopnope, a macbook
14:54:00raptorthen that is weird, unless you are SSH'd into another box..
14:54:00zoomber_laptopbut i am connected to a hotspot cell tower a guy i know built
14:54:00zoomber_laptopi can see it from here, its Faaaaar away
14:55:00zoomber_laptopbut i would have no idea what that has to do with anything...
14:55:00zoomber_laptopwow, i should show you a picture, its cool
14:55:00zoomber_laptophang on
14:56:00sam686 has joined
14:56:00ChanServ sets mode +v sam686
14:59:00zoomber_laptopok, uploading the picture now
15:00:00zoomber_laptopit is taking a while to upload it to imageshack, maybe i should upload it to sam's
15:06:00Pointblank has joined
15:06:00zoomber_laptophttp://img585.imageshack.us/img585/3005/viewp.png
15:07:00zoomber_laptopthats where im getting internet
15:07:00zoomber_laptopmaybe i can photoshop a tower in..
15:07:00raptoroh wow
15:07:00raptorare you on vacation somewhere?
15:09:00zoomber_laptopyes
15:09:00zoomber_laptopwisconsion
15:09:00zoomber_laptoppossible for me to take a boat over of lake Michigan, and go on a search to find _k
15:09:00raptorhaha
15:10:00zoomber_laptopis karamazovapy around?
15:11:00zoomber_laptopagh, i still have to figure out how to use cron. i tried reading some pages on it, how it can have commands to startup weekly, daily, or hourly, but didnt see how it could check for instance of bitfighterd
15:11:00raptorso cron just runs any script when ever you want
15:11:00raptorthat's it
15:11:00zoomber_laptopok
15:11:00raptoryou have to come up with a smart script
15:11:00raptorthat's the hard part
15:11:00zoomber_laptopoooooh
15:12:00zoomber_laptopso i have cron run this smart script every hour or day?
15:12:00raptorexactly
15:12:00zoomber_laptopis that just root$ cron smartscript.extension?
15:12:00zoomber_laptopi should answer that for myself
15:13:00raptorso here is a smart script that checks if a particular TNL based game server is running: http://code.google.com/p/bitfighter/source/browse/tnlping/check_bitfighter_server_status.sh
15:13:00raptorthat i checked into hg a while back
15:14:00raptorwhat you'd have to do is if it fails to detect the server, try to kill the server first (just to be safe), then restart the server
15:14:00zoomber_laptopok
15:15:00zoomber_laptopgot it
15:15:00watusimoto has joined
15:15:00raptorthat script sends an e-mail message - you'd probably want to remove that piece
15:15:00zoomber_laptopok
15:16:00raptorwatusimoto: are you available for a question?
15:16:00zoomber_laptopok
15:16:00zoomber_laptoplets see
15:17:00zoomber_laptopcould instead of doing tnlping = ..filepath
15:17:00raptoryou'd have to compile 'tnlping' first, if you want to ping the server
15:17:00zoomber_laptopcan i do bitfighterd="/root/sam/exe/bitfighterd"?
15:17:00zoomber_laptopand then specify that?
15:17:00zoomber_laptopoh oh ok
15:17:00zoomber_laptopnevermind
15:17:00raptorwell, it depends on how you want to check if it is running...
15:17:00zoomber_laptopcan it check if an application name or pid is down?
15:18:00raptoryes, you can check PID or try to ping it
15:18:00raptori figure those are two good options
15:18:00zoomber_laptopok
15:18:00zoomber_laptopreason being, is how will this work if i have multible servers on
15:18:00zoomber_laptopone might go down, but others might stay up
15:18:00raptoryou have to be very specific on your PID search
15:18:00raptorPID is probably better for that
15:19:00raptordo you launch your servers with command line options, like server name?
15:19:00zoomber_laptopno command line args, but
15:19:00zoomber_laptopoops, i think a bug got into my fan..
15:20:00zoomber_laptopit started vibrating oddly for a few seconds like something was being chopped and then stoped
15:20:00zoomber_laptopok, back to the topic. i use arguments from ini file
15:20:00zoomber_laptopand if something is wrong in the server, i change it with /setcommands
15:20:00raptorthe reason I ask is because you need a way to differentiate them from the command line
15:20:00raptordifferentiate the PIDs, i mean
15:21:00raptorand if one PID says: bitfighterd -name "Bifighter Main()"
15:21:00raptoryou have a solution
15:21:00zoomber_laptopok
15:21:00zoomber_laptopi can do that
15:22:00zoomber_laptopso ill do that
15:22:00zoomber_laptopbut now i must modify the script to accomidate that too
15:24:00raptori do exactly what you want with the logbot. here I try to explain the logic: http://pastie.org/2339803
15:24:00raptorin searchign for the right PID
15:25:00zoomber_laptopok
15:26:00zoomber_laptop#Die!
15:26:00zoomber_laptopah, so i use ps ax too
15:26:00raptoroh ooops, that is supposed to be 'kill -9'
15:26:00raptornot 'kill =9'
15:27:00zoomber_laptopok
15:27:00zoomber_laptopi can ust put that right into check.sh?
15:27:00zoomber_laptopof course must rename
15:27:00raptorsure, but you'd have to use different 'grep' filters
15:27:00zoomber_laptopgrep bitfighterd
15:28:00raptoryep
15:28:00zoomber_laptopwhat about grep java?
15:28:00zoomber_laptopjust delete completley?
15:28:00raptorthe more greps you add, the further you filter
15:28:00zoomber_laptopi se
15:28:00zoomber_laptopsee
15:28:00raptorso you first grep of 'bitfighterd' might return two or three servers
15:28:00raptorthen you have to add another grep to filter the specific one
15:29:00zoomber_laptopso if i do screen ./bitfighterd -name "server1"
15:29:00zoomber_laptopi could do
15:29:00zoomber_laptopmy_pid=$( ps ax |grep bitfighterd | grep server1 | sed 's/^[ ]*//' | cut -d' ' -f1 ) ?
15:29:00raptoryep, looks good
15:30:00zoomber_laptopok
15:30:00raptoryou can test: ps ax |grep bitfighterd | grep server1 | sed 's/^[ ]*//' | cut -d' ' -f1
15:30:00zoomber_laptopok
15:30:00raptorright in the command line to make sure it gives you what you want
15:32:00zoomber_laptopheres what i get without grep server1. i cant restart servers yet because some clients connected to server
15:33:00zoomber_laptop8016
15:33:00zoomber_laptop8017
15:33:00zoomber_laptop13926
15:33:00zoomber_laptop13927
15:33:00zoomber_laptop13931
15:33:00zoomber_laptop13932
15:33:00zoomber_laptop13994
15:33:00zoomber_laptopi suppose thats because one of them is screen and one is just ./ ?
15:33:00zoomber_laptopah, one is screen ./bitfighterd and one i sjust ./bitfighterd
15:34:00raptorso add a third grep, with 'screen'
15:36:00raptoroh
15:36:00raptorwait
15:36:00zoomber_laptopit does nothing
15:36:00raptoryes, add 'screen' or 'SCREEN'
15:36:00zoomber_laptopoh
15:36:00raptorremember everything is case sensitive
15:37:00zoomber_laptopperfecto
15:37:00zoomber_laptopnow i get my three servers
15:37:00zoomber_laptop8016
15:37:00zoomber_laptop13926
15:37:00zoomber_laptop13931
15:37:00raptorgreat!
15:37:00raptoryou'll probably have have a specific command for each server with the appropriate grep filter on the name
15:37:00zoomber_laptopi wonder why each server has screen ./bitfighterd and ./bitfighterd for processes shown?
15:37:00raptorthat's just how screen works...
15:37:00zoomber_laptopok
15:38:00zoomber_laptopso now i have that
15:38:00raptorit launches a process called SCREEN, then forks into a subprocess to do the actual command
15:38:00raptoryou just have to kill the parent SCREEN process and all should be well in the world..
15:38:00zoomber_laptopok
15:42:00watusimoto Quit (Ping timeout: 240 seconds)
15:42:00zoomber_laptopok, i have created a new .sh file
15:43:00zoomber_laptopand will try to follow the .tnlping one
15:43:00zoomber_laptopwait
15:43:00zoomber_laptopoh
15:43:00zoomber_laptopactually
15:43:00zoomber_laptopflash of light good idea
15:43:00zoomber_laptopthis could make my life easier
15:43:00zoomber_laptopraptor: in the ini file i can specify a port correct?
15:44:00sam686will have to be done in command line, not ini. -dedicated "IP:any:28003"
15:44:00raptori actually don't know
15:44:00zoomber_laptopok
15:44:00raptorhi sam686
15:45:00zoomber_laptopso ill just use -dedicated "IP:any:28003
15:45:00zoomber_laptopon the sh file
15:45:00raptordid you get a good sleep at normal hours? :)
15:45:00zoomber_laptopi can use server="IP:67.18.11.66:25955"
15:45:00sam686yes, for each server, it should have their own port number.
15:45:00zoomber_laptopand change that to
15:45:00zoomber_laptopserver="IP:myIPgoesHERE:28003"
15:46:00sam686IP:any:28003 is good enough..
15:46:00zoomber_laptop@raptor, does your check sh file also restart serers automatically or just email you?
15:46:00sam686dedicated don't need to know what IP it is..
15:46:00zoomber_laptopok
15:46:00raptoryou add your own restart command after you kill the old server
15:46:00zoomber_laptopok
15:47:00zoomber_laptopso i see the # do the ping
15:47:00zoomber_laptopmust i put the command there
15:47:00raptoryou don't need tnlping if you do it the PID way
15:47:00zoomber_laptopsay i do use the tnlping way
15:47:00zoomber_laptopas, i can just specify the port on launch
15:47:00raptoryou'll have to compile it first
15:47:00zoomber_laptopok
15:47:00raptoryes
15:48:00raptoruse the Makefile in the same directory as that script
15:48:00zoomber_laptopnow, is it possible to detect wether tnlping was successfull or not?
15:48:00raptori'll be back in a bit - have to focus on some work..
15:48:00zoomber_laptopok
15:48:00raptorzoomber_laptop: yes, that is what the script does
15:48:00raptorif [ $? == 1 ]; then
15:49:00zoomber_laptopif [ $? == 1 ];
15:49:00zoomber_laptopaaah you beat me!
15:49:00zoomber_laptopand i can just put screen after that?
15:49:00raptorsure
15:49:00zoomber_laptopok; i will do that
15:49:00zoomber_laptopthanks!
15:49:00raptorwelcome
15:49:00raptorbe back in a bit...
15:49:00zoomber_laptopbye
15:58:00zoomber_laptop Quit (Quit: zoomber_laptop)
16:19:00raptorsam686: still around?
16:19:00sam686yes
16:19:00raptorrobot.cpp:~805
16:19:00raptorwhile(lua_isnumber(L, index))
16:19:00raptori don't understand why there is a while loop there
16:20:00raptor(my line numbers might be slightly off..)
16:20:00sam686LuaBot can do findItems(ShipType, RobotType, BulletType)
16:20:00raptoroh great
16:20:00sam686you can take off if(number < sizeof(BITMASK) * 8) and objectMask if you want
16:21:00raptorso why is there a second if(objectMask) at about line 823?
16:21:00Flynnn has joined
16:21:00sam686it is first ObjectMask = 0
16:22:00sam686then, if ObjectMask is not zero, it finds items
16:22:00sam686it is useless to do findObjects with objectMask of zero
16:22:00raptorok, but why is there a findObjects inside the loop, and outside the loop?
16:22:00sam686in case of TypeNumber is not part of a mask
16:23:00raptorok, but now typeNumber is all we have - so we only use the find in the loop?
16:23:00sam686yes
16:23:00raptorok thanks
16:23:00raptorfor clearing that up
16:25:00watusimoto has joined
16:26:00raptornext question
16:26:00raptorgame.cpp: 2452
16:26:00raptorvoid ClientGame::setVolume
16:26:00raptorwhy is this here?
16:27:00raptorwhy not just call GameUserInterface::setVolume directly?
16:27:00raptorinstead of through the game object?
16:27:00sam686not sure why..
16:28:00[1]watusimoto has joined
16:28:00raptormy patch set is aroun 100KB so far...
16:29:00raptormayeb watusimoto can answer...
16:29:00sam686there was a similar ClientGame::enterMode, that i got rid of..
16:29:00raptorYES!
16:29:00sam686it was doing getUIManager()->getGameUserInterface()->enterMode(mode);
16:29:00raptorEXACTLY
16:29:00watusimoto Quit (Ping timeout: 258 seconds)
16:29:00[1]watusimoto is now known as watusimoto
16:29:00raptorthere are still two like that now
16:30:00raptorsetVolume
16:30:00raptorand enterMode
16:30:00raptoroh wait,
16:30:00raptorthat is what you got rid of - but it's back
16:31:00sam686looking at which commit brought it back..
16:31:00raptorprobably one of the merges
16:32:00sam686(watusimoto) Mucking around a bit - fewer globals brought it back..
16:38:00raptoryep
16:38:00sam686even the helperMenu got changed back, as thats was the only one used in HelperMenu::exitHelper
16:38:00raptorhmmm
16:38:00raptorwell now I need to know why before I remove it again...
16:38:00sam686it is one ommit after merge..
16:38:00raptoryeah, so it looks deliberate
16:38:00raptorproblem is that it creates an include loop between game.h and UIGame.h with those enums
16:38:00sam686and look, it undid your fix: extern enum UIMode;
16:38:00raptoryeah
16:38:00raptorwatusimoto: we have questions for you when you can
16:39:00raptorseems to me that those things should just be in client game...
16:43:00sam686maybe there should be a ClientGame.cpp ClientGame.h as dedicated server don't use ClientGame
16:44:00Flynnn Quit (Quit: Leaving)
16:45:00raptori think we are already slowly moving there..
17:09:00Flynnn has joined
17:24:00Zoomber has joined
17:25:00zoomber_laptop has joined
17:25:00zoomber_laptopi am back
17:25:00zoomber_laptopand it seems alot of people are here now
17:26:00zoomber_laptoptwo hours ago was only karamazovapy and BFLogBot
17:26:00ChanServ sets mode +v Zoomber
17:39:00zoomber_laptopsam686 there?
17:39:00sam686hi
17:40:00zoomber_laptopdo you ever have server crashes?
17:40:00sam686yes, a few times, but i fix them when it does crash..
17:41:00zoomber_laptopmine all keep crashing and dont seem to stay up over two days
17:44:00sam686it is probably due to levels having "Ship" line and adding clone bot crashing server..
17:45:00sam686i have just fixed in my 015a clone..
17:49:00zoomber_laptopoh
17:49:00zoomber_laptoplike Ship 0 0 and adding a clone?
17:49:00sam686yes
17:49:00zoomber_laptopok
17:50:00zoomber_laptopcheck my mashzone server though. it crashed too but does not have any ship level
17:51:00zoomber_laptopok, well i just crasehd Bitfighter Main(); with the bug you found.. so i should pull your changes
17:51:00raptorif you can duplicate the crash, then load the server in gdb and get a backtrace
17:51:00zoomber_laptopok i have a conflict
17:51:00zoomber_laptopin
17:52:00zoomber_laptopvoicecodec.h, #ifdef USE_Speex and #include "speex/speex.h
17:53:00sam686did you update discarding changes?
17:53:00sam686that is, update and get rid of modified files..
17:53:00zoomber_laptopi can use --clean maybe?
17:53:00zoomber_laptopok
17:53:00zoomber_laptopthats better
17:55:00zoomber_laptopraptor: may buy a new macbook or imac. I am really jelous of this iMac i built bitfighter on a week ago
17:56:00raptori find that buying a new computer means that it'll just be outdated in 6 months
17:56:00zoomber_laptopsadly
17:56:00raptoryeah...
17:57:00zoomber_laptopi would get a not-mac too, but i need mac for my music
17:57:00sam686my desktop computer is extremely outdated (2003)
17:57:00zoomber_laptopi have logic there
17:57:00zoomber_laptopmy old ibm desktop around the same date as sam's
17:57:00zoomber_laptopit came installed with ubuntu and i foolishly put xp on it
17:57:00zoomber_laptopooh there was something wrong with the display thats why I did that
17:58:00zoomber_laptopnow it runs Mac Os X
17:58:00raptoronce I determine not to buy things because they are 'nice, new and shiny', I am more content with what I buy for longer time
17:58:00sam686desktop computers by average last longer then laptops, i believe..
17:58:00zoomber_laptopim afraid thats what happened with this old macbook i have right now
17:59:00zoomber_laptopseems to run fine, but i'm worried about its graphic card
17:59:00raptorit's really hard to fight the gotta-have-new-gadget urge when your interested in technology...
17:59:00sam686laptops could break in seconds, as if you dropped them..
17:59:00raptori never give laptops more than a year
17:59:00raptorbefore something is borken
18:00:00zoomber_laptopmy old ibook still works
18:00:00zoomber_laptopbut it needs an external hard drive; failed hard drive about 5 years ago
18:00:00raptorhaha
18:00:00zoomber_laptopcan still use like 5 mbs of it though
18:00:00sam686if a laptop's keyboard break, you are screwed... if lcd breaks that is also mean you screwed..
18:01:00zoomber_laptopi put chess.app on it once an dplayed off it
18:01:00zoomber_laptopif laptop keyboard breaks, can use flexible usb keyboard and place over keys : ]
18:02:00zoomber_laptopusually hard drive goes out first on laptops unless solid state
18:02:00sam686well keyboards are often cheap anyways..
18:03:00sam686it the laptops LCD that could break, then you are screwed...
18:03:00zoomber_laptopbut apple has a great 1 year warranty, and those "genius" bars
18:03:00raptor1 year <-- the magic number
18:03:00raptorfor laptops
18:04:00zoomber_laptopbut they will get you a whole new device for broken stuff
18:04:00zoomber_laptopi had 1 spec of cotton fall into my ipod screen, and they gave me a whole new ipod
18:04:00sam6868 years (for my desktop), though i got the computer 2 years ago from someone who don't want it no more..
18:05:00zoomber_laptopinteresting how sam686's desktop story is very similar to my desktop story
18:05:00zoomber_laptopi bought my ibm from someone else too a few years ago
18:05:00zoomber_laptopok i am Reeeeeely distracted and i only have 25 minutetes!
18:05:00zoomber_laptopi gotta compile tnlping now
18:06:00sam686I also have another desktop at year 1998 that had windows 98, but can easily be converted to windows XP for old 520 Mhz AMD K6-2 with 160 MB ram
18:06:00zoomber_laptopraptor: is tnlping it's own excutable or do i have to build it in bitfighter?
18:07:00zoomber_laptopdownloaded soruce code but only got tnlping.cpp
18:07:00raptorit's its own
18:07:00raptorgo into the tnlping directory and just run 'make'
18:07:00raptorshould build... (I hope)
18:07:00zoomber_laptopno makefile there?
18:07:00zoomber_laptopmaybe i have outdated version?
18:07:00raptorcould be i did it after 015a
18:07:00raptorget make file from here: http://code.google.com/p/bitfighter/source/browse/#hg%2Ftnlping
18:08:00raptorand .cpp file to compile
18:08:00zoomber_laptopok
18:10:00zoomber_laptopi suppose i also need the tnl framework to make it?
18:11:00zoomber_laptopor just copy a few .h files over?
18:11:00raptoryes, if you create a folder called tnlpng in your bitfighter clone, and put those two files there - it should build fine
18:11:00zoomber_laptopi see
18:11:00zoomber_laptopoh
18:11:00zoomber_laptopi already haev tnlping
18:11:00zoomber_laptophmm, should have looked at that first
18:12:00zoomber_laptopok, thats built now
18:12:00zoomber_laptopnow i have tnlping, and cron, and have to set-up a cron to run script hourly
18:13:00raptorhow come you are using tnlping?
18:13:00raptori thought you were going to do it by PID
18:13:00zoomber_laptopfound out it may be easier this way as i can specify port at launch..
18:13:00raptorah ok
18:14:00zoomber_laptopmust i do if [ $? == 1 ]; then
18:14:00zoomber_laptop # only mail if i haven't already
18:14:00zoomber_laptop command screen /root/sam/exe/bitfighterd
18:14:00zoomber_laptop if [ ! -f "$sendoncefile" ]; then
18:15:00raptorthat first if [ $? == 1 ]; then
18:15:00raptori snecessary
18:15:00raptoryou don't need the inner 'if' if you don't care about e-mail
18:15:00zoomber_laptopok
18:15:00zoomber_laptopill do it just to keep track
18:15:00zoomber_laptopof when my server crashes
18:16:00zoomber_laptopwill the third line work just like that?
18:16:00sam686can you do this in a script? while(true) { ./bitfighterd; } so if bitfighter segfault, does the script continue and instantly restart bitfighter?
18:17:00raptoryes, but that is bad
18:17:00raptorbecause the script never ends
18:17:00raptorthat is what cron is for
18:17:00raptorwell, the syntax is wrong
18:17:00zoomber_laptopcron can run only once a day or every 3 hours
18:17:00raptorbut logically, your idea can work...
18:17:00raptorcron can run once a minute
18:18:00zoomber_laptophey raptor, i am in /temp/crontab.fhxzbs/cron.tab
18:18:00zoomber_laptopis this what i should modify?
18:18:00raptorno
18:18:00zoomber_laptopok
18:18:00raptorjust type 'crontab -e'
18:18:00zoomber_laptopi did that
18:18:00raptorok
18:18:00zoomber_laptopand it said there was blank
18:18:00zoomber_laptopso i could select one of three something
18:18:00raptorthen you are in the right place, but ignore the filename
18:18:00zoomber_laptopand <--- easiest was pointing at 2
18:18:00raptorcron fielnames are always temporary
18:19:00zoomber_laptopso 3 * * * * SCREEN ./bitfighterd -IP:ANY:2800 would work here?
18:19:00raptorthat would run on the third minute of every hour :)
18:19:00zoomber_laptopoh
18:19:00zoomber_laptopoops
18:19:00raptordo */3
18:20:00raptor*/3 * * * *
18:20:00raptormeans every three minutes
18:20:00zoomber_laptophow about * 3 * * * * command
18:20:00zoomber_laptopevery three hours?
18:20:00zoomber_laptopor on the third hour?
18:20:00zoomber_laptopoh
18:20:00zoomber_laptopi see
18:20:00raptorthat would be 3am in the morning
18:20:00raptorhehe
18:20:00zoomber_laptopmaybe * */8 * * * command?
18:20:00raptorthat is every 8 hours
18:21:00LordDVG has joined
18:21:00LordDVG Quit (Changing host)
18:21:00LordDVG has joined
18:21:00zoomber_laptopok
18:21:00zoomber_laptopperfect. ill do */3 for every three hours
18:21:00zoomber_laptopoops
18:21:00zoomber_laptopexcept i dont want to start up a server every 3 hours, i want to run the script!
18:22:00raptorhaha
18:22:00zoomber_laptopso ./root/sam/tnlping/tnlping
18:22:00zoomber_laptopi set it to two minutes right now
18:22:00zoomber_laptopsee if it works
18:23:00zoomber_laptopkilled my servers already
18:23:00raptorremove the starting .
18:23:00zoomber_laptopoh
18:23:00raptorso it is a full path
18:23:00zoomber_laptopthanks
18:23:00raptorand test the script before adding it to cron.. cron is very silent
18:23:00zoomber_laptopusing crontab -l gives me 2 * * * * /root/sam/tnlping/tnlping
18:24:00raptoron the second minute
18:24:00raptor:)
18:24:00zoomber_laptopnote /sam/ is sam's editor clone directory, i named it sam to help me remember that
18:24:00raptor*/2
18:24:00zoomber_laptopoh
18:24:00zoomber_laptoperrr
18:25:00zoomber_laptopdone
18:25:00raptoralso, make sure you are only killing the servers if the ping fails
18:25:00raptornot every time the script runs...
18:25:00zoomber_laptopoh, it looks like i have to fix permissions to my shell file
18:25:00raptorchmod +x
18:26:00zoomber_laptophmm
18:26:00zoomber_laptopdidnt work, i can try going through filezilla..
18:27:00zoomber_laptopoh it did work, but still permission denied
18:27:00zoomber_laptopah
18:27:00zoomber_laptopnow
18:28:00zoomber_laptoptnlping not found, must i move this somewhere? it is in the same folder as check.sh
18:29:00zoomber_laptopoh, i see you have tnlping ' /root/bin/tnlping
18:30:00Pointblank Quit (Ping timeout: 252 seconds)
18:30:00zoomber_laptopodd
18:30:00zoomber_laptoppointblank left again?
18:31:00zoomber_laptopi wonder if my bot stops pinging to the server after a while
18:31:00zoomber_laptopok, im a step closer
18:32:00raptori set tnlping at the start as a variable, then call it later with $tnlping
18:32:00Pointblank has joined
18:33:00raptorthat way you have the changeable parts of the code at the top of script where they are easy to find
18:33:00sam686i9 think zoomber is distracted with trying to get pointblank to work..
18:34:00zoomber_laptopok i set the tnlping dir
18:34:00zoomber_laptopand i changed a output text file
18:34:00zoomber_laptopright now im at TNL Service is DOWN../check.sh: line 50: unexpected EOF while looking for matching `"'
18:34:00zoomber_laptop./check.sh: line 53: syntax error: unexpected end of file
18:34:00zoomber_laptopbut i must go
18:34:00zoomber_laptopalmost 2 a cloock
18:34:00zoomber_laptopsee you later
18:34:00raptorlater
18:34:00Zoomber Quit (Quit: Zoomber)
18:34:00zoomber_laptop Quit (Quit: zoomber_laptop)
18:34:00LordDVG Quit (Ping timeout: 260 seconds)
18:44:00Flynnn Quit (Quit: This computer has gone to sleep)
19:04:00[1]watusimoto has joined
19:07:00watusimoto Quit (Ping timeout: 260 seconds)
19:07:00[1]watusimoto is now known as watusimoto
19:16:00[1]watusimoto has joined
19:18:00watusimoto Quit (Ping timeout: 240 seconds)
19:18:00[1]watusimoto is now known as watusimoto
19:20:00LordDVG has joined
19:57:00Flynnn has joined
20:38:00watusimoto Quit (Ping timeout: 258 seconds)
20:43:00watusimoto has joined
20:48:00raptorhello
20:58:00sam686 Quit (Read error: Connection reset by peer)
21:01:00sam686 has joined
21:01:00ChanServ sets mode +v sam686
21:12:00watusimoto Quit (Ping timeout: 263 seconds)
21:30:00raptorkaramazovapy: did you ever get around to testing that bitfighterd binary i gave you?
21:33:00karamazovapyI never "got" it
21:33:00raptoroh, did i forget to paste the link?
21:34:00raptori know at the time you didn't want to mess with it because the contest serv was going up - if you still don't, then I won't ask again
21:34:00karamazovapyI never saw it
21:34:00raptorok here it is: http://96.2.123.136/upload/bitfighterd.gz
21:45:00LordDVG Quit (Remote host closed the connection)
22:19:00watusimoto has joined
22:42:00raptorbeen listening to Doctor Who soundtracks all day...
22:47:00karamazovapyhttp://www.youtube.com/watch?v=WOoUVeyaY_8
22:50:00raptorwow
22:51:00karamazovapyhe's a professional russian
22:51:00raptorvery
22:53:00karamazovapyhe's like the guy selling out of his trunk in a crime movie
22:57:00karamazovapyI didn't know "dragons breath" rounds existed
22:57:00karamazovapyhttp://www.youtube.com/watch?v=RP4FjODPDFA
22:57:00raptor"there is no more deadly system in the world, than a russion with two AA12s"
22:57:00raptorrussian
23:00:00karamazovapyhah! a civillian can own this gun - http://www.youtube.com/watch?v=dSp7CipN1pw
23:05:00raptori'm amazed at the recoil system of the aa12
23:05:00karamazovapyyeah, fully automatic shotgun that you can wield single handedly without bracing...that's pretty incredible
23:09:00raptori wonder how much each round fo the 40mm costs...
23:11:00karamazovapyI wonder what this guy actually "does"
23:31:00raptor Quit (Remote host closed the connection)
23:40:00watusimotohello
23:41:00watusimotobest way to reach me in the coming days is via email

Index Search ←Prev date Next date→

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