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

Update scripts to current standards #24029

Open
Aokromes opened this issue Jan 1, 2020 · 16 comments
Open

Update scripts to current standards #24029

Aokromes opened this issue Jan 1, 2020 · 16 comments

Comments

@Aokromes
Copy link
Member

Aokromes commented Jan 1, 2020

Description:

We want to get rid of those ancient SD2 scripts. We will provide sniffs to whoever is inclined to improve them.

Please make one PR for each boss, not full instances. If you have plans to make multiple requests i suggest you to make them in a way that we can merge multiple pull requests at once.

Expected behaviour:

Scripts are updated to current standards and checked with sniffs.

Progress

Eastern Kingdoms

Instance Encounter Codestyle Checked with sniff Merged Complete Instance
Alterac Valley Vanndar #25181 yes
Molten Core Golemagg #25183 yes
Magisters' Terrace Priestess Delrissa

Kalimdor

Instance Encounter Codestyle Checked with sniff Merged Complete Instance
Dustwallow Marsh outdoor 8fa6f95
Feralas outdoor 5cddcc7
Azuregos #26392 fe41744

Outland

Instance Encounter Codestyle Checked with sniff Merged Complete Instance
Black Temple Black Temple yes yes

Northrend

Instance Encounter Codestyle Checked with sniff Merged Complete Instance
Ahn'Kahet Ahn'Kahet
Herald Volazj #25187 yes
Azjol-Nerub Azjol-Nerub
Anub'Arak #25192 yes
Gundrak Gundrak
Slad'ran #25180 yes
Drakkari Colossus #25182 yes
Violet Hold Violet Hold d22dcd1 yes
Cyanigosa #26371 94299a3
Utgarde Pinnacle Utgarde Pinnacle
Gortok Palehoof #26370 ba7f11c
Utgarde Keep Utgarde Keep
Ingvar #26369 8d9f24b
Instance Encounter Codestyle Checked with sniff Merged Complete Instance
Icecrown Citadel Icecrown Citadel yes yes
Blood council #25389 yes
Lich King #25396 yes
Sindragosa #25395 yes
Professor Putricide #25394 yes
Valithria Dreamwalker #25390 yes
Festergut #25391 yes
Rotface #25392 yes
Lady Deathwhisper #25393 yes
Blood Queen Lana'thel #25434 yes
Deathbringer Saurfang #25435 yes
Lord Marrowgar #25436 yes
Gunship Battle #25438 yes
Icecrown Citadel scripts #25439 yes
Vault of archavon Vault of archavon
Vault of archavon #26372 3ece1ee yes
Naxxramas Naxxramas yes
Thaddius #26391 07fe74b
Razuvious #26389 5293506
Sapphiron #26390 2cbfb78
Noth #26387 7dc1d5c
Patchwerk #26388 6f0bc11
Maexxna #26386 cb82cde
Heigan #26383 d694086
Kel'Thuzad #26384 ff4d9a8
Loatheb #26385 fb39a3c
Grobbulus #26382 cc3ef7e
Gluth #26380 44686c3
Gothik #26381 9c72ca2
Four Horsemen #26379 7ef0de8
Faerlina #26378 4d82c6a
Anub'Rekhan #26377 1288203

Class scripts

Class Codestyle Merged
Priest 7cb9cd9
Shaman b1e4d93
Warrior 5715ed0
Hunter 11ba46d

Branch(es):

both

TC rev. hash/commit:

be65f7d

@Faq
Copy link
Contributor

Faq commented Jan 19, 2020

Any example boss which scripted to newest standards?

@Aokromes Aokromes pinned this issue Jan 19, 2020
@ghost
Copy link

ghost commented Jan 19, 2020

Not 100% sure, but I assume 3.3.5/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp could be one of them, because it does not contain any /* ScriptData or SD reference lines, as well as being one of the most recently updated scripts.

@offl
Copy link
Contributor

offl commented Jan 19, 2020

Black Temple
P.S. Yogg-Saron isn't updated

@ghost
Copy link

ghost commented Jan 19, 2020

Thank you for correcting me. I just went with the idea that there was no reference to SD2 in the script or the header comment text.

@Keader
Copy link
Member

Keader commented Jan 19, 2020

@Faq Black Temple (in 3.3.5 branch) is 100% in new standards

@Aokromes
Copy link
Member Author

Aokromes commented May 7, 2020

also scripts using if (Is25ManRaid()) must be converted to spelldifficulty_dbc

@Aokromes
Copy link
Member Author

Aokromes commented Sep 4, 2020

@Aokromes
Copy link
Member Author

1c41c52 almost all icc is now updated to new model.

@Aokromes
Copy link
Member Author

unless missing something icc starting 54b9bb7 is complete to the new standards.

@sawd20
Copy link

sawd20 commented Nov 26, 2020

@Aokromes maybe ICC taps aswell like the one before Rotface And before PP

@Aokromes
Copy link
Member Author

added class spell scripts.

@Aokromes
Copy link
Member Author

naxxramas is now full updated.

@Aokromes
Copy link
Member Author

utgarde keep and pinnacle
old kingdom and black rock spire updated.

@offl
Copy link
Contributor

offl commented Jun 2, 2021

I think it's heavily misunderstood
What you want and what we have after updating scripts to new register model is different things
Updating scripts to new register model like it was done in Icecrown doesn't update them to modern standards, all my commits too doesn't(they're all wrongly named)
What you want is update scripts to new register model, update them from sniffs and update codestyle
It's a big task

@danjohnso
Copy link
Contributor

@Aokromes what is the preferred standard for handling spell difficulties between 10 and 25? Shauren made a comment on my recent PR that said spelldifficulty_dbc was not preferred to in code checks which would conflict with your note here

@Aokromes
Copy link
Member Author

Aokromes commented Aug 3, 2022

@Aokromes what is the preferred standard for handling spell difficulties between 10 and 25? Shauren made a comment on my recent PR that said spelldifficulty_dbc was not preferred to in code checks which would conflict with your note here

well, since shauren states it's incompatible with wotlk classic, that row is removed now.

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

No branches or pull requests

6 participants