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 16:55

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

Advertisement



[Release] shStudio (multi-purposes editor)

Discussion on [Release] shStudio (multi-purposes editor) within the Shaiya PServer Guides & Releases forum part of the Shaiya Private Server category.

Reply
 
Old 05/08/2011, 20:13   #151
 
Linxis172's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 539
Received Thanks: 193
Uhm ok so i got the viewer working now, but this problem has been here for a good time me:


Picture viewer failure...
Linxis172 is offline  
Old 05/09/2011, 03:06   #152
 
Veritas Aequitas's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 51
Received Thanks: 4
I was hoping to get home to edit that post before you read it because as i was driving around today it stuck me that I did indeed forget to do that. And now im trying to fix my crashing client lol. Gotta start the learning process somewhere xD
Veritas Aequitas is offline  
Old 05/09/2011, 13:02   #153
 
-III-'s Avatar
 
elite*gold: 0
Join Date: Mar 2011
Posts: 212
Received Thanks: 264
Quote:
Originally Posted by Veritas Aequitas View Post
... Also, could you tell me how to modify the in game item mall to display 0 points?
Quote:
Originally Posted by castor4878 View Post

...if you mean having the toon's wallet not set to 0 in the in game item mall dialog (so that the toon can purchase some not free items), this field comes from the "Point" column of the PS_UserData.dbo.Users_Master table.

Simply do a

update PS_UserData.dbo.Users_Master set Point=<aNumberOfPoint> where UserID='<anAccountName>'

to have some points to spend.

