These are chat archives for Spring-Chobby/Chobby

30th
Jul 2016
L.J. Lim
@KingRaptor
Jul 30 2016 02:47
I don't suppose the i18n entries are separable into game configs yet?
L.J. Lim
@KingRaptor
Jul 30 2016 03:08
why does bot icon have asymmetrical eyebrows/lashes
Gajo Petrovic
@gajop
Jul 30 2016 03:28
@KingRaptor it's doable, can just merge tables
Gajo Petrovic
@gajop
Jul 30 2016 03:48
i meant you could add it in its separate place and i would merge it from code
idk how @GoogleFrog is handling game specific extensions
but it shouldn't be difficult to load your separate i18n file
and combine in with the "core"
e.g. like i've done here: https://github.com/gajop/chonsole/tree/master/exts/i18n every extension has its own separate i18n
although in your case it would be in a different place, next to the game config
Анархид
@Anarchid
Jul 30 2016 10:47
is png, can resize all the way to eleven
*svg
Gajo Petrovic
@gajop
Jul 30 2016 11:05
seems like it's deepthroating itself
violently
Анархид
@Anarchid
Jul 30 2016 11:16
but that's exactly what ourobori do
the red comet bug is because of the space. i need to urlencode it somehow i guess
drab works because it has no spaces
except it doesn't work because socket
Gajo Petrovic
@gajop
Jul 30 2016 11:18
try setting HostPortDefault=0 in your springsettings.cfg
Анархид
@Anarchid
Jul 30 2016 11:44
that worked
Анархид
@Anarchid
Jul 30 2016 11:53
isn't that the default default >.<
Gajo Petrovic
@gajop
Jul 30 2016 11:53
what?
Анархид
@Anarchid
Jul 30 2016 11:53
iirc wiki says that hostportdefault defaults to 0
Gajo Petrovic
@gajop
Jul 30 2016 11:53
no, i just fixed it
Анархид
@Anarchid
Jul 30 2016 11:53
ah
Gajo Petrovic
@gajop
Jul 30 2016 11:53
i mean spring/spring@0016181
didn't touch wiki
wiki still says 8452 is default
Анархид
@Anarchid
Jul 30 2016 11:54
hm, i guess i looked wrong too
Gajo Petrovic
@gajop
Jul 30 2016 11:55
nothing's happening
what does it do when i don't have the map?
Анархид
@Anarchid
Jul 30 2016 11:55
starts spring and then spring silently fails
well, not silently, gives "you have no map" error
Gajo Petrovic
@gajop
Jul 30 2016 11:56
i'm getting nothing
Анархид
@Anarchid
Jul 30 2016 11:56
i've made it abort and print headers if your HTTP response is not 200 OK
check logs
is there a status element in UI i could post with statuses?
maybe i should prefix my echoes
Gajo Petrovic
@gajop
Jul 30 2016 11:57
there should be one that tells that a replay is being prepared/downloaded/being started
(doesn't exist but should be made)
Анархид
@Anarchid
Jul 30 2016 12:01
are you trying a different game? maybe you found a new flaw
the red%20comet i was testing was http://zero-k.info/Battles/Detail/425900
Gajo Petrovic
@gajop
Jul 30 2016 12:18
[f=0001052] <ZKReplayLauncher> need to download map
?
so that's not implemented?
download map & then start
Анархид
@Anarchid
Jul 30 2016 12:20
no
it only works if you have map, engine, and mod already
i guess it should abort vociferously if you don't have engine, before even trying the demofile
Gajo Petrovic
@gajop
Jul 30 2016 12:20
the progress bar in console is downloading it?
Анархид
@Anarchid
Jul 30 2016 12:21
there's a progress bar in console? :0
how do i see that
Gajo Petrovic
@gajop
Jul 30 2016 12:21
sigh it started downloading something irrelevant
adanosia
Анархид
@Anarchid
Jul 30 2016 12:22
you probably were in a battleroom or some such
Gajo Petrovic
@gajop
Jul 30 2016 12:22
i think it's a bug
i left it but it forgot that i did
map changed and it decided i'm still in it and started the DL
anyway
[f=0006697] <ZKReplayLauncher> Download file /replays/20160729_165610_Comet%20Catcher%20Redux_103.sdfz from host zero-k.info into demos/20160729_165610_Comet Catcher Redux_103.sdfz
it says so but nothing happens
imo
you need to make a UI in the status bar
that makes it very clear what's going on
Анархид
@Anarchid
Jul 30 2016 12:23
it's not even working fully yet
Gajo Petrovic
@gajop
Jul 30 2016 12:23
and support downloading all required resources beforehand
think i'll try it out again then
i just wanted to see if hostportdefault works
Анархид
@Anarchid
Jul 30 2016 12:23
does too
did it do "sending http request" after "download file" ?
Gajo Petrovic
@gajop
Jul 30 2016 12:24
[f=0010415] [LuaUI] Error: In Update(): [string "LuaUI/Widgets/zk_replay_launcher.lua"]:154: attempt to perform arithmetic on a nil value
[f=0010415] [LuaUI] Error: Removed widget: <ZK replay downloader>
f=0010281] Server, <Say {"Place":5,"Target":"gajop","User":"gajop","IsEmote":false,"Text":"[2318 153.211.197.68:56384 gajop] error processing line LeaveBattle [] : Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'LobbyClient.LeaveBattle' because the type requires a JSON object (e.g. {\"name\":\"value\"}) to deserialize correctly.\r\nTo fix this error either change the JSON to a JSON object (e.g. {\"name\":\"value\"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.\r\nPath '', line 1, position 1.\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureArrayContract(JsonReader reader, Type objectType, JsonContract contract)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)\r\n at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type)\r\n at LobbyClient.CommandJsonSerializer.DeserializeLine(String line)\r\n at ZkLobbyServer.ClientConnection.<OnCommandReceived>d__11.MoveNext()","Ring":false} [f=0010290] Server, <Say {"Place":5,"Target":"gajop","User":"gajop","IsEmote":false,"Text":"[2318 153.211.197.68:56384 gajop] error processing line LeaveBattle [] : Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'LobbyClient.LeaveBattle' because the type requires a JSON object (e.g. {\"name\":\"value\"}) to deserialize correctly.\r\nTo fix this error either change the JSON to a JSON object (e.g. {\"name\":\"value\"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.\r\nPath '', line 1, position 1.\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureArrayContract(JsonReader reader, Type objectType, JsonContract contract)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)\r\n at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type)\r\n at LobbyClient.CommandJsonSerializer.DeserializeLine(String line)\r\n at ZkLobbyServer.ClientConnection.<OnCommandReceived>d__11.MoveNext()","Ring":false} [f=0010325] Server, >LeaveBattle []====== ] 41200235/51097759
[f=0010334] Server, <Say {"Place":5,"Target":"gajo
some are unrelated
things @GoogleFrog should look at
Анархид
@Anarchid
Jul 30 2016 12:30
gah
fucking new keyboard
that's a fucking typo
oh wait, is not
seems like you got an empty response 0_o
how did i vfs downloaded?
right, i can just grep examples
actually seems more complex, so i'll reask
Gajo Petrovic
@gajop
Jul 30 2016 12:41
VFS.DownloadArchive(archiveName, archiveType)
and use widget:DownloadFinshed to receive confirmations
Анархид
@Anarchid
Jul 30 2016 12:42
what does DownloadFinished arg with?
Gajo Petrovic
@gajop
Jul 30 2016 12:43
queueID
use examples from download.lua
it's a small file
downloader.lua
Анархид
@Anarchid
Jul 30 2016 12:44
are all these things i can use in a widget?
it looks like i have to first intercept DownloadQueued to see an ID of the archive i want to download; then listen to finished/completed
Gajo Petrovic
@gajop
Jul 30 2016 12:46
yes to first
kinda to second
you know the downloadID as a result from VFS.DownloadArchive
you only need the downloadID to link to other info, such as name & stuff
Анархид
@Anarchid
Jul 30 2016 12:49
wiki says it returns nil
grep found no precedent for local something = VFS.DownloadArchive
Gajo Petrovic
@gajop
Jul 30 2016 13:06
Eh probably miswrote it
Check MaybeDownload in GUI battle room widget
Gajo Petrovic
@gajop
Jul 30 2016 13:11
i could be wrong
maybe it does return nil
Анархид
@Anarchid
Jul 30 2016 13:13
i seem quite fine using QueueDownload, so no biggie
ok how did i UI implemented
Gajo Petrovic
@gajop
Jul 30 2016 13:16
check interface root for defining things in the status bar
Анархид
@Anarchid
Jul 30 2016 13:16
do i make my own component or window, or attach to something or.. aha
Gajo Petrovic
@gajop
Jul 30 2016 13:17
there's probably something about how user status bar is implemented
make a new one for where replay info should go
Анархид
@Anarchid
Jul 30 2016 13:17
errr where does interface root live
Gajo Petrovic
@gajop
Jul 30 2016 13:17
then see the user status panel widget to see how to rely on that
interface root is a chobby/components thing
i'm not writing exact names
Анархид
@Anarchid
Jul 30 2016 13:17
nvm found it local interfaceRoot
Gajo Petrovic
@gajop
Jul 30 2016 13:18
interface_root.lua probs
Анархид
@Anarchid
Jul 30 2016 13:20
can chiliFX do rotation?
for a spinning loading thingy
Gajo Petrovic
@gajop
Jul 30 2016 13:20
yes, if you write a shader that does it
chilifx is proof of concept
Анархид
@Anarchid
Jul 30 2016 13:20
ok
hm, maybe bubbles
are there any bubbles thing?
Gajo Petrovic
@gajop
Jul 30 2016 13:26
there is almost nothing
glow and fade which is mostly the same thing
Анархид
@Anarchid
Jul 30 2016 13:41
i meant as a popup noficiation thing
but i think i've figured out how to add a process status thingy too
Gajo Petrovic
@gajop
Jul 30 2016 13:43
for popup notifications it's Chotify
but that's even more limited ;P
Анархид
@Anarchid
Jul 30 2016 13:44
i'm fine with limited
i just want to display a label, after all
"Launching replay" -> "Replay launch failed" etc
Gajo Petrovic
@gajop
Jul 30 2016 13:45
search for Chotify / Notify
Анархид
@Anarchid
Jul 30 2016 13:52
replay launcher causes battlesomething to crash
chotify seems sufficient
i like it scolor
it is calming
Gajo Petrovic
@gajop
Jul 30 2016 14:00
we could use better colors in some places
i dislike chat
Анархид
@Anarchid
Jul 30 2016 14:09
ok i've done some minimal notificationing
you can try now with downloads
Gajo Petrovic
@gajop
Jul 30 2016 14:10
i should probably point out i'm super busy
i doubt i'll have time to do much until like +10days
friends coming over, conference, trip
Анархид
@Anarchid
Jul 30 2016 14:10
oh right, you even mentioned that august deadline was because of that
Gajo Petrovic
@gajop
Jul 30 2016 14:10
yeah
so essentially as much as i want to test i don't have the time
can chat sometimes thought at least
ForbodingAngel
@ForbodingAngel
Jul 30 2016 20:35
@Anarchid I like :-D