1 (изменено: GarryLai, 2017-06-15 12:46:58)

Тема: Some Error in ttyhstore

I use ttyhstore https://github.com/betrok/ttyhstore/ and enter command

clone 1.12
collect

After it finish I use ttyhlauncher and connect to store
but when I check updates it said:

Error! Addons are not described in data index.

What can I do??
Please help, Thanks.

Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

2 (изменено: Figec, 2017-06-15 21:56:53)

Re: Some Error in ttyhstore

Hello!

You need to create "files" directory, and "mutables.list" in version folder. Then call collect. See example here: http://store.ttyh.ru/default/1.11/

Simple instruction for local version is here: https://ttyh.ru/viewtopic.php?pid=3840#p3840

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

3 (изменено: GarryLai, 2017-06-16 04:50:13)

Re: Some Error in ttyhstore

Thank-you very much
I success to run it

But I have a problem:
I change the Authlib,
but when I run chick,
it will download from minecraft library again
How can I do let it not to chick Authlib hash
Thanks very much

Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

4

Re: Some Error in ttyhstore

Rewrite .sha1 file next to lib with actual checksum.

Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0

5

Re: Some Error in ttyhstore

I success to build a store server ,
but I have little problem,
that is why my server can't display the skin which has already uploaded
and "Jarstings" can't use in 1.12 ,
I fine a way to fix it:
1. unzip the jar
2. use UltraEdit to find all .class file
3. after change some strings zip it and rename to .jar

the skin problem please help me
Thanks

Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

6

Re: Some Error in ttyhstore

Mojang used weird skin signing scheme. AFAIK it's outdated already, but we did not make any related changes in master...

Well, you need valid keypair in authlib and on master server to make skins work. We use this one.
Place key.pem to master directory and replace yggdrasil_session_pubkey.der in authlib jar.

Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0

7

Re: Some Error in ttyhstore

The skin also can't display

I visit

/index.php?act=hasJoined&serverId=-4f7d46a0f3e19fe392d3c3d7dcee6069531583cc&username=test2

and I got some response,

but when I visit

/index.php?act=profile/394dee69dae88e85996f3b1d0eb781&unsigned=true

I got a blank page

Is it normal??
Thank-you very much.

Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

8

Re: Some Error in ttyhstore

Are you sure that this uuid is correct? Blank answer for nonexistent uuid is normal there.
Check master error log as well.

Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0

9

Re: Some Error in ttyhstore

How to check it??
Thanks

Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

10 (изменено: GarryLai, 2017-06-21 16:36:45)

Re: Some Error in ttyhstore

I ust this trigger to generate UUID and Access Token, is it correct??
When user register on the web and it will work.

CREATE TRIGGER `master` BEFORE INSERT ON `users`
 FOR EACH ROW BEGIN
SET NEW.accessToken = UUID();
SET NEW.clientToken = UUID();
END
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

11

Re: Some Error in ttyhstore

Trigger looks fine for me, but... is not it wrong table? Should be `players`.

Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0

12

Re: Some Error in ttyhstore

I have modify the php and change table "players" to "users" because I want it to synchronize with forum

Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

13

Re: Some Error in ttyhstore

Thank-you very much
You really help me a lot
My server success to load the skins
I find that I forget to change "http root" in config.php (Default is 127.0.0.1),
and it is not in the white listed domain,it is OK after fix

Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36