PDA

View Full Version : SK lifetap shrouds


Maceblade
04-19-2013, 09:46 PM
Out of curiousity, has anyone been able to fix or know why the SK shrouds cast all the wrong spells? The last working shroud I have for SK's is lvl 37 Scream of Death.

For example:

level 67 SK spell Shroud of Discord, is supposed to have "shroud of discord strike" proc... However when it does fire, it fires off the spell Boggle which i believe is an enchanter spell.

Looking at the spell it says its a effect 85 (weapon proc) and to fire spell 6102 (shroud of discord strike) yet it fires Boggle which is spell id 3229.

3229 isn't anywhere in the spell file for either shroud...

Zamthos
04-19-2013, 10:06 PM
Question? If it isn't in your spell file, it may be a database-sided issue, or you don't have a spell file that goes with your database, there is a way to export the database into a spells_us.txt using the export_spells.pl that should be located somewhere in your folder, try getting that spell file and see if you have the same issue.

EDIT: In my database that spell does indeed have the strike as its proc.

Maceblade
04-19-2013, 10:25 PM
No what I was saying is Shroud of Discord says to proc Shroud of discord Strike which happens to be spell file id 6102. It all looks correctly labeled and done but its proc'n spell id 3229 (boggle) and the numbers 3229 do not appear in either spell file (not in the the buff Shroud of Discord, or the Shroud of Discord Strike lines at all)

So in other words, it all looks like it should. I have both spell files, and its all pointing in the right direction, I just cant figure out why every single shroud spell is casting different buffs... One shroud procs burn out 4, one procs a 70% haste spell called Rich's Test spell, and one I have no idea what it procs bc it keep saying you need to select a target.... the last working shroud I have is lvl 37.

Zamthos
04-19-2013, 10:32 PM
If it's not a spell file issue and not database-sided, then I have no idea how to diagnose your error, I tried, sorry for not being able to fix your issue, you could try to put a different spell in the proc of the Shroud of Discord and see if it actually procs that spell or another spell? More of a trial and error type thing, I hope you get it fixed. ~Harbinger Zamthos

AudioGarden21
04-19-2013, 11:19 PM
That sounds like the symptoms of a mismatched spells_new table and client spell file.

I just tested this on my server and everything is normal.

What you need to do is export your spells_new table into a spells_us.txt file using one of the exporters, then copy that to your main Everquest directory. This same thing will happen if you log onto any custom server that uses custom spell files and you're not using that exact spell file.

Zamthos
04-19-2013, 11:22 PM
I told him what you just said, but not exactly, I assumed he would know how to properly 'install' his spell file. 0.o

Maceblade
04-20-2013, 07:53 AM
I have the same spell file. Ive imported my client spell file bc it had 28k spells and my original server file only had 15k.

Im gonna do what Zam said and just swap out the strike portion of it with another spell ID and see if it fires that spell.

AudioGarden21
04-20-2013, 10:09 AM
I have the same spell file. Ive imported my client spell file bc it had 28k spells and my original server file only had 15k.

Im gonna do what Zam said and just swap out the strike portion of it with another spell ID and see if it fires that spell.

What client are you using? Each client can only handle a certain number of spells and anything above that number will cause errors like this, meaning that the 28k spell file you're using could be causing the issue.

Maceblade
04-20-2013, 01:23 PM
Underfoot client sir.

Klor_Warbringer
04-20-2013, 01:28 PM
I believe Underfoot has a low cap, I would recommend trying a newer client, possibly the UF/HoT and seeing if you still have the issue, some clients don't allow spells above 28,000 to be used at all, some don't like anything over 10,000, Titanium that is, and RoF is up to, I believe, 32,000.

Maceblade
04-20-2013, 01:37 PM
Even tho the spell id's themselves are 6102 and below, you think it might be the issue? That would suck lol, ill see if i can find a different client

Klor_Warbringer
04-20-2013, 01:59 PM
If it is such a low ID it may be file-linked, where exactly are you putting your spell file when you install it?

