Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server
You last visited: Today at 09:34

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

Advertisement



Bug (Perfect_Orange_Stat_Services) [help]

Discussion on Bug (Perfect_Orange_Stat_Services) [help] within the Shaiya Private Server forum part of the Shaiya category.

Reply
 
Old   #1
 
SkuulCandy's Avatar
 
elite*gold: 0
Join Date: Apr 2015
Posts: 424
Received Thanks: 113
Bug (Perfect_Orange_Stat_Services) [help]

Hi epvp, i have a bug with the Perfect_Orange_Stat_Services.
1st time, it's worked.. 4 day after, bug.. i have deleted and re-execute correct script (chage QuestID, change id of runes, change Type values) bug again..
The content of script :

SkuulCandy is offline  
Old 05/05/2015, 20:38   #2
 
elite*gold: 0
Join Date: Jan 2012
Posts: 428
Received Thanks: 33
this script is working fine...which bug you have?

you have edit the NPC ID?
Cansas59 is offline  
Old 05/05/2015, 20:51   #3
 
SkuulCandy's Avatar
 
elite*gold: 0
Join Date: Apr 2015
Posts: 424
Received Thanks: 113
My rune is still there after the relog . I have taken the quest and well placed in the correct location.
SkuulCandy is offline  
Old 05/05/2015, 21:11   #4
 
elite*gold: 0
Join Date: Jan 2012
Posts: 428
Received Thanks: 33
make relogg?
Cansas59 is offline  
Old 05/05/2015, 22:34   #5
 
elite*gold: 260
Join Date: Sep 2011
Posts: 487
Received Thanks: 360
Try this
Code:
delete form PS_GameData.dbo.UserStoredItem
Where UserUID=@UserUID and slot='1' and ItemID='Here runes ID'
SnickQ is offline  
Old 05/06/2015, 13:17   #6
 
SkuulCandy's Avatar
 
elite*gold: 0
Join Date: Apr 2015
Posts: 424
Received Thanks: 113
Msg 137, Level 15, State 2, Line 2
Must declare the scalar variable "@UserUID".

Quote:
Originally Posted by SnickQ View Post
Try this
Code:
delete form PS_GameData.dbo.UserStoredItem
Where UserUID=@UserUID and slot='1' and ItemID='Here runes ID'

This ?

Or this in the trigger ?
SkuulCandy is offline  
Old 05/06/2015, 14:43   #7
 
elite*gold: 260
Join Date: Sep 2011
Posts: 487
Received Thanks: 360
Quote:
Originally Posted by SkuulCandy View Post


You can't use this without
Code:
where UserUID=@UserUID
because this del all rune from WH with all players
SnickQ is offline  
Old 05/06/2015, 14:48   #8
 
SkuulCandy's Avatar
 
elite*gold: 0
Join Date: Apr 2015
Posts: 424
Received Thanks: 113
I integre this on new query or on the trigger ?
SkuulCandy is offline  
Old 05/06/2015, 16:37   #9
 
elite*gold: 260
Join Date: Sep 2011
Posts: 487
Received Thanks: 360
In trigger
SnickQ is offline  
Old 05/06/2015, 16:49   #10
 
SkuulCandy's Avatar
 
elite*gold: 0
Join Date: Apr 2015
Posts: 424
Received Thanks: 113
I have 8 runes. If i declare 1 rune it's not work 100%
SkuulCandy is offline  
Old 05/10/2015, 18:17   #11
 
SkuulCandy's Avatar
 
elite*gold: 0
Join Date: Apr 2015
Posts: 424
Received Thanks: 113
#up
I have clear my PS_GameData and re-execute this triger and now it's work.
SkuulCandy is offline  
Old 06/22/2015, 20:50   #12
 
elite*gold: 0
Join Date: Jun 2015
Posts: 81
Received Thanks: 148
usually quest version of game mods can be troubling here is why

1: ps_game.exe will auto update some game info about every 5 mins even with out a relog

2: The requirements aren't met making the quest that should have been delete to stay in the charquest table

fixes for the common problems

1: when editing the quest details in the npcquest.sdata add a 1 min timer or delay this will cancel out the quest if a relog isn't completed in the set time reason for this is the ps_game.exe will auto update some info in the database with out a relog after a period of time adding the delay to the quest will clear the quest before its updates in the database if a relog isn't complete in the requested time fixing this problem

2: a lot of times people will write the delete quest part of the script in the main code for the if statement when the requirements are met but will forget to add the delete quest statement after that if the quest requirements aren't met by putting this after the script you added for the trigger or if else where

Else if @QuestID = 1720
begin
Delete
FROM PS_GameData.dbo.CharQuest
WHERE QuestID = 1720
End

this statement will make sure the quest is deleted no matter if it passed the requirements to complete or not making it where players can redo the quest if needed don't forget to change the quest number to your quest number

note I haven't tried the current version of oj script your using here but after reading it I see one of my scripts works the same way my advice on this script is to add the time delay in the npcquest.sdata if the player waits to long before doing the relog the ps_game.exe will auto update it in the database causing the trigger to fail and the quest getting stuck in the table
[Alcatraz] is offline  
Old 06/23/2015, 07:41   #13
 
SkuulCandy's Avatar
 
elite*gold: 0
Join Date: Apr 2015
Posts: 424
Received Thanks: 113
Yes but i hasn't set bonif max of some items to other value like 0 :3
SkuulCandy is offline  
Reply




All times are GMT +1. The time now is 09:35.


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.