Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server
You last visited: Today at 14:08

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

Advertisement



[help] issue with max stat via DB

Discussion on [help] issue with max stat via DB within the Shaiya Private Server forum part of the Shaiya category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2009
Posts: 22
Received Thanks: 0
[help] issue with max stat via DB

Afternoon All,

I searched through epvp and found the info that I needed to do GM enchants and Max stats via sql. However, I cant seem to get them to actually stick. I go to the exact item that i need either via charitems or charstoreditems. I change the craftname to what i need it to be. for example: 06060600000606060660

if im not mistaken that should be the craftname for +6 str,rec,dex,luc 600 hp mp sp and enchant to 10. Regardless if i run an update script or change the craftname directly I can not get the changes to take affect in game or actually stay in affect in the db. Where am I going wrong?
slayer456 is offline  
Old 05/26/2013, 01:55   #2
 
elite*gold: 0
Join Date: Oct 2012
Posts: 145
Received Thanks: 203
You should add quotes ( ' ) for sql to consider the 0, or it will ignore it and this will fk your item ^^
infinite59 is offline  
Old 05/26/2013, 19:38   #3
 
castor4878's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 717
Received Thanks: 3,366
not sure what means "considering zeros" ...

if you use '06060600000606060660' (with quotes) it's a string that will be stored w/o hidden mistake in the [Craftname] [varchar](20) field.

if you use 06060600000606060660 (w/o quotes) it's an octal number, mssql with considers the leading '0' to choose that octal base, it will so use 109801629298483632 (base 10) or 1861800061861B0 (base 16) and convert that number to store it in a varchar (yes repetition) field. this means 2 mistakes and a result likely unpredictable.

if the change is correct in DB, you shall relog the toon (and make sure it didn't make any in-ggame changes to the item otherwise the DB changes will be lost) to see these changes in-game.

also note that your enchantment figure is valid for "def enh." (so gear) only, for weapon (atk enh.) you store the enhacement level (not 50 + level).
castor4878 is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[Release] How to change stat points per level and working stat resets
04/08/2017 - Shaiya PServer Guides & Releases - 20 Replies
A tutorial on how to change Ultimate Mode stat points and make stat resets give the changed stats back Things you will need. ollydbg 2.0 - http://www.ollydbg.de/odbg200.zip ps_game.exe not to be confused with game.exe can be found in server folder SHAIYA_SERVER\SERVER\PSM_Client\Bin Make a back up of your ps_game.exe before you edit it just incase you make a mistake.
[Stat] New-World2 [Stat]
11/30/2009 - Metin2 Private Server - 25 Replies
Hallo, da viele nicht auf die Seite von New-World2 kommen , Schreibe ich nun mal den Status von New-World2 hier in diesem Thread! Login Server : http://status.blackout-gaming.net/status.php?dns=9 4.23.219.53&port=11002&style=9 MySQL : http://status.blackout-gaming.net/status.php?dns=9 4.23.219.53&port=3306&style=9 DatenBank : http://status.blackout-gaming.net/status.php?dns=9 4.23.219.53&port=15001&style=9 ⇓CHANNEL 1⇓ Charakter Server Channel 1 :...



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


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.