(if the next question is how to setup a web form connected to a PayPal account to give players a way to obtain points, I won't reply)
Bare in mind that there is also a very handy stored procedure within PS_GMTool that can be used to do this as well. Upon execution of the stored procedure, all that is needed is to enter the UserUID of the recipient and the amount of points to be added to the account.

Note, that I said ADDED, not placed. The difference is that with the above query it will give a specific number of points rather than adding it to the amount of points an account may already have.

Basically, use the query above to give a specific amount. Meaning, if the point recipient currently has 10K points, and you run the query to give 12K points, it will over write the 10K in favor of the 12K.

However, use the stored procedure in the GMTool database and it will instead add the 12K to the current 10K, thus the recipient now has 22K points.

Example:

With Above Query:
Points (BEFORE QUERY) = 10,000
Points (AFTER QUERY) = 12,000

With Included SP:
Points (BEFORE EXECUTION) = 10,000
Points (AFTER EXECUTION) = 22,000

If you are planning to run a live server, the said stored procedure will be a major time saver as it automatically adds the new points to current points, rather than leaving you to do the math manually each time a person purchases points.

Tie it all together with a bit of PHP, and you have yourself a handy lil item.

However, if I read the question right, I believe Castor's first assumption on what you were asking was correct, as was his answer. And that was how to set the cost of an Item Mall selection to '0' points.
-III- is offline  
Old 05/09/2011, 17:07   #154
 
RebeccaBlack's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 520
Received Thanks: 1,289
You technically don't have to run the procedure. O.o Just use a quick query like this:
Code:
UPDATE PS_UserData.dbo.Users_Master SET Point=Point+AmountOfPoints WHERE UserID='AccountName'

That will simply take the points that are currently in the column, add the AmountOfPoints to it, and set it in place.

Like, UPDATE PS_UserData.dbo.Users_Master SET Point=Point+500 WHERE UserID='Tyler'

Would change the account named Tyler's points from let's say... 1429, to 1929.
RebeccaBlack is offline  
Old 05/09/2011, 18:47   #155
 
elite*gold: 0
Join Date: Nov 2008
Posts: 4
Received Thanks: 0
How could I save them as .csv or .sql ?
Save as .csv or .sql would be nice !
networe is offline  
Old 05/10/2011, 17:57   #156
 
elite*gold: 0
Join Date: Mar 2009
Posts: 67
Received Thanks: 4
how to add a new quest in npcquest.sdata? and skills
akademik is offline  
Old 05/10/2011, 21:05   #157
 
elite*gold: 0
Join Date: Nov 2008
Posts: 4
Received Thanks: 0
Quote:
Originally Posted by castor4878 View Post
what is "them" ?

saving as csv is achieved by LPH tool, no reason to duplicate the feature.
saving as sql is performed each time it's required.
Bahh.. I would like to save the content of Light-Dark-Weapons, Light-Dark-Gears, Lapis..into a database. I dont want to copy past all the info into wordpad :x
networe is offline  
Old 05/10/2011, 21:54   #158
 
elite*gold: 0
Join Date: Nov 2008
Posts: 4
Received Thanks: 0
Oh I found EP5 database -_- I was doing a copy past ............ dang ........
networe is offline  
Old 05/10/2011, 23:19   #159
 
-III-'s Avatar
 
elite*gold: 0
Join Date: Mar 2011
Posts: 212
Received Thanks: 264
Quote:
Originally Posted by castor4878 View Post
I assumed that Veritas knows the difference between a = b and a = a + b
do you think he does not know it ?
It was just a matter of trying to provide more detailed information and alternative methods. Next time, I wont try to help at all.

Personally, I dont know Veritas so I have no idea what they do and do not know. One area many things around here lack is detail and example. I did not realize it was frowned upon to try and do such.

Quote:
Originally Posted by tnelis View Post
You technically don't have to run the procedure. O.o Just use a quick query like this:
Code:
UPDATE PS_UserData.dbo.Users_Master SET Point=Point+AmountOfPoints WHERE UserID='AccountName'

That will simply take the points that are currently in the column, add the AmountOfPoints to it, and set it in place.

Like, UPDATE PS_UserData.dbo.Users_Master SET Point=Point+500 WHERE UserID='Tyler'

Would change the account named Tyler's points from let's say... 1429, to 1929.
Yes, you do not need to run the procedure. I pointed it out only because not only does it save time from writing the query, but it can also easily be tied into a PHP page for quick and easy access without the need to actually be on the server.
-III- is offline  
Old 05/11/2011, 00:36   #160
 
-III-'s Avatar
 
elite*gold: 0
Join Date: Mar 2011
Posts: 212
Received Thanks: 264
Quote:
Originally Posted by castor4878 View Post
don't mistake my point, i wasn't willing to hurt you.

in my first response to his "0 pt question" I dealt with the Point column of the PS_UserData.dbo.Users_Master as a complementary information possibly useful for his current researches / works; just because when I needed this information (where these points were read), I searched for days without finding any answers.

for a lot of topics, there is a *big* lack of detail, I'm fully agree with that.
I'm somewhat less convinced that there is a lack of examples, or I'm not sure that an example with the 10.000 and another example with 500 (or 1429) are that required - I hope guys reading such thread knows what is an addition.

EDIT:
your points regarding stored proc are exact -III-, they can be useful ... but NONE of them are documented, nothing in their source, no user-guide coming from our nice community.
for a lot of basic request (quite all) rewriting the (fortunately basic) statement is far faster than opening each individual proc and trying to figure out its purpose.
My mistake. I misunderstood the tone of the response. My apologies.

And yes, I know there is very little documentation on stored procedures. I have taken my own curiosity for granted, and at times, assume everyone would have browsed through their databases to understand exactly what is done, what can be done, and what not to do. This is a flaw in myself.

However, anyone wishing to know further on the stored procedure I mentioned previously, feel free to ask.

For starters:
dbo.usp_GamePoint_Charge

PS_GMTool > Programmability > Stored Procedures

Anyway, I did not mean to hijack a portion of this thread. I will slowly step away now. My apologies for my misunderstanding, Castor.
-III- is offline  
Old 05/11/2011, 03:07   #161
 
Veritas Aequitas's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 51
Received Thanks: 4
I wish i was not coming back again, but here I am. I have noticed that my item mall is lacking some things that I would like to have in there. I.E. lvl 3 rems, lapisia, OP's and some soon to be created items. However, what i am having difficulty with is product codes. I can easily get the cash.sdata into shstudio; but, i have no idea what the product codes are.

For example, I would like to add power lapisia to the item mall. I can find the type and the typeID but im not sure what product code to assign. Is there a list of what product codes go to what or am i just nub.

V-A
Veritas Aequitas is offline  
Old 05/11/2011, 03:53   #162
 
elite*gold: 0
Join Date: Apr 2011
Posts: 21
Received Thanks: 27
There is no product codes list.You can make code by yourself.For example the code for the Power lapisia could be --- PK_Pwr001.Feel free to use your imagination bout that
[ADM]Wind is offline  
Thanks
1 User
Old 05/11/2011, 04:09   #163
 
Veritas Aequitas's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 51
Received Thanks: 4
That is good to know, thank you very much for the speedy reply.
Veritas Aequitas is offline  
Old 05/12/2011, 15:29   #164
 
elite*gold: 0
Join Date: Jan 2011
Posts: 10
Received Thanks: 0
Hi guys!! I'm trying to import mobs.csv but when I select the file and press open, the programdon't do nothing... the csv file is encoded ansi, and it's the same as the example....
What i'm ddoing wrong???
storm363 is offline  
Old 05/12/2011, 21:10   #165
 
elite*gold: 0
Join Date: Jan 2011
Posts: 10
Received Thanks: 0
Quote:
Originally Posted by castor4878 View Post
when the reading, processing of the csv and the merging of information run w/o error, it does *not* display any warning, error, ..., alert - did you expect a flashing "successful" ? I forgot it sorry.
When I import the csv files, it shows all time "ready"... I never see "succesful"...

Quote:
Originally Posted by castor4878 View Post
to verify that server data are present simply edit a mob.
if 'SP', or 'Dex' or one of the attack or anything but Name & HP is not set to '0', the import was successful.
when I edit a mob, dex, sp and other values are set to 0

Quote:
Originally Posted by castor4878 View Post
if no information is present, something went wrong and an alert was displayed (with the last version !).
I have the last version but I didn't see any error message...
storm363 is offline  
Reply

Tags
sdata skills items mall


Similar Threads Similar Threads
How can I make a backup copy of the accounts and purposes of the database
11/24/2010 - Metin2 Private Server - 0 Replies
hello Wie kann ich eine Sicherungskopie der Konten und Zweck der Datenbank hello How can I make a backup copy of the accounts and purposes of the database
Can somebody borrow me an account for video purposes?
05/14/2010 - Silkroad Online - 2 Replies
Hey people, I wanna make 1 last sro video and need an account for it. Preferably an ss nuker with bicheon skills or a blader, that can already travel through alexandria and is a thief or hunter. Also female would be nice (that cat b*tch or the orange girly). It can have npc set or w/e i dont care, i dont need a good set for video purposes. It may need around 2 m gold for pots, trade pets(if thief), and teleports. I dont want to scam you, i just wanna make one last video. Also i wouldn't...
multi for 5017 and itemtype.dat editor
11/14/2008 - Conquer Online 2 - 0 Replies
Hi there. I came back to this forum after like 1 year break , and i started playing p-server and i need to find a way how to make multicielnt for it - client 5017 basicly and how to edit itemtype.dat to see the item quality on ground... i already used some itemtype editor, but it was way to strange for me, so i need some easy itemtype.dat editor so i can change the quality showed. Thx



All times are GMT +1. The time now is 16:56.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.