Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 23:10

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

Advertisement



Stat Scroll Dosent work help!

Discussion on Stat Scroll Dosent work help! within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
DevilArrow's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 250
Received Thanks: 8
Stat Scroll Dosent work help!

Hi Guys ! i have a problem i add the Stat Scroll, in DB+media
the problem is when i use i dosent get the Statpoints my Hp and mp are the same, who can help me ?
here is my
_addtimedJOB
DevilArrow is offline  
Old 02/25/2017, 21:32   #2
 
blapanda's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 1,860
Received Thanks: 760
Why did you add them to your _AddTimedJob proc? That one is totally wrong for this kind of processing.
Usually, you are using up a scroll, which has to be registered via "_AddLogItem" on a starting parameter:

Code:
IF (@Operation = 41) -- item usage
	BEGIN
		IF (@ItemRefID = 47374) -- item ID
... -- code goes on
You can then either directly execute your "reset stats" lines within that query line, or make it more clean and exec a different procedure located inside your shard database (which is more likely for the case of sorting stuff as they used to be).

Sum:
Scroll Usage ingame > hooks up with "_AddLogItem (LOG database)" and NOT with "_AddTimedJob (SHARD database)" > executes query if conditions are met (operation type (behavior: scroll usage) and item ID) and executes the custom reset query right away or in another procedure.
blapanda is offline  
Old 02/26/2017, 16:35   #3
 
DevilArrow's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 250
Received Thanks: 8
Quote:
Originally Posted by blapanda View Post
Why did you add them to your _AddTimedJob proc? That one is totally wrong for this kind of processing.
Usually, you are using up a scroll, which has to be registered via "_AddLogItem" on a starting parameter:

Code:
IF  [MENTION=1059401]operation[/MENTION] = 41) -- item usage
	BEGIN
		IF (@ItemRefID = 47374) -- item ID
... -- code goes on
You can then either directly execute your "reset stats" lines within that query line, or make it more clean and exec a different procedure located inside your shard database (which is more likely for the case of sorting stuff as they used to be).

Sum:
Scroll Usage ingame > hooks up with "_AddLogItem (LOG database)" and NOT with "_AddTimedJob (SHARD database)" > executes query if conditions are met (operation type (behavior: scroll usage) and item ID) and executes the custom reset query right away or in another procedure.
ok
i change it to additemlog

but i have this error

DevilArrow is offline  
Old 02/26/2017, 18:55   #4
 
Bokyyy's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 56
Received Thanks: 15
Quote:
but i have this error
You are missing bracket and comma at those red error lines.
Bokyyy is offline  
Old 02/27/2017, 17:19   #5
 
DevilArrow's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 250
Received Thanks: 8
i fix it ! thx all!
DevilArrow is offline  
Old 02/27/2017, 21:38   #6
 
elite*gold: 0
Join Date: Jan 2009
Posts: 974
Received Thanks: 453
Quote:
Originally Posted by blapanda View Post
Why did you add them to your _AddTimedJob proc? That one is totally wrong for this kind of processing.
Usually, you are using up a scroll, which has to be registered via "_AddLogItem" on a starting parameter:

Code:
IF (@Operation = 41) -- item usage
	BEGIN
		IF (@ItemRefID = 47374) -- item ID
... -- code goes on
You can then either directly execute your "reset stats" lines within that query line, or make it more clean and exec a different procedure located inside your shard database (which is more likely for the case of sorting stuff as they used to be).

Sum:
Scroll Usage ingame > hooks up with "c (LOG database)" and NOT with "_AddTimedJob (SHARD database)" > executes query if conditions are met (operation type (behavior: scroll usage) and item ID) and executes the custom reset query right away or in another procedure.
because _AddLogItem is exploitable, _AddTimedJob is safe
leo2111 is offline  
Old 03/08/2017, 00:16   #7
 
White Ros3's Avatar
 
elite*gold: 6
Join Date: Nov 2013
Posts: 279
Received Thanks: 224
USE This
PHP Code:
 IF (@Operation 41) -- remove stats 
    BEGIN
    
IF (@ItemRefID 93002) --- RefObjCommon ID-----
    
BEGIN
      
declare  [MENTION=314361]strength[/MENTIONint
            
declare  [MENTION=5100626]Intellect[/MENTIONint
            
declare  [MENTION=1017443]maxlevel[/MENTIONint
            
declare  [MENTION=3093238]remains[/MENTION]tatPoint int
            select  
[MENTION=1017443]maxlevel[/MENTION] = MaxLevel from SRO_VT_SHARD.DBO._Char where CharID =  [MENTION=395373]Chari[/MENTION]D
            set  
[MENTION=3093238]remains[/MENTION]tatPoint =   [MENTION=1017443]maxlevel[/MENTION]*3)-3
            set  
[MENTION=1017443]maxlevel[/MENTION] =  [MENTION=1017443]maxlevel[/MENTION]+19
            UPDATE SRO_VT_SHARD
.DBO._Char SET Strength  [MENTION=1017443]maxlevel[/MENTION], Intellect  [MENTION=1017443]maxlevel[/MENTION], RemainStatPoint  [MENTION=3093238]remains[/MENTION]tatPoint WHERE CharID  [MENTION=395373]Chari[/MENTION]D
            END
            END 
Code:
 IF (@Operation = 41) -- remove stats 
	BEGIN
	IF (@ItemRefID = 93002)
	BEGIN
	  declare [MENTION=314361]strength[/MENTION] int
            declare [MENTION=5100626]Intellect[/MENTION] int
            declare [MENTION=1017443]maxlevel[/MENTION] int
            declare [MENTION=3093238]remains[/MENTION]tatPoint int
            select [MENTION=1017443]maxlevel[/MENTION] = MaxLevel from SRO_VT_SHARD.DBO._Char where CharID = [MENTION=395373]Chari[/MENTION]D
            set [MENTION=3093238]remains[/MENTION]tatPoint =  [MENTION=1017443]maxlevel[/MENTION]*3)-3
            set [MENTION=1017443]maxlevel[/MENTION] = [MENTION=1017443]maxlevel[/MENTION]+19
            UPDATE SRO_VT_SHARD.DBO._Char SET Strength [MENTION=1017443]maxlevel[/MENTION], Intellect [MENTION=1017443]maxlevel[/MENTION], RemainStatPoint [MENTION=3093238]remains[/MENTION]tatPoint WHERE CharID [MENTION=395373]Chari[/MENTION]D
			END
			END
White Ros3 is offline  
Reply


Similar Threads Similar Threads
How to use lalaker IDM and how to make it work if it dosent work with you
02/05/2014 - S4 League Hacks, Bots, Cheats & Exploits - 24 Replies
yo guys to day i will relase small TUT about lalaker IDM ...many people have a problem with lalaker IDM they say its not working and dosent change any thing and some people say it dosent change all custom okay i will teach you how to use it and if it dont change what will you do and i will teach you how to save a file and use it in lalaker IDM just watch the vedio carefully and watch it in HD... how to use lalaker IDM - YouTube press thx if I helped you :D tell me if it work or no
[DB-bot] Why loop dosent work?
03/22/2011 - Silkroad Online - 1 Replies
Hello, im using sro db-bot v1.3a. when my char teleports to hotan, he take few steps near the stoarge, and stop moving, sometimes he just stop moving after the teleport. im using 1280X1024 Resolution, if you know how to fix it, please help here. Thx
[HELP] sibi bot dosent work -.-
09/11/2009 - SRO Private Server - 11 Replies
can some one help me ? the bot just buff and then nothing his not attacking before 24h it was work good for me -.- i tryd put skills from start and it doset help some one know why !? and i was relogd twice and still dosent work =/
CabalRider EU Ver: 1.0.3 DOSENT WORK!?!?
05/16/2008 - Cabal Online - 10 Replies
yesterday cabalrider worked fine:), but now when i tried to start it. i get into cabal BUT i only get to the login in:mad:, and there it says "an error has been detected by the hacking protection system":(, (ive been aware of this before so i know im not banned couse it works with the normal cabal). Does this happend to someone else to? or is it just me:confused:? anyone have a clue to fix this:o?



All times are GMT +1. The time now is 23:13.


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.