Register for your free account! | Forgot your password?

You last visited: Today at 17:41

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

Advertisement



fixing enchants for 70 weapons

Discussion on fixing enchants for 70 weapons within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
[DEV]Get-R-Done's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 24
Received Thanks: 17
fixing enchants for 70 weapons

i used the guide to shaiya configuration by ProfNerwosol to get the reqluc code for the 70 weapons so they can be enchanted ty and ty to tall the ppl on elitepvpers.
[upadte] fixed a few typos and its converted to xl.
ty shaiya_knight_fall for the help.
Attached Files
File Type: rar to fix 70 weapon enchants.rar (273 Bytes, 335 views)
File Type: zip to fix 70 weapon enchants.zip (2.1 KB, 118 views)
[DEV]Get-R-Done is offline  
Thanks
3 Users
Old 03/03/2011, 06:18   #2
 
Linxis172's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 539
Received Thanks: 193
Sorry im kind of a noob, but whats "reqluc code"? just wondering.
And it doesnt make much difference but heres a txt file xD
Attached Files
File Type: txt Enchanting_Lv70_Weapons.txt (571 Bytes, 262 views)
Linxis172 is offline  
Thanks
2 Users
Old 03/03/2011, 07:41   #3
 
elite*gold: 0
Join Date: Aug 2010
Posts: 241
Received Thanks: 255
ReqLuc is a coloums in Items table which defines the enchantment items needed to enchant a particular item
This is from Prof's guide:
Quote:
You will find the item needed for enhancement in PS_GameDefs.dbo.Items in Reqluc field. The value is ItemID of the item used. You can change the item simply by replacing the current ItemID with new ItemID of the item you chose.
Before you do so you should know that the data type of Reqluc field is smallint signed. What does it mean for you? It means that the values that can be stored are in range between -32768 and 32768. To store ItemID's above 32k you need to know two things. First, smallint is 16bit (16bit is 2 byte value which equals to 65536), second for ItemID's above 32k you need to subtract 65536 from ItemID of selected item.
Example:
‒Let's take Ohgerton – to enhance it you need Black Magician Rune (Type=44, TypeID=068 – ItemID=44068) ... now, 44068 – 65536 = -21468, which is exactly the value of Reqluc.
▪NOTE: you might find your database to have Reqluc values above 32768. This might cause the Game service to stay paused. It won't know how to process the data and throw an error numeric data overflow in logs.
If you are editing the enchantment be sure to also edit the SData on client side.
zargon05 is offline  
Old 03/03/2011, 11:47   #4
 
[DEV]Get-R-Done's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 24
Received Thanks: 17
for the sdata the code does not change so lets say your enchant item is 38 36 your code in reqluc in your sdata would be 38036 but in your sql it would be -27500
[DEV]Get-R-Done is offline  
Old 04/01/2011, 06:16   #5
 
elite*gold: 0
Join Date: Mar 2008
Posts: 49
Received Thanks: 2
which sdata should i change item.sdata in data.saf?
Shaiya Revenge admin
juel is offline  
Old 04/07/2011, 03:39   #6
 
[DEV]Get-R-Done's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 24
Received Thanks: 17
will be more to come working on the lvl 70 armor enchants.
[DEV]Get-R-Done is offline  
Old 04/07/2011, 04:01   #7
 
[DEV]Get-R-Done's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 24
Received Thanks: 17
We will be getting every thing set to a grid so that way it will be a one glance set up for all the enchants that will be in the ( - ) sections.
[DEV]Get-R-Done is offline  
Old 04/15/2011, 05:27   #8
 
elite*gold: 0
Join Date: Mar 2008
Posts: 49
Received Thanks: 2
any can post here Hammer reqluc code here shadow knight use it ,cant find in data.saf/item.sdata where i find reqluc code shaiya revenge Admin[L]
juel is offline  
Old 04/15/2011, 06:40   #9
 
elite*gold: 0
Join Date: Mar 2011
Posts: 24
Received Thanks: 20
are you asking for the linking hammers % codes ??? i will have to look them up and i ll post a set up for you.



** posted a list for the linking hammer %s to help link.
Attached Files
File Type: txt Linking Hammer %'s.txt (1.6 KB, 105 views)
Shaiya_Knight_Fall is offline  
Thanks
1 User
Old 04/15/2011, 08:18   #10
 
elite*gold: 0
Join Date: Mar 2008
Posts: 49
Received Thanks: 2
shadow knight use hammer as a enhance item i want know hammer reqluc code pls
and ty for info me abt hammer link chance
here is screenshot
juel is offline  
Old 04/15/2011, 15:32   #11
 
stinka123's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 191
Received Thanks: 193
what is type and typeID of hamer?
Ex: Type = 25, TypeID = 204, ReqLuc = 25204-65536=-40332
So -40332 is reqluc
stinka123 is offline  
Thanks
2 Users
Old 04/15/2011, 17:49   #12
 
elite*gold: 0
Join Date: Mar 2008
Posts: 49
Received Thanks: 2
ty very much
juel is offline  
Old 04/15/2011, 18:27   #13
 
castor4878's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 717
Received Thanks: 3,366
Quote:
Originally Posted by stinka123 View Post
what is type and typeID of hamer?
Ex: Type = 25, TypeID = 204, ReqLuc = 25204-65536=-40332
So -40332 is reqluc
hmm ....

25204 is in the range of a signed 16-bits value, it must be stored in DB as 25204.

a few history: computers don't care about signedness of numbers and never compute in base 10.
a 16-bit value (the ReqLuc column is defined as "smallint" meaning 16-bit value) can contain any number ranging 0000000000000000b up to 1111111111111111b or 0000h up to FFFFh
human use to compute in base 10 (not 2 or 16) so we use to say that the range is 0 up to 65535; and because human activities (not computer ones) do require negative values, we split that range to define numbers in -32768 up to 32767.

because SQL server is stupid and doesn't support unsigned int, a value greater than 32767 (in base 10!) can not be written in a smallint field and we have to provide a negative value obtained with a "signed modular shift" ... a substract of 65536, but if and only if the figure is bigger than 32767; and 25204 wasn't a good example.

so to properly enter ReqLuc figures:
- look if they are or aren't bigger than 32676

- or, type-in an Hex value
update Items set Reqluc=0xAC1D where ItemID=1116
does work since "computer uses hexa and doesn't care about signedness"

- or, use shStudio (with the advantage to do the change of sdata & DB from a single place and let you change the description to let the player know which item he/she must use)

castor4878 is offline  
Old 04/20/2011, 07:27   #14
 
elite*gold: 0
Join Date: Sep 2010
Posts: 66
Received Thanks: 21
.....
emohardkore is offline  
Old 04/29/2011, 09:57   #15
 
elite*gold: 0
Join Date: Mar 2008
Posts: 49
Received Thanks: 2
how i change boss reswap time in obesik file and in database
juel is offline  
Reply


Similar Threads Similar Threads
Shaiya Ep5 without enchants?
11/14/2010 - Shaiya Private Server - 8 Replies
Hi all, when i saw Shaiya Ep5, i'd expect there would soon be Ep5 servers. and they came Along with that Ep5 servers with no enchants... and they never came (i think) Is this like something that can't be done atm (like lvl 3+ skills) or do all GM's of Ep5 servers prefere enchants?
Level 80 enchants on lvl 1.
06/30/2009 - WoW Exploits, Hacks, Tools & Macros - 12 Replies
Hey everyone I got 40 heroic badges today and got 10k honor. I went to a GM and asked him if I could get my which is the 40 heroic badge cloth shoulders and enchant it with 30stam and 15 resil from the pvp store. He said Yes, I can but they plan on changing that soon. In other words... 1) Get 40 badges and buy shoulders for alt. 2) Enchant it with something from pvp store,shat, or hodin ppl. 3) send to alt and love you stats! Thanks! Edit: Here is pic if you want to see!
enchants
12/19/2008 - Lineage 2 - 2 Replies
im playing l2 paradise..id like to know how i would go about enchanting stuff without failing, or having unlimited ..say.. Bews? is there any way at all.. if so please tell me..thanks :)
Enchants in l2 c4 off help
06/10/2008 - Lin2 Exploits, Hacks, Bots, Tools & Macros - 0 Replies
how can enchant any weapon or armor in a l2c4off without burning?
Lineage II enchants
11/23/2006 - Lineage 2 - 7 Replies
is there a hack or trick to getting enchants to work 100% of the time? if so, would be a big help, thanks.



All times are GMT +1. The time now is 17:43.


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.