#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-11-05

Timestamps are in GMT/BST.

00:01:01raptorwell, there's 'bf' stuff all around
00:01:10raptori didn't do a thorough check, though
00:01:24kaenoh, if that's the case then I might have updated the wrong directory :x
00:01:30raptoractuallly
00:01:36raptorit says 018 at the top..
00:02:02kaennope you're right
00:02:09kaenI overwrote it with 019 docs
00:03:26raptorwell, i wrote an example for sky_lark: http://pastie.org/pastes/8455799/text
00:03:47raptorit (sadly) does most of what he wanted, but i wrote lots of notes
00:03:57thread_ Quit (Ping timeout: 250 seconds)
00:04:15raptormaybe something like that would be good to put in the 'Levelgen Overview' section in the Lua docs
00:10:07raptorok, i'm heading home - back later!
00:12:08amgine123there arent any builds to test?>
00:14:47raptor Quit ()
00:23:41thread_ has joined
00:23:52thread_raptor left?
00:24:13YoshiSmbyea
00:24:19YoshiSmba few minutes ago
00:27:44thread_hmm
00:29:34kaenbut I can help you, as substitute raptor
00:29:48kaen is now known as kaentor
00:31:19kaentor is now known as kaen
00:32:14kaenthread_: you're trying to build from source?
00:34:26thread_yea. still having issues with cmake
00:34:34kaenwhat's the issue?
00:35:15thread_Following http://bitfighter.org/wiki/index.php/Building_Bitfighter#019_.28development.29_and_later, I get up to 'cmake -G "Visual Studio 10'"
00:35:26thread_the output from the command is riddled with errors
00:35:33kaencan you pastie them for me?
00:35:42kaenoh, and that's not the right command
00:35:53kaenfirst, you need to be in bitfighter/build
00:35:56kaenthen you need to run
00:36:09kaencmake -G "Visual Studio 10" ..
00:36:36kaenthe .. is absolutely critical
00:36:49thread_I am
00:36:50thread_I got that
00:36:59kaenok, then pastie the errors
00:37:04thread_(pastie is taking forever to load...)
00:37:06kaenoh
00:37:07kaen:x
00:37:15thread_http://pastie.org/8455842
00:38:11thread_Crazyness ensues
00:38:32thread_This is why I haven't been able to contribute to the code yet
00:39:50kaenI'm googling around for second, hold on
00:39:54kaenfor a second*
00:43:54kaenhmmm
00:43:58kaenok, try
00:44:03kaendel CMakeCache.txt
00:44:09kaenand then retry
00:44:16kaen(in the build directory)
00:46:43kaenand if that doesn't work either, then del CMakeCache.txt again and do
00:46:44kaencmake ..
00:46:51amgine123 Quit (Ping timeout: 250 seconds)
00:47:02thread_looks like I get the same error http://pastie.org/8455852
00:47:56thread_cmake .. is doing stuff
00:48:07kaenit might just be generating makefiles though
00:48:22kaenI'm not sure exactly what will happen here
00:48:44kaenif it works properly, there should be something like "bitfighter.sln" in the build directory
00:49:16thread_there it is
00:49:21kaenwhoa really?
00:49:28kaendoes it open with VS2010?
00:49:47thread_oops, I opened with VS2013
00:49:52kaenif it does, all you should have to do is hit build and wait
00:49:59kaendid it work with 2013?
00:50:08kaen(just curious)
00:50:08thread_I don't know. gimme a sec
00:50:10kaenok
00:51:57thread_how long does it normally take to build?
00:52:53koda Quit (Quit: koda)
00:55:03kaenabout ten minutes on my machine
00:55:25kaenthere's usually a rudimentary progress counter in the build output
00:56:06thread_Just wondering if I'm slow
00:58:11kumool Quit (*.net *.split)
00:58:51raptor has joined
00:59:22raptormy 2-year-old just stuck a screwdriver down the throat of my 5-month-old
00:59:24ChanServ sets mode +o
01:00:11kumul has joined
01:01:57thread_yay toddlers?
01:04:09thread_aww, build errors
01:04:12Watusimotogood night
01:04:18raptoryou could put it that way...
01:04:19raptornight
01:04:25BFLogBot Commit: 234df2c67811 | Author: watusimoto | Message: Fix yet-to-mainfest-itself sql error --> make sure the real data always comes first
01:04:26BFLogBot Commit: 5423e42bfc85 | Author: watusimoto | Message: Fix annoying bug where if you were panning/zooming when an error message was displayed, you could continue to do so after the message was dismissed, even if you were no longer holding the key
01:04:28BFLogBot Commit: 5da6576dc67a | Author: watusimoto | Message: Create a common function for activation and reactivation actions
01:04:29BFLogBot Commit: d7ebf5342e98 | Author: watusimoto | Message: Fix dedicated server
01:04:31BFLogBot Commit: bf6e7f942e59 | Author: watusimoto | Message: Merge
01:07:35kaennight wat
01:07:40kaenthread_: pastie?
01:08:30Watusimoto Quit (Ping timeout: 252 seconds)
01:08:47thread_http://pastie.org/8455884
01:10:04kaenhmm, it's building the test project
01:10:07raptorah, build the 'bitfighter' part
01:10:08kaenthat's definitely not right
01:10:10raptornot the 'test' part
01:11:05thread_ok. win. It built
01:11:25thread_how do I get an exe out of this to make sure it runs btw?
01:12:51YoshiSmb Quit (Ping timeout: 250 seconds)
01:14:07raptorcheck the exe folder
01:14:12raptordinner time!
01:15:15thread_ok, thanks guys. I should be going now
01:15:37kaenok have fun!
01:16:44thread_ has left #bitfighter
01:43:53kumul Quit (Ping timeout: 245 seconds)
01:47:48raptor Quit (Ping timeout: 246 seconds)
01:47:59Nothing_Much has joined
01:48:22Nothing_Much Quit (Read error: Connection reset by peer)
01:48:36Nothing_Much has joined
01:54:39raptor has joined
01:54:39ChanServ sets mode +o
01:57:20amgine123 has joined
01:57:48kaenwb gents
01:57:53raptorhello
01:58:08Nothing_MuchHello guys
01:59:07Nothing_Much Quit (Quit: Leaving)
01:59:22Nothing_Much has joined
01:59:24raptorkaen: what should my last badge be to fulfill that issue?
01:59:50kaenhmmm
02:00:01raptor10 in-a-row in bitmatch seems easy enough
02:00:10kaenwhat about X games completed?
02:00:12raptorand it oculd be 1 gold star
02:00:32raptorthere's already that idea for the rank
02:00:43raptorwatusimoto even coded 'level up!' stuff for it...
02:00:57kaentrue, I guess I'm still a little sad about not shipping it
02:01:03raptorit's dormant, though - everything about rank needs polish
02:01:06raptoryeah... :(
02:01:16kaenthat's ok, next time
02:01:16Nothing_Much Quit (Changing host)
02:01:16Nothing_Much has joined
02:01:27raptorI have a simple goal to get at least one achievement per gametype
02:01:55raptorwe have ZC, RAB, SOC, NEX
02:02:02kaenok, but X kills in a row seems like a good generic badge
02:02:06kaenrather than limiting it to BM
02:02:37kaenhow about winning a FFA bitmatch without dying?
02:02:42raptorthat leaves COR, BM, HTF, RET
02:02:57kaenor maybe only shooting a specific weapon :)
02:03:18kaenseeker comes to mind
02:07:03raptor Quit (Ping timeout: 246 seconds)
02:09:24amgine123ugh i keep dcing
02:09:33amgine123kaen raptorarethere any new builds to test
02:09:46kaenstill no, amgine123
02:10:01amgine123sorry i keep dcing before i see the messag
02:10:13amgine123this chat is buggy
02:27:05Nothing_Much Quit (Quit: Leaving)
02:29:03raptor has joined
02:29:03ChanServ sets mode +o
02:29:11raptorblargh - network is crazy
02:30:14raptorcomplete a match with only bouncer!
02:31:10raptormake 5 kills with seeker
02:31:21raptoryou think a non-gametype one would be good?
02:32:52Nothing_Much has joined
02:34:34kaen Quit (Remote host closed the connection)
02:34:50kaen has joined
02:41:18sky_lark has joined
02:52:09kaenhi sky_lark
02:52:14kaendo you still need levelgen help?
02:57:42raptor Quit (Ping timeout: 240 seconds)
03:04:49Nothing_Much Quit (Changing host)
03:04:49Nothing_Much has joined
03:07:33raptor has joined
03:07:33ChanServ sets mode +o
03:11:44raptorsky_lark: this may prove useful: http://pastie.org/pastes/8455799/text
03:15:29sky_larkThanks guys! Yeah, I might be getting ahead of myself with this lua stuff so I'll take a look at the guide you posted earlier... but I do appreciate the script
03:18:46raptorsure thing
03:32:49sky_lark Quit (Ping timeout: 250 seconds)
03:44:25Nothing_Much Quit (Remote host closed the connection)
03:44:35amgine123raptor is there a lua command to move a object to location
03:44:44amgine123in level editor
03:48:02kaena lua command?
03:48:12kaenobj:setPos(p)
03:48:18kaenin 019, anyway
03:48:50kaen`obj` has to be a reference to the object you want to move
03:50:32kaenamgine123 ^
03:50:57amgine123ok im trying to atempt myfirst lua script nknowingn nothing about howit works
03:51:11kaenwell, that's how I started too :)
03:51:22kaenmy advice is to try editing one of my simple plugins
03:52:18kaenenumerate is a good skeleton
03:55:36amgine123the script is is you choose object aand then input coordinetes and it movesit to that location
03:55:45amgine123simmple easy
03:56:09amgine123i think
03:56:10kaeneasy if you already know how to write plugins ;)
03:56:42amgine123i dont xd
03:57:07kaenlucky for you, there is no one in the whole world more qualified to teach you how to write plugins for bitfighter :)
03:57:30kaensince I am by far the world's leading bitfighter plugin expert
03:57:35amgine123oh my this looks hard looking at make curves as the base
03:57:44kaenno, don't use that one
03:57:49kaentrust me just use enumerate
03:57:59kaenyou'll only have to change like four lines
03:58:14amgine123whats enumerate XD
03:58:24amgine123i know 0% bout lua Xd
03:58:32kaenenumerate is one of the plugins you downloaded
03:58:58kaenit doesn't matter exactly what it does, just that it's a good template
03:59:10kaenbecause you're going to edit it to do something completely different :)
03:59:30amgine123ok
03:59:38amgine123but i feel like tis cheating
03:59:46kaenI guess it kind of is
03:59:46amgine123maybe ill try it the hard way firt XD
03:59:49kaenok
04:01:06amgine123is spacingimportant ie tabbing
04:01:21kaennot really, but it's good to keep things lined up
04:01:34kaenit's only important to humans who need to read the script :)
04:02:14amgine123is it cheating to copy and paste basic commands Xd
04:03:26amgine123oh dear
04:03:42kaenit's generally considered "bad"
04:03:53kaenthere's no such thing as cheating at programming
04:03:53kaenonly cheating at learning
04:04:08amgine123lets see return means display text
04:04:20kaennot quite
04:04:20amgine123and get args menu is a basicmenu
04:04:42kaengetArgsMenu is "function" that bitfighter executes to get a list of menu items for a plugin
04:05:13kaen"return" controls what the function gives back to bifighter
04:05:17amgine123hmm what would i use for the objets move to X and y coordintes in teh menu
04:05:31kaenyou can start with CounterMenuItems
04:05:40amgine123CounterMenuItem.new
04:06:02Nothing_Much has joined
04:06:04kaenyou should read this: http://bitfighter.org/luadocs019/class_counter_menu_item.html
04:06:06amgine123i see nin teh make curves plugin
04:06:29kaenit tells you what each of the numbers and strings in CounterMenuItem.new() mean
04:06:48amgine123ty
04:06:59amgine123do all feilds have to eb filled in
04:07:08kaenI believe so
04:07:14amgine123ok
04:07:15kaenthey have to be present, at aleast
04:07:22kaenthey can be empty strings: ""
04:07:27amgine123ok
04:07:29kaenwhere appropriate
04:07:41amgine123lets see if i can mKE ONE ITEM OPEN UP FIRST
04:07:45amgine123oops caps
04:07:49amgine123new keyboard
04:07:50kaenthat's a great start
04:07:52kaennp
04:08:17amgine123ever get nw keybaord that is absoulutly terrible to use
04:09:02kaenoh yes
04:09:10kaenfor example: my current keyboard
04:09:49amgine123i have on of those super durable rubber flexy keybaords
04:09:58HylianSavior Quit (Read error: Connection reset by peer)
04:10:09amgine123shift never seems towrok and space is half size
04:10:18kaenwhoa
04:10:35amgine123??
04:11:19kaennever heard of a flexy keyboard, and a half-sized spacebar sounds awful...
04:12:18amgine123yep i could fold my keyboard like a taco
04:12:50amgine123in haldf
04:15:28amgine123uh whats teh max vdistance possible on a LE grid
04:15:45amgine123x*x^X
04:15:56amgine123X*10^X
04:16:22amgine123uh does it support mathimaticL VALUES
04:22:29amgine123why do you need to go afkwhen i need you Xd
04:23:57kaenbecause I'm programming too :)
04:24:05kaenif you need to get my attention just highlight me
04:24:13kaenanyway, there is technically no max
04:24:27kaen16,000 should be big enough though
04:26:39amgine123ok does it support mathimatical referenesfor f\uture note likepwoers of to 10 e ........
04:27:02amgine123logarithims
04:29:48raptorkaen: are you working on anything on the bug list?
04:30:16kaenamgine123: you can use math.log
04:30:24kaenand also it support 10^2 etc.
04:30:29kaenraptor: nope
04:30:34kaenI'm fixing the pleiades caching stuff
04:30:36raptorok, thanks
04:30:57raptoryeah, i'm glad you're doing that instead of me!
04:31:12amgine123kaen: what extension do you give a plugin on windows
04:31:22kaen.lua
04:31:38amgine123oh duh XD
04:32:03amgine123lets see if it worked it i sucesful created 1 menu item
04:32:23amgine123oops saved it asa text
04:34:46amgine123iT worKED!
04:35:07amgine1231 menu item on lua my first step :)
04:36:45kaen\o/
04:36:47amgine123uhoh you broke tehmaser
04:36:58kaennah uh
04:37:01amgine123unable toconnect to the master server
04:37:01kaenYOU broke the master
04:37:18amgine123Maser Error#3
04:37:22amgine123#13
04:37:27kaenoh wait, your build is outdated after all
04:37:32kaenare you using 019, amgine123 ?
04:37:40amgine123a beta of 19
04:37:52amgine123yeah my build is like 4 weeks old
04:37:54kaenyeah, it's slightly out of date
04:39:14amgine123so i have 2 menu items X input andY input now what
04:39:54kaennow you need to:
04:39:58kaenget the value of those items
04:40:04kaenmake a point out of the x and y
04:40:19kaenset the position of the selected object(s) to that point
04:40:24kaenand then you'll be done :)
04:40:34kaenall of that will happen in main()
04:40:50amgine1231 baby step at a time kaen im only stupid.
04:41:03kaenno such thing as a stupid programmer
04:41:16kaen(you are now officially a programmer, btw)
04:41:33kaenso anyway, step 1: get the values of the menu items
04:41:44amgine123oops neveer mind broken mrnu
04:41:53amgine123broke it on Y value men
04:42:10amgine123one typo breaks Lua xd
04:42:15kaenyeah ...
04:42:37kaenpastie.org your script if you get stuck
04:42:57amgine123lol line 1 is adupe of line 2 sowheres the typo XD
04:43:10kaenpastie.org your script if you get stuck
04:43:13kaen:)
04:43:21kaenI can't read your screen from over here
04:44:11amgine123hmm does there have to be more then one end
04:44:37kaenyou need an end at the end of each function
04:45:03kaenfunction getArgsMenu() <stuff> end function main() <more stuff> end
04:45:56kaenmy guess is that you're missing a comma
04:46:05kaenso you should really pastie your code
04:46:07amgine123probably
04:47:26amgine123did you see it kaen
04:47:32amgine123http://pastie.org/8456207 jut in case
04:47:34kaenthere's no reason to pm ...
04:47:44kaenso anyway you need a comma at the end of line eight
04:47:51kaen{ } is called a table
04:48:01amgine123ah commas XD
04:48:03kaenand things go in a table like this: { 1, 2 }
04:48:18amgine123so example?
04:48:28kaenso you have right now { CounterMenuItem.new() CounterMenuItem.new() }
04:48:38kaenand you need { CounterMenuItem.new(), CounterMenuItem.new() }
04:48:48amgine123oh ok
04:48:57amgine123commas between coutner items
04:49:15kaencommas in between all elements of a table
04:49:28kaenthis table happens to contain CounterMenuItems though, yes
04:50:24amgine123ok its fixed now teh hard part
04:50:35kaenimo that last part was the hard part
04:50:36kaenok so
04:50:44amgine123btw is teh input values on menu hard
04:50:44kaenthe rest of the work is done in main()
04:50:57kaenit's pretty easy from here on out
04:51:02amgine123uh main()?
04:51:08kaenyes
04:51:18amgine123let me find enumerate asa exmaple
04:51:18kaenright now you have function getArgsMenu() ... end
04:51:25kaennow you need to make
04:51:29kaenfunction main() ... end
04:51:34amgine123and Main() would be the program right
04:51:40kaen(your code will go where the ... is)
04:51:45kaennot Main(), main()
04:51:59kaenand it goes in the same script file
04:52:05kaenjust put it after the end of getArgsMenu
04:52:15amgine123can i doa quick edittoalow value input on my x and Y values
04:52:29kaen"value input" ?
04:52:30amgine123like with your scripts
04:52:34kaenyou mean like typing it in?
04:52:38amgine123you can input a vlaue on the menu
04:52:40amgine123ys
04:52:43kaenit's not quick, but I'll show you how after we're done
04:52:48amgine123ok
04:52:54kaenok so anyway
04:53:02kaenadd the main function
04:53:16amgine123getfunctionmmain()?
04:53:23kaenfunction main()
04:53:24kaenend
04:53:28amgine123ok
04:53:31Platskies has joined
04:53:44kaena "function" is just a named group of code
04:54:02kaenand bitfighter looks for a function called getArgsMenu to figure out what menu items your plugin has
04:54:19kaenthen it calls main() after you hit "run plugin" to do the rest of the work
04:54:45kaenand when it does that, it puts the values from your menu items into a table called 'arg'
04:54:59kaenin your case, arg[1] will be X and arg[2] will be Y
04:55:19kaento test that out, put this in the main function: print(arg[1], arg[2])
04:55:31kaenrun your plugin and look in the console, you'll see the values you selected
04:55:35amgine123after main before end
04:55:39amgine123correct/
04:55:39kaencorrect
04:56:22kaenlet me know if that works for you
04:56:44amgine123uh no crah but no log in debug?
04:56:56kaenare you looking in the in-game console?
04:57:02kaen/ in the editor
04:57:04amgine123ih no
04:57:15amgine123il ty it butbfcrashes every 10 seconds
04:57:53amgine1230 0 ?
04:58:07kaentry changing the values in the menu
04:58:16kaenand those numbers should be different
04:58:23amgine123crash
04:58:30amgine123i should time it its like15 seconds
04:58:43kaenyou mean the whole program crashes for no reason?
04:59:01amgine123no the master error
04:59:10kaenoh
04:59:13amgine123keep breaking BF
04:59:19kaenbreaks it? how?
04:59:25amgine123-55 80
04:59:27kaenthat red boxy error thing is harmless
04:59:39kaenok so anyway it's working :)
04:59:55kaennow, you need to use those numbers to move the selected object
05:00:14amgine123well i need to first et teh objects coordintes
05:00:33kaenso wait
05:01:00kaendoes this plugin move the object to the actualy position you specify, or does it add the x and y values to its old position?
05:01:25kaenactual*
05:01:26amgine123if you put 0,0 it move teh object there regrldess of its posistion
05:01:37kaenok, then you actually don't need the object's position
05:01:43amgine1235,7 moves it to 5,7 regardless of posision
05:01:47kaenyou just need to tell it what it's new position is
05:02:03amgine123easy
05:02:05amgine123??
05:02:10kaenvery
05:02:13kaenso first, you need to get the selected object
05:02:46kaenof course, you know that you can select more than one object at once, but for your first try we'll assume that the user only selects one object
05:02:57amgine123and i do that how?
05:03:27kaenlook here and see if you can guess: http://bitfighter.org/luadocs019/class_editor_plugin.html
05:03:51amgine123get selected objects
05:04:09amgine123get all objects moves verythig right
05:04:15kaennot quite
05:04:23kaenit gives you a *list* of everything
05:04:32kaenand you can do anything you want to items in that list
05:04:38kaenso, if you do:
05:04:48kaenobjects = plugin:getSelectedObjects()
05:05:00kaenthen the first selected object will be: objects[1]
05:05:07kaenand the second will be: objects[2]
05:05:07kaenetc.
05:05:23amgine123ok so do Iremove that print log or put this beforeit
05:05:32kaenyeah, you can remove it
05:05:41kaenthat was just to show you it was working a little :)
05:06:22kaenso now you're one line away from your plugin being done
05:06:26amgine123is lua case sensitive
05:06:28kaenyes
05:06:38amgine123so caps mattr/
05:06:40kaenyes
05:06:43amgine123ugh
05:07:24amgine123ok now/
05:07:52kaenmake a guess, and I'll fill in the blanks for you
05:07:53amgine123why does lua have to be case sensitive btw
05:08:11amgine123is it on thesame page
05:08:14kaenthat's a long story... pretty much all programming languages are case-sensitive
05:08:17kaenno, it's not
05:08:31kaenso, you want to set the position of the object
05:08:41amgine123lets see if i canfindit
05:08:47kaenhttp://bitfighter.org/luadocs019/class_bf_object.html
05:08:55kaenit's on that page but you'll have to dig a bit
05:10:01amgine123lol i was way of i was in geom xd
05:10:53amgine123setloc()
05:10:55kaenthat's ok, docs are hard to navigate
05:11:01kaenclose, setLoc was renamed to setPos in 019
05:11:06kaenbut yes, that's right
05:11:31kaenok, so do you know what an "argument" is in programming?
05:11:41kaensometimes it's called a "parameter"
05:11:53amgine123ithink i do im not sure
05:11:58kaenbasically, it's what you "put in" to a function
05:12:09kaen(setPos is a function)
05:12:28kaenso, that page tells what kind of argument setPos takes
05:12:38kaenif you don't follow that rule, you will get an error
05:13:03kaensetPos ( Point pos )
05:13:08kaenin those docs
05:13:19amgine123but point pos is our X or y
05:13:24kaenmeans that it takes a point, which represents the new position
05:13:26kaenright, right
05:13:31kaenbut if you do:
05:13:40kaenobjects[1]:setPos(x, y)
05:13:44kaenyou will get an error
05:14:01kaenbecause setPos only takes a single point, and you gave it two numbers instead
05:14:01amgine123so how do i set it im kinda confused now
05:14:11kaenI'm about to make it all clear :)
05:14:15amgine123so i dupe it twice onenfor X and 1 for y?
05:14:19kaenyou need to make a new point
05:14:20amgine123guessing
05:14:28kaengood guess, but not quite
05:14:35kaen(keep guessing, it's good for learning btw)
05:14:41kaenso you'll use point.new()
05:14:51kaenyou use it like: point.new(x, y)
05:14:58amgine123i need a exmple
05:15:11kaenok, it gets little hairy here
05:15:20amgine123cauuse im confused now
05:15:24kaenI'm about to make a new point and give it to setPos on the same line:
05:15:34kaenobjects[1]:setPos(point.new(x, y))
05:15:38kaencan you see how that works?
05:15:40amgine123before that how would i set the first point
05:16:08amgine123but there are up toinfinity objects a useerwould select and no Xd
05:16:27amgine123are we assumming 1 fornow
05:16:32kaenyes, just for now
05:16:40kaenwe're doing the really really simple version first :)
05:16:54amgine123so im trying to understand that first part above
05:16:59kaenok
05:17:08amgine123so object is our object
05:17:19kaenobjects[1] is our object, yes
05:17:32amgine123then we say as a argument to set to pos
05:17:42amgine123x,y
05:17:52kaencorrect
05:18:09kaenwe could write it as two lines instead like this:
05:18:15kaenp = point.new(x, y)
05:18:16amgine123wait is thre a wy to test this se if i can gt it correct first
05:18:28kaenobjects[1]:setPos(p)
05:18:46kaentest what exactly?
05:18:59amgine123^^
05:19:22kaenyes, of course
05:19:34kaenso, the actual line you need in your script will probably be something like:
05:19:38amgine123so i have getSelectedObjects()
05:19:42kaenoh
05:19:45kaenfirst you need
05:19:51kaenobjects = plugin:getSelectedObjects()
05:20:06amgine123the full line/
05:20:08amgine123?
05:20:11kaenyes
05:20:18amgine123what does that mean
05:20:44kaenit means "set `objects` to the list of currently selected items"
05:20:45amgine123ok copy and pasted Xd
05:20:59kaenso `objects` is a table now
05:21:05kaentable basically means list in lua
05:21:07amgine123cop and paste is bad for learning Xd
05:21:13kaenvery bad for learning
05:21:28kaenbut you choose your own level of engagement :)
05:21:31amgine123if its broken break it more XD
05:21:45kaenok, so you have your list of objects
05:21:52amgine123yep
05:21:52kaenwhich you've named `objects`
05:22:05kaenso the first selected object is: objects[1]
05:22:11amgine123can you name it osmthing esleor will that break it
05:22:23kaenyou can name it almost anything you want
05:22:31amgine123ok continue
05:23:03kaenok, so now all you have to do is make a new point, and give it to object[1]:setPos()
05:23:12amgine123next line is objects[1]?
05:23:22kaenit starts with that
05:23:30kaenso, piece by piece
05:23:44kaenobjects[1] means "the first item in the list called objects"
05:23:57kaen:setPos means "set that item's position"
05:24:07amgine123oh qyick question comma after get seectdd objecs?
05:24:12kaenno
05:24:16amgine123oh
05:24:46kaenyou only need commas in lists of arguments and table declarations
05:24:52kaennot between lines of normal code
05:25:05amgine123objects = plugin:getSelectedObjects() objects[1]
05:25:17kaenput objects[1] on a new line
05:25:18amgine123objets 1 is on a second line under it
05:25:21kaenok
05:25:27kaenand that's not the whole line either
05:25:30amgine123cand p doesnt keep formatting
05:25:35kaenright
05:25:50kaenso, we need to make a new point and give it to setPos now
05:25:51amgine123it should have optonalkeep formatingwhen pasting
05:25:58kaenthis is the very last step
05:26:01amgine123ok
05:26:13kaenI actually showed you how to do this above
05:26:22amgine123restate it im laz to scroll Xd
05:26:24raptor Quit (Ping timeout: 268 seconds)
05:26:33kaenyou can make a new point right in the argument list of setPos
05:27:03kaenobjects[1]:setPos(point.new(arg[1], arg[2]))
05:27:25kaenis there any part of that you don't fully understand?
05:27:39amgine123arg 1 and arg 2 ?
05:27:54kaenso, remember that arg is a list of values from your menu items
05:28:02kaenso arg[1] means the value of the first menu item
05:28:06amgine123and why double parthenhes at teh end
05:28:08kaenarg[2] is the value of the second
05:28:19kaenbecause you always have to balance parentheses and brackets
05:28:45kaenyou see how we put point.new() inside of setPos() ?
05:29:03amgine123yes
05:29:11kaenwe're giving the new point we're making directly to setPos, without naming that point anything
05:29:33amgine123after would be end rght or is it end end
05:29:35kaenso that we follow setPos's rule about only taking a single point
05:29:40kaenjust one end
05:29:45amgine123idont get that somtimes theres morethen one end
05:29:50amgine123in la script
05:30:08kaenyou need an end at the end of a function, and also at the end of control structures
05:30:12kaenfor, while, if, etc.
05:30:16kaenall end with 'end'
05:30:19kaenand so does function
05:30:23amgine123ok
05:30:30amgine123s now i test it?
05:30:31kaenand you have to balance every for/while/if/function with a matching 'end'
05:30:33kaenyes
05:30:35kaentest it
05:31:07amgine123btw wheni get temaster error 13 it locks on that screen i ant return to menu
05:31:23kaenyou can't hit space or escape or anything?
05:31:47amgine123no
05:31:52amgine123is it a bug?
05:31:53kaenok, that's a bug ...
05:32:13amgine123btw it didnt work i made a error somewhere
05:32:20kaenpastie the error
05:32:45amgine123er i dont get a error but i dont seeteh object move
05:33:05kaenwell that's definitely not right ...
05:33:09kaenpastie your code then
05:33:27Nothing_Muchhello everyone
05:33:31kaenhello Nothing_Much
05:33:41Nothing_Muchwhat's going on?
05:33:50kaenhelping amgine123 write his first lua plugin
05:34:02Nothing_Muchwhoa, cool! go amgine123 !
05:34:18kaenare you still on vacation Nothing_Much ?
05:34:31amgine123http://pastie.org/8456275
05:34:32Nothing_Muchyeah but this is most of what I do on vacation lol
05:34:36kaenhaha
05:34:38Nothing_Muchit's mostly a break from my house
05:34:42Nothing_Muchor home
05:34:50kaenthat's always good
05:34:54Nothing_Muchyeah
05:35:13kaenso, amgine123
05:35:38kaenis the object you're testing on already located at 0, 0 by chance?
05:35:50amgine123no
05:36:25kaenok, that means I made a mistake somewhere @_@
05:36:39kaenlet me debug it for a second
05:36:45amgine123oh foudn a bug
05:36:55amgine123try running it an you ll see teh bug
05:37:12amgine123the object line appears therre but dontstay still you ove i
05:37:57amgine123move it
05:38:27kaenI'm not sure what that means exactly
05:38:30kaenbut the plugin does work
05:38:59amgine123it doesnt on mine
05:39:09kaenare you selecting the object?
05:39:14kaenand is it the only object selected?
05:39:16amgine123yes
05:39:19amgine123and yes
05:39:24amgine123haveyou everusedteam viwer
05:39:31amgine123teamviewer
05:39:31kaenno
05:39:42amgine123its a program that lets you remotlycontrol my computer
05:39:49amgine123so you can see what i see
05:39:51kaenbut I just copied/pasted the script
05:40:01kaenand it runs perfectly
05:40:11kaenand you get no errors in the console?
05:40:21amgine123ys no errors but a bug
05:40:39amgine123dowanload team viewer if you wantyou can see what i see :)
05:40:52amgine123great for teamwork on BF :)
05:41:12amgine123you and raptor nd wattisimo can gethelp fromanother ifneeded
05:41:43amgine123lol i must goin 18 min
05:42:36amgine12316
05:43:16kaenyeah I tried installing teamviewer but the linux packages don't play nice on my system
05:43:38kaenmaybe an updated build will fix it, but that'd have to be tomorrow
05:43:46kaenbut I promise you it worked :)
05:44:04amgine123on my build teh object doesnt move till clicked nd it displausys a outline
05:44:17kaenwhat objecT?
05:44:22kaenwhat kind, I mean
05:44:45amgine123m using a barrier
05:45:03kaenhmm.. really odd
05:45:12kaenI'm using a testitem and it's working
05:45:38kaenanyway, I'll try to get you a new build tomorrow
05:45:43amgine123ok try a barrier
05:46:21amgine123how for multuiple object now
05:46:22kaenok, I see that too
05:46:24kaenweird
05:46:33kaendoes a TestItem work for you?
05:47:05amgine123yyep
05:47:16amgine123so how about objects to infinity
05:47:54kaenwell, here's the quick version
05:47:57kaenyou need a for loop
05:48:09amgine123oh dear
05:48:15kaenbecause you want to do it *for* each item in objects :)
05:48:24kaenin lua, that looks like:
05:48:27amgine123where does teh for arugment go and now
05:48:40amgine123how
05:48:44kaenfor index,object in ipairs(objects) do
05:48:47kaen...
05:48:48kaenend
05:49:01amgine123where does that go
05:49:05kaenit's not really a quick concept ...
05:49:15amgine123try me
05:49:33kaenbut you would put that for loop around your setPos line
05:49:40kaenand instead of objects[1] you'd use object
05:49:58amgine123example
05:50:07kaenyou mean "write it for me" ?
05:50:08kaen:)
05:50:15kaenfor index,object in ipairs(objects) do
05:50:28kaenobject:setPos(point.new(arg[1], arg[2]))
05:50:29amgine123er i mean where does that go
05:50:30kaenend
05:50:44amgine123so it would go before the objects
05:50:45kaenwhere your old setPos line was
05:50:50kaenin the main function
05:50:53kaenno, it goes after
05:51:00kaenyou get the object list, then you do stuff with it
05:51:15amgine123imastupid programmer Xd
05:51:25kaenno, you're just trying to go too fast
05:51:34kaenlearning to program is slooooooowww
05:52:36amgine123nope i did it wrong Xd
05:53:21kaenthat's ok, we can pick it up later
05:53:26kaenI've got to get off, too
05:53:28kaennight!
05:53:33amgine123goodnight
05:59:49amgine123bye
06:04:03amgine123 Quit (Ping timeout: 250 seconds)
06:14:51Platskies Quit (Quit: Leaving)
06:44:18Nothing_Much Quit (Quit: Leaving)
06:50:17Nothing_Much has joined
06:50:19Nothing_Much Quit (Changing host)
06:50:19Nothing_Much has joined
06:50:41Nothing_Much Quit (Read error: Connection reset by peer)
06:54:09Nothing_Much has joined
07:07:12Nothing_Much Quit (Remote host closed the connection)
07:11:50Nothing_Much has joined
07:11:50Nothing_Much Quit (Changing host)
07:11:50Nothing_Much has joined
07:17:34Nothing_Much Quit (Remote host closed the connection)
07:22:33Nothing_Much has joined
07:25:14Watusimoto has joined
07:25:57Nothing_Muchcan bf run on uh.. software rasterizer?
07:30:13kaenit is physically able to
07:30:30kaenis it playable on software? probably not.
07:32:28Watusimoto Quit (Ping timeout: 240 seconds)
07:38:12Nothing_Muchwhat are you doing up mister?
07:38:40Nothing_Muchand yeah that might be true
07:38:47Nothing_Muchbut this thing is a beast of an arm pc
07:40:38kaenI wrote a bug where if you edit someone's level as an administrator, the webapp gives you ownership of that level
07:40:49Nothing_Muchoh my
07:40:55kaenI've stolen two of thread's maps that way ...
07:41:01kaenso now I'm fixing that bug :P
07:41:31Nothing_Muchnice
07:41:33Nothing_Muchhmm..
07:41:51Nothing_Muchif I could just get this partition mounted on my home partition
07:42:06Nothing_MuchI'd have an easier time to get bitfighter and attempt to compile it
07:42:08Nothing_Muchhere
07:42:46kaenyou could probably mount it *within* your home directory
07:43:16Nothing_Muchyeah, because apparently this flashed device only gives me 1.5GB of space while leaving the other 57GB of space unallocated
08:30:26watusimoto has joined
08:30:26ChanServ sets mode +o
09:01:05destroyerimo has joined
09:01:28destroyerimohi
09:16:34destroyerimoguys
09:16:37destroyerimoi need some help
09:23:31Darrelhi. standard IRC etiquette is to directly say what your question is, not asking "can I ask a question" or something like that ;)
09:23:32Darrel is now known as Darrel[AFK]
09:35:02Me has joined
09:35:10Metest
09:35:25Me has left #bitfighter
09:36:45Iamtaz has joined
09:36:52Iamtazhello?
09:37:12destroyerimosup
09:38:08Iamtazyes,
09:38:12destroyerimohey
09:38:17destroyerimolemme test hosting
09:38:47destroyerimojoin
09:39:27Iamtazit looks like
09:39:33destroyerimoare u hosting?
09:39:34Iamtazit looks like
09:39:37Iamtazi timed out,
09:39:39Iamtazno
09:39:48Iamtaz9999
09:40:12destroyerimoevery server shows 999?
09:40:29koda has joined
09:40:29Iamtazjus yours
09:58:59Iamtaz Quit (Quit: Page closed)
09:59:00destroyerimowhat happened
09:59:03destroyerimoi cant see any server
10:28:13watusimotohmmm... bitfighter.org does not seem to be responding
10:28:19watusimotothat's why there are no servers
10:28:30watusimotoyou probably can't connect to the master
10:30:01watusimotovery odd... I can connect via ssh
10:30:14watusimotook, the website is back up
10:30:18watusimotothe master is running
10:30:26watusimotoand now I see two servers should be available
10:30:58watusimotolooks like the bittown and ghost servers are running
10:31:05watusimotoso try again, and you should see them
10:56:03destroyerimoyea its cool
10:56:56destroyerimobtw in the bittown server...if the astroids are broken down it lags like hell
10:58:01destroyerimoalso what is the name of this chat network?
11:40:29destroyerimoplayed with a guy called tanker
11:51:35destroyerimo Quit (Ping timeout: 250 seconds)
12:49:11Darrel[AFK] Quit (Ping timeout: 245 seconds)
12:55:24Darriel has joined
13:06:56Darrel has joined
13:09:41Darriel Quit (Ping timeout: 240 seconds)
13:10:24Darriel has joined
13:11:27Watusimoto_ has joined
13:12:12Darrel Quit (Ping timeout: 260 seconds)
13:18:29Invisible has joined
13:28:43destroyerimo has joined
13:32:57Invisible Quit (Ping timeout: 268 seconds)
13:41:27Watusimoto_ Quit (Ping timeout: 252 seconds)
13:50:59Watusimoto_ has joined
14:26:25Invisible has joined
14:42:13kaendestroyerimo: we made some changes to the master server (which keeps track of info about all the game servers)
14:42:29kaenand based on reports from users, we broke it somehow very subtly
14:43:01kaenand this chat network is called freenode, address irc.freenode.net
14:44:08destroyerimoalright keep it up guys :D
14:44:09destroyerimothx
14:44:25kaenyou bet :)
14:47:10destroyerimo_ has joined
14:47:19destroyerimo_sup me :D
14:47:27destroyerimosup clone
14:49:11Watusimoto_ Quit (Ping timeout: 245 seconds)
14:51:51destroyerimo Quit (Ping timeout: 250 seconds)
14:52:11destroyerimo_ is now known as destroyerimo
15:01:15Nothing_Muchholy crap
15:01:22Nothing_Muchit works, but without sound
15:02:37kaenweird
15:02:49Nothing_Muchon this odroid
15:02:51Nothing_Much:D
15:04:26Nothing_Muchand it looks like the settings are glitchy too
15:33:36HylianSavior has joined
15:38:03destroyerimo Quit (Ping timeout: 245 seconds)
15:40:05destroyerimo has joined
15:45:10Nothing_Much Quit (Remote host closed the connection)
15:53:11raptor has joined
15:53:11ChanServ sets mode +o
15:54:28Invisible Quit (Ping timeout: 240 seconds)
15:57:17Nothing_Much has joined
15:59:29kaen"Perl users were unable to write programs more accurately than those using a language designed by chance." <-- excerpt from a 2011 study by Victoria University
15:59:58kaenThe randomly generated a placebo language from the ASCII table, and compared first time programmers' performance using the placebo and using perl
16:00:31kaenthere was no statistically significant difference.
16:13:35raptorhahaha
16:26:56LordDVG has joined
16:42:45watusimoto Quit (Ping timeout: 246 seconds)
16:57:52kumul has joined
17:10:09koda Quit (Ping timeout: 240 seconds)
17:17:07koda has joined
17:18:51Nothing_MuchHow did fordcars build on the raspberry pi?
17:30:52kaennot very well, last I heard
17:31:05Nothing_Muchkaen?
17:31:05Nothing_Muchor anybody for that matter
17:31:10Nothing_MuchI got the 018a this time
17:31:11Nothing_Muchit runs but it has no sound and can't connect to master
17:31:33kaencan't connect to master is probably because we introduced a bug in our last master changes
17:31:46kaenno sound usually means that it can't find the sound directory
17:32:07kaenif you're in the exe directory, try running it as
17:32:15kaen./bitfighter -rootdatadir ../resource
17:33:14Nothing_Muchnice
17:33:15Nothing_Muchit's playable
17:33:18Nothing_Mucha little laggy
17:33:20Nothing_Muchbut playable
17:33:48Nothing_Muchwhat's the sound directory called?
17:35:53Nothing_Muchoh dear
17:35:53Nothing_Muchthere's no bitfighter.ini
17:43:26destroyerimo Quit (Ping timeout: 264 seconds)
17:48:26LordDVG Quit (Remote host closed the connection)
17:51:05kaenit's called sfx
17:52:04Nothing_Muchin the exe directory?
17:53:48kaenin the resource directory
17:54:23Nothing_Muchoh interesting
17:54:32Nothing_Muchcompletely forgot about that folder lol
18:01:48Nothing_MuchFailure (1) loading sound file '/usr/share/bitfighter/sfx/phaser.wav': Game will proceed without sound.
18:09:14Nothing_Muchbrb
18:09:19Nothing_Much Quit (Quit: Leaving)
18:15:42Nothing_Much has joined
18:15:42Nothing_Much Quit (Changing host)
18:15:42Nothing_Much has joined
18:47:04LordDVG has joined
18:55:48Watusimoto has joined
19:01:00Darriel Quit (Ping timeout: 252 seconds)
19:01:32Darriel has joined
19:17:24koda Quit (Quit: koda)
19:27:09kaen Quit (Remote host closed the connection)
19:39:51Watusimoto Quit (Ping timeout: 246 seconds)
20:07:28raptor Quit ()
20:07:43LordDVG Quit (Remote host closed the connection)
20:21:44kaen has joined
20:26:52kaen Quit (Remote host closed the connection)
20:33:58Nothing_Muchwell, at least sdl2 works :D
20:41:48Watusimoto has joined
20:42:46BFLogBot Commit: 3bb67a440d08 | Author: watusimoto | Message: Improved warning message
20:50:06kaen has joined
20:52:21Canseco has joined
21:00:41kumool has joined
21:04:26kumul Quit (Ping timeout: 264 seconds)
21:18:05Canseco Quit (Quit: Leaving)
21:27:43koda has joined
21:27:50Nothing_Muchkaen, does fordcars come online at specific times or at random? I gotta know how to enable sound unless he doesn't get sound
21:30:45Invisible has joined
21:36:27kumul has joined
21:38:07kumool Quit (Ping timeout: 260 seconds)
21:39:09raptor has joined
21:39:11kumul Quit (Read error: Connection reset by peer)
21:39:16ChanServ sets mode +o
21:40:06raptorWatusimoto: when in /idle, press esc and quickly choose quit
21:40:11kumul has joined
21:40:44Watusimotogot it -- you have to be nearly instantaeous
21:41:11Watusimotowell, actually, the way I did it was different, but got the same result
21:41:57WatusimotoI can't actually do it your way... but no matter
21:43:29Watusimotoand good morning
21:43:40Watusimotoor good whatever
21:43:47Nothing_MuchHello
21:44:06Nothing_MuchI'm wondering if sound is an issue on armhf
21:44:14Nothing_Muchwhen compiling
21:44:52kumul Quit (Ping timeout: 264 seconds)
21:45:47raptorgood hello
21:46:14raptorNothing_Much: it may very well be an issue - although we use openal
21:46:28raptorso you'd have to install the development headers for it
21:46:47Nothing_Muchlibopenal-dev?
21:47:01raptorsounds right
21:47:11Nothing_Muchseems to be installed
21:47:27raptorI guess I don't knwo the nature of your error, then
21:47:37Nothing_Muchlemme try it again
21:48:00raptordid you compile from source?
21:48:05Nothing_Muchyeah
21:48:06Nothing_MuchFailure (1) loading sound file '/usr/share/bitfighter/sfx/phaser.wav': Game will proceed without sound.
21:48:06WatusimotoNothing_Much: if you are building, and are having trouble with sound, make sure the sfx files are where the game is looking for them; you can verify the location on one of the F7 screens
21:48:13Watusimotothat's it
21:48:20Watusimotothe sound file is not in that location
21:48:22raptoroh, that's not an ARM issue - you don't have your resources set up right
21:48:32Nothing_Muchohh
21:48:33raptorNothing_Much: are you running from the 'exe' folder?
21:48:53Nothing_MuchI had to use a command kaen sent me, because it wouldn't connect to master
21:48:58Watusimotoeither tell the game where your sounds are (INI file, cmd option, etc.) or put your sounds where the game is looking
21:49:10raptorafter compiling do the following:
21:49:22raptor1. in the 'exe' folder run this: for file in `ls -1 ../resource` ; do ln -s ../resource/$file ; done
21:49:38Watusimotocan we construct a more helpful message for that situation?
21:49:52raptor2. then make it standalone by running in the exe folder: touch standalone.txt
21:50:00raptor3. run bitfighter: ./bitfighter
21:52:49Nothing_Muchuh
21:53:08Nothing_Muchthose commands aren't very coherent to me >.>
21:53:24Nothing_Muchls -1 ..resource ; ln -s ../resource/$file ?
21:53:36raptorNothing_Much: copy and past in the terminal - you know how to navigate in the terminal?
21:53:47Nothing_Muchyes yes, I'm in the exe dir
21:53:56raptorok, copy and past this:
21:54:02raptorfor file in `ls -1 ../resource` ; do ln -s ../resource/$file ; done
21:54:33Nothing_Muchoh hey it worked
21:54:57Nothing_Muchwoo!
21:55:00raptorsound?
21:55:04Nothing_Muchyes!\
21:55:08raptoroh goodie
21:55:18kumool has joined
21:55:53Nothing_Muchoh, I gotta use the command kaen sent
21:56:37kaenyou shouldn't if you used raptor's
21:56:46Nothing_Muchoh really?
21:56:54Nothing_Muchwell it connected to master with your command
21:56:56Nothing_Muchnot raptors
21:57:48raptoryou didn't set up the standalone file?
21:58:17Nothing_Muchafter the ln command, I did "touch standalone.txt"
21:58:26Nothing_Muchor that whole copy and paste command
21:59:30raptoras long as there is a 'standalone.txt' file in the 'exe' folder, you should be good
21:59:38raptorit should connect to master just fine, though..
21:59:48Nothing_Muchit's not though :(
21:59:55Nothing_Muchstandalone is in the exe
22:00:12raptorhuh
22:00:28raptortry removing the bitfighter.ini in the exe folder, and try again
22:00:53Nothing_Muchnope
22:01:11Nothing_Muchdidn't work
22:01:16raptorthe game must be shut down when you remove it
22:01:23raptorwhat happens?
22:01:43Nothing_Muchit's shut down
22:01:48Nothing_Muchremoved the bitfighter.ini file
22:01:53Nothing_Muchnow to relaunch it
22:02:01Nothing_Muchsending challenge request
22:02:19Nothing_Muchnope
22:02:38Nothing_Muchoh hey
22:03:49Nothing_Muchit's quite a little laggy
22:03:52Nothing_Mucherm
22:03:54Nothing_Mucha little
22:03:55Nothing_Muchbut playable
22:04:38Nothing_Muchoh, and rename the BitTown server "Advanced Server" or something
22:05:02Nothing_Muchif ya can
22:23:35Invisible Quit (Ping timeout: 272 seconds)
22:23:54kaenWatusimoto: did you see my message yesterday about pleiades delivering proper error messages now?
22:27:05WatusimotoI did not, but noticed that it did
22:27:11Watusimotoso it works!
22:27:35kaen\o/
22:28:42noneofmynickswor has joined
22:29:28Nothing_Much Quit (Read error: Connection reset by peer)
22:30:57Nothing_Much has joined
22:30:58Watusimotoit's much nicer now when something falls over
22:32:27kumool Quit (Ping timeout: 272 seconds)
22:32:31BFLogBot Commit: 9bcde9d07aa3 | Author: watusimoto | Message: Add some notes to the cmd line options that would have been helpful to me earlier tonight
22:32:32BFLogBot Commit: 653f7e9eee85 | Author: watusimoto | Message: Fix case 261, I think
22:33:12Watusimotoraptor: when you get a chance, see if you can still reproduce the weird laggy frame case
22:33:29Watusimotoit seems to be fixed for my way of reproducing it
22:33:37Watusimotoand probably is for yours
22:33:42Watusimotobut I'm not sure
22:34:21raptorok
22:34:43raptordid you look at the fade-out thingy in the reset-help menu?
22:35:54Nothing_Much Quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
22:36:38Nothing_Much has joined
22:37:30raptorlingering fram is still there
22:37:36raptorlet me do full recompile
22:38:23raptormaybe it's not that big a deal...
22:38:48Watusimotonot sure how it can be there...
22:39:06Watusimotodo you also see the "Press any key to spawn" message?
22:40:38raptorchecking..
22:41:22raptorno, the spawn message is gone, but the frame from the last server is still there
23:03:01YoshiSmb has joined
23:20:23fordcars has joined
23:20:58fordcarsUh, how do you change the compiler for cmake on Windows?
23:21:25raptoruse a different generator
23:21:58fordcarsWait, where is cmakelists?
23:22:12fordcarsA different generator?
23:23:03raptorhttp://www.bitfighter.org/wiki/index.php/Building_Bitfighter#019_.28development.29_and_later
23:23:06raptorstep 3
23:23:53fordcarsOh nice! Thanks!
23:24:54Watusimotoraptor: do we want to show the warning about gridsize?
23:25:18WatusimotoI'm not sure it matters, as there is no harm keeping the parameter
23:25:26Watusimotoand no real benefit to getting rid of it
23:25:34Watusimotoon an existing level
23:25:50raptorthe warning is never seen
23:25:58WatusimotoI see it in my log
23:26:07Watusimotoor on my console
23:26:15raptorexcept that, yes
23:26:22raptoris it that bad?
23:26:45Watusimotoit seems neither bad nor good, but it's asking people to fix something that's not really a problem
23:27:15raptorit is?
23:27:35Watusimotoisn't it? if not, what's the point of showing the warning?
23:27:35raptorok, you can remove it if you want
23:27:46raptori didn't know i asked the user to do osmething
23:27:51raptorit may have been late...
23:28:25BFLogBot Commit: de9ed33e52ad | Author: watusimoto | Message: Fix case 261 mark II
23:28:37Watusimotowell, you didn't explicitly, but by displaying a warning about gridsize, there was an implicit suggestion that the users fix it
23:29:05WatusimotoI think I'm going to remove it. In the mean time, if this latest fix doesn't fix your issue, nothing will!
23:29:14raptorok
23:29:21Watusimotothis is the industrial strength fix
23:29:28Watusimotothe pure, heavy duty stuff
23:29:31Watusimotodirect from acme
23:29:44raptortesting...
23:30:25raptorheh
23:30:40raptornice fix
23:30:47raptorstill compiling...
23:32:01fordcarsoh wait
23:32:20fordcarsI meant how do i change from gcc to emcc?
23:33:07raptorWatusimoto: still present... :(
23:33:11fordcarsemcc can supposedly a replacement of gcc
23:33:13Watusimotowhat???
23:33:40Watusimotoyou are seeing the remnants of the previous level, right?
23:33:46raptoryes
23:34:18Watusimotoand you see it while you are connecting to the server, or once you have connected?
23:34:19raptorbefore the bug, it would just be black
23:34:45raptorwhile connecting
23:35:52Watusimotoso the fix I made should render nothing if you are not connected to the server, except for some text
23:36:00Watusimotodo you see the text and the remnants?
23:36:17Watusimotoor only the remnants?
23:37:10raptorit seems to go away much faster now...
23:37:18raptori need a slow server to connect to...
23:37:56raptorok
23:38:02Watusimotoactually, if you give me the pw to your server, I can test from here
23:38:11Watusimotothat should be slower
23:38:19raptori see text, then a frame from the last server, then the new server
23:38:25raptori did lag
23:38:33raptorit's 'f'
23:38:36Watusimotolag didn't help me reproducing this
23:38:37raptori think
23:39:16Watusimotoso it's after you connect, but before the level resets somehow
23:39:25raptoryes
23:40:28Watusimotook, this should do it
23:40:36BFLogBot Commit: 175bad79428b | Author: watusimoto | Message: Don't show gridsize warning
23:40:37Watusimotofor real
23:40:38BFLogBot Commit: 7b0ec617ae64 | Author: watusimoto | Message: Fix case 261 mark III
23:41:34Darriel is now known as Darrel
23:41:41raptordangerous?
23:43:56Watusimoto??
23:44:32raptorheh... still see a frame
23:44:42Watusimotohow!!!!!????
23:45:01raptormaybe opengl has something in it's back buffer?
23:45:11raptori found the revision that added it...
23:45:27raptori think it has to do with clientgame not getting reset or something, when it's suspended
23:45:35Watusimotowell if it were in the buffer, you'd see it before you connected
23:46:08raptortrue
23:46:09Watusimotoif the database is empty, there should be nothing to draw, no?
23:46:29Watusimotowhen you quit, you go back to the main menu?
23:46:34raptorb\i think the suspend is getting in th way..
23:46:36Watusimotoand then host/join again
23:46:58raptoryes
23:48:19fordcars Quit (Ping timeout: 250 seconds)
23:48:27Watusimotook. this latest will either 1) prove soemthing weird is happening; or 2) prove you are lying
23:48:35raptori'm sorry - i have to take care of kids...
23:48:36raptorok
23:48:41Watusimotook, whenever
23:49:03Watusimotosee if it still happens, and see if, when it does, if the "hi raptor" is printed at the console
23:49:14raptorha ok
23:49:42Watusimotoit is possible that you are somehow bypassing the ClientGame::onGameUIActivated() function I created to fix this
23:49:59Watusimoto(should have said, if it does!)
23:50:04raptornot sure - it was introduced a *long* time ago and in a changeset I don't understand
23:50:11raptoreven though I made it...
23:50:18WatusimotoI'll look at that... deal with your kids
23:50:32raptorthanks!
23:56:41noneofmynickswor Quit (Ping timeout: 272 seconds)

Index Search ←Prev date Next date→

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