darkstar icon indicating copy to clipboard operation
darkstar copied to clipboard

Casket pr

Open Omnione opened this issue 5 years ago • 30 comments

Added all the remaining zone casket npc scripts. Added all zone mixins for caskets. Added all temp items that caskets use. Edited 2 effects that were not implimented.

I have spent many hours going over the drop rates of items, if anyone wants to make adjustments feel free to PR them if you feel they are off but right now they are as retail as i could get with limited info, but they feel right when playing.

Omnione avatar Dec 07 '19 21:12 Omnione

I double-checked all the tabled itemIds against the database to see if they matched the items named in LUA comments.

Found no incorrect itemids. :white_check_mark:

~~Only discrepancy, if you can call it that, is that the commented item names are misordered for~~

~~dsp.zone.THE_SHRINE_OF_RUAVITAU regionalItems = {11040, 10951}, -- Weaver's Torque / Terminus Earring~~

~~[dsp.zone.THE_BOYAHDA_TREE regionalItems = {11038, 10948}, -- Carver's Torque / Dragonkin Earring~~

edit: was fixed by OP

wrenffxi avatar Dec 07 '19 23:12 wrenffxi

For range hints on chest examine the high/low number is random number between 5-20 added/subtracted to the correct answer.

If the high/low number is greater than 98 or less than 11 the message changes to less/greater than

Credit goes to byrth for those findings, you can find detailed info in the boxdestroyer addon for windower or my ashita port of boxdestroyer Thief's tools range is 8-32, living key is 6-24 and skeleton key is 4-16

Ivaar avatar Dec 08 '19 02:12 Ivaar

You know this is one thing I was sad about, I’m not sure if I can get this to be compatible with box destroyer, I might have to do some research into what packet gets returned so I can get it pushed so box destroyer can pick it up

Omnione avatar Dec 08 '19 12:12 Omnione

You know this is one thing I was sad about, I’m not sure if I can get this to be compatible with box destroyer, I might have to do some research into what packet gets returned so I can get it pushed so box destroyer can pick it up

I think should just be the event packets (and messages?) that reach the client.

TeoTwawki avatar Dec 08 '19 18:12 TeoTwawki

You know this is one thing I was sad about, I’m not sure if I can get this to be compatible with box destroyer, I might have to do some research into what packet gets returned so I can get it pushed so box destroyer can pick it up

that think should just be the event packets (and messages?) that reach the client.

messageSpecial for 0x2A, what isn't compatible?

Ivaar avatar Dec 08 '19 22:12 Ivaar

not sure yet, i need to do some testing, ill let update if i find anything, it might be that dsp send the packet different

Omnione avatar Dec 08 '19 22:12 Omnione

or i need to add some params

Omnione avatar Dec 08 '19 22:12 Omnione

Oh wait is boxdestroyer dead now and we need to use lockpick?

Omnione avatar Dec 08 '19 22:12 Omnione

Lockpick is windower 5. Boxdestroyer should be working, are you on windower or ashita?

Ivaar avatar Dec 08 '19 22:12 Ivaar

windower

Omnione avatar Dec 08 '19 22:12 Omnione

Make sure you are using the one in the launcher? What specifically isn't working?

Ivaar avatar Dec 08 '19 22:12 Ivaar

im not getting any feedback at all from it on dsp, nothing at all

Omnione avatar Dec 08 '19 22:12 Omnione

im gonna try ashita see what i can get from that

Omnione avatar Dec 08 '19 22:12 Omnione

Likely due to DPS using player id in the menu event instead of the npc id.

Ivaar avatar Dec 08 '19 22:12 Ivaar

Ah thats probly what it is

Omnione avatar Dec 08 '19 23:12 Omnione

I'm going to work on adding the extra hints from different keys next, once this is ok

Omnione avatar Dec 09 '19 23:12 Omnione

Only discrepancy, if you can call it that, is that the commented item names are misordered for

dsp.zone.THE_SHRINE_OF_RUAVITAU regionalItems = {11040, 10951}, -- Weaver's Torque / Terminus Earring

[dsp.zone.THE_BOYAHDA_TREE regionalItems = {11038, 10948}, -- Carver's Torque / Dragonkin Earring

Oh i fixed this too btw

Omnione avatar Dec 09 '19 23:12 Omnione

took a bath

Omnione avatar Dec 10 '19 18:12 Omnione

Id like to make a note for this not to get merged until the problems of claiming with pets is resoloved please, as it will break as it currently is, as pet abilities do not claim pysical and magical.

Omnione avatar Dec 10 '19 21:12 Omnione

Casket Prowess from Regime needs to be divided by 100. It is not in percentage form and it is causing 100% casket rate with casket prowess.

m241dan avatar Jan 13 '20 16:01 m241dan

Casket Prowess from Regime needs to be divided by 100. It is not in percentage form and it is causing 100% casket rate with casket prowess.

I don't see it being touched in the PR and in master branch PROWESS_CASKET_RATE is still unimplemented.

TeoTwawki avatar Jan 13 '20 16:01 TeoTwawki

The effect isn't it. But he grabs the power straight off the effect, which is scripted in regimes.

So, there is no mod, no, but the effect still has power.

m241dan avatar Jan 13 '20 16:01 m241dan

Prowess is multiple effects:

    -- *Prowess increases not currently retail accurate.
    -- GoV Prowess bonus effects, real effect at ID 474
    PROWESS_CASKET_RATE      = 777, -- (Unimplemented)
    PROWESS_SKILL_RATE       = 778, -- (Unimplemented)
    PROWESS_CRYSTAL_YEILD    = 779, -- (Unimplemented)
    PROWESS_TH               = 780, -- +1 per tier
    PROWESS_ATTACK_SPEED     = 781, -- *flat 4% for now
    PROWESS_HP_MP            = 782, -- Base 3% and another 1% per tier.
    PROWESS_ACC_RACC         = 783, -- *flat 4% for now
    PROWESS_ATT_RATT         = 784, -- *flat 4% for now
    PROWESS_MACC_MATK        = 785, -- *flat 4% for now
    PROWESS_CURE_POTENCY     = 786, -- *flat 4% for now
    PROWESS_WS_DMG           = 787, -- (Unimplemented) 2% per tier.
    PROWESS_KILLER           = 788, -- *flat +4 for now

these are effect IDs and the effect was never implemented before this pr and I did not see it earlier, but maybe I missed it.

Pretty sure real problem lies in regimes.lua not having a specific case for the right prowess and applying to big a value to the wrong damn one because of it.

And fix that rebase @Omnione

TeoTwawki avatar Jan 14 '20 05:01 TeoTwawki

rebase required, stuff changed again

TeoTwawki avatar Jan 15 '20 19:01 TeoTwawki

Right that should all be good now, tested everything and it seems to be working well, cheers for helping Teo.

Omnione avatar Jan 15 '20 23:01 Omnione

:beers:

TeoTwawki avatar Jan 16 '20 01:01 TeoTwawki

Maybe we could test in oldschool? Metal should be online right now and I'll go online late in the evening with Jameson and Junioat 9:30PST

kaincenteno avatar Jan 16 '20 19:01 kaincenteno

Been using this PR on my server:

  • Quicksand Caves seems to be missing?
  • Sanctuary of ZiTah gives japanese characters on chests
  • I think you already got the Tahrongi issues
  • Yhoat "range" hints don't seem to give numbers
  • Also, on occassion after interacting with a chest everything becomes "too far" to interact with, and if you hit a zone line you go to an "unknown" zone.

m241dan avatar Jan 21 '20 22:01 m241dan

m241dan your right, • seems i missed quicksand caves. • Sanctuary of ZiTah same issue as Tahrongi. • Yhoat range hints, not sure about that, ill have to dig a bit deeper. • that last thing about zoning, wtf, lol i have no idea how that is happening.

Omnione avatar Jan 23 '20 21:01 Omnione

M241dan if you need to ask me anything you can hit me up on the dsp discord, i go by MrSent on there.

Omnione avatar Jan 23 '20 21:01 Omnione