|
You last visited: Today at 08:14
Advertisement
StatusDef trouble
Discussion on StatusDef trouble within the Shaiya PServer Development forum part of the Shaiya Private Server category.
07/26/2015, 00:14
|
#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
|
|
|
07/26/2015, 02:15
|
#2
|
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.
|
|
|
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
|
|
|
07/27/2015, 01:22
|
#4
|
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.
|
|
|
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
|
|
|
08/05/2015, 06:06
|
#6
|
elite*gold: 0
Join Date: Apr 2013
Posts: 28
Received Thanks: 36
|
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
|
|
|
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 :-/
|
|
|
08/05/2015, 23:08
|
#8
|
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?
|
|
|
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
[ENABLE]
004651D9:
cmp ax,55
jae ps_game.exe+6522B
0046507D:
cmp ax,55
jae ps_game.exe+65222
0046143E:
cmp eax,55
jg ps_game.exe+6145A
00480FC4:
cmp ebx,55
jnge 00480FB3
0049B5DE:
cmp ebx,55
jg 0049B5FB
0049B63A:
cmp ebx,55
jg 0049B657
0049B68E:
cmp ebx,55
jg 0049B6AB
0049B7C2:
cmp ebx,55
jg 0049B7DF
0049B81E:
cmp ebx,55
jg 0049B83B
0049B872:
cmp ebx,55
jg 0049B88F
0049BD9E:
cmp ebx,55
jg 0049BDB7
0049BDCF:
cmp ebx,55
jg 0049BDE8
0049BE00:
cmp ebx,55
jg 0049BE19
0049BEDB:
cmp ebx,55
jg 0049BEF8
00460C55:
cmp ecx,55
jg 00460C6B
00460C85:
cmp ecx,55
jg 00460C9B
00460CB5:
cmp ecx,55
jg 00460CCB
0046135B:
cmp ecx,55
jg 00461382
004613AC:
cmp ecx,55
jg 004613C9
004613F9:
cmp ecx,55
jg 00461416
00464FF5:
cmp ecx,55
jg 00465007
0046515F:
cmp ecx,55
jg 00465172
004651EA:
cmp ecx,55
jg 004651FD
0046523F:
cmp ecx,55
jg 00465252
00467BFC:
cmp ecx,55
jg 00467C11
004612CC:
cmp edx,55
jg 004612E5
004612F7:
cmp edx,55
jg 00461310
00461322:
cmp edx,55
jg 0046133C
0049241B:
cmp edx,55
jg 00492430
00547019:
cmp eax,55
jl 00547125
0049BF34:
cmp ebx,55
jg 0049BF51
0049BF81:
cmp ebx,55
jg 0049BF9E
0049BFD1:
cmp ebx,55
jg 0049BFEE
0049C013:
cmp ebx,55
jg 0049C030
0049C052:
cmp ebx,55
jg 0049C084
0049C0B4:
cmp ebx,55
jg 0049C0D1
0049C10D:
cmp ebx,55
jg 0049C12A
0049C15A:
cmp ebx,55
jg 0049C177
0049C1AA:
cmp ebx,55
jg 0049C1C7
0049C1EC:
cmp ebx,55
jg 0049C209
0049C22B:
cmp ebx,55
jg 0049C246
00480E0C:
cmp ecx,55
ja 00480D96
0049243B:
cmp ecx,55
jg 0049244E
0049B4A2:
cmp ecx,55
jg 0049B4BB
0049B4D3:
cmp ecx,55
jg 0049B4EC
0049B504:
cmp ecx,55
jg 0049B51D
0049BB75:
cmp ecx,55
jg 0049BB8A
0049BB9C:
cmp ecx,55
jg 0049BBAF
[DISABLE]
004651D9:
cmp ax,55
jae ps_game.exe+6522B
0046507D:
cmp ax,55
jae ps_game.exe+65222
0046143E:
cmp eax,55
jg ps_game.exe+6145A
00480FC4:
cmp ebx,55
jnge 00480FB3
0049B5DE:
cmp ebx,55
jg 0049B5FB
0049B63A:
cmp ebx,55
jg 0049B657
0049B68E:
cmp ebx,55
jg 0049B6AB
0049B7C2:
cmp ebx,55
jg 0049B7DF
0049B81E:
cmp ebx,55
jg 0049B83B
0049B872:
cmp ebx,55
jg 0049B88F
0049BD9E:
cmp ebx,55
jg 0049BDB7
0049BDCF:
cmp ebx,55
jg 0049BDE8
0049BE00:
cmp ebx,55
jg 0049BE19
0049BEDB:
cmp ebx,55
jg 0049BEF8
00460C55:
cmp ecx,55
jg 00460C6B
00460C85:
cmp ecx,55
jg 00460C9B
00460CB5:
cmp ecx,55
jg 00460CCB
0046135B:
cmp ecx,55
jg 00461382
004613AC:
cmp ecx,55
jg 004613C9
004613F9:
cmp ecx,55
jg 00461416
00464FF5:
cmp ecx,55
jg 00465007
0046515F:
cmp ecx,55
jg 00465172
004651EA:
cmp ecx,55
jg 004651FD
0046523F:
cmp ecx,55
jg 00465252
00467BFC:
cmp ecx,55
jg 00467C11
004612CC:
cmp edx,55
jg 004612E5
004612F7:
cmp edx,55
jg 00461310
00461322:
cmp edx,55
jg 0046133C
0049241B:
cmp edx,55
jg 00492430
00547019:
cmp eax,55
jl 00547125
0049BF34:
cmp ebx,55
jg 0049BF51
0049BF81:
cmp ebx,55
jg 0049BF9E
0049BFD1:
cmp ebx,55
jg 0049BFEE
0049C013:
cmp ebx,55
jg 0049C030
0049C052:
cmp ebx,55
jg 0049C084
0049C0B4:
cmp ebx,55
jg 0049C0D1
0049C10D:
cmp ebx,55
jg 0049C12A
0049C15A:
cmp ebx,55
jg 0049C177
0049C1AA:
cmp ebx,55
jg 0049C1C7
0049C1EC:
cmp ebx,55
jg 0049C209
0049C22B:
cmp ebx,55
jg 0049C246
00480E0C:
cmp ecx,55
ja 00480D96
0049243B:
cmp ecx,55
jg 0049244E
0049B4A2:
cmp ecx,55
jg 0049B4BB
0049B4D3:
cmp ecx,55
jg 0049B4EC
0049B504:
cmp ecx,55
jg 0049B51D
0049BB75:
cmp ecx,55
jg 0049BB8A
0049BB9C:
cmp ecx,55
jg 0049BBAF
|
|
|
08/06/2015, 12:49
|
#10
|
elite*gold: 0
Join Date: Mar 2014
Posts: 119
Received Thanks: 27
|
Quote:
Originally Posted by Big_
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
[ENABLE]
004651D9:
cmp ax,55
jae ps_game.exe+6522B
0046507D:
cmp ax,55
jae ps_game.exe+65222
0046143E:
cmp eax,55
jg ps_game.exe+6145A
00480FC4:
cmp ebx,55
jnge 00480FB3
0049B5DE:
cmp ebx,55
jg 0049B5FB
0049B63A:
cmp ebx,55
jg 0049B657
0049B68E:
cmp ebx,55
jg 0049B6AB
0049B7C2:
cmp ebx,55
jg 0049B7DF
0049B81E:
cmp ebx,55
jg 0049B83B
0049B872:
cmp ebx,55
jg 0049B88F
0049BD9E:
cmp ebx,55
jg 0049BDB7
0049BDCF:
cmp ebx,55
jg 0049BDE8
0049BE00:
cmp ebx,55
jg 0049BE19
0049BEDB:
cmp ebx,55
jg 0049BEF8
00460C55:
cmp ecx,55
jg 00460C6B
00460C85:
cmp ecx,55
jg 00460C9B
00460CB5:
cmp ecx,55
jg 00460CCB
0046135B:
cmp ecx,55
jg 00461382
004613AC:
cmp ecx,55
jg 004613C9
004613F9:
cmp ecx,55
jg 00461416
00464FF5:
cmp ecx,55
jg 00465007
0046515F:
cmp ecx,55
jg 00465172
004651EA:
cmp ecx,55
jg 004651FD
0046523F:
cmp ecx,55
jg 00465252
00467BFC:
cmp ecx,55
jg 00467C11
004612CC:
cmp edx,55
jg 004612E5
004612F7:
cmp edx,55
jg 00461310
00461322:
cmp edx,55
jg 0046133C
0049241B:
cmp edx,55
jg 00492430
00547019:
cmp eax,55
jl 00547125
0049BF34:
cmp ebx,55
jg 0049BF51
0049BF81:
cmp ebx,55
jg 0049BF9E
0049BFD1:
cmp ebx,55
jg 0049BFEE
0049C013:
cmp ebx,55
jg 0049C030
0049C052:
cmp ebx,55
jg 0049C084
0049C0B4:
cmp ebx,55
jg 0049C0D1
0049C10D:
cmp ebx,55
jg 0049C12A
0049C15A:
cmp ebx,55
jg 0049C177
0049C1AA:
cmp ebx,55
jg 0049C1C7
0049C1EC:
cmp ebx,55
jg 0049C209
0049C22B:
cmp ebx,55
jg 0049C246
00480E0C:
cmp ecx,55
ja 00480D96
0049243B:
cmp ecx,55
jg 0049244E
0049B4A2:
cmp ecx,55
jg 0049B4BB
0049B4D3:
cmp ecx,55
jg 0049B4EC
0049B504:
cmp ecx,55
jg 0049B51D
0049BB75:
cmp ecx,55
jg 0049BB8A
0049BB9C:
cmp ecx,55
jg 0049BBAF
[DISABLE]
004651D9:
cmp ax,55
jae ps_game.exe+6522B
0046507D:
cmp ax,55
jae ps_game.exe+65222
0046143E:
cmp eax,55
jg ps_game.exe+6145A
00480FC4:
cmp ebx,55
jnge 00480FB3
0049B5DE:
cmp ebx,55
jg 0049B5FB
0049B63A:
cmp ebx,55
jg 0049B657
0049B68E:
cmp ebx,55
jg 0049B6AB
0049B7C2:
cmp ebx,55
jg 0049B7DF
0049B81E:
cmp ebx,55
jg 0049B83B
0049B872:
cmp ebx,55
jg 0049B88F
0049BD9E:
cmp ebx,55
jg 0049BDB7
0049BDCF:
cmp ebx,55
jg 0049BDE8
0049BE00:
cmp ebx,55
jg 0049BE19
0049BEDB:
cmp ebx,55
jg 0049BEF8
00460C55:
cmp ecx,55
jg 00460C6B
00460C85:
cmp ecx,55
jg 00460C9B
00460CB5:
cmp ecx,55
jg 00460CCB
0046135B:
cmp ecx,55
jg 00461382
004613AC:
cmp ecx,55
jg 004613C9
004613F9:
cmp ecx,55
jg 00461416
00464FF5:
cmp ecx,55
jg 00465007
0046515F:
cmp ecx,55
jg 00465172
004651EA:
cmp ecx,55
jg 004651FD
0046523F:
cmp ecx,55
jg 00465252
00467BFC:
cmp ecx,55
jg 00467C11
004612CC:
cmp edx,55
jg 004612E5
004612F7:
cmp edx,55
jg 00461310
00461322:
cmp edx,55
jg 0046133C
0049241B:
cmp edx,55
jg 00492430
00547019:
cmp eax,55
jl 00547125
0049BF34:
cmp ebx,55
jg 0049BF51
0049BF81:
cmp ebx,55
jg 0049BF9E
0049BFD1:
cmp ebx,55
jg 0049BFEE
0049C013:
cmp ebx,55
jg 0049C030
0049C052:
cmp ebx,55
jg 0049C084
0049C0B4:
cmp ebx,55
jg 0049C0D1
0049C10D:
cmp ebx,55
jg 0049C12A
0049C15A:
cmp ebx,55
jg 0049C177
0049C1AA:
cmp ebx,55
jg 0049C1C7
0049C1EC:
cmp ebx,55
jg 0049C209
0049C22B:
cmp ebx,55
jg 0049C246
00480E0C:
cmp ecx,55
ja 00480D96
0049243B:
cmp ecx,55
jg 0049244E
0049B4A2:
cmp ecx,55
jg 0049B4BB
0049B4D3:
cmp ecx,55
jg 0049B4EC
0049B504:
cmp ecx,55
jg 0049B51D
0049BB75:
cmp ecx,55
jg 0049BB8A
0049BB9C:
cmp ecx,55
jg 0049BBAF
|
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
|
#11
|
elite*gold: 0
Join Date: Apr 2013
Posts: 28
Received Thanks: 36
|
Quote:
Originally Posted by Boul27
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
|
#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
|
|
|
08/08/2015, 01:07
|
#13
|
elite*gold: 0
Join Date: Jul 2010
Posts: 523
Received Thanks: 523
|
Quote:
Originally Posted by slaifer10
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
|
#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
|
|
|
 |
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.
|
|