Trinitycore: DB/Spells: Riding skills

Created on 3 Feb 2021  ·  18Comments  ·  Source: TrinityCore/TrinityCore

Description:

Fix to the current riding skills one can learn at the trainer

Expected behaviour:

Rank | Speed | Training cost | Required level
-- | -- | -- | --
Apprentice Riding | 60% | 100s | 10
Journeyman Riding | 100% | 50g | 20
Expert Riding | 150% | 250g | 30
Master Riding | 310% | 5,000g | 40

Steps to reproduce the problem:

  1. Create a new character
  2. Go to a riding trainer
  3. Look at the available spells.

Branch(es):

Master

TC rev. hash/commit:

23144d0665504e2e24ee790e900bb8de0df4aa08

Operating system:

Windows 10

Fix:

I removed the content since it contains a hack. To fix the issue there is also some code changes that have to be done, so it will be done in a separate issue. This will be closed soon.

Branch-master Comp-Database Feedback-PatchFix

All 18 comments

The cost of "Apprentice Riding" should not be 9 copper.
Retail costs are 95 silver :D
everything else is fine in the SQL

WoWScrnShot_020321_215013

Quick note:
the hotfix doesn't seem to be needed on the client and it's used because we use the .db2 on the server side.

Not sure if it's known or not, so just fyi.

So the guess here is that db2 data of skill_line_ability is actually outdated (maybe blizzard is not updating the shipped one anymore?). Thats why we might require that hotfix statement for serverside at least.

Ref: https://www.wowhead.com/news=312151/artisan-riding-skill-removed-in-shadowlands

I might take a look later

-- -- Apprentice riding skill
UPDATE `trainer_spell` SET `MoneyCost` = 1000, `ReqLevel` = 10 WHERE `SpellId` = 33389;

MoneyCost must be 10000

-- -- Apprentice riding skill
UPDATE `trainer_spell` SET `MoneyCost` = 1000, `ReqLevel` = 10 WHERE `SpellId` = 33389;

MoneyCost must be 10000

Price should be 10s, no?

I was following this:
https://www.wowhead.com/guides/shadowlands-flying-riding-pathfinder

On Retail it was 95 silver tested it yesterday with a fresh Character

On Retail it was 95 silver tested it yesterday with a fresh Character

I'm guessing you have some sort of discount from reputation and the price is 100s then; cool.

Costs on Retail with a fresh lvl 1 Char :)

WoWScrnShot_020421_202527

@Naddley What's the reputation with stormwind on a newly fresh lvl 1 char?
Edit: My guess is friendly.

Friendly on every Alliance Race faction. Core seems to handle the price right ;D

10000 it is then.
Thanks for checking it out btw :D

hotfix part is a hack btw
we ahve to investigate it

@matanshukry : regarding your ticket title "[PR] DB/Spells - Riding Skills" — may I suggest a few topical adjustments?

  1. Ticket titles don't use "PR" as part of the title, unless directly referring to a PR (Pull Request) page.
  2. The preferred (although not required) way of forming the title is by separating the tag/keywords from the description with a colon (:) instead of a dash (-).

Based on this, I would like to recommend the following: DB/Spells: Riding skills + Training cost

@illfated Cool, I'll follow that.
But what can I add to the title to distinguish between issues that are related to DB rather than ones that actually contains the fixes? (since submitting PRs with only sql files is prohibited / done using issues)

hotfix part is a hack btw
we ahve to investigate it
yeah Shauren already helped me with that acutally. I'll change the post soon to the correct fix.

what can I add to the title to distinguish between issues that are related to DB rather than ones that actually contains the fixes?

No difference required in the ticket title. TrinityCore does not distinguish between tickets containing solutions and those only describing the issue. GitHub labels are used to highlight the category, just like [Comp-Database] for DB related issues, and [Feedback-PatchFix] for tickets containing solutions.

BTW, did you intend to close this ticket? Unless you want any follow-up moved to a PR or other ticket, you could leave this one open.

Yeah I did intend to close this ticket.
This issue was meant as a fix, but now I'm gonna do it using a PR since it will include c++ code as well and will be a different fix.

This issue can be left as one simply describing the problem, it just feels weird having an issue for a PR I'm going to create soon.
You can reopen it if you want though.

Thank you for explaining, the details are good, as well as the decision to close this ticket. Thank you. 👍🏻

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Amit86 picture Amit86  ·  58Comments

MrSmite picture MrSmite  ·  60Comments

minkokomaung picture minkokomaung  ·  69Comments

RedSonja picture RedSonja  ·  65Comments

Vincent-Michael picture Vincent-Michael  ·  98Comments