These are chat archives for Spring-Chobby/Chobby

19th
Jul 2016
GoogleFrog
@GoogleFrog
Jul 19 2016 04:02
gajop I don't undestand what abma means in this ticket Spring-Chobby/Chobby#119
or maybe it is that I don't think we're understanding each other.
Gajo Petrovic
@gajop
Jul 19 2016 04:08
tbh i'm not entirely sure on springsettings either
can you give me some examples of Spring.SetConfig that clearly don't work?
i'd need this anyway to provide the arguments for a potential PR
also in case you haven't noticed: spring/spring#265
GoogleFrog
@GoogleFrog
Jul 19 2016 04:16
Spring.SetConfig doesn't work for almost everything
MiddleClickScrollSpeed is broken, for example
MiddleClickScrollSpeed = -0.005
Gajo Petrovic
@gajop
Jul 19 2016 04:18
do you know you can check which settings are readonly?
GoogleFrog
@GoogleFrog
Jul 19 2016 04:18
I don't know that
when I applied my springsettings file with SetConfig both chobby and ingame dropped to about 3 fps
Gajo Petrovic
@gajop
Jul 19 2016 04:18
is this code currently in?
GoogleFrog
@GoogleFrog
Jul 19 2016 04:19
no
can you put it in?
you made the UI to change settings, right? I'd like to try it out
GoogleFrog
@GoogleFrog
Jul 19 2016 04:19
yes, ok
it affects chobby settings though
done
Gajo Petrovic
@gajop
Jul 19 2016 04:31
thanks
how can i find the spring data dir?
is "SpringData" it?
GoogleFrog
@GoogleFrog
Jul 19 2016 04:33
idk
Gajo Petrovic
@gajop
Jul 19 2016 04:33
seems it only gives me the additional ones, not the main one
GoogleFrog
@GoogleFrog
Jul 19 2016 04:39
I like the idea of limiting URLs to unsynced gadgets because it appeases people who want the lua ecosystem to involve users writing widgets for each other
Gajo Petrovic
@gajop
Jul 19 2016 04:39
i'd move start, restart and other stuff there too i think
GoogleFrog
@GoogleFrog
Jul 19 2016 04:41
and springsettings io?
Gajo Petrovic
@gajop
Jul 19 2016 04:43
i want to try your thing first
i couldn't really write the issues (arguments) why that should be removed without trying myself
nothing's happening to me when i'm clicking on the settings
GoogleFrog
@GoogleFrog
Jul 19 2016 04:46
you need to start a game
Gajo Petrovic
@gajop
Jul 19 2016 04:46
aha
so how can i know what isn't working?
click on Ultra and start game.. then what?
GoogleFrog
@GoogleFrog
Jul 19 2016 04:47
your springsettings have MiddleClickScrollSpeed = 0
when it should be MiddleClickScrollSpeed = -0.005
Gajo Petrovic
@gajop
Jul 19 2016 04:48
there doesn't seem to be such a variable
GoogleFrog
@GoogleFrog
Jul 19 2016 04:48
also I think if you disable AllowDeferredModelRendering in all your parent springsettings then the setting will not be set to 1 upon launching
Gajo Petrovic
@gajop
Jul 19 2016 04:49
ah sorry
but i have MiddleClickScrollSpeed = -0.005
also
MouseDragScrollThreshold = 0
GoogleFrog
@GoogleFrog
Jul 19 2016 04:53
good
Gajo Petrovic
@gajop
Jul 19 2016 04:54
is that desired?
GoogleFrog
@GoogleFrog
Jul 19 2016 04:54
check \LuaUI\configs\springsettings to see if everything matches
Gajo Petrovic
@gajop
Jul 19 2016 04:54
probably not because it's likely they don't write defaults
GoogleFrog
@GoogleFrog
Jul 19 2016 04:55
that is fine
Gajo Petrovic
@gajop
Jul 19 2016 04:55
hm no a lot is different
GoogleFrog
@GoogleFrog
Jul 19 2016 04:55
so you'll need to check the wiki too
Gajo Petrovic
@gajop
Jul 19 2016 04:57
maybe i'm looking in the wrong place :S
oh yeah, definitely
GoogleFrog
@GoogleFrog
Jul 19 2016 04:57
springsettings is really quite confusing
Gajo Petrovic
@gajop
Jul 19 2016 04:57
nah i just have 3 places
yep MiddleClickScrollSpeed is wrong
wait, you write to settings on each start? that's bad design
settings should only change when user changes them
GoogleFrog
@GoogleFrog
Jul 19 2016 05:01
why?
the user shouldn't care about the settings file
Gajo Petrovic
@gajop
Jul 19 2016 05:01
because he might change it manually
or change it from ingame
GoogleFrog
@GoogleFrog
Jul 19 2016 05:02
they can change the settings in the widget data file manually
from ingame should be read when the subprocess exits
Gajo Petrovic
@gajop
Jul 19 2016 05:03
it should read every time so UI can be updated, but shouldn't change it
GoogleFrog
@GoogleFrog
Jul 19 2016 05:04
UI can update from the Configuration table
I want the Configuration table and its saved version in widget data to be the springsettings for ingame
partially because the spring settings system is needlessly convoluted
Gajo Petrovic
@gajop
Jul 19 2016 05:04
i think MiddleClickScrollSpeed is not working because how it's being set
it's not an int
GoogleFrog
@GoogleFrog
Jul 19 2016 05:05
when chobby exits it will override springsettings with the settings that chobby started with
mostly
and chobby should set low settings upon exit so we don't get advmap shading etc.. in chobby
Gajo Petrovic
@gajop
Jul 19 2016 05:13
ok try this out
seems to work for me
it's very basic though, i still haven't investigated everything in detail
ah forgot a line
two lines :D
Gajo Petrovic
@gajop
Jul 19 2016 05:21
so is there anything else that doesn't work now, can we not rely on Spring.SetConfig* ?
GoogleFrog
@GoogleFrog
Jul 19 2016 05:30
idk
we'll say its fine for now
unless an issue appears
can you push your editbox changes?
if you go from small mode to large mode then the SP label reads Singleplay/ner
because line width is not updating
GoogleFrog
@GoogleFrog
Jul 19 2016 05:35
now that this works I'll improve the settings window
we could easily provide a direct interface to edit all the settings. I think I'll stick to a few obvious ones though
and if people are using a preset the button which they are using should highlight
Gajo Petrovic
@gajop
Jul 19 2016 05:37
I think I missed some checks there but should work I think. See also "spring --list-config"
Think it might also be wrong with how it shows type for string (it gives some nils) ,
Might require engine changes to clean that up
Regarding editbox, prolly not right now. I'm leaving in 10mins. I'll address all your issues when I get back though
Gajo Petrovic
@gajop
Jul 19 2016 05:52
want your thoughts on Spring-Chobby/Chobby#155
and going now, bb
Gajo Petrovic
@gajop
Jul 19 2016 07:12
i think you meant to say "for unsynced gadgets" here https://github.com/spring/spring/pull/265#issuecomment-233547231
GoogleFrog
@GoogleFrog
Jul 19 2016 08:23
thats what I meant by unsynced
Gajo Petrovic
@gajop
Jul 19 2016 08:33
I know, but I feel you need to be specific there as widgets are also considered to be unsynced
Анархид
@Anarchid
Jul 19 2016 09:00
Ok what do i use to start replays while avoiding socket collision?
Gajo Petrovic
@gajop
Jul 19 2016 09:28
start chobby with port=0 maybe
i think i might change how engine works with regards to that
imo it should avoid forcing a specific port by default
Gajo Petrovic
@gajop
Jul 19 2016 09:43
Seems ZKS is down
Jose Luis
@TurBoss
Jul 19 2016 10:43
I noticed a bit of lagg with large log in chat
GoogleFrog
@GoogleFrog
Jul 19 2016 11:33
yea it is a bit slow in the debug tab
GoogleFrog
@GoogleFrog
Jul 19 2016 11:41
I feel like that is due to a poor implementation of visiblity checking?
I've got a full screen of #zk which is much faster
presumably because the scrollbar is much larger
Gajo Petrovic
@gajop
Jul 19 2016 11:50
Part of it is because RTT is off
GoogleFrog
@GoogleFrog
Jul 19 2016 11:51
RTT is always off in my mind
it doesn't work
Gajo Petrovic
@gajop
Jul 19 2016 11:51
Means it redraws the entire chat log (invisible lines included) each draw frame
GoogleFrog
@GoogleFrog
Jul 19 2016 11:51
and everything I'm comparing it to has RTT off too
does it do an invisiblity check?
Gajo Petrovic
@gajop
Jul 19 2016 11:51
No
GoogleFrog
@GoogleFrog
Jul 19 2016 13:55
gajop can you name the issue when you close them in commit messages?
just a minor thing I like in repos
Gajo Petrovic
@gajop
Jul 19 2016 13:56
sure