EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   backstabs (https://www.eqemulator.org/forums/showthread.php?t=1400)

ryco 04-23-2002 05:05 AM

backstabs
 
Just to help...
Noticed that backstabs were kinda fucked up, with a 29 dmg piercing weapon and 1400+ atk, lvl 60... I can only do like 700dmg ... on live server you can do around 600-650 with a 16dmg piercer, so I would guess a 29 one would be over 2k dmg ...

Would be cool to see it fixed =)

EmuSharky 04-23-2002 05:10 AM

Good idea :-)

-Sharky

Hmm 04-23-2002 12:27 PM

lol i tried 127 1 one ( tiny dagger)

i did 2k damage im guessing it should be much more massive..

ryco 04-24-2002 12:57 AM

lol with 127 you should do over 10k ? maybe even 20 ? I think backstab dmg in EQ live is exponential ( or however you spell it )

Ruzkz 04-24-2002 03:30 AM

The formula emu uses is from the safehouse i think... That formula was derived from log parses on relatively low DMG weapons (highest rogue usable normal rogue piercer is 16 (bloodbath)) which is why it's not accurate for the higher up damage weapons..

fool around with these lines in attack.cpp and recompile the zone server if you want to change it
Code:

        skillmodifier = (float)bs_skill/25.0;        //formula's from [url]www.thesafehouse.org[/url]
        // formula is (weapon damage * 2) + 1 + (level - 25)/3 + (strength+skill)/100
        max_hit = (sint32)(((float)primaryweapon->common.damage * 2.0) + 1.0 + ((level - 25)/3.0) + ((GetSTR()+GetSkill(0x08))/100));
        max_hit = max_hit * skillmodifier;


DeletedUser 04-24-2002 04:25 AM

On live servers, a rogue would NEVER have a main hand piercer like that.... that is why we can't duplicate it. Name one 29dmg rogue piercer in game:)

ryco 04-24-2002 09:02 AM

Hehe that's not really the point ... do you see chars lvl 60 with vulak loot with 10 mins of play time on live servers ? Or even 100/10 2handers ? Don't think so~
Well I don't really see the point of lowering the power of backstab :confused:

Thanks for the code lines... but I don't think I've the skills to do anything with that ehhehe

Ztaar 04-26-2002 02:10 AM

I think it's the formula from safehouse that's the error. I did some fooling around with my lvl 20 rogue (on a "real" server) to test it.
Unbuffed I have a STR of 119. Then I buffed myself with my 54 shammy and got up to a STR of 253 (my BS skill is only 70 due to PL'ing).
My max backstab unbuffed was 60 with a dmg 9 piercer (haven't really twinked my rogue :) ), buffed I had a BS of 89.
According to the safehouse-formula, the maximum dmg increase from the extra 134 str would be :
(skill / 25) * (STR /100)
Which would be (70/25)*(134/100) = 3,752
Unless I suck at calculating, this seems like a way too low dmg-bonus for adding 134 to STR.
I don't know how safehouse got that formula, but I think someone should be able to come up with a better one.

Ztaar
-- Nunc ille est magicus --

Blacklight 04-26-2002 02:58 AM

Ummm wait a second....
 
(75/25)*(134/100) = 4.2

I don't have a masters degree in mathmatics so...... /baffle

Blacklight,

"/guild I don't recognize that MOB!" <Warrior argos MOB and now I see his back> "/guild OK! I recognize that MOB now!"

ok ... I see now. (70/25)*(134/100) = 3.752 (that ia a decimal point... not a comma) I feel better now. If you multiply your answer by the weapon dammage, Your numbers start to look more like what your trying to find. (3.75 * 9) = 33 bonus dammage for backstabbing due to a 134 STR increase.

Ztaar 04-26-2002 11:27 PM

Hmm, yes... Multiplying with the weapon dmg would do the trick. someone should really make that change in the code :)

Ztaar
-- Nunc ille est magicus --

devn00b 04-27-2002 05:57 AM

Here is what i did to the code to make it a little more realistic (BSes on the lower end are a little harder but what i want is top end dammage.. here is the code in the source stock.

max_hit = (sint32)(((float)primaryweapon->common.damage * 2.0) + 1.0 + ((level - 25)/3.0) + ((GetSTR()+GetSkill(0x08))/100));


I changed it to

max_hit = (sint32)(((float)primaryweapon->common.damage * 5.0) + 1.0 + ((level - 25)/3.0) + ((GetSTR()+GetSkill(0x08))/100));

Chance was * 2.0 becomes * 5.0 seemed to beef up the backstabs enough loaded a 27 dammaged piercer and seemed to hit like it should, my 4 dammage piercer hit slightly more but not too much that i would say its over powerd.

ryco 04-27-2002 10:59 AM

sounds cool...
Sorry to ask but ... Could you explain how to easly change that on my game ?

devn00b 04-27-2002 12:41 PM

Would have to compile that from source. realy isnt that hard. if you have a compiler just do a search for those lines of text and change them as above and compile

Ariak 04-27-2002 01:24 PM

::: SPOILER NOTE :::
15 Dmg Backstab, max crit you can do (W/O Backstab Mods) is 1888 according to Tigole Bitties, of Legacy of Steel.

ryco 04-27-2002 09:57 PM

(((( Can someone give me a link to some kind of compiler i could download ? I've some bases in C++ from school but that's it , should be able to do what you said , just need a prog to do it hehe =) ))))

Edit :
Just modified attack.cpp with Norton Commander... but now I've no clue what to do with this attack.cpp lol


All times are GMT -4. The time now is 05:36 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.