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

fix: questlog message #1648

Merged
merged 5 commits into from
Sep 29, 2023
Merged

fix: questlog message #1648

merged 5 commits into from
Sep 29, 2023

Conversation

un000000
Copy link
Contributor

@un000000 un000000 commented Sep 28, 2023

Description

Someone removed memorizing old storage value in addStorageValue, so playerOnStorageUpdate receives only new value. The condition "if value ~= oldValue then" in Player.updateStorage function is therefore always false, thus "Your questlog has been updated." message cannot be ever sent. It was this commit that broke it: #573

Behaviour

Actual

Changeing storage value associated with a mission doesnt show "Your questlog has been updated." message.

Expected

Changeing storage value associated with a mission does show "Your questlog has been updated." message.

Fixes #1102

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested

I talked to npc gerimor: hi -> missions -> life -> yes, any got the questlog updated message.

Test Configuration:

  • Server Version: up until 28 IX 2023 commits
  • Client: 13.21
  • Operating System: win10

@un000000 un000000 closed this Sep 29, 2023
@un000000 un000000 reopened this Sep 29, 2023
@majestyotbr majestyotbr changed the title fix: show "Your questlog has been updated." fix: questlog message Sep 29, 2023
@sonarqubecloud
Copy link

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 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@dudantas dudantas merged commit 68bbe7c into opentibiabr:main Sep 29, 2023
luan added a commit that referenced this pull request Sep 30, 2023
…ripted-weapon-and-moveevent

* upstream/main: (21 commits)
  improve: revision of codes in data/ (#1374)
  fix: questlog message (#1648)
  improve: ensure players are removed from zones on death (#1650)
  improve: zstream static (#1644)
  feat: adding training shield and exercise shields (#1607)
  feat: benchmark tools (#1649)
  improve: optimize house/kv saves (#1634)
  fix: wong prey race ids and trashholder items (#1643)
  fix: move store items only to house tile (#1642)
  fix: attr condition enums (subid foods and others) (#1641)
  docs: add TNT Cloud support (#1639)
  fix: house transfer owner only in startup (#1621)
  fix: transfer house item (#1633)
  fix: some getUserdataShared and transfer house (sell) (#1632)
  fix: ammotype sanguine crossbow (#1624)
  feat: update talkactions add_addons and add_mounts (#1612)
  feature: imbuements get slot items (#1628)
  fix: reward container add charges to the items on boss death (#1629)
  improve: convert NetworkMessage and Combat to shared_ptr (#1627)
  feat: config.lua option for enable/disable mount in protection zone (#1599)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mensagem "Your questlog has been updated."
4 participants