Register for your free account! | Forgot your password?

You last visited: Today at 22:04

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

Advertisement



A doubt about SQL script

Discussion on A doubt about SQL script within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 220
Join Date: Jul 2018
Posts: 85
Received Thanks: 22
A doubt about SQL script

I'm getting deeper into SQL, I already created some functions that can be executed from within the game and change table lines from the database, I was successful, but I tried something similar in creating an item that give status, similar to the reset status item, only it would be a pink reset where I would return all pink star points, but all my attempts do not work, a simple script changes practically all db.char lines but in the status line nothing works, someone could dig me a little bit into this, just want learn, do not need a script done, an example or explanation would help a lot
ShaiyaIwanttolearn is offline  
Old 04/09/2019, 19:02   #2
 
oldjayy's Avatar
 
elite*gold: 16
Join Date: Jun 2011
Posts: 63
Received Thanks: 159
Please be more specific what you want to do. We can't guess what you're trying to do without seeing the SQL query. From what you have said till now I only can guess that you want to make an item which gives stat points.
oldjayy is offline  
Thanks
1 User
Old 04/10/2019, 03:26   #3
 
elite*gold: 220
Join Date: Jul 2018
Posts: 85
Received Thanks: 22
Quote:
Originally Posted by oldjayy View Post
Please be more specific what you want to do. We can't guess what you're trying to do without seeing the SQL query. From what you have said till now I only can guess that you want to make an item which gives stat points.
and a simple query, can be done in several ways by selling an item in npc and relogando, after that the update action


I do the same thing with other lines and it works, but for statpoints it does not work and that's what I'm trying to say
ShaiyaIwanttolearn is offline  
Old 04/10/2019, 16:30   #4
 
oldjayy's Avatar
 
elite*gold: 16
Join Date: Jun 2011
Posts: 63
Received Thanks: 159
Most likely stats are being saved during logout process so the game overwrites your value which leads to editing stat points when char is logged out. You can use the stored procedure which is being used when logging out.
oldjayy is offline  
Thanks
1 User
Old 04/12/2019, 20:45   #5
 
elite*gold: 220
Join Date: Jul 2018
Posts: 85
Received Thanks: 22
Quote:
Originally Posted by oldjayy View Post
Most likely stats are being saved during logout process so the game overwrites your value which leads to editing stat points when char is logged out. You can use the stored procedure which is being used when logging out.

yea, it was just that, i understand the dynamics now, i'm having trouble redefining the status of each class, i set up a procedure that worked, but all classes get the same status, but i think i can solve it i'm going deeper into SQL knowledge every day i'm learning a little bit, thanks
ShaiyaIwanttolearn is offline  
Reply


Similar Threads Similar Threads
[Doubt] Grand Chase
06/30/2010 - Grand Chase - 1 Replies
Hi guys, I'm Brazilian Grand Chase play a game of KOG Studios and the game system uses the Ant-Hack GameGuard REV in 1250 and this I wonder if anyone of you have any Cheat Engine that operates in that REV. Thank you.
Doubt With Map
06/18/2008 - EO PServer Hosting - 1 Replies
How Set for one Map can Kill players and use randon teleport? i have seted monsters on map 1903 Maze-A and need know how set for this map can kill players and use randon teleport. Tanks.!
Chests drop Editing(Doubt)[BMR]
05/26/2008 - Dekaron - 15 Replies
Hey Guys ... b4 flaming me remember u can just leave this topic ! ^^ now lets go to the point ! Ive hear and read about editing crevice´s chests to get silvers every round ! But I cant find a way to do it ! if any1 knows that could u post it in here or pm me with the solution ?? thx guys!
Run l2walker and L2Client doubt...
10/24/2005 - Lineage 2 - 1 Replies
Hi friends! I have a doubt. How to Run l2walker (oog) & l2.exe at same time? If I Run l2.exe, I cant run l2walker. L2walker it is closed. PLz help!



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


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.