Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Update] Auto update #17

Closed
2 of 5 tasks
BrunoBrilha opened this issue May 18, 2024 · 9 comments · Fixed by #18
Closed
2 of 5 tasks

[Update] Auto update #17

BrunoBrilha opened this issue May 18, 2024 · 9 comments · Fixed by #18
Labels
Priority: Low Minor impact Status: Pending Test This PR or Issue requires more testing Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@BrunoBrilha
Copy link

BrunoBrilha commented May 18, 2024

Priority

Low

Area

  • Data
  • Source
  • Docker
  • Other

What happened?

A atualização automática não está a funcionar. Utilizei a API de atualização automática do OTClientV8 oficial, que só funciona no OTClientV8 oficial. Na versão OpentibiaBR, não funciona.

Auto-update is not working. I used the official OTClientV8 auto-update API, which only works with the official OTClientV8. It does not function in the OpentibiaBR version.

Sem_titulo

What OS are you seeing the problem on?

Windows

Code of Conduct

  • I agree to follow this project's Code of Conduct
@BrunoBrilha BrunoBrilha added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label May 18, 2024
@github-actions github-actions bot added Priority: Low Minor impact Status: Pending Test This PR or Issue requires more testing labels May 18, 2024
@dex-89
Copy link
Contributor

dex-89 commented Jun 2, 2024

I have the same problem with status.php as well. It downloads, but displays identically in the terminal
image

I checked https://github.com/OTCv8/otclientv8 and works ok. I think that problem is in src/framework/http.cpp/.h -> parsing json

status.php source: https://github.com/OTCv8/otcv8-tools/blob/main/api/status.php

dex-89 added a commit to dex-89/otcv8_OTBR that referenced this issue Jun 7, 2024
@dex-89 dex-89 mentioned this issue Jun 7, 2024
8 tasks
@BrunoBrilha
Copy link
Author

BrunoBrilha commented Jun 26, 2024

Não foi corrigido, tomem cuidado quem baixar, fecharam o tópico sem dar satisfação

@dex-89
Copy link
Contributor

dex-89 commented Jun 26, 2024

I tested only with status. I try fix updater now

@majestyotbr majestyotbr reopened this Jun 26, 2024
@Kizuno18
Copy link

Kizuno18 commented Jul 6, 2024

same error here, ive to use my old compiled file from 22 days ago before some new commits in the main branch

@dex-89
Copy link
Contributor

dex-89 commented Jul 6, 2024

same error here, ive to use my old compiled file from 22 days ago before some new commits in the main branch

which version are you using? and there is no error there?

@Kizuno18
Copy link

Kizuno18 commented Jul 9, 2024

same error here, ive to use my old compiled file from 22 days ago before some new commits in the main branch

which version are you using? and there is no error there?

latest from github - mobile gives this error

@Kizuno18
Copy link

Kizuno18 commented Aug 2, 2024

image

@Kizuno18
Copy link

Kizuno18 commented Aug 2, 2024

encrypted files

@SHARING4N
Copy link

Pra quem não tem ideia de qual o problema, as requisições http(s) no updater está sendo feita por "steps" até terminar a conexão.
As requisições possuem um tamanho limite.
A cada requisição é escrito seguindo a seguinte maneira:

1bc8\r\r\n

Sendo 1bc8 um número em hexadecimal (0x1bc8) sinalizando o tamanho do buffer depois do \n
Supondo que o limite de mensagem é de 3 bytes, e o limite de tamanho for excedido, vc terá o seguinte modelo de resposta (algo parecido com isso):

0x3\r\r\naaa0x3\r\r\naaa0x3\r\r\naaa0x2\r\r\naa\n

Sendo que a resposta do servidor foi somente:

aaaaaaaaaaa

Outro problema é o client vai travar para finalizar a thread de alguma conexão mal feita pela biblioteca asio

Algumas possíveis soluções:

  • consertar a forma como a biblioteca asio processa as requests
  • remover a biblioteca asio e colocar uma mais simples como libcurl

@majestyotbr majestyotbr closed this as not planned Won't fix, can't repro, duplicate, stale Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Minor impact Status: Pending Test This PR or Issue requires more testing Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants