StatusDef trouble

07/26/2015 00:14 Boul27#1
Hi epvpers

I'm here because i'm in front of a problem that i don't understand.

Here is my statudef table for the level 1
 
Lvl - Job - HP - SP - MP
1 - 0 - 250 - 195 - 85
1 - 1 - 310 - 125 - 120
1 - 2 - 215 - 245 - 110
1 - 3 - 225 - 205 - 130
1 - 4 - 195 - 131 - 251
1 - 5 - 210 - 125 - 220

Godbless is 0-0 (light-dark)

But when i create a char, for exemple, a war, the HP/PM/SP are :
HP :455
MP :171
SP :373

I already think about the base stat, but, my war have 9 points of REC (= 35 HP)
But 250+35 = 285, that's far from 455..

There is a huge difference, and i don't understand where it come from ...

i use ep 5.4 ps_game and ep6 game.exe

If someone can explain me ? Or give me clues to find why :)

Thank you
07/26/2015 02:15 [ADM]Lightning#2
Did you test the procedure using an Aol toon? A level 1 Aol fighter using the same status.def has only has only 205hp yet at creation has 352 hp. While not saying this proves anything besides Fury has a increase in HP over Aol lol. Did you level it to level 2 and see if the hp when up by the amount stated in the Status.def table in my case its a 28hp between level 1 and 2. Yet when i leveled up and didn't apply any stats i am looking at an increase of 41hp. It leads me to believe that the amount found in the status.def is applied with a coefficient.

Ill do some testing and get back to you.
07/26/2015 14:29 Boul27#3
Yep, i test with AoL toon, but did the same (with some variant with de additionnal HP)
As you, between level 1 and 2, i should have 100HP, but gain 134 HP

I will try some test too, and get back to you :)

edit : I take a look into ps_game, to find out if the stored proc to read statutsdefs was here, and there is :
[Only registered and activated users can see links. Click Here To Register...]

Next step maybe is to find out how ps_game (or dbAgent) return the HP to the game.exe

Thanks for you answer
07/27/2015 01:22 [ADM]Lightning#4
That's what I was thinking that maybe its increased exponentially by the ps_game or with a coefficient.
07/27/2015 07:49 Boul27#5
Yep, it confirmed what you said.

So, i'm searching where it's in the ps_game, there is only 3 variables (HP/PE/PM), but it's really difficult to find, and hard to understand correctly how it work :-s

Thank you for your answer :)

I will come back with a tut if i found how to do that :)
08/05/2015 06:06 slaifer10#6
Hello
This is not an bug
I discovered this because I have a similar error
this is a the diferent Hp/SP/Mp modes
i créate 4 characters with the 4 mods and can you see a grat different
in my db the defender lvl 10 have hp3637 and the modes easy and normal have this hp but the hard and ultimate modes don´t have this hp
here one screenshot
[Only registered and activated users can see links. Click Here To Register...]
08/05/2015 18:16 Boul27#7
Great ! That's a good point i haven't seen.
Maybe it can help.
I will take a look into all the process of creating a char and leveling it up ;)

Thank you

So !

I modify some trigger to "HARDLY" set HP/SP/MP
[Only registered and activated users can see links. Click Here To Register...]

The char "HP4" is the char in ultimate mode, with the modify trigger (and the other without)

But in game (with no bless ! )
[Only registered and activated users can see links. Click Here To Register...]

So, as i was suspecting, it's in the PS_GAME and/or the PS_DBAGENT :-/
08/05/2015 23:08 SkuulCandy#8
Takes into account the statistics of the instant level, and if a weapon is equipped according to the stat which gives?
08/06/2015 00:47 Big_#9
is you have the PS_Game.exe set past 70 and if u dident fix the status deffs to read these new lvls you will get a overlap for new low lvl toons to fix this you need the CE script that fixes the status deffs to read higher then lvl 70 ...... Here is the script edited to have max lvl 85 just change the 55 to watever hex decimal value you need u need to change the 55 on each line

NOTE this is For 5.4 PS_Game.exe

cmp ax,55
cmp ecx,55

08/06/2015 12:49 Boul27#10
Quote:
Originally Posted by Big_ View Post
is you have the PS_Game.exe set past 70 and if u dident fix the status deffs to read these new lvls you will get a overlap for new low lvl toons to fix this you need the CE script that fixes the status deffs to read higher then lvl 70 ...... Here is the script edited to have max lvl 85 just change the 55 to watever hex decimal value you need u need to change the 55 on each line

NOTE this is For 5.4 PS_Game.exe

cmp ax,55
cmp ecx,55

Thanks for your answer.

No skullcandy, all char are naked ;)

Big_
Yes, max level in ps_game goes to 80, but i stop the table at level70

Didn't thought it can cause this.

I will test asap and give you feedback (i use shen1l ps_game, so offset are different ..)

Thank you
08/06/2015 17:13 slaifer10#11
Quote:
Originally Posted by Boul27 View Post
Thanks for your answer.

i use shen1l ps_game, so offset or different
i use this ps_game and for me the modes easy and normal have the hp of the DB
but i have 2 bugs,
1 if i fill the table statsusdefs 71-80 this don't work and this bug the hp 1-9
2 in the levels 71+ you can´t earn more exp
08/06/2015 23:50 Big_#12
the Off sets should be the same i use the same ps_game
08/08/2015 01:07 sominus#13
Quote:
Originally Posted by slaifer10 View Post
2 in the levels 71+ you can´t earn more exp
I don't remember the offset, but there was a cmp ax, 46 that needs to be edited, and then you get EXP from killing mobs, past level 70

I think the offset was posted somewhere in the forums.
08/08/2015 07:53 Big_#14
i can lvl mine to lvl 85 so not shure what u done rong then if u used that CE script i posted befor you should be able to also just lower it to 80 if u need to rember 85= 55 in hex