Skip to content

feat Game Protocol 15.25 with Vocation Balancing Charges#788

Open
jprzimba wants to merge 16 commits into
mainfrom
game1525
Open

feat Game Protocol 15.25 with Vocation Balancing Charges#788
jprzimba wants to merge 16 commits into
mainfrom
game1525

Conversation

@jprzimba

@jprzimba jprzimba commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

This is Game Protocol 15.25 with Vocation Balancing Charges
This release was made by @Jattartajjar

More Info in issue
#773

Game Client
Remeres Map Editor
Crystal Server My AAC

@ivansho92

Copy link
Copy Markdown
Contributor

Interface: Scripts Interface
Callback ID: /home/crystalserver/data/scripts/spells/attack/flurry_of_blows.lua:onGetFormulaValuesPhysicalWOD
Error Description: ...talserver/data/scripts/spells/attack/flurry_of_blows.lua:61: attempt to call global 'onGetFormulaValuesPhysical' (a nil value)

i think the problem is here:
onGetFormulaValuesEnergy = loadstring(string.dump(onGetFormulaValues))
onGetFormulaValuesEarth = loadstring(string.dump(onGetFormulaValues))
onGetFormulaValuesPhysical = loadstring(string.dump(onGetFormulaValues))

In Lua, functions are first-class values; they are assigned directly without the need for serialization/deserialization with dump. All three variables will point to the same function, and WOD callbacks will be able to call them without issue.

possible fix:

onGetFormulaValuesEnergy = onGetFormulaValues
onGetFormulaValuesEarth = onGetFormulaValues
onGetFormulaValuesPhysical = onGetFormulaValues

@ivansho92

Copy link
Copy Markdown
Contributor

we are getting client crash with virtue for monks
image

@jeswilldbm

Copy link
Copy Markdown

I've found two bugs with EK:

  1. The "exori min" setting needs to be checked with the spell area increase using the wheel. When this increase is activated, the magic's area changes from 3 SQM to an excessive area, like an Exevo Vis Hur.

  2. The "battle healing" setting in the avatar area needs to be checked in the wheel. When a shield is equipped, the healing is tripled, and this effect is also missing.

@jprzimba

Copy link
Copy Markdown
Collaborator Author

we are getting client crash with virtue for monks image

No issues there
https://i.imgur.com/mRSJIix.mp4

@jprzimba

jprzimba commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator Author

no wheel
image

wheel config
image

new exori min
image

Test latest charges
Battle healing need to be checked soon

@jprzimba

Copy link
Copy Markdown
Collaborator Author

I've found two bugs with EK:

  1. The "exori min" setting needs to be checked with the spell area increase using the wheel. When this increase is activated, the magic's area changes from 3 SQM to an excessive area, like an Exevo Vis Hur.
  2. The "battle healing" setting in the avatar area needs to be checked in the wheel. When a shield is equipped, the healing is tripled, and this effect is also missing.

Fixed battle healling

Adds the spell-unlock banner the 15.x client shows when a player unlocks
a new spell ("New Spell Unlocked: <name>").
@jeswilldbm

Copy link
Copy Markdown

There's a bug with the Mana Buffer; when the player's HP drops to 1, it should penalize them by removing their mana, as described on the Tibia website.

image

And when testing, if the character is left with 1 HP, they only receive 1 damage but it is not deducted from mana or anywhere else.

Animation3

If I activate Utamo Vita, I receive mana damage, and if I use Exura, they take away my life until I'm left with 1 HP, but I never die.

@jeswilldbm

jeswilldbm commented Jun 24, 2026

Copy link
Copy Markdown

The Druid's new spells, "Forked Glacier" and "Forked Thorns," require a target to be cast on the server. In real-world (RL), these spells can be cast without a target and don't require the monster to be nearby to chain the spell.
Animation4

Also, the two spells don't have the same group cooldown. In RL, it's possible to chain one spell and then, two seconds later, the other.
In this version, if I cast one chain, I can't cast the other until the first one's cooldown has finished.
Animation5

To fix it, it's easy; just add the following to both spells:

spell:needTarget(false)
and
spell:groupCooldown(2 * 1000, 2 * 1000)
image

@jeswilldbm

Copy link
Copy Markdown

I've found two bugs with EK:

  1. The "exori min" setting needs to be checked with the spell area increase using the wheel. When this increase is activated, the magic's area changes from 3 SQM to an excessive area, like an Exevo Vis Hur.
  2. The "battle healing" setting in the avatar area needs to be checked in the wheel. When a shield is equipped, the healing is tripled, and this effect is also missing.

Fixed battle healling

Battle healing is still failing; now it only heals automatically every 2 seconds with 85 hit points when battle healing is active. The example shows that the healing does not increase.
Animation6

Mckay666 and others added 2 commits June 24, 2026 21:17
Adds the banners the 15.x client shows when a player finishes a Bounty task
or a Weekly specific-creature kill task ("Completed task: <creature>").
@jprzimba

Copy link
Copy Markdown
Collaborator Author

There's a bug with the Mana Buffer; when the player's HP drops to 1, it should penalize them by removing their mana, as described on the Tibia website.

image And when testing, if the character is left with 1 HP, they only receive 1 damage but it is not deducted from mana or anywhere else. Animation3 If I activate Utamo Vita, I receive mana damage, and if I use Exura, they take away my life until I'm left with 1 HP, but I never die.

Let's take this one step at a time, okay? I'm heading off to rest, but I've uploaded the fix for the Mana Buffer—please test it and share your results. I'll fix the remaining issues tomorrow.

@jeswilldbm

