Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server > Shaiya PServer Guides & Releases
You last visited: Today at 04:01

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

Advertisement



[Release] How to change stat points per level and working stat resets

Discussion on [Release] How to change stat points per level and working stat resets within the Shaiya PServer Guides & Releases forum part of the Shaiya Private Server category.

Reply
 
Old 05/13/2011, 22:54   #16
 
remnikalija's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 340
Received Thanks: 52
Quote:
Originally Posted by ShaiyaOmega View Post
Reading is GOOD
ye i trayed with skill point 8 but i get disconected i trayed with 9 still disconected idk why only stat points when i make it works
remnikalija is offline  
Old 05/14/2011, 09:10   #17
 
castor4878's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 717
Received Thanks: 3,366
Quote:
Originally Posted by remnikalija View Post
ye i trayed with skill point 8 but i get disconected i trayed with 9 still disconected idk why only stat points when i make it works
you can't have 8 * level + Cst this way.

the list of possible multiple compliant with LEA was right but it doesn't mean they are all valid there. and indeed expression like "r32 * n + Cst" codes Cst as a 32 bits values; "r32 * n + r32 + Cst" encode Cst as a 8-bit value.

in clear:
Code:
expression:		meaning		is coded
lea edx,[eax+eax+5]	2 lvl + 5	8D 54 00 05
lea edx,[eax+eax*2+5]	3 lvl + 5	8D 54 40 05
lea edx,[eax*4+5]	4 lvl + 5	8D 14 85 05000000
lea edx,[eax+eax*4+5]	5 lvl + 5	8D 54 80 05
lea edx,[eax*8+5]	8 lvl + 5	8D 14 C5 05000000
lea edx,[eax+eax*8+5]	9 lvl + 5	8D 54 C0 05
the original code "lea edx,[eax+eax*4+5]" needs 4 bytes; your modif certainly needs more and thus has shifted the code or corrupt it.
you can only use expressions that require 4 bytes or 3 bytes ("lea edx,[eax + eax * n]") + 1 NOP.

note that the 5 increment can be any value in 1..255, the value does not change the way expression is encoded.

so to achieve 8 * level:
Code:
replace

lea edx,ds:[eax+eax*4+5]	3E 8D 54 80 05
mov word ptr DS:[ESI+0x13A],DX

with:

imul	eax,eax,8		6B C0 08
add	al,5			04 05

mov	word ptr DS:[ESI+0x13A],AX (instead of DX)
in the "add al,Cst" Cst must be in 1..7 to not generate an overflow of AL register.
also note that EAX is loaded with ESI immediately after that code, so changing EAX (instead of EDX) has no bad side.
castor4878 is offline  
Thanks
2 Users
Old 12/20/2011, 11:02   #18
 
elite*gold: 0
Join Date: Apr 2010
Posts: 34
Received Thanks: 0
Why does it work but after my server restarts it goes back to giving the original stat points?
mixand is offline  
Old 01/26/2012, 03:37   #19
 
elite*gold: 0
Join Date: Oct 2011
Posts: 103
Received Thanks: 64
useing this i only had one error it is in the [ ADD WORD PTR DS:[EDI+13A],DX ] . i re done it to this [ ADD WORD PTR DS:[EDI+13A],9 ] and when i hit a mob i dced i looked at the server controle pannel the game had closed i looked in the log and it said there was trouble with the ps_game.exe. in the 0048aaa8 it was unable to read in a certian section. i was wondering if some one would tell me where i am messing up at.
_-Phoenix-_ is offline  
Old 04/08/2014, 20:42   #20
 
elite*gold: 0
Join Date: Sep 2012
Posts: 19
Received Thanks: 0
I have no idea of OllyDB so is there any tut to it or can sb directly explain me how to find the lines I have to change for editing Hard Mode and Normal mode, this Tut is very nice but it shows just the Ultimate Mode lines and don't tell us how to find them.
drachentypi is offline  
Old 04/08/2017, 01:00   #21
 
elite*gold: 0
Join Date: May 2016
Posts: 3
Received Thanks: 1
What is the expression for ps_game.exe and ep 6.4?
Tenshii45 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Request] How Change Mode Stat Points and Skill Points?
05/09/2013 - Shaiya - 49 Replies
How do i change MODE Stat Points and Skill Points per level? Ex.: Ultimate Mode: 7 Stat Points - want to change it to 14 Stat Points 4 Skill Points - want to change it to 8 Skill Points Thanks for your attention.
AP per minute $ stat points per level
06/29/2011 - Shaiya Private Server - 12 Replies
1. We are getting 1 AP point per minute does anyone know where to change that? 2. What changes would have to take place to increase the stat points for UM from 11 points to 15 points 3. or increase the lvl cap from 60 to 65 Any feedback is appreciated, thanks.
Stat and Skill resets
07/15/2010 - Shaiya Private Server - 7 Replies
I'm stuck here, everytime I use a stat or skill reset it does not give me the correct number of stats/skills back. Anyone have a solution to this?
[Small Release] Set players stat points command
07/14/2010 - CO2 PServer Guides & Releases - 5 Replies
Hey guys some people are having problems on their servers with stat points messing up. Here is a little code to add into chat.cs. These are 100% right went to the Official Conquer website and looked at all the stats "Masters" need. Goto chat.cs and search for /recall Under that void add this code. #region Set Player stats if (Cmd == "/setstats400") { if (GC.AuthInfo.Status...
How to change the stat/skill points for new modes?
06/29/2010 - Shaiya - 3 Replies
I know this was talked about somewhere else, but I just can't find the thread or I'm just possibly too lazy. But trying to find how how to change/edit the skill/stat points gained per level, thus creating the new modes and whatnot. If you can help, thanks!



All times are GMT +1. The time now is 04:01.


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.