#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-11-16

Timestamps are in GMT/BST.

00:01:51kaensorry amgine123 I'm going to be periodically afk
00:02:05BFLogBot Commit: e5562c00a1d1 | Author: watusimoto | Message: Backed out changeset: 9100d88da549
00:02:06BFLogBot Commit: b3df0d10c1fd | Author: watusimoto | Message: Merge
00:02:08BFLogBot Commit: bd1959fc3492 | Author: watusimoto | Message: Fix "quit to name entry when exiting editor" bug
00:02:20amgine123im sorry for being impatient
00:02:31kaenso actually what I would do is put an if statement before your for loop
00:02:50kaensomething like "if arg[1] == 'whatever B is
00:03:12kaenand inside of that, find the center of the group
00:04:01kaenand then use that in the B part of the if statement you already have to move the objects
00:07:16amgine123so if arg[1] =="by center of group" umm
00:16:28amgine123how to find center of gruop
00:17:50Darrel Quit (Read error: Connection reset by peer)
00:39:08sam686 has left #bitfighter
00:58:25Platskies has joined
01:04:16fordcars has joined
01:04:44fordcarsYay got my Pi hoocked up to a proper screen, finally!
01:05:15Watusimoto Quit (Ping timeout: 260 seconds)
01:14:55fordcarsbrb
01:15:01fordcarslater
01:15:04fordcars:P
01:15:06fordcars Quit (Quit: Lost terminal)
01:59:33amgine123hey kaen
01:59:47amgine123ive been waiting for a few hours for a repsonse now did oyu die
02:03:14destroyerimo has joined
02:09:57Nothing_Much Quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
02:10:14Nothing_Much has joined
02:22:08destroyerimohi guys
02:22:21destroyerimohow many hours left untill u play?
03:08:24Skybax has joined
03:08:38SkybaxWell that was a sucky time for my internet to go out
03:41:19Platskies Quit (Quit: Platskies)
03:43:16Platskies has joined
04:07:53fordcars_pi has joined
04:08:48fordcars_piBoo
04:21:13destroyerimosup
04:22:24amgine123kaen wake up
04:31:02fordcars_piHi
04:31:07fordcars_piNothing much
04:36:18amgine123ugh i need help programing but kaen is afk
04:43:12fordcars_piI can always help with plug-ins
04:46:25fordcars_piamgine, is your plug-in working?
04:48:04fordcars_pi^amgine123
05:33:37amgine123well no
05:33:42fordcars_pi:P
05:33:52amgine123I need my B and C code to go with my A
05:34:49amgine123i need to write a line that finds the center of a group of objects and moves the center to new coordintes X,Y
05:34:56fordcars_piwhat?
05:35:04fordcars_pioh okokok
05:35:18fordcars_piTrigonometry
05:35:45amgine123i think it uses getpos() but im not sure
05:35:52fordcars_pigetPos()
05:36:01fordcars_piitem.getPos() I think
05:36:11fordcars_pior item:getPos()
05:40:30amgine123want a pastie
05:42:37fordcars_piuh, well make a pastie!
05:44:07amgine123http://pastie.org/8484178
05:44:12fordcars_pikaen, I found how to get the opengles libs for raspberry pi. This should mkae BitfighterBuild
05:44:22fordcars_piI know kaen is not there, just for the logs
05:48:58fordcars_pifor i,v in ipairs(a) do
05:49:08fordcars_piYou'll have to do that
05:49:14fordcars_piso,
05:49:31fordcars_pifor i,v in ipairs(objects) do
05:49:58fordcars_piif objects[i] == "One Spot"
05:50:13fordcars_piif objects[i] == "One Spot" then
05:50:25fordcars_pioh wait
05:50:37fordcars_piif args[1] == "one Spot" then
05:51:38fordcars_piobjects[i]:setPos(point.new(arg[2],arg[3]))
05:52:44fordcars_pielseif arg[1] == "By Center of Group" then
05:52:51fordcars_pietc
05:54:01fordcars_pionly your for loop is wrong, but I really recommend writing "local objects = plugin:getSelectedObjects()"
05:54:10fordcars_piWIth the local word in front
05:58:59fordcars_pianyway, off to bed
05:59:04fordcars_piNight!
05:59:12fordcars_pi Quit (Quit: Lost terminal)
06:00:43fordcars_pi has joined
06:00:52fordcars_pihttp://benosteen.wordpress.com/2012/04/27/using-opengl-es-2-0-on-the-raspberry-pi-without-x-windows/
06:00:56fordcars_pifor the logs :P
06:00:57amgine123bye
06:01:01fordcars_pibye!
06:01:06fordcars_pinight :P
06:01:18fordcars_pigood luck with your plug-in!
06:01:22fordcars_piok bye
06:01:28fordcars_pilol
06:01:31fordcars_pi:P
06:01:36fordcars_pi:D
06:01:39fordcars_pi Quit (Client Quit)
06:05:25amgine123 Quit (Ping timeout: 250 seconds)
06:06:51destroyerimo Quit (Ping timeout: 245 seconds)
06:52:38Skybax Quit (Ping timeout: 245 seconds)
07:06:25Platskies Quit (Quit: Leaving)
07:53:43destroyerimo has joined
08:23:19Skybax has joined
08:37:27Skybax Quit (Ping timeout: 260 seconds)
08:44:10Darrel has joined
08:57:27Watusimoto has joined
08:58:17Invisible has joined
10:28:53LordDVG has joined
10:32:44Platskies has joined
10:40:25HylianSavior Quit (Read error: Connection reset by peer)
10:53:59LordDVG Quit (Remote host closed the connection)
10:55:27Invisible Quit (Ping timeout: 252 seconds)
10:56:03Watusimoto Quit (Ping timeout: 260 seconds)
11:16:17Platskies Quit (Quit: Platskies)
11:27:41Platskies has joined
11:35:41Watusimoto has joined
11:48:40sam686 has joined
11:48:40ChanServ sets mode +v
11:56:23destroyerimo Quit (Read error: Connection reset by peer)
11:58:37Watusimoto Quit (Ping timeout: 240 seconds)
12:03:35Darrel Quit (Read error: Connection reset by peer)
12:04:58YoshiSmb has joined
12:24:37YoshiSmbim Wondering, what i do with the old 019 build, (not the one a few days ago, some months ago)
12:25:59sam686old 019 build = useless
13:31:19YoshiSmb Quit (Ping timeout: 250 seconds)
14:10:40YoshiSmb has joined
14:14:29Platskies Quit (Read error: Connection reset by peer)
14:16:44Platskies has joined
14:17:10Platskies Quit (Client Quit)
14:24:11YoshiSmb Quit (Ping timeout: 250 seconds)
15:26:06kumul has joined
15:32:16Darrel has joined
16:16:59destroyerimo has joined
16:20:55Watusimoto has joined
16:57:05Watusimoto Quit (Ping timeout: 245 seconds)
17:03:14Skybax has joined
17:19:53Watusimoto has joined
17:21:07Watusimoto_ has joined
17:24:10Watusimoto Quit (Ping timeout: 245 seconds)
17:34:35Skybax Quit (Ping timeout: 260 seconds)
17:51:15destroyerimo Quit (Ping timeout: 245 seconds)
18:34:19kaen Quit (Ping timeout: 260 seconds)
18:35:40kaen has joined
18:35:40kaen Quit (Changing host)
18:35:40kaen has joined
18:42:50Watusimoto_ Quit (Ping timeout: 264 seconds)
18:55:05kumool has joined
18:57:06kumul Quit (Ping timeout: 265 seconds)
19:03:28HylianSavior has joined
19:22:40sam686 has left #bitfighter
19:42:50kumool Quit (Ping timeout: 264 seconds)
20:00:57Bob____ has joined
20:01:12Bob____yo
20:01:21Bob____ is now known as Guest1237
20:02:13Guest1237/nick Bob1
20:04:08Guest1237 is now known as Bob1
20:04:41sam686 has joined
20:04:41ChanServ sets mode +v
20:23:30amgine123 has joined
20:23:38amgine123sup
20:23:49amgine123you here kaen?
20:27:51Watusimoto has joined
20:30:57amgine123hey wattisimo
20:31:23sam686hi
20:32:43amgine123sam i need help with my programme i need to code one line but im not sure how
20:33:56sam686I am currently in 018a bitfighter game
20:34:06sam686... with 3 other players
20:36:47amgine123oh
20:41:08Watusimoto Quit (Read error: Connection reset by peer)
20:41:33LordDVG has joined
20:42:21Watusimoto has joined
20:44:28Watusimotoamgine123: what's the problem?
20:45:03amgine123oh its a complicated line and i dont know much about LUA im learning from kaen but he is dead
20:54:20Watusimotowhat's the line supposed to do?
20:57:54amgine123find the center of a gruop of objects take that center and move the center of those objects to coordintes X,Y
21:05:02raptor has joined
21:05:02ChanServ sets mode +o
21:06:42raptorgood day!
21:09:21Bob1 Quit (Ping timeout: 250 seconds)
21:10:33Watusimotohi
21:10:49Watusimotosorry amgine123 Idozed off
21:12:40amgine123well
21:12:56amgine123did you see my las tmessage
21:16:14Watusimotoyes
21:16:37Watusimotoyou want to shift a group of objects
21:19:39Watusimotowe should have a method for doing that bfObject::translate(x,y)
21:19:52raptorGeom
21:25:02amgine123hm so bfObject::translate[arg2],[arg3] ?
21:26:13amgine123btw in there a command to reverse a objects value - to + + to - ?
21:32:29Watusimotothat won't work
21:32:40WatusimotoI'm suggesting we need one
21:32:48Watusimotoraptor: translate only works with points
21:32:59WatusimotoIm suggesting we have a method that works with objects as well
21:33:15Watusimotobecause what amgine123 has to do is overly complex
21:33:59Watusimotoso I think to translate an object, you can do this:
21:34:29kaen Quit (Ping timeout: 272 seconds)
21:34:32Watusimotoobj:setGeom(Geom.translate(obj:getGeom, x, y))
21:34:48Watusimotowhere obj is your object, and x and y are the amount to translate in the x and y directions
21:35:31kaen has joined
21:35:31kaen Quit (Changing host)
21:35:31kaen has joined
21:36:16Watusimotopay attention to the "." and ":"s
21:36:26Watusimotothey are not interchangeable, and are important
21:36:53Watusimotoobj:setGeom(Geom.translate(obj:getGeom(), x, y))
21:37:04Watusimoto^^ use that
21:45:18LordDVG Quit (Remote host closed the connection)
21:46:42Watusimotoyou can flip the object, like what you asked with the - to + question the same way:
21:47:04Watusimotoobj:setGeom(Geom.flip(obj:getGeom(), true))
21:47:25Watusimotothat will flip an object horizontally, change the true to a false to flip it vertically
21:51:35amgine123cause i want my Y value to be oppsisite of what it is default so it becomes a "true" geom plane
21:52:33amgine123wont the x,y have to be [arg1] and [arg2]
21:53:18amgine123here let me get a pastie
21:54:18Watusimotoyou can replace x and y with other variables
21:57:08amgine123my project http://pastie.org/8485743
21:59:29Skybax has joined
21:59:53amgine123added some very helpfull notes of what i want it to do
22:02:38amgine123norton keep thinking BF is a virus......
22:04:03Watusimotosorry amgine123 I keep falling asleep
22:04:21amgine123pastie above you need to take a good 12 hour nap
22:05:06Watusimotoso yes replae x and y with arg[2] and arg[3]
22:05:10Watusimotogoing to bed
22:05:14Watusimotogood night
22:09:57Watusimoto Quit (Ping timeout: 265 seconds)
22:17:21Nothing_Much Quit (Read error: Connection reset by peer)
22:17:41Nothing_Much has joined
22:28:13amgine123 Quit (Ping timeout: 250 seconds)
22:54:31kumool has joined
23:07:23LordDVG has joined
23:22:11kaen Quit (Ping timeout: 268 seconds)
23:26:03kaen has joined
23:28:44LordDVG Quit (Remote host closed the connection)
23:44:51kaen Quit (Ping timeout: 272 seconds)
23:49:24kaen has joined

Index Search ←Prev date Next date→

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