Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2020-04-06 00:00:00Z and 2020-04-07 00:00:00Z
Avatar
is some dev here?
00:41
might need some help with an issue in my game 😄
01:13
just yesterday i installed ubuntu on my laptop
01:13
19.10
01:14
so, when i play ddnet fullscreen it runs normally
01:14
when i minimize it, it happens some weird video issues
01:14
graphic issues
Avatar
@Pepe f1 -> gfx_resizable 0
04:08
maybe it should default to 0, until someone fixes the SDL code, which is a mess
Avatar
because of common graphics issues. As suggested by Jupstar
Avatar
@Learath2 that would be weird, I build it with --with-darwinssl
Avatar
I guess it's time for a new version even if we don't have any large changes
Avatar
CMake Error (dev) at /usr/local/Cellar/cmake/3.17.0_1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (Freetype) does not match the name of the calling package (OwnFreetype). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. seen in https://github.com/ddnet/ddnet/runs/563277935?check_suite_focus=true
Avatar
@deen well there was that one guy in #general and I also downloaded and checked it. Does the static library maybe use the builtin libcrypto dynamically?
06:15
I think you are no longer allowed to link with libcrypto on macOS, maybe there is a way to build libcurl with the modern apple crypto apis or maybe we can build and bundle openssl
Avatar
@deen why are we linking statically anyway? I think we should include a framework like we do with sdl
Avatar
[quakenet] deen BOT 2020-04-06 09:03:22Z
because I build that myself and for sdl i just take the prepared one
09:03
no idea how build curl into a framework for mac os
Avatar
@deen well there is a ./
09:18
./MacOSX-Framework script shipped along with curl
09:18
it doesn't work anymore in catalina but maybe it still works on whatever old version of macOS you build on
Avatar
[quakenet] deen BOT 2020-04-06 09:18:46Z
I cross-compile
Avatar
oh, hmm when you have time can you check if secure transport gets enabled correctly while building?
Avatar
that script looks pretty simple too, it should be easy enough to modify to work with osxcross
10:05
f7e8b10 Make gfx_resizable default to 0 - def-
Avatar
[quakenet] deen BOT 2020-04-06 10:05:14Z
should I use --with-secure-transport instead of --with-darwinssl?
Avatar
--with-darwinssl enables secure transport
10:07
@deen what SDK are you building with btw?
Avatar
[quakenet] deen BOT 2020-04-06 10:07:54Z
SSL: no (--with-{ssl,gnutls,nss,mbedtls,wolfssl,schannel,secure-transport,mesalink,amissl} )
10:08
osxcross
10:08
so apparently darwinssl is not enough (anymore?)
10:08
will try with secure-transport instead
Avatar
yeah but for using osxcross you first get a sdk
Avatar
[quakenet] deen BOT 2020-04-06 10:08:55Z
good question, don't remember
Avatar
which version of libcurl is this? on 7.69.1 it seems it's still --with-darwinssl
Avatar
[quakenet] deen BOT 2020-04-06 10:09:18Z
7.67.0
10:09
i checked with --help
Avatar
I guess it is --with-secure-transport on that version
Avatar
@Learath2 do u have experience with vulkan
Avatar
not much, I did render a triangle
Avatar
im swimming in verbosity and i get a segfault no idea why xDD
Avatar
vulkan is VERY low level
Avatar
[quakenet] deen BOT 2020-04-06 10:12:08Z
hm, apparently secure-transport also doesn't work. let me try 7.69.1
Avatar
Your SDK might be too old too, I think secure transport got a major overhaul at 10.8
Avatar
[quakenet] deen BOT 2020-04-06 10:17:05Z
ah
10:17
any tip for which one to get?
Avatar
Well i'm not completely sure with regards to compatibility, but I think you can compile with any sdk >= <lowestversionwesupport> and set the deployment target to <lowestversionwesupport>
Avatar
Turns out curl's configure checks for /System/Library/Frameworks/Security.framework which obviously doesn't exist when I'm cross-compilint
Avatar
@deen how did you fix it?
Avatar
changed the path manually in the configure file for now
11:45
not sure how this can be fixed properly, maybe just get rid of the check?
11:45
I'll try to do a patch to curl later
Avatar
huh, does the SDK include Security.framework?
Avatar
interesting, wouldn't know how to fix it either though, it'd be a little bit of a hack to check whether the CFLAGS line has a -isysroot
Avatar
052ce28 curl 7.68.0 -> 7.69.1 & fix SSL on Mac - def-
Avatar
just a sec, need to install my own SDL framework to test
Avatar
it takes excessive fiddling just to get things to link against my copy of SDL2
12:10
but the curl change does work
12:10
atleast when I compile on macOS, I'm not sure if the version you compile will work
12:11
564e757 Try to fix freetype mac warning - def- f8a7acc Merge #2111 - bors[bot]
Avatar
thanks for checking
Avatar
51eca5d curl 7.68.0 -> 7.69.1 & fix SSL on Mac - def- d06eea8 Merge #2112 - bors[bot]
Avatar
ChillerDragon 2020-04-06 15:20:14Z
bois i still cant read c++ errors is there some sort of tool that is more noob friendly when it comes to linker errors?
15:21
15:22
i mean is it even possible to read the error out of this without looking at the code?
Avatar
@ChillerDragon it usually means you forgot to define a method of IClient that you declared in CClient
Avatar
hello misters nerds and hackers! Is there any way I can know how many of DDNet servers users play with vanilla client?
Avatar
version number maybe
Avatar
check for clientid=0
Avatar
Ooookay! Can I have log pas to DDNet database now ?
Avatar
sry for sarcastics, but how it could help me?
Avatar
then the answer is no
15:45
logs cant be public
Avatar
true! But what about some "funny" statistics or something (you call it)
15:46
I just wonder why devs care about vanilla support so much
Avatar
new players had vanilla client ofc
Avatar
if you have some statistics script that you want to run on the actual servers, you can give it to me to run it on the actual logs
Avatar
first you find vanilla then ddnet
Avatar
thank you, @heinrich5991 , I will return when I have some
Avatar
i looked at the stats on my server last year and totaled everyones last-used version number https://pastebin.com/2DC5zJni @BannZay
15:49
outdated but similar to what ur asking about
Avatar
why cant vanilla client just be ddnet
Avatar
devs care about vanilla support because alot of people are still using vanilla
Avatar
isnt ddnet just vanilla but better
15:50
are there features exclusive to vanilla
Avatar
there arent but some people prefer vanilla client
Avatar
why do u need ddnet features in vanilla client
Avatar
if ppl want to see other servers they dont see weird -999 times
Avatar
antiping/64player support
Avatar
and skins and quality of life changes
Avatar
skins might be a reason to not use ddnet client
Avatar
just enable vanilla skins only tho lol, it's what i do
Avatar
u can add or remove whatever skins u want from the game files but some people dont know or dont want to bother
15:52
1 click fix
15:53
u need to find it first
15:53
so like 5min effort
15:53
if ur new
Avatar
most common reason to not use ddnet client is because its laggier i think
Avatar
@noby did you try continuing the bisect? ^^
Avatar
no i deleted the folder is there an easy way to resume closer to where i left off
Avatar
well you can start from two commits that are closer together
15:57
you just need a bad commit and a good commit, closer the better
Avatar
you could test whether 0a9f291 is bad
15:57
if it is, then we have a bad commit
Avatar
how to test
Avatar
build it
15:58
see if if makes your fans spin
Avatar
git checkout 0a9f291, test it
Avatar
clone the repo then git checkout? ok
Avatar
you don't need to re-clone it if you already have it somewhere
15:58
git worktree add /tmp/bisect
15:59
(I only have one git repository for teeworlds and ddnet)
Avatar
i dont have the newest version ill redo it
Avatar
(let's note down commit IDs before deleting this time)
Avatar
I have 1 for ddnet 1 for teeworlds, the branches just diverged so much
Avatar
I have two worktrees for that
16:02
still the same repository
Avatar
makes cherry-picking easier
Avatar
huh, never used worktrees
Avatar
it's basically another checkout with the same repository
16:02
very useful if you're in the middle of writing a feature and need to test some PR
16:02
@ChillerDragon the method you just added/renamed/changed in some way
Avatar
ChillerDragon 2020-04-06 16:03:10Z
yea so looking at the code
16:03
but i have build errors since hours and there is some code i touched 😄
Avatar
@ChillerDragon C++ errors are notoriously shit, there is no tool that makes them better
Avatar
ChillerDragon 2020-04-06 16:03:31Z
im talking in general
16:03
sad
16:03
@Learath2 build one pls thx
Avatar
the information is lost, the compiler is the one that's supposed to handle this
Avatar
i downloaded it ill build now
Avatar
ChillerDragon 2020-04-06 16:04:15Z
ye
Avatar
@noby 👍
Avatar
but if you ask the compiler people it's the standards committees jo, and if you ask the standards committee it's the users job not to be a moron
Avatar
ChillerDragon 2020-04-06 16:05:03Z
meh i suck at this job
Avatar
@ChillerDragon a clean rebuild is usually helpful as it might be giving a warning you are ignoring
Avatar
ChillerDragon 2020-04-06 16:05:21Z
did it
Avatar
also compile with -Wall -Werror
Avatar
ChillerDragon 2020-04-06 16:05:26Z
ah
16:05
is that default in tw ?
Avatar
maybe even -Weverything if you have clang
16:06
@heinrich5991 I thought -Wall -Werror was default but I never get compile errors, how2enable?
Avatar
-Weverything is useless
16:06
it activates warnings that are not helpful
Avatar
@ChillerDragon that error is pretty sane for c++
16:06
justatest
Avatar
ChillerDragon 2020-04-06 16:06:25Z
..
Avatar
-Wall -Wextra -Werror is active for ddnet, I think @Learath2
16:06
eh no
Avatar
ChillerDragon 2020-04-06 16:06:36Z
still not very helpful
Avatar
-Wall -Wextra
Avatar
well u need to google vtable
Avatar
-Werror on CI
Avatar
-Weverything I suggested because it enables some weird static analysis, might catch what chiller is missing
Avatar
ChillerDragon 2020-04-06 16:07:01Z
im sure vtable is some sort of virtual function table
16:07
why cant it drop a func name
Avatar
@ChillerDragon are u using clang or gcc
16:07
i think clang is known for clearer errors
Avatar
ChillerDragon 2020-04-06 16:08:14Z
idk
Avatar
cc --version
Avatar
ChillerDragon 2020-04-06 16:08:42Z
cc (Debian 8.3.0-6) 8.3.0
Avatar
gcc
Avatar
well the easiest things to check is the virtual constructor and destructor, if they are virtual that is
Avatar
ChillerDragon 2020-04-06 16:10:58Z
well the issue was a missing = 0; on a virtual
Avatar
on a pure virtual
Avatar
ChillerDragon 2020-04-06 16:11:17Z
i gues
16:11
yea sad c++ seems to be evil
16:12
the more bash i write the more annoyed i am by c++ 😄
Avatar
I love it when my strings get accidentally split by spaces when I forget to quote them
Avatar
ChillerDragon 2020-04-06 16:12:57Z
i love how u only have one argument :p
16:13
shellcheck is ur friend ull never forget to quote
Avatar
in python, the compiler does that for me
Avatar
ChillerDragon 2020-04-06 16:13:36Z
hotkey in vim to lint using shellcheck is bae
16:13
no more accidental errors
Avatar
fans still spin, am going to test again with working version rl quick to make sure its nothing else i have running
16:19
and fans spun down once i started playing with old client
16:20
@heinrich5991 can i continue bisecting from that commit?
Avatar
cppcheck is a decent static analyzer
16:22
@noby yes, you mark that one bad, then you checkout the good one and mark that one good
16:22
im nub at git
Avatar
ChillerDragon 2020-04-06 16:25:45Z
installed cppcheck thanks will look further into it when ill get stuck on something again @Learath2
16:26
@noby what do you want to do exactly?
Avatar
continue bisecting versions of ddnet between the commit heinrich just sent ^ and the working version
Avatar
ChillerDragon 2020-04-06 16:26:41Z
ah
16:26
git checkout <commithash>
16:26
i guess?
16:26
tho
Avatar
ChillerDragon 2020-04-06 16:26:56Z
git log
16:27
then search for the current hash
Avatar
last time it was like git bisect start and i just typed 10.6.2
Avatar
ChillerDragon 2020-04-06 16:27:03Z
and scroll up
16:28
@noby those are the hashes following 10.6.2
16:28
git checkout fe05f0dfbc92bf440e80504777b02a6f49132e0d to step one further
Avatar
commit ec5ede7633ed9bde1d1673f5dbb92f654030a0e8 (tag: 10.6.2) Version 10.6.2
16:29
i guess thats the one i need
16:29
do i have to git bisect start
Avatar
ChillerDragon 2020-04-06 16:30:09Z
which commit works for you?
16:30
or which version?
Avatar
git bisect start
Avatar
10.6.2 works
Avatar
git bisect good <your good version>
Avatar
ChillerDragon 2020-04-06 16:30:38Z
and master doesnt?
Avatar
git bisect bad <version with fans spinning>
Avatar
it works but fans spin
16:30
ok ty and i can put the hash of the commit in its place?
Avatar
ChillerDragon 2020-04-06 16:30:57Z
yes
16:31
or the release tag works as well
Avatar
git bisect bad 0a9f291 Bisecting: 102 revisions left to test after this (roughly 7 steps) [fed747b9a0baf92f627cfaa42245ef99ce86e441] curl-4.lib needs to reference libcurl-4.dll
16:31
ok
Avatar
eh
16:32
did you check that 0a9f291 is bad?
Avatar
[11:15 AM] onby: fans still spin, am going to test again with working version rl quick to make sure its nothing else i have running [11:19 AM] onby: and fans spun down once i started playing with old client
Avatar
good
16:32
then continue testing
Avatar
do u think it could have something to do with the way its compiled
Avatar
I can't rule that out
Avatar
[ 77%] Linking CXX executable DDNet ld: library not found for -lGL
16:33
oh this error
16:33
lol
16:33
this mightve been around where we stopped last time
Avatar
replace set(PLATFORM_CLIENT_LIBS GL GLU X11) by find_library(CARBON Carbon) find_library(COCOA Cocoa) find_library(OPENGL OpenGL) find_library(SECURITY Security) set(PLATFORM_CLIENT_LIBS ${COCOA} ${OPENGL} ${CARBON} ${SECURITY})
16:34
in CMakeLists.txt
Avatar
[ 37%] Linking CXX executable DDNet Undefined symbols for architecture x86_64: "CNotification::notify(char const, char const)", referenced from: CChat::AddLine(int, int, char const*) in chat.cpp.o "_main", referenced from: implicit entry/start for main executable (maybe you meant: _SDL_main)
Avatar
@Learath2 you here btw?
Avatar
replacing main seems straightforward (?) but idk about the other one
Avatar
delete notify in the CCHat::AddLine function
Avatar
#if defined(CONF_PLATFORM_MACOSX) || defined(__ANDROID__) extern "C" int SDL_main(int argc, char **argv_) // ignore_convention { const char **argv = const_cast<const char **>(argv_); #else int main(int argc, const char **argv) // ignore_convention { #endif
16:35
wait wut
16:35
in client.cpp
16:36
isnt this what it should be
Avatar
maybe remove CONF_PLATFORM_MACOSX there
16:36
#if 0
Avatar
Undefined symbols for architecture x86_64: "_CFStringCreateWithCString", referenced from: _gui_messagebox in system.c.o "_CreateStandardAlert", referenced from: _gui_messagebox in system.c.o "_GetCurrentProcess", referenced from: _gui_messagebox in system.c.o "_RunStandardAlert", referenced from: _gui_messagebox in system.c.o "_SetFrontProcess", referenced from: _gui_messagebox in system.c.o "_TransformProcessType", referenced from: _gui_messagebox in system.c.o
16:37
98% finished
16:37
should i just comment this stuff out lol
Avatar
yes
16:38
the stuff in gui_messagebox
Avatar
it compiled
Avatar
woohoo
Avatar
@heinrich5991 kinda here, waiting on bread in the oven
Avatar
@noby does it even spin thou
16:42
gh
16:42
git bisect bad
16:42
onto the next
Avatar
and i thought it mightve been because i have two copies of ddnet open but
16:42
then i quit and opened the working one and the fps is 350 not 200 and the spining starts to decrease
16:43
oke
16:43
Bisecting: 51 revisions left to test after this (roughly 6 steps) error: Your local changes to the following files would be overwritten by checkout: src/base/system.c src/engine/client/client.cpp Please commit your changes or stash them before you switch branches. Aborting
16:43
wat do
Avatar
why do you have local changes?
16:44
git stash them and keep going
Avatar
local changes to get it to compile^
Avatar
we have local changes because it doesn't compile without them
Avatar
does stash mean i will not have to do the changes again
Avatar
stash means you can get them back
16:46
yes
16:47
git stash saves some changes git stash pop applies them again
16:47
(git stash is a stack)
Avatar
ooo ok cool
Avatar
Git stash never worked for me...
16:49
I always lose my changes and get pissed
16:52
Btw dont remove or modify client.m
Avatar
ChillerDragon 2020-04-06 16:53:02Z
git stash is best
Avatar
The way it starts the client could indeed be the issue as it actually messes with the stack
Avatar
hm? old versions didn't have it I think @Learath2
Avatar
rly?lol now im curious what its doing
16:53
and git stash worked
Avatar
I think @noby's version doesn't have it
Avatar
that's fine, it it doesn't have it then don't add it and if it does have it don't remove it to get it compiling
Avatar
ah
Avatar
#ifdef SDL_USE_CPS { CPSProcessSerNum PSN; /* Tell the dock about us */ if (!CPSGetCurrentProcess(&PSN)) if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103)) what is this hacks
Avatar
the old client.m starts the client from a NSApplication event
Avatar
wtf
Avatar
thus actually blocking in the callback which might be affecting performance
16:55
the new and improved client.m no longer does all that insane stuff
Avatar
oh wow after a couple more bisects this version finally has the old style of text font
16:56
and it seems to be better
Avatar
ChillerDragon 2020-04-06 16:56:32Z
just play version 902 :p
Avatar
dont use mac
justatest 1
Avatar
i dont like sdl1
Avatar
install arch and install the ddnet package
Avatar
ChillerDragon 2020-04-06 16:57:07Z
install hackintosh lmao
Avatar
macOS is so sooooo soooooooo painful
16:57
om
Avatar
what should i do if this version seems to be the halfway point between working and not
16:57
the fps is noticeably better than last bisect
Avatar
imagine not allowing people to use your ssl library thus not allowing people to use TLS1.3
Avatar
fans spin only a little bit
Avatar
ChillerDragon 2020-04-06 16:57:31Z
@Learath2 admit it u slowly become big 🍎 boi
Avatar
@noby did u make sure settings are the same
Avatar
its same settings_ddnet.cfg i have cl_save_settings 0 always
Avatar
and what does it mean fans spinning? are u not limiting the cpu ?
16:57
i limit ddnet to 1000hz
Avatar
it means the fans spin
Avatar
you are only allowed to use the ssl library through apples shitty Secure Transport API which doesn't support anything new
Avatar
and if the same settings cause no spinning on ddnet 10.6.2 and spinning on 10.6.7 then there is a problem no?
16:58
opengl best
Avatar
yeah the opengl3 renderer is great for performance
Avatar
ChillerDragon 2020-04-06 16:58:59Z
onbgygl3
troll 1
Avatar
we should allow opengl 4.5
16:59
on those who can
Avatar
I still can't believe the bugs we have in it... Imagine failing to render 2d graphics in 2020
16:59
it's shameful
16:59
we don't need any opengl 4.5 features
Avatar
glxinfo | grep "OpenGL version" OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.0.4
16:59
4.6
Avatar
[11:57 AM] onby: what should i do if this version seems to be the halfway point between working and not [11:57 AM] onby: the fps is noticeably better than last bisect but fps seems less than 10.6.2
Avatar
lets use all the shiny new things
Avatar
ChillerDragon 2020-04-06 16:59:57Z
$ glxinfo | grep "OpenGL version" OpenGL version string: 3.0 Mesa 18.3.6
Avatar
does that point to there being two things that cause reduced fps
17:00
should i just mark it as good for now
Avatar
@ChillerDragon lol
17:00
arcane laptop
Avatar
@noby take a note of the version
17:00
actually the exact SHA
17:00
then mark it bad if you want to bisect further
Avatar
ChillerDragon 2020-04-06 17:00:42Z
thanks
17:00
Avatar
it almost feels like there are two things reducing fps
17:01
but its closer towards working than not
17:01
Bisecting: 24 revisions left to test after this (roughly 5 steps) [e0bf9a6d7cadf8950b163d20fcce3ecb9e662192] Merge pull request #786 from timakro/pr_check_teleport_hold_hook
Avatar
the mac kernel
justatest 1
17:01
poggers
Avatar
ChillerDragon 2020-04-06 17:01:44Z
isnt mac kernel freebsd or sumsin?
Avatar
if i mark it as good can i come back to it later and mark it as bad to find the "other" thing
Avatar
ChillerDragon 2020-04-06 17:01:49Z
bsd*
Avatar
it's darwin
17:01
branched from bsd waaay back
Avatar
ChillerDragon 2020-04-06 17:02:06Z
so bsd->darwin->macos?
Avatar
why would apple branch from something that has "free" in it
17:02
its communism
Avatar
ChillerDragon 2020-04-06 17:02:18Z
cuz they can make it non free
Avatar
well it's Mach kernel
Avatar
ChillerDragon 2020-04-06 17:02:20Z
bsd license
Avatar
Darwin is the OS structure i think
Avatar
ChillerDragon 2020-04-06 17:02:38Z
macho vs elf huh?
Avatar
macho man
Avatar
ChillerDragon 2020-04-06 17:02:47Z
😄
Avatar
it's BSD -> Mach -> XNU
Avatar
ChillerDragon 2020-04-06 17:03:09Z
where did darwin go?
Avatar
unix -> glorious linux
Avatar
ChillerDragon 2020-04-06 17:03:24Z
isnt mac unix?
Avatar
uname -a Linux arch 5.5.13-arch2-1 #1 SMP PREEMPT Mon, 30 Mar 2020 20:42:41 +0000 x86_64 GNU/Linux
17:03
poggers
17:03
im on the edge in kernel version
Avatar
ChillerDragon 2020-04-06 17:03:56Z
i use arch btw
Avatar
u use debian nobo
Avatar
ChillerDragon 2020-04-06 17:04:04Z
😄
Avatar
Darwin is an OS that uses the XNU kernel
17:04
macOS is based on Darwin
Avatar
ChillerDragon 2020-04-06 17:04:19Z
$ uname -a I use arch btw
Avatar
iOS is also based on Darwin
Avatar
ChillerDragon 2020-04-06 17:04:59Z
i see
Avatar
did u know
17:05
fbi asks apple to not encrypt some stuff
Avatar
ChillerDragon 2020-04-06 17:05:18Z
did anyone ever bother writing a own mobile os?
Avatar
or do it in a way so they can access it
17:05
kek
Avatar
ah found the graph i was looking for
17:05
Avatar
huh transparency is shit
Avatar
@noby yes, you can come back
17:05
i marked it as good
Avatar
as long as you note down the last good sha and the last bad sha
Avatar
ChillerDragon 2020-04-06 17:06:01Z
do ppl still use SunOS?
Avatar
and i think ill mark the next one as good too
Avatar
@noby [7:06 PM] heinrich5991: as long as you note down the last good sha and the last bad sha
Avatar
i want to try GNU/Hurd but i think it may not support lot of hardware
Avatar
that is important
17:06
@noby ^
Avatar
@ChillerDragon Librem phones run PureOS
Avatar
i pasted e0bf9a6d7cadf8950b163d20fcce3ecb9e662192
Avatar
ChillerDragon 2020-04-06 17:06:44Z
@Ryozuki you can implement encryption, if it has backdoor feelsamazingman
Avatar
@noby need the last good as well
Avatar
ChillerDragon 2020-04-06 17:06:59Z
pureos has a own kernel @Learath2 ?
Avatar
I think we should shut up about the offtopic stuff so @heinrich5991 can help @noby debug
lol 2
justatest 1
Avatar
ChillerDragon 2020-04-06 17:07:11Z
maybe i should switch phone
Avatar
wdym by last
Avatar
ChillerDragon 2020-04-06 17:07:18Z
are there apps for pureos? 😄
Avatar
@ChillerDragon it's linux, so is android
Avatar
@noby you marked the commit as good, but want to come back later
Avatar
ive found what seems to be a halfway point where the fans dont spin rly but the fps is a little lower
Avatar
you need to note down the last commit that was marked good and the last commit that was marked bad
17:08
i.e. if you never marked a version good before, it's the good version you started with (was it 10.6.2?)
Avatar
nobody1s-MacBook-Pro:ddnet nobody1$ git bisect bad Bisecting: 24 revisions left to test after this (roughly 5 steps) [e0bf9a6d7cadf8950b163d20fcce3ecb9e662192] Merge pull request #786 from timakro/pr_check_teleport_hold_hook nobody1s-MacBook-Pro:ddnet nobody1$ git bisect good Bisecting: 12 revisions left to test after this (roughly 4 steps) [727b9f84b6262bb7890e9bd47ee35945ee7a76f5] fixed scoreboard update for slow racers (less hacky) (#765)
17:09
are these the two hashes
Avatar
k
Avatar
on 10.6.4 version i dont have fan spinning but i have lower fps
17:13
so it does seem to be two bugs
Avatar
okay, choose one bug, then bisect for that
Avatar
i think ill go after the fan spinning first
Avatar
nobody1s-MacBook-Pro:ddnet nobody1$ git bisect good Bisecting: 1 revision left to test after this (roughly 1 step) [2a1bf9316536f63b76b8cf27535d5f796830007f] Try to fix Windows DPI issue nobody1s-MacBook-Pro:ddnet nobody1$ git bisect good Bisecting: 0 revisions left to test after this (roughly 0 steps) [66f6f16e81520350ece56b8937ac043fc5a308be] Windows DPI fixes #2 nobody1s-MacBook-Pro:ddnet nobody1$
17:22
ok so
17:23
the problem seems to be one of these?
17:23
i dont know whether to mark the final bisect as good or bad
17:23
since the fps is like half as much as the version before it
17:23
but the fans dont spin
17:23
so both may be bad in some way? if i understand the output
17:27
this makes sense bcs i have high dpi screen
Avatar
I highly doubt windows dpi fixes affect macOS at all
Avatar
i mean he does kinda have a point
Avatar
he is too nobo to play with normal zoom kek
Avatar
this guy is stupid
17:59
"P.s.: some of you might consider it as "cheat" or something but the serverside solution is already there - you cannot see distant players. But yea, this change might lead to advantage until serverside anticheat is not good enough"
17:59
i hope thats trolling
17:59
its a thing in fng
17:59
isnt it
17:59
or is it only in noby fng
Avatar
ban
Avatar
the one on my fng is slightly different but its on all servers
18:00
and yeah detecting it is basically impossible
Avatar
i mean if he really wanted to he could just use a custom client and remove zooz
Avatar
and if this guy knows that it will be something that has to be detected by an anti cheat
18:01
then he knows its a cheat
Avatar
well he already did
Avatar
My own problem: I play with the cl_dummy_hammer setting, what means my tee always aims at my "dummy" one. But there is other tees where i cannot automatically aim at which renders game at least uncomfortable for playing General problem: Ridiculous client side limitations leads to client without aimbot I consider aimbot as a graphics setting, which should NOT be limited by any gameplay mode (as dynamic camera is)
GWcorbinHolyFuck 1
Avatar
if u rendered other tees as ur dummy could u have free aimbot
Avatar
@heinrich5991 how would you do extensions to the demo format?
Avatar
@Learath2 in vanilla?
Avatar
so its allowed to post cheats here now?
Avatar
@Learath2 please remove it
Avatar
@Ryozuki wtf i thought it was a joke
Avatar
I look away for one second :P
18:41
@heinrich5991 yeah for vanilla
Avatar
@heinrich5991 so do u think the problem is in the two commits i found
Avatar
and if this guy knows that it will be something that has to be detected by an anti cheat
@noby , actually this something should be handled by game server but surely not "detected by anti cheat". And also whats wrong with customization/setting up your client? I dont like a lot "by default" stuff in DDNet, that is why Ive been photoshoping, learning setting commands, even pushed some PRs to make game fit my needs. In return got called "stupid". Comeee on, man
Avatar
why bring up anticheat
19:10
if what ur suggesting isnt a cheat
Avatar
ban
19:10
also u can zooz in ddnet
Avatar
and theres nothing wrong with customizing ur client as long as ur not doing it to get an unfair advantage over other players
19:10
which u r
Avatar
I just wanted to point out to a thing which was some sort of cheat of implementing feature. Its a dirty hack
19:13
just dont render far tee`s
19:13
but let me configure fucking setting
Avatar
all servers already do this for bandwidth reason
19:13
but thats not a solution
19:13
because its still like getting dyncam in every direction at once that doesnt shake
Avatar
dont render in client, mister (edited)
19:14
the server decides which tees to send to each client based on how far they are
19:15
and ok i cant call u stupid but i can call the idea stupid
Avatar
well, I dont mean you any of ways
19:17
but can you explain whats wrong with the idea itself?
Avatar
its considered cheating in pretty much every pvp mode on tw
19:18
the vanilla client cant zoomout
Avatar
okay, I proposed solution. Either do it client or server side. Just let player see only close enemies
Avatar
yes but what im saying is
19:18
every server already does this
Avatar
maybe rander some lines of vision
Avatar
u can see a tiny bit further than dyn range, in every direction, on standard servers
19:19
which isnt as overpowered as seeing every tee ofc but its still a huge advantage
Avatar
so whats the problem of removing this advantage?
19:20
without touching zoom?
Avatar
how is it possible
19:20
you kidding me?
Avatar
ur not reading
19:20
"just let players see only close enemies"
19:20
i said already
19:20
every server does this
19:20
it helps but it does not fix the problem
Avatar
server doesnt know about dyn
19:21
so u have to send in all directions
19:21
and then u can abuse it
Avatar
yes, thats why was talking about clientside solution
Avatar
and even on modified servers that do understand dyn and try to account for it
Avatar
you cant modify old clients
Avatar
its still a cheatxd
Avatar
and you can modify new clients too
19:22
dont touch serveer
Avatar
I mean the general idea might actually work
19:22
but it wasn't in the PR
Avatar
yea, I just called to implement it
Avatar
how can it actually work
Avatar
i can imagine how it would work but i cant imagine how it wouldnt still be cheaty
Avatar
just render tee`s what would u see without zoom
19:24
nothing more nothing less
Avatar
so ur getting dyncam that isnt harder to control like dyncam would be
19:24
=cheat
Avatar
then u cant use dyn anymore
Avatar
In general I dont understand dyncam in fng, in particular my sentence still valid (edited)
Avatar
just because u dont like dyn it doesnt mean it should be removed lmao
Avatar
dyncam 1. comes with every client and 2. doesnt allow u to see any more than anyone else
Avatar
@plsplsplslol why would i joke
Avatar
it just changes where u can see
Avatar
how is ur sentence still valid
19:25
server doesnt know about dyn
Avatar
dont touch server at al
Avatar
his idea is for the client to only show the tees that a dyner would see, but with zoomout
19:26
i think
Avatar
client side anti cheat isnt possible wtf
Avatar
but thats still a cheat lol
Avatar
it sounds more like a limitation that the client would impose, like it currently does by not allowing zoom
Avatar
i have a question why is shotgun beyond death allowed on the solo server ?
Avatar
just render tee`s what would u see without zoom nothing more nothing less where is cheat?
Avatar
2:24 PM] onby: so ur getting dyncam that isnt harder to control like dyncam would be [2:24 PM] onby: =cheat
Avatar
@noby only render tees that you would see without dyncam
Avatar
you can just modify the client to cheat
Avatar
is what @BannZay is proposing
19:27
this would work and this could be implemented
Avatar
well thats gonna piss off most players on instagib modes i think
Avatar
if you move dyncam right, then render litle further right tees
Avatar
[2:26 PM] onby: 2:24 PM] onby: so ur getting dyncam that isnt harder to control like dyncam would be [2:24 PM] onby: =cheat
19:27
no
19:28
there are tradeoffs that come with using dyncam that make it fair
19:28
they cant aim as fast with it for example
Avatar
u could make the server aware of dyncam right
Avatar
only if the player has standard mouse settings like max distance, deadzone etc
Avatar
u cant modify old clients
Avatar
if u change one of those things then the server cant reliably tell whether someone has dyncam or not
Avatar
rip
19:31
oh do clients only send the angle
19:31
they send position
19:32
but still
Avatar
oh but they wouldnt send the mouse settings
19:33
only x,y position of the cursor relative to tee
Avatar
well, hope my idea not that bad as my communication skills. So I hope someday someguy implement unlock zoom in DDNet for us
Avatar
I think I understood the idea, and yes, it could be implemented without dyncam at least
Avatar
communication is fine
Avatar
nah, communication seems to not have worked for the longest part, I think
19:45
@noby which commit did you determine from the bisect?
Avatar
as for me I have never used dyncam, since turned it off after client installation
Avatar
I don't think those have any way of being the issue
19:46
did you try compiling one of these and the commit after one of these?
19:46
there should be a significant change if this was the issue
Avatar
| SDL_WINDOW_ALLOW_HIGHDPI
Avatar
i will try in a bit
19:47
and if not then il try to bisect for the other bug
Avatar
Trafalgar Law 2020-04-06 20:02:41Z
hi, I made a pr on ddnet7 and the github action have some problems (MacOS debug mode) Anyone know how to fix this? I have no plan about github action https://github.com/ddnet/ddnet7/pull/89/checks?check_run_id=560400443
Avatar
@Trafalgar Law master branch is currently broken, needs a fix (that was recently pushed to teeworlds by Ryozuki and to ddnet by deen)
Avatar
@noby you can checkout the commit before that with ~ and see if that works better
20:12
I would love to debug this too but teeworlds and ddnet always made my macbook pro fans spin
20:12
(design failure by apple, this computer so much as gets toasty it starts making sounds like a vacuum cleaner
20:12
)
Avatar
how do i use ~
20:29
and yeah ill try today
Avatar
<commit sha>~
Avatar
nah im fairly sure that was it
22:37
look i tried changing gfx_highdpi 1
22:37
and the font changed
22:37
and my fans spin on 10.6.2 now
22:38
22:38
now turned off highdpi
22:38
and font's back to normal, fans stopped spinning
22:38
@Learath2 @heinrich5991
22:39
im prety sure the versions that caused fan spinning
22:39
didnt even have this option to turn off
22:41
finding this + the result of the bisects pretty strongly points to the high dpi being the cause of all of these problems
23:45
23:45
what is this
Avatar
someone is spoofing servers
Avatar
bumm with egirls
Avatar
when i join second server i join first lol
Avatar
do not join it
Avatar
yep dont join
Avatar
theyre probably trying to get playerips
Avatar
can u still see it?
Avatar
and they got several ips
Avatar
its literally
23:47
just some dbag with his home internet doing it
23:47
look up his ip
Avatar
the servers with ticks are real tho
23:47
nice feature to have rn
Avatar
i dont see the fake servers now
23:47
😄
Avatar
sometimes they appear
23:48
i wonder who is doing this
Avatar
time to ddos him
Avatar
bumm ddoser
Avatar
bumm ddoser
23:48
monkaS
Avatar
but i wouldnt be surprised if someone tried
Avatar
someone haha justatest
Avatar
someone aka u
23:49
lol
Avatar
cuz u are the biggest troll
Avatar
ddosing isnt trolling its just being an ass
23:50
also no im not, no u
Avatar
thats what a troll would say
Exported 641 message(s)