Weird Animations

Report and discuss bugs in JK2MV here or suggest changes.
Post Reply
sterfreak
Posts: 6
Joined: 28 Aug 2017, 05:17

Weird Animations

Post by sterfreak » 11 Apr 2018, 16:29

So at first I was running my 1.02 basejka (basemv?) server on an Arch Linux machine with JK2MV version 1.3.1. No issues. I rebuilt my server and decided to give Red Hat a go, but I noticed after the time limit is hit (7 hours) and the map restarts, the player animations are all screwed up. The single bot I have is running around the map doing backflips. Not even the jumping backflips, but like the animation you get when you are kicked in the head and flip around backwards.

I have tried replacing the executable/assets/libraries a couple times. I also have 3 servers with mods installed that do not have this issue with the same 1.4.1 version. I am at a loss on this one. Please let me know if I need to submit a video or something. This is something players can see when connecting to the server, and the animations seem to affect players too.

I tried blaming Red Hat as I couldn't get openJK working on it. But I migrated the game servers to a windows host and have the same problem.


Aside from that, I am aware that HTTPS downaloads are still in progress. I have an ISP that blocks port 80 but not 443. So I am unable to host fast HTTP downloads. I know that if I move the files from my hosting server and place them on the game server it tries to use port 18200 or so.

Is it possible to specify a socket address instead of a URL? Similar to:
http://jk3files.com:18200
Or specify a remote server + port? I tried to do just that, but I couldn't get it to work. I figured it was worth my time to ask before I pulled all of my hair out.

User avatar
ouned
Administrator
Posts: 592
Joined: 23 Feb 2015, 13:03
Location: Gliese581c

Re: Weird Animations

Post by ouned » 12 Apr 2018, 11:54

try deleting assetsmv2.pk3 and see if the problem still happens. Please keep us updated on that as it could be a bug in mvsdk.

did you have a look at the documentation?
https://github.com/mvdevs/jk2mv/wiki/HTTP-Downloads

As of now, it doesn't support TLS though.
Now that someone seems to be interested, I might consider actually implementing it sometime :D

sterfreak
Posts: 6
Joined: 28 Aug 2017, 05:17

Re: Weird Animations

Post by sterfreak » 12 Apr 2018, 14:30

Okay, I moved assetsmv2.pk3 out of my base folder and started all the test servers back up. I will report back when I get home from work.

I have looked through the docs and it mentions:
"Valid values: 0-65535 (TCP Port), Any HTTP-URL (http://...)"
But does not specify that you can use them in conjunction. The way I read it is you can either set the port for the local web service or specify a remote URL to host the downloads. But it doesn't seem to let you specify a remote URL and a port to go with it. Or maybe my ISP is worse than I thought. They block email servers, too :(

But yeah, HTTP downloads is an AMAZING feature. +1 vote for TLS support. Let me know if I can contribute more somehow.

User avatar
ouned
Administrator
Posts: 592
Joined: 23 Feb 2015, 13:03
Location: Gliese581c

Re: Weird Animations

Post by ouned » 12 Apr 2018, 16:37

what do you mean with in conjunction? You can either set a port or use a http url. Not both. (Makes sense I guess?)
If your http server is running on a port that isn't 80, something like "http://abc.de:1337/jk2/gamedata" should work the usual way.
If 443 isnt blocked for you, try running the HTTP server on 443, but unencrypted. Should do the job.


Too make things clearer:
When you set the cvars value to a URL like "http://abc.de:1337/jk2/gamedata", it basically just sends this url to the client and tells it "hey, get your pk3s from there."

sterfreak
Posts: 6
Joined: 28 Aug 2017, 05:17

Re: Weird Animations

Post by sterfreak » 12 Apr 2018, 18:37

You answered the question. "http://abc.de:1337/jk2/gamedata" is exactly what I was looking for. I didn't know if the HTTP downloads were hard coded to use 80 for a remote URL. I will configure apache to listen on a non-standard port as a temporary workaround for now. Good to know I will still get to use the fast downloads!

Still have about 5 more hours until I can report back on the animation issue. Thank you for the swift responses.

User avatar
ouned
Administrator
Posts: 592
Joined: 23 Feb 2015, 13:03
Location: Gliese581c

Re: Weird Animations

Post by ouned » 12 Apr 2018, 23:48

Whenever you come across a URL not containing a port it's 80 for http and for https it's 443. This is just a definition in the protocols standard. Writing http://asdfg.de:80/asdfg is exactly the same as http://asdfg.de/asdfg

sterfreak
Posts: 6
Joined: 28 Aug 2017, 05:17

Re: Weird Animations

Post by sterfreak » 13 Apr 2018, 01:02

I understand completely.

Removing assetsmv2.pk3 from base seems to have fixed the issue. The time limit was hit and when I joined and clicked ready the animations were the correct ones.

Post Reply
Created by Matti from StylesFactory.pl and Warlords of Draenor (modified by jk2.info)
Powered by phpBB® Forum Software © phpBB Limited
GZIP: On