Maceblade
04-20-2013, 04:44 PM
my old file was only like 11k spells? that came with my rev, so i imported my spells_us out of my client eq file and those few spells are the only ones not working. Even my pets are working which a few servers had issues with.

Maceblade
04-20-2013, 05:24 PM
I stand corrected, all of my mana tap shrouds are working its just the HP ones past lvl 37.. idk what lvl 67 is casting it keeps asking to select a target, black shroud is casting Boggle thats what ive been kinda working with. When Use MQ to look at the spell info it says its casting the right strike, and even in the spell file it says its casting the right one. And I can #cast the strike and it works just fine, Im just not sure where the spell confusion is coming from.

demonstar55
04-20-2013, 05:37 PM
MQ fetches the information your client has about spells, which is spells_us.txt, your server DB must be wrong. Check what it says there.

EDIT:

run
SELECT `effect_base_value1` FROM `spells_new` WHERE `id` = '5327';

Maceblade
04-20-2013, 06:13 PM
I can see it. I open spells_new in navicat and can see everything. It shows 6102 in both navicat and in cmd when I ran your command. Thats what Im saying, it all shows as it should.

Mariomario
04-20-2013, 06:35 PM
I remember some of the Shadowknight self buffs were calculated differently as a weapon proc (Effect ID 85) from the normal spells self buff weapon procs (i.e Call of Fire for a ranger). Check out Shroud of Discord, you'll notice its attached with spellid 6101. Shroud of Discord Strike is actually spell ID 6102. For some reason shadowknight self buffs take the normal id + 1 for the actual spell thats proced.

I don't remember why it was coded this way, but I had the same problem when I tried making custom self buff procs for shadowknights or even changing the spell id from the self buff to something different and not getting the correct result. You won't see the correct information from MQ2 when the correct spell is linked. Its just the way it is.

Example:
You want spell Deadly Lifetap to proc instead. Its spell id is actually 993. You would put 992 in effect_base_value1 in the spells_new table. While MQ2 would display spell id 992 (Bamph) your character would actually proc spell id 993 (Deadly Lifetap).

I hope this is clear and understandable. I am also working with the original spells_new table from a clean PEQ install.

Maceblade
04-20-2013, 06:54 PM
Mario that actually made perfect sense and fixed it! You sir are amazing! Props to you!

Whats weird tho is it only happens after lvl 37, thank you sir!

Mariomario
04-20-2013, 07:21 PM
You're welcome. I'm glad I could help.

AudioGarden21
04-20-2013, 08:29 PM
Clearly this is not an issue with the latest database and executables seeing as I tried to replicate this issue on my server and everything between Vampiric Embrace and Shroud of Discord functioned perfectly for me.

You must be using and older version of the database and executables. For posterity's sake, is this true?

lerxst2112
04-20-2013, 09:56 PM
Well, this code is still in there:

//for some stupid reason SK procs return theirs one base off...
uint16 Mob::GetProcID(uint16 spell_id, uint8 effect_index) {
bool sk = false;
bool other = false;
for(int x = 0; x < 16; x++)
{
if(x == 4){
if(spells[spell_id].classes[4] < 255)
sk = true;
}
else{
if(spells[spell_id].classes[x] < 255)
other = true;
}
}

if(sk && !other)
{
return(spells[spell_id].base[effect_index] + 1);
}
else{
return(spells[spell_id].base[effect_index]);
}
}

But the sk only proc spells should be set up to account for it.

AudioGarden21
04-21-2013, 03:29 PM
Yeah. I just looked at the spell file in JSRE editor and it displays 6101 spell id for Shroud of Discord instead of 6102 for the strike effect. S'pretty strange it's set up this way, or whatever would cause it to require it being set up like this.

Maceblade
04-21-2013, 03:52 PM
Indeed it is strange but hopefully this helps other people out as well and new server's coming up that encounter this. I appreciate all of you guys looking into this and helping out!

mamba667
08-21-2014, 05:40 PM
This post helped me thank you. As of Aug 2014 you still have to use spell id -1 for the proc to work correctly.