Copy link
Copy Markdown

There's a bug with the Mana Buffer; when the player's HP drops to 1, it should penalize them by removing their mana, as described on the Tibia website.
image
And when testing, if the character is left with 1 HP, they only receive 1 damage but it is not deducted from mana or anywhere else.
Animation3

    [
      
    
        <img alt="Animation3" height="625" src="https://private-user-images.githubusercontent.com/76903590/612704947-cf75e1d1-de2b-476b-9bf2-abe55e4f94ab.gif?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODIzNDk3MTIsIm5iZiI6MTc4MjM0OTQxMiwicGF0aCI6Ii83NjkwMzU5MC82MTI3MDQ5NDctY2Y3NWUxZDEtZGUyYi00NzZiLTliZjItYWJlNTVlNGY5NGFiLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjI1VDAxMDMzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ5MTEwZTJiNzJmZDllZjA4NDZiYTU0M2QzMGExYjg5YzM2YjEyNzI2N2Y4YjE5MjE1NDQ1MGM5Y2U4ZDQwNzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRmdpZiJ9.H4M8zekCpOOmUti3tIhZBE_Q5UJsyrp_K6BlCRXchns">
      ](https://private-user-images.githubusercontent.com/76903590/612704947-cf75e1d1-de2b-476b-9bf2-abe55e4f94ab.gif?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODIzNDk3MTIsIm5iZiI6MTc4MjM0OTQxMiwicGF0aCI6Ii83NjkwMzU5MC82MTI3MDQ5NDctY2Y3NWUxZDEtZGUyYi00NzZiLTliZjItYWJlNTVlNGY5NGFiLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjI1VDAxMDMzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ5MTEwZTJiNzJmZDllZjA4NDZiYTU0M2QzMGExYjg5YzM2YjEyNzI2N2Y4YjE5MjE1NDQ1MGM5Y2U4ZDQwNzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRmdpZiJ9.H4M8zekCpOOmUti3tIhZBE_Q5UJsyrp_K6BlCRXchns)
    
    
      
        
          
        
        
          
          
        
      
      [
        
          
        
      ](https://private-user-images.githubusercontent.com/76903590/612704947-cf75e1d1-de2b-476b-9bf2-abe55e4f94ab.gif?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODIzNDk3MTIsIm5iZiI6MTc4MjM0OTQxMiwicGF0aCI6Ii83NjkwMzU5MC82MTI3MDQ5NDctY2Y3NWUxZDEtZGUyYi00NzZiLTliZjItYWJlNTVlNGY5NGFiLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjI1VDAxMDMzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ5MTEwZTJiNzJmZDllZjA4NDZiYTU0M2QzMGExYjg5YzM2YjEyNzI2N2Y4YjE5MjE1NDQ1MGM5Y2U4ZDQwNzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRmdpZiJ9.H4M8zekCpOOmUti3tIhZBE_Q5UJsyrp_K6BlCRXchns)

If I activate Utamo Vita, I receive mana damage, and if I use Exura, they take away my life until I'm left with 1 HP, but I never die.

Let's take this one step at a time, okay? I'm heading off to rest, but I've uploaded the fix for the Mana Buffer—please test it and share your results. I'll fix the remaining issues tomorrow.

The mana buffer is now working correctly! Great job!

@jeswilldbm

Copy link
Copy Markdown

The effects of the stances on the spell "exevo vis lux" are missing. When using the "Master of Decay" stance, the spell does not become a death spell; it remains an energy spell. The rest of the spell changes.
master of decay

Similarly, with the "Master of Flames" stance, the spell doesn't become a fire spell; it remains an energy spell. Other spells tested with this stance do become fire spells.

master of flames

@jprzimba

Copy link
Copy Markdown
Collaborator Author

To fix it, it's easy; just add the following to both spells:

spell:needTarget(false) and spell:groupCooldown(2 * 1000, 2 * 1000)

Fixed, thanks

@jprzimba

Copy link
Copy Markdown
Collaborator Author

Master of Flame

Fixed, test and share results
Ty

@jeswilldbm

jeswilldbm commented Jun 25, 2026

Copy link
Copy Markdown

now working correctly! Great job!

energy beam now working correctly! Great job!

master of flames2

My testes using logger
[2026-27-06 08:30:00.481] [warning] [Battle Healing] Player: Rullys, Factor: 1.3, Primary: 1025 -> 1333, Secondary: 0 -> 0
[2026-27-06 08:30:24.279] [warning] [Battle Healing] Player: Rullys, Factor: 1.3, Primary: 993 -> 1291, Secondary: 0 -> 0
@jprzimba

jprzimba commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator Author

Fixed Battle Healling
My testes using logger
[2026-27-06 08:30:00.481] [warning] [Battle Healing] Player: Rullys, Factor: 1.3, Primary: 1025 -> 1333, Secondary: 0 -> 0
[2026-27-06 08:30:24.279] [warning] [Battle Healing] Player: Rullys, Factor: 1.3, Primary: 993 -> 1291, Secondary: 0 -> 0

Test and share your results

@jeswilldbm

jeswilldbm commented Jun 27, 2026

Copy link
Copy Markdown

Fixed Battle Healling My testes using logger [2026-27-06 08:30:00.481] [warning] [Battle Healing] Player: Rullys, Factor: 1.3, Primary: 1025 -> 1333, Secondary: 0 -> 0 [2026-27-06 08:30:24.279] [warning] [Battle Healing] Player: Rullys, Factor: 1.3, Primary: 993 -> 1291, Secondary: 0 -> 0

Test and share your results

The Battle Healling is now working correctly! Great job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants