*** Gollum <Gollum!~Gollum@131.93.56.40> has joined #bzflag | 00:56 | |
Agatha | Is there a way to get the currently targeted player for a client, as for what their GM would lock onto? | 01:24 |
---|---|---|
Gollum | Hey blast | 02:40 |
blast007 | yo | 02:40 |
Gollum | can u dm me the file for bzbenchwork | 02:41 |
Gollum | I need to edit a map again | 02:41 |
blast007 | which file? | 02:41 |
Gollum | and have none of my stuff cause new pc setup | 02:41 |
blast007 | Windows version? | 02:41 |
Gollum | yes please | 02:42 |
Gollum | I just need to locally change and test | 02:42 |
blast007 | https://static.bzexcess.com/downloads/BZWB_r20937.zip | 02:43 |
Gollum | .thanks! | 02:45 |
Gollum | wait that isnt it | 02:47 |
Gollum | I need the thing that allows me to put the file in, then open it up for just me on bz | 02:48 |
Gollum | I forget its name | 02:48 |
Gollum | do u remember what that is blast? | 02:48 |
blast007 | you mean the launcher? | 02:51 |
Gollum | I think so, I thought it was something you worked on but said u never finished completely | 02:51 |
Gollum | but it did the job | 02:51 |
Gollum | was a way to try my map by not actually hosting | 02:52 |
blast007 | https://static.bzexcess.com/BZFSLauncher.exe that? | 02:53 |
Gollum | thats it! | 02:54 |
Gollum | bless you good sir | 02:55 |
Gollum | bless you | 02:55 |
Gollum | What do I puit in fields again | 03:43 |
Gollum | I dont remember what to put in BZFS.exe | 03:46 |
Gollum | I assume bzflags file location for bzflag.exe | 03:47 |
Gollum | blast007 | 04:01 |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 268 seconds) | 04:09 | |
blast007 | browse to bzfs.exe for yor installed game | 04:21 |
Gollum | Found it a bit ago, thanks | 04:32 |
Gollum | I am fidgeting now... | 04:33 |
Gollum | another question | 04:53 |
Gollum | how would one change a pyramid to a like... see thru white colo | 04:53 |
Gollum | color* | 04:53 |
Gollum | dynamicColor | 04:54 |
Gollum | name window | 04:54 |
Gollum | red limits 1 0.0 | 04:54 |
Gollum | red sinusoid 3 2 0 | 04:54 |
Gollum | green limits 0 0.0 | 04:54 |
Gollum | green sinusoid 0 0.0 1 | 04:54 |
Gollum | blue limits 3 0.2 | 04:54 |
Gollum | blue sinusoid 5 0.44333 1 | 04:54 |
Gollum | alpha limits 0.85 0.85 | 04:54 |
Gollum | end | 04:54 |
Gollum | material | 04:54 |
Gollum | name window | 04:54 |
Gollum | color 1.0 1.3 3.3 1.0 | 04:54 |
Gollum | addtexture mesh.png | 04:54 |
Gollum | dyncol window | 04:54 |
Gollum | end | 04:54 |
Gollum | Ok I got it, but how do I change the darkness setting when inside | 05:08 |
Gollum | its like REALLY dark | 05:08 |
*** Gollum67 <Gollum67!~Gollum@131.93.56.40> has joined #bzflag | 05:28 | |
*** Gollum <Gollum!~Gollum@131.93.56.40> has quit IRC (Ping timeout: 246 seconds) | 05:31 | |
*** Gollum67 <Gollum67!~Gollum@131.93.56.40> has quit IRC (Client Quit) | 05:31 | |
*** Gollum <Gollum!~Gollum@131.93.56.40> has joined #bzflag | 05:31 | |
*** Gollum <Gollum!~Gollum@131.93.56.40> has quit IRC (Quit: Client closed) | 06:05 | |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer) | 07:29 | |
*** blast007[m] <blast007[m]!~blast007m@2001:470:69fc:105::7ec> has quit IRC (Quit: Bridge terminating on SIGTERM) | 08:09 | |
*** sean[m]1 <sean[m]1!~brlcadmat@2001:470:69fc:105::1ff> has quit IRC (Quit: Bridge terminating on SIGTERM) | 08:09 | |
*** spoopydango[m] <spoopydango[m]!~spoopydan@2001:470:69fc:105::7f0> has quit IRC (Quit: Bridge terminating on SIGTERM) | 08:09 | |
*** JeffM[m] <JeffM[m]!~generalpu@2001:470:69fc:105::7ef> has quit IRC (Quit: Bridge terminating on SIGTERM) | 08:09 | |
*** Gort[m] <Gort[m]!~M-gort-ma@2001:470:69fc:105::7ed> has quit IRC (Quit: Bridge terminating on SIGTERM) | 08:09 | |
*** catay <catay!~smertens@user/catay> has quit IRC (Ping timeout: 268 seconds) | 08:21 | |
*** catay <catay!~smertens@valyria.catay.be> has joined #bzflag | 08:21 | |
SpringTank | Agatha, if you can't get that information directly, which you probably can't, you will need player state information and calculate the target in front of the player manually with a bit of maths. | 09:44 |
SpringTank | shouldn't be too hard. | 09:45 |
SpringTank | give me a little bit and I can come up with the equation for that | 09:45 |
SpringTank | so you remember this: weaponX = tankX + (relativeX * sin(tankRotation) | 09:54 |
SpringTank | weaponY = tankY + (relativeY * cos(tankRotation) | 09:54 |
SpringTank | i think you can refactor that to get relative angle between players | 09:54 |
SpringTank | i could be wrong though, I'm algebraically dyslexic | 09:55 |
*** alcatraz <alcatraz!~alcatraz@85.211.212.186> has joined #bzflag | 09:57 | |
Agatha | Thanks SpringTank, but you misunderstand - I need the player ID of the targeted player. I suppose maybe you could work out the potential target by running through all players and choosing the closest (using math like you talked about), but the issue is the player might not have locked onto anything at all. Although hmmmm, the server must know about it somehow. After all, other clients play a sound when locked onto. So just have to record that, maybe? | 10:37 |
SpringTank | ^ | 10:39 |
SpringTank | It did give me an idea for a multi-lock GM though | 10:39 |
SpringTank | it's stupid and rediculus, but imagin being able to shoot up to three individually locked GMs | 10:40 |
*** Gollum <Gollum!~Gollum@131.93.56.40> has joined #bzflag | 10:54 | |
*** alcatraz <alcatraz!~alcatraz@85.211.212.186> has quit IRC (Quit: Client closed) | 11:27 | |
Gollum | Thanks again Blast, I was able to finish it all around 2am lol | 11:31 |
blast007 | Agatha: I don't think that is exposed to the bzfs API. | 12:11 |
blast007 | also, I think the tracking is technically done per-shot, not per-player-with-GM | 12:12 |
tupone | blast007: but if you change aim, all shots goes (or tries to go) to the new | 12:16 |
blast007 | yeah, I mean from the perspective of the ShotManager in the server | 12:17 |
blast007 | each shot has a target | 12:17 |
tupone | so aim is global, tracking is per shot | 12:17 |
tupone | ShotManager in the server? 2.6 ? | 12:18 |
blast007 | no, there's a ShotManager class in 2.4 | 12:18 |
tupone | but the trajectory is computed client side, if I am not wrong | 12:19 |
blast007 | well, a ShotManager.cxx/h, with the class being called Manager in the Shots namespace | 12:19 |
blast007 | yeah, each client calculates the movement of the GM | 12:19 |
tupone | yeah the change that I have in one of my fork change a little this computation and was clientside | 12:20 |
tupone | what are containers in github? I get an announcement | 12:22 |
blast007 | though MsgGMUpdate does contain the position, velocity, and time that the shot has existed, which I think the firing client sets and the server passes along | 12:24 |
blast007 | tupone: are they service containers? | 12:24 |
blast007 | https://docs.github.com/en/actions/guides/about-service-containers | 12:24 |
tupone | You can more easily share containers in your organization, set granular access permissions, and anonymously access public container images. | 12:24 |
tupone | dunno | 12:25 |
blast007 | probably some docker thing | 12:25 |
tupone | can we setup for free a CI on github ? I mean free from money, not free from man power | 12:28 |
blast007 | doing what exactly? we already have one that runs a partial Linux build every push | 12:30 |
blast007 | I do want to have it also build the client | 12:31 |
blast007 | and maybe also test on Windows and macOS | 12:31 |
tupone | yes. Where are the output of partial Linux build ? | 12:32 |
blast007 | https://github.com/BZFlag-Dev/bzflag/commits/2.4 the checkmark or X next to commits, or the Actions top navigation item. | 12:33 |
blast007 | We're using CodeQL for the builds. | 12:33 |
blast007 | I have the start of some improvements in here: https://github.com/blast007/bzflag/commits/fix/codeql | 12:34 |
blast007 | I was working on getting it to build on Windows. Had some problem with it building the dependencies, then I started playing around with vcpkg and got side-tracked. :) | 12:36 |
tupone | I rememember. It is checking some rules, but it build to do that :) | 12:36 |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 12:53 | |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag | 14:18 | |
Gollum | how would one get a trampoline to pass flag instead of having team flag land on it | 16:15 |
Gollum | putting a pyra inside it doesnt work | 16:15 |
SpringTank | isn't there an object per object attribute that you can set to enable flags on a surface? | 17:29 |
Gollum | I want to make team flag pass when its dropped on it, but I did a work around. | 17:42 |
blast007 | you could define safety zones for team flags | 18:45 |
Gollum | so if I defined 2 safe zones it wouldnt sit anywhere else? | 18:47 |
Gollum | cause its literally just 4 5x8 squares | 18:48 |
blast007 | I can't recall if safety zones affect how the 'fly to the center' works | 19:22 |
blast007 | safety zones are where the team flag is *allowed* to sit | 19:23 |
blast007 | but those could very well make the flag fly to the nearest safety zone when dropped on an unsafe location, instead of flying to the center | 19:23 |
blast007 | otherwise, a plugin could be used to move the flag to the center if dropped within a zone | 19:25 |
allejo | safety zones are where team flags go if they are dropped over an "inaccessible spot" | 19:30 |
Gollum | thats what I need then | 19:31 |
Gollum | cause I dont want them dropped on a trampoline, cause its troll. | 19:31 |
Gollum | and everyone loves trolling. | 19:31 |
allejo | mind you, if you reset a flag via a plug-in it will just magically appear. no fly animation | 19:31 |
blast007 | so you don't need it to specifically go to the center, just "not on that trampoline" ? | 19:32 |
allejo | can a team flag be placed on top of a drive through pyramid? | 19:32 |
Gollum | Correct, Blast | 19:32 |
Gollum | no... OH | 19:32 |
blast007 | flags would spawn inside drive-through objects | 19:32 |
Gollum | Allejo this is why you are here.... I never thought of that once. | 19:33 |
Gollum | I put a pyra in the box, but not over it | 19:33 |
allejo | idk if that behavior is correct tho | 19:33 |
blast007 | drive through objects won't make the flag spawn elsewhere | 19:33 |
Gollum | well cant u make it invis? | 19:33 |
Gollum | but it will pass it | 19:33 |
blast007 | no | 19:33 |
blast007 | it will just land inside it | 19:33 |
allejo | doesn't have to spawn, just be unsafe to land | 19:33 |
Gollum | if I make the pyra same width tho | 19:34 |
blast007 | if you define one or more safety zones, does that make other areas "unsafe"? | 19:34 |
Gollum | Ive never messed with safety zones | 19:34 |
Gollum | So I am unsure how that would function. | 19:35 |
blast007 | I'd start there, I guess | 19:35 |
Gollum | But apart from that one thing, the map finally feels completed | 19:35 |
Gollum | I never got to a completed state before leaving bz for awhile | 19:35 |
Gollum | and it bugged me | 19:35 |
Gollum | So from 8pm to 2am I sat and indulged myself | 19:36 |
allejo | lemme test when I get home, currently afk | 19:36 |
Gollum | I can send it to u allejo if you want | 19:37 |
Gollum | I will need to read up on safety zones for a moment, but can add em then | 19:37 |
allejo | no need, imma just test the behavior on a local map here | 19:51 |
allejo | yup i'm right | 20:01 |
allejo | a team flag dropped on top of a drivethrough pyramid will be considered "unsafe" | 20:01 |
blast007 | oh rly? | 20:02 |
allejo | and go to the center of the map or the respective safety zone | 20:02 |
blast007 | that's weird | 20:02 |
Gollum | so if I do a pyra flipped upside down, over the jump pad | 20:02 |
Gollum | that would do it. | 20:02 |
blast007 | flags can land on upside down pyramids I think | 20:02 |
Gollum | drivethru | 20:02 |
blast007 | mmmm, not sure for that | 20:03 |
Gollum | drivethru upside down pyra | 20:03 |
allejo | nah. just make an invisible drivethrough pyramid that's like 1 height | 20:03 |
allejo | and put the pyra on top of the trampoline | 20:03 |
Gollum | ah ok | 20:03 |
Gollum | sweeet | 20:03 |
allejo | that being said, we could add a new status to faces that are "unsafe" for team flags. kinda like there's the ricochet status and noradar | 20:08 |
Gollum | that would be nice | 20:11 |
Gollum | cause that would save having to do random stuff like invis pyras | 20:12 |
blast007 | just give the object a death physics driver ;) | 20:12 |
Gollum | hahaha that would kill the point of trampoline. (pun intended) | 20:13 |
Gollum | map is up! | 20:13 |
Gollum | Imma test and see if I even need the pyra | 20:13 |
blast007 | "Broke your neck - stay off the trampoline!" | 20:13 |
Gollum | I already have one pun when u fall in the water | 20:15 |
Gollum | it just says... You "fell" for it | 20:15 |
Gollum | cause flag passes to a lil platform in the water u gotta get to | 20:16 |
Gollum | and its not exactly simple | 20:16 |
SpringTank | n1 | 20:20 |
*** blast007[m] <blast007[m]!~blast007m@2001:470:69fc:105::7ec> has joined #bzflag | 22:02 | |
*** sean[m]1 <sean[m]1!~brlcadmat@2001:470:69fc:105::1ff> has joined #bzflag | 22:05 | |
*** JeffM[m] <JeffM[m]!~generalpu@2001:470:69fc:105::7ef> has joined #bzflag | 22:05 | |
*** spoopydango[m] <spoopydango[m]!~spoopydan@2001:470:69fc:105::7f0> has joined #bzflag | 22:05 | |
*** blast007[m] <blast007[m]!~blast007m@2001:470:69fc:105::7ec> has quit IRC (Quit: node-irc says goodbye) | 22:11 | |
*** sean[m]1 <sean[m]1!~brlcadmat@2001:470:69fc:105::1ff> has quit IRC (Quit: node-irc says goodbye) | 22:14 | |
*** spoopydango[m] <spoopydango[m]!~spoopydan@2001:470:69fc:105::7f0> has quit IRC (Quit: node-irc says goodbye) | 22:15 | |
*** JeffM[m] <JeffM[m]!~generalpu@2001:470:69fc:105::7ef> has quit IRC (Quit: node-irc says goodbye) | 22:15 | |
*** blast007[m] <blast007[m]!~blast007m@2001:470:69fc:105::7ec> has joined #bzflag | 22:27 | |
*** sean[m]1 <sean[m]1!~brlcadmat@2001:470:69fc:105::1ff> has joined #bzflag | 22:30 | |
*** spoopydango[m] <spoopydango[m]!~spoopydan@2001:470:69fc:105::7f0> has joined #bzflag | 22:30 | |
*** JeffM[m] <JeffM[m]!~generalpu@2001:470:69fc:105::7ef> has joined #bzflag | 22:30 | |
*** guest859 <guest859!~guest@host248.181-14-185.telecom.net.ar> has joined #bzflag | 23:49 |
Generated by irclog2html.py 2.17.3.dev0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!