Register for your free account! | Forgot your password?

You last visited: Today at 08:14

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



StatusDef trouble

Discussion on StatusDef trouble within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2014
Posts: 119
Received Thanks: 27
StatusDef trouble

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
Boul27 is offline  
Old 07/26/2015, 02:15   #2
 
[ADM]Lightning's Avatar
 
elite*gold: 0
Join Date: Jul 2015
Posts: 42
Received Thanks: 22
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.
[ADM]Lightning is offline  
Old 07/26/2015, 14:29   #3
 
elite*gold: 0
Join Date: Mar 2014
Posts: 119
Received Thanks: 27
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 :


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

Thanks for you answer
Boul27 is offline  
Old 07/27/2015, 01:22   #4
 
[ADM]Lightning's Avatar
 
elite*gold: 0
Join Date: Jul 2015
Posts: 42
Received Thanks: 22
That's what I was thinking that maybe its increased exponentially by the ps_game or with a coefficient.
[ADM]Lightning is offline  
Old 07/27/2015, 07:49   #5
 
elite*gold: 0
Join Date: Mar 2014
Posts: 119
Received Thanks: 27
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
Boul27 is offline  
Old 08/05/2015, 06:06   #6
 
elite*gold: 0
Join Date: Apr 2013
Posts: 28
Received Thanks: 36
Smile

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
slaifer10 is offline  
Thanks
1 User
Old 08/05/2015, 18:16   #7
 
elite*gold: 0
Join Date: Mar 2014
Posts: 119
Received Thanks: 27
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


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

But in game (with no bless ! )


So, as i was suspecting, it's in the PS_GAME and/or the PS_DBAGENT :-/
Boul27 is offline  
Old 08/05/2015, 23:08   #8
 
SkuulCandy's Avatar
 
elite*gold: 0
Join Date: Apr 2015
Posts: 424
Received Thanks: 113
Takes into account the statistics of the instant level, and if a weapon is equipped according to the stat which gives?
SkuulCandy is offline  
Old 08/06/2015, 00:47   #9
 
elite*gold: 0
Join Date: Jul 2009
Posts: 380
Received Thanks: 85
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

Big_ is offline  
Thanks
2 Users
Old 08/06/2015, 12:49   #10
 
elite*gold: 0
Join Date: Mar 2014
Posts: 119
Received Thanks: 27
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
Boul27 is offline  
Old 08/06/2015, 17:13   #11
 
elite*gold: 0
Join Date: Apr 2013
Posts: 28
Received Thanks: 36
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
slaifer10 is offline  
Old 08/06/2015, 23:50   #12
 
elite*gold: 0
Join Date: Jul 2009
Posts: 380
Received Thanks: 85
the Off sets should be the same i use the same ps_game
Big_ is offline  
Thanks
1 User
Old 08/08/2015, 01:07   #13
 
elite*gold: 0
Join Date: Jul 2010
Posts: 523
Received Thanks: 523
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.
sominus is offline  
Old 08/08/2015, 07:53   #14
 
elite*gold: 0
Join Date: Jul 2009
Posts: 380
Received Thanks: 85
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
Big_ is offline  
Reply


Similar Threads Similar Threads
[Release]EP5 StatusDef fix
05/30/2016 - Shaiya PServer Development - 14 Replies
It is a known bug that some of the StatusDef values is not correct once you add a definition for Lvl 60-70. I am going to show you guys how to fix this by changing some code in ps_game.exe. The change in code allows you to safely add StatusDefs for level 60-70 withouth affecting other values. The problem is further stated at http://www.elitepvpers.com/forum/shaiya-private-se rver/977292-hp-sp-mp-problem.html 1. Open 'ps_game.exe' in OllyDbg 2. Go to the offset 4BFD46, This is the code...
[ReRelease]Shaiya StatusDef's and EXPDefs Generators
02/14/2014 - Shaiya PServer Guides & Releases - 4 Replies
Im Not sure if these have been released here before but here you go: The names of the programs are self explanatory I hope. For the ExpDefs Generator, in the multiplier field do not enter any value above 1.5 as the result will disappoint both you and your database. It's much more simple for the StatusDefs Generator, as the values can't go really high and uncontrolled. Enjoy !
pls help a guy in trouble
12/29/2012 - Archlord - 2 Replies
i stopped playing 4 months ago and now when i came back i patched all,,, then i noticed i cant see elixirs and bg material,,, pls someone upload here that patch from august,,, thx in advance :S
StatusDef's Doesnt Match stats ingame.
12/24/2011 - Shaiya Private Server - 1 Replies
Hello im already reading this forum a long time. But i got a small problem with our private server. Our StatusDef's are the normal ones for each level but when we are ingame we have like 6k HP with our classes on level 1. Thnx in advantage.;) Ncro.



All times are GMT +1. The time now is 08:14.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.