IRC logs of Libera.Chat #BZFlag for Thursday, 2023-07-20

*** Cobra_Fast is now away: vacant00:35
*** disco <disco!~disco@81.187.95.100> has quit IRC (Quit: Lost terminal)00:36
*** Cobra_Fast is back00:37
*** disco <disco!~disco@81.187.95.100> has joined #bzflag00:57
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 246 seconds)02:02
*** Cobra_Fast is now away: vacant06:41
*** Cobra_Fast is back06:41
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag10:12
blast007macsforme: in PR #255 (joystick improvements) is there a reason to use std::sqrtf() or std::sqrt() instead of just sqrtf() that we use elsewhere?10:53
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)11:35
*** cods <cods!~fred@82-65-232-44.subs.proxad.net> has quit IRC (Ping timeout: 245 seconds)12:17
*** FastLizard4 is back12:34
*** FastLizard4 is now away: AWAY from keyboard13:13
*** cods <cods!~fred@82-65-232-44.subs.proxad.net> has joined #bzflag13:16
*** Guest <Guest!~Guest@193.25.5.81> has joined #bzflag13:22
*** Guest is now known as guest873673813:22
guest8736738windows .exe wants admin password to run, why? bad13:22
guest8736738I am on account that is not an admin13:23
*** FastLizard4 is now away: GONE - Screen Detached and Disconnected from IRC (I'm probably asleep, at work, or doing something in real life)13:30
blast007guest8736738: the installer, or the normal installed game executable?14:53
blast007perhaps you were seeing the Windows firewall prompt?  that requires administrator access to allow the firewall exception to be added15:33
blast007the installer doesn't currently pre-add Windows firewall rules15:35
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag16:14
AgathaIn C++, one should always use `std::sqrt(...)`. (In C, one uses `sqrtf(...)`, `sqrt(...)`, or `sqrtl(...)` according to datatype.)16:27
*** FastLizard4 is back18:15
*** FastLizard4 is now away: AWAY from keyboard18:26
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)18:28
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag18:28
*** guest99 <guest99!~guest8736@193.25.5.81> has joined #bzflag19:02
*** guest8736738 <guest8736738!~Guest@193.25.5.81> has quit IRC (Ping timeout: 246 seconds)19:06
*** guest91 <guest91!~guest99@193.25.5.81> has joined #bzflag19:21
*** guest99 <guest99!~guest8736@193.25.5.81> has quit IRC (Ping timeout: 246 seconds)19:25
*** SpringTank <SpringTank!~quassel@99.65.58.146> has quit IRC (Read error: Connection reset by peer)21:24
*** SpringTank <SpringTank!~quassel@99.65.58.146> has joined #bzflag21:26
guest91it was download from https://download.bzflag.org/bzflag/windows/2.4.26/bzflag-2.4.26.exe21:29
guest91this is not firwall prompt. its just do I want to allow this unsigned application to modify my device21:31
guest91but it demands admin's password, instead of user's if at all21:31
guest91if I cancel then it quits21:31
blast007so the game *is* installed, and it's showing some dialog when you try to run the game from the start menu shortcut?21:37
blast007are you able to provide a screenshot of the dialog?21:45
blast007and which version and edition of Windows is this?21:46
guest91blast007 I do not think it is installed... this exe is the installer, no?22:04
guest91windows 1022:04
guest91can't take screenshot of this22:06
guest91denied22:06
blast007Yeah, that exe is the installer.  The installer requires admin rights.22:07
guest91what for?22:07
blast007because it installs to c:\Program Files\, which only an admin can write to22:08
guest91so give option to install to current users things22:08
blast007I mean, it also needs to install a Microsoft Visual C++ runtime, which *also* likely needs admin rights22:09
guest91dunno most games do not need this. only this one22:09
guest91I probably have msvc runtime already22:10
blast007"most games" being ones from Steam?22:10
guest91yea, but also few not from steam22:10
blast007Steam probably required admin rights to install initially22:10
guest91isnt that runtime some dlls you can just "install" next to the exe? and put them both in user selectable dir22:10
blast007I'd have to verify that's allowed by Microsoft.  I belive at one that, which that worked, their terms didn't allow for that.22:11
guest91what for you need their terms actually?  it is not signed or anthing22:11
blast007I don't know for sure if Microsoft lets us distribute their bare DLL files alongside the .exe22:12
guest91ok the I guess just give option to skip installing runtime22:14
guest91in NSIS can you continue once user refused to give the admin rights? this question pops up instantly, no other window22:15
guest91I assume that is the nsis based installer22:15
blast007I'm not sure if NSIS can operate in both modes.22:15
blast007"RequestExecutionLevel highest" *might* do that22:15
blast007I think currently we set that to admin22:16
blast007I'm also looking into digitally signing future releases22:16
guest91like this? https://stackoverflow.com/questions/18990418/how-can-i-switch-between-requiring-and-not-requiring-admin-permission-in-nsis22:16
guest91yeah that one22:17
*** guest91 <guest91!~guest99@193.25.5.81> has quit IRC (Quit: Client closed)22:26
*** guest91 <guest91!~guest91@193.25.5.81> has joined #bzflag22:26
blast007I'd want to see if the Windows Firewall popup is avoidable.  Otherwise there's somewhat less of a reason for the installer to run as an unprivledged user.22:31

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!