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

[Enhancement] Protocol update to 12.91 #443

Merged
merged 13 commits into from
Sep 15, 2022
Merged

Conversation

marcosvf132
Copy link
Contributor

@marcosvf132 marcosvf132 commented Jul 18, 2022

Sem título

Description

Update tibia protocol to 12.91, including the following features:

  • Timer on rings/amulets.
  • Charge number on rings/amulets.
  • Npc fix. (Sell/Buy more than 100 items at once)
  • Two new depot boxes

Type of change

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Fixes

Resolves #318
Resolves #386
Resolves #585

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I checked the PR checks reports
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

src/server/network/protocol/protocolgame.cpp Outdated Show resolved Hide resolved
src/server/network/protocol/protocolgame.cpp Outdated Show resolved Hide resolved
src/server/network/protocol/protocolgame.cpp Outdated Show resolved Hide resolved
src/server/network/protocol/protocolgame.cpp Outdated Show resolved Hide resolved
src/server/network/protocol/protocolgame.cpp Outdated Show resolved Hide resolved
src/server/network/protocol/protocolgame.cpp Outdated Show resolved Hide resolved
@tutbarao
Copy link

tutbarao commented Aug 9, 2022

Error sell item in npc.
"bad argument #4 to 'format' (number expected, got string)"

script: player:sendTextMessage(MESSAGE_INFO_DESCR, string.format("Sold %ix %s for %i gold.", amount, name, totalCost))

@Darkedo
Copy link

Darkedo commented Aug 21, 2022

hello marcos can you see my comment in this rp from a month ago if you do
i just recompile i found two issues with npc
-any selling to npc gets erorr in console
-anything u buy from npc shop like mana or sd only buy with bp you cant buy x charges

@carlospess0a
Copy link
Contributor

carlospess0a commented Aug 28, 2022

I tested the reports from @Darkedo and @tutbarao and I couldn't reproduce these errors.

I tested buying stuff in NPC and everything is working fine.

I'm using both PR to test, 443 and 732 from otbr.

@Darkedo
Copy link

Darkedo commented Aug 28, 2022

I tested the reports from @Darkedo and @tutbarao and I couldn't reproduce these errors.

I tested buying stuff in NPC and everything is working fine.

I'm using both PR to test, 443 and 732 from otbr.

image

@carlospess0a
Copy link
Contributor

I tested the reports from @Darkedo and @tutbarao and I couldn't reproduce these errors.
I tested buying stuff in NPC and everything is working fine.
I'm using both PR to test, 443 and 732 from otbr.

image

You need this PR 732 due rework of npc system.

@Darkedo
Copy link

Darkedo commented Aug 29, 2022

I tested the reports from @Darkedo and @tutbarao and I couldn't reproduce these errors.
I tested buying stuff in NPC and everything is working fine.
I'm using both PR to test, 443 and 732 from otbr.

image

You need this PR 732 due rework of npc system.

thanks carlos worked

@marcosvf132 marcosvf132 changed the title [Enhancement] Protocol update to 12.90 [Enhancement] Protocol update to 12.91 Aug 30, 2022
@dudantas dudantas merged commit dfc5df7 into opentibiabr:main Sep 15, 2022
@sonarcloud
Copy link

sonarcloud bot commented Sep 15, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 11 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@marcosvf132 marcosvf132 deleted the 12-90 branch September 15, 2022 05:28
@tutbarao
Copy link

Não é possivel comprar items sem a bag shopping. Eu clico em remover bag shopping e ele vme sempre com ela.

@guispiller
Copy link
Contributor

Por favor, não comente em PRs fechados. Esse PR ja foi fechado a mais de um mês, e isso que você reportou está funcionando normal atualmente, você provavelmente não sincronizou os npcs do otbr com a nova mudança.
Pr favor, atualize sua source e datapack.

JoaoCRDias pushed a commit to JoaoCRDias/canary that referenced this pull request Nov 2, 2022
Description:
Update tibia protocol to 12.91, including the following features:
• Timer on rings/amulets.
• Charge number on rings/amulets.
• Npc fix. (Sell/Buy more than 100 items at once)
• Two new depot boxes

Fixes:
• opentibiabr#318opentibiabr#386

Client 12.91 download link: https://github.com/dudantas/tibia-client/releases/tag/12.91.12329
luan pushed a commit that referenced this pull request Jul 11, 2023
Description:
Update tibia protocol to 12.91, including the following features:
• Timer on rings/amulets.
• Charge number on rings/amulets.
• Npc fix. (Sell/Buy more than 100 items at once)
• Two new depot boxes

Fixes:
• #318#386

Client 12.91 download link: https://github.com/dudantas/tibia-client/releases/tag/12.91.12329
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: PRs Done
9 participants