Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Some fixes events, configkey, optional stages, xp gain rate #2706

Closed
wants to merge 3 commits into from
Closed

Some fixes events, configkey, optional stages, xp gain rate #2706

wants to merge 3 commits into from

Conversation

beats-dh
Copy link
Contributor

PR #2692

Fixes:

  • #2464

Copy link

@Bipbop69 Bipbop69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

player.lua:Player@onGainExperience
data/events/scripts/player.lua:744: attempt to perform arithmetic on global 'baseExp' (a nil value)
stack traceback:
[C]: in function '__mul'
data/events/scripts/player.lua:744: in function <data/events/scripts/player.lua:702>
not doing the calculation when player has exp play + xp store + green stamina

@beats-dh
Copy link
Contributor Author

beats-dh commented Sep 3, 2021

player.lua:Player@onGainExperience
data/events/scripts/player.lua:744: attempt to perform arithmetic on global 'baseExp' (a nil value)
stack traceback:
[C]: in function '__mul'
data/events/scripts/player.lua:744: in function <data/events/scripts/player.lua:702>
not doing the calculation when player has exp play + xp store + green stamina

It's accusing error on line 744 I checked and didn't make changes to it, you have the PR Branch without changes?

@Bipbop69
Copy link

Bipbop69 commented Sep 3, 2021

It's accusing error on line 744 I checked and didn't make changes to it, you have the PR Branch without changes?

I'm using the current version with this commit.
putting it uses the exp of the stage in place of the base is ok.

but you will have the problems I said

exp prey is not being and store is not pulling correctly
in this case it would have to be applied in the stage the player is in but it is always being applied in the mob's exp

@dudantas
Copy link
Member

It will be fixed in the repository: https://github.com/opentibiabr/otservbr-global-datapack

@dudantas dudantas closed this Sep 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants