Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server > Shaiya PServer Development
You last visited: Today at 04:05

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

Advertisement



Problem converting csv to sdata

Discussion on Problem converting csv to sdata within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2005
Posts: 184
Received Thanks: 85
Problem converting csv to sdata

I been using zero signal's python scripts, I want to merge my current files with ep6 sdata. I can convert the sdata to csv just fine without any problems after I convert the ep6 item.sdata to ep5 with shstudio. Problem is it wont let me convert it back to sdata, I get this error.


anyone have a solution for this? i rather not type every item in 1 at a time in shstudio.
Psycnosis is offline  
Old 03/02/2016, 13:35   #2
 
wallerus's Avatar
 
elite*gold: 0
Join Date: Apr 2014
Posts: 300
Received Thanks: 473
If you're creating new rows or editing full rows make sure that your TypeIDs are correct otherwise you will have a build error such as this.

Does Python correctly build the Ep6 Item.SData to .csv and then back into Item.SData with no changes made?
wallerus is offline  
Old 03/02/2016, 18:19   #3
 
castor4878's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 717
Received Thanks: 3,366
Quote:
Originally Posted by Psycnosis View Post
I want to merge my current files with ep6 sdata.
[...]
anyone have a solution for this? i rather not type every item in 1 at a time in shstudio.
hmm, and what about typing *1* Ctrl+C and *1* Ctrl-V (ok a bit more if items are from several sub-lists, even if all items can be selected from "all items" panel).

shStudio does support multiple-selection in (quite) all lists (it's true for all Item.sdata panels).
you can so copy the items of interest (from an extern episo 6 file)(in former format, not DB format) and then paste all these items in your items.sdata; exinsting items (with same Type/TypeID) will be updated, new ones (if any) will be created.

Edit: (in former format, not DB format)

actually it also works fine with DBxxData files; you can opeen and copy any number of rows from BinarySData/DBItemData.sdata and paste the rows to your episo 4 to 6.2 Item/Items.sdata.
You will - of course - load localised sentences from a SBItemText_xyz.sdata file before copying data.

Also note that the Copy operation places the copied data in several formats (flavors) in the clipboard, including a CVS one, you can so also simplify a csv based process.
castor4878 is offline  
Old 03/06/2016, 18:04   #4
 
elite*gold: 0
Join Date: Oct 2005
Posts: 184
Received Thanks: 85
this was the weirdest thing ever... I fixed it eventhough I have no idea how.
The CSV file was build correctly with the correct number of rows. The problem seems to be that 1 item in it did not want to work for no appearant reason. That was the Atletico Madrid football costume, nothing in that row had anything suspecious in it I renamed that 1 item and it worked. I... guess Zero signal hated Atletico? haha
Psycnosis is offline  
Reply


Similar Threads Similar Threads
[SUCHE]Episode 4.5 Item.sdata & Mosnter.sdata
11/19/2012 - Shaiya Private Server - 6 Replies
Hallo EPVP wie der Titel schon sagt suche ich eine Deutsche Episode 4.5 Item.sdata & Monster.sdata MFG Oder ein Deutscher Episode 4 Client wäre auch Gut^^
[REQUEST]XXX.SDATA decryptor for episode 5 files+ npcquest.sdata
06/13/2012 - Shaiya - 1 Replies
Can somebody help me with a SDATA decryptor and a episode 5 npcquest.sdata that is decrypted?
ConquerServer_v2 Problem with converting to MySQL
01/10/2012 - CO2 Private Server - 3 Replies
//edit Different question Will using MySQL done in the way below (randomly starting new readers in the same void) be bad? MySqlCommand command3 = new MySqlCommand(MySqlCommandType.SELECT); command3.Select("cq_generator"); MySqlReader reader3 = new MySqlReader(command3); num = 0; uint SpawnID = 0; List<uint> UsedMaps = new List<uint>();
NpcSkills.SData and NpcQuest.SData question
08/23/2010 - Shaiya Private Server - 1 Replies
Time to time thinking about that, best releases by lipro had decrypted files and has new decrypted Sacra map mobs and boses but NpcQuest.SData and NpcSkill.SData are old files without New Sacra update, so Sacra NPC angel around portal is Cow and quests with Sacra are unable and all Sacra mobs cant use skills and cant attack so in game are bad effect if try to kill Sacra mobs - mobs use stup debuff and laggy toon and mobs etc. Anyone have decrypted this both files, or way to fix it? Thanks!
[Help]Problem with logging in after converting into ini.
01/19/2009 - CO2 Private Server - 5 Replies
Hi guys, Emme helped me halfway through with converting LOTF into ini and I finished the rest myself. When I logged in, I made my character and then when I re-logged in, my client closed. Here's the error on the console: http://i42.tinypic.com/4g5emv.jpg Emme or anyone out there please help me! :( #Edit FIXED IT



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


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.