Please verify you are human

[Release] SQL script to export items for python
  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 14:45

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

Advertisement



[Release] SQL script to export items for python

Discussion on [Release] SQL script to export items for python within the Shaiya PServer Guides & Releases forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2011
Posts: 21
Received Thanks: 48
[Release] SQL script to export items for python

This is for those of us that can navigate SQL faster than the tools used to modify the client files.

What it does:
Returns columns in the correct order for use in creating the item.sdata file via python scripts WITH calculations* from the DB to the client.

Prerequisites:
You must add the ItemDesc,Type2,and Type3 columns to your items table
and import the values from your client at least one time to have a complete compiled list of items.

Why would you do this or need this?
What you will have at the end of that is all of the columns that the DB needs and all of the columns that the client needs in one place and it makes porting changes easier back and forth, at least it does for me, and your DB and client will match. It also allows you to make changes to the Item descriptions very easy in SQL, for example:
Code:
update items set ItemDesc='this item is new and made for blah blah blah' where itemid=1243456
. It's also WAY easier to do blanket modifications to items like:
Code:
update items set buy=buy-1000
If this isn't making sense, then this isn't likely something you'll use, sorry.



One of the main reasons for doing this for me was to be able to merge EP6 items with items that already exist, this was a little tricky as the client doesn't use ItemID and I didn't want to overwrite what I already have.

Now for those of you that don't want to add the columns to your items table, the below script will work with your current items table ( albeit with place holders for the missing columns ) BUT you will have to copy the columns out individually to paste into your item.complete.csv , just make sure the number of rows is correct, or your sdata is hosed,


* calculations are needed for Reqluc ( enchants ) as the DB has negative values for enchant items and client needs positive values. They are also needed for [Range] as this column for some items relates to a skill ID but the client cannot have a value greater than 255.

Anyway, Happy Shaiya-ing
player1up is offline  
Thanks
7 Users
Old 03/07/2013, 16:12   #2
 
elite*gold: 0
Join Date: Sep 2012
Posts: 1
Received Thanks: 0
Eu preciso de um program, QUE, importe os itens de uma epic elevada por exemplo:
importar itens da Epic 6 para a epic 4.5, In My serverPrivate.
ou seja pegar itens da Epic 6 e trazer para meu servidor privado que é epic 4.5.
dESDEJA Muito Obrigado.
Meu E-Mail>
PRECIZO DE RESPOSTAS URGENTES! ACREDITO MUITO NA CAPACIDADE DE RESOLVER PROBLEMAS DE SERVERPRIVATE DESSE SITE.
xavabaza95 is offline  
Reply




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


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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