PDA

View Full Version : backstabs


ryco
04-23-2002, 05:05 AM
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

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
(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

Trumpcard
04-27-2002, 11:53 PM
I can give you a really good free 32bit C/C++ compiler, but cant promise you it will compile this code, but give it a try and let me know if it works. I use to love using it in college.. And its got an IDE based on the old Borland one, which rocks if you ask me (The IDE is called RHIDE..

www.delorie.com

called djgpp.. Since its based on gcc, I would think you make me able to make it work switching some make defs around..

You could also download Cygwin, its got gcc in it..

ryco
04-29-2002, 06:38 AM
Actually could you just post the thing a link to the file you compiled ? would make things real real easier for me ...
thanks

devn00b
04-29-2002, 09:36 AM
i would but im not sure the devs would like me postting that here... if one would care to give me the okay i'll postt a link to the compiled one for you.

ryco
04-30-2002, 12:23 AM
True... Just mail it to o_billy1@caramail.com if you wish =)

Thankies

Ztaar
05-15-2002, 01:15 AM
Just as a followup....
I think the original formula is actually correct. Been doing some research on it and it appears that there has only been made a slight mistake.

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

The correct formula looks pretty much like it, but should be like this :
max_hit = (sint32)(((float)primaryweapon->common.damage * 2.0) + 1.0) * (((level - 25) / 3.0) + ((GetSTR() + GetSkill(0x08)) / 100));

Amazing what a calculator can do for ya :)

Ztaar
-- Nunc ille est magicus --