Register for your free account! | Forgot your password?

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

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

Advertisement



COLLECTION BOOK RESET SCROLL?

Discussion on COLLECTION BOOK RESET SCROLL? within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2011
Posts: 228
Received Thanks: 18
COLLECTION BOOK RESET SCROLL?

When i press the scroll nothing happens, here my lines, thanks in advanced.

SRO_VT_SHARDLOG ADDLOGITEM:

SRO_VT_SHARD StoredProcedure [dbo].[_ForgottenWorldReset]


RefObjCommon:
Code:
1	51118	ITEM_RESET_FGW	??	???	xxx SN_ITEM_RESET_FGW	SN_ITEM_RESET_FGW_TT_DESC	0	0	3	3	3	1	180000	3	0	1	1	1	255	3	1	0	0	1	0	15000	0	0	0	150	4500	-1	0	-1	0	-1	0	-1	0	-1	0	0	0	0	0	0	0	100	0	0	0	xxx	item\etc\drop_ch_eventbox.bsr	item\etc\mall_server_change_scroll.ddj	xxx	xxx	26823	No Name
RefObjItem:
Code:
26823	1	2	0	0	3	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	5000                                                                                                                             	-1	1	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	0	0	0
ITEMDATA:
Code:
1	51118	ITEM_RESET_FGW	??	???	xxx SN_ITEM_RESET_FGW	SN_ITEM_RESET_FGW_TT_DESC	0	0	3	3	3	1	180000	3	0	1	1	1	255	3	1	0	0	1	0	15000	0	0	0	150	4500	-1	0	-1	0	-1	0	-1	0	-1	0	0	0	0	0	0	0	100	0	0	0	xxx	item\etc\drop_ch_eventbox.bsr	item\etc\mall_server_change_scroll.ddj	xxx	xxx	1	2	0	0	3	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	5000                                                                                                                             	-1	1	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	0	0	0
ThievesUTD is offline  
Old 12/29/2019, 08:00   #2
 
elite*gold: 53
Join Date: Sep 2014
Posts: 308
Received Thanks: 88
Put that in _AddLogItem

PHP Code:
if(@Operation 16 and  [MENTION=1134588]item[/MENTION]RefID 51118) -- Fgw Reset
begin
Delete from SRO_VT_SHARD
.._CharQuest where QuestID 799 and CharID =  [MENTION=395373]Chari[/MENTION]D
Delete from SRO_VT_SHARD
.._CharCollectionBook where ThemeID and CharID =  [MENTION=395373]Chari[/MENTION]D
end 
Change Those [MENTIONS] to @ CharID and @ ItemRefID, it won't allow me to disable mentioning.
Mr.Awesome1337 is offline  
Old 12/29/2019, 10:17   #3
 
elite*gold: 0
Join Date: Nov 2011
Posts: 228
Received Thanks: 18
Quote:
Originally Posted by Mr.Awesome1337 View Post
Put that in _AddLogItem

PHP Code:
if  [MENTION=1059401]operation[/MENTION] = 16 and  [MENTION=1134588]item[/MENTION]RefID 51118) -- Fgw Reset
begin
Delete from SRO_VT_SHARD
.._CharQuest where QuestID 799 and CharID =      [MENTION=395373]Chari[/MENTION]D
Delete from SRO_VT_SHARD
.._CharCollectionBook where ThemeID and CharID =      [MENTION=395373]Chari[/MENTION]D
end 
Change Those [MENTIONS] to @ CharID and @ ItemRefID, it won't allow me to disable mentioning.
So i have to delete this "IF ( @ = 41 ) AND (@ItemRefID = 51118))
BEGIN
exec SRO_VT_SHARD.dbo._ForgottenWorldReset @D
END"

and put yours? or just below. What is " @D 1134588"? i dont want to make it for one character, i wanna make it for all people just for buying scroll and activate it...

Update...

I have put this:

Code:
IF @ Operation = '16'
BEGIN
IF (@ ItemRefID = 51118)
BEGIN
DELETE FROM SRO_VT_SHARD.dbo._CharQuest WHERE QuestID = 799 AND CharID = @ CharID
DELETE FROM SRO_VT_SHARD.dbo._CharCollectionBook WHERE ThemeID = 4 AND CharID = @ CharID
End
End
But still not working
ThievesUTD is offline  
Old 12/29/2019, 11:49   #4
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,481
Quote:
Originally Posted by ThievesUTD View Post
So i have to delete this "IF ( @ = 41 ) AND @RefID = 51118))
BEGIN
exec SRO_VT_SHARD.dbo._ForgottenWorldReset @D
END"

and put yours? or just below. What is " @D 1134588"? i dont want to make it for one character, i wanna make it for all people just for buying scroll and activate it...

Update...

I have put this:

Code:
IF @ Operation = '16'
BEGIN
IF (@ ItemRefID = 51118)
BEGIN
DELETE FROM SRO_VT_SHARD.dbo._CharQuest WHERE QuestID = 799 AND CharID = @ CharID
DELETE FROM SRO_VT_SHARD.dbo._CharCollectionBook WHERE ThemeID = 4 AND CharID = @ CharID
End
End
But still not working
use this
Code:
IF @ Operation = '41' and @ ItemRefID = 51118
BEGIN
DELETE FROM SRO_VT_SHARD.dbo._CharQuest WHERE QuestID = 799 AND CharID = @ CharID
DELETE FROM SRO_VT_SHARD.dbo._CharCollectionBook WHERE ThemeID = 4 AND CharID = @ CharID
End
NorseGodTyr is offline  
Old 12/29/2019, 17:32   #5
 
elite*gold: 53
Join Date: Sep 2014
Posts: 308
Received Thanks: 88
Elitepvpers system consider @ CharID as a mention to some user called CharID so its changing CharID to the ID of this user, use this and just delete the after every "@" symbol

if(@ Operation = 41 and @ ItemRefID = 51118) -- Fgw Reset
begin
Delete from SRO_VT_SHARD.._CharQuest where QuestID = 799 and CharID = @ CharID
Delete from SRO_VT_SHARD.._CharCollectionBook where ThemeID = 4 and CharID = @ CharID
end

Note: Operation = 41 is for return scroll type
Mr.Awesome1337 is offline  
Old 12/29/2019, 17:40   #6
 
elite*gold: 0
Join Date: Nov 2011
Posts: 228
Received Thanks: 18
Quote:
Originally Posted by NorseGodTyr View Post
use this
Code:
IF @ Operation = '41' and @ ItemRefID = 51118
BEGIN
DELETE FROM SRO_VT_SHARD.dbo._CharQuest WHERE QuestID = 799 AND CharID = @ CharID
DELETE FROM SRO_VT_SHARD.dbo._CharCollectionBook WHERE ThemeID = 4 AND CharID = @ CharID
End
Does not work, i think the problem is in refobjchar, can u see char and itemdata lines and tell me if it is correct?, i think there must be a "RESURRECT" or "SKILL_MALL_....." or something like that?

FIXED:

PROBLEM WAS IN REFOBJITEM LINE, THIS IS THE CORRECT:

Code:
26823	1	2	0	0	3	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	500	????	1	??????	-1	RESURRECT	-1	***	-1	***	-1	***	-1	***	-1	***	-1	***	-1	***	-1	***	-1	***	-1	***	-1	***	-1	***	-1	***	-1	***	-1	***	-1	***	-1	***	0	0	0
Anyway ty for ur answers guys.
ThievesUTD is offline  
Reply

Tags
egypt item, fgw, sro


Similar Threads Similar Threads
Any way to reset STAT points? (not using a stat reset scroll)
02/12/2016 - SRO Coding Corner - 5 Replies
Hey folks i tryed with item scroll reset stat, it works allmost perfect but those dc is rly sux... I saw at some private server that they have some like coded procedure starting to be active when you write something in your for example private chat(and it give nice reset stat without DC) chat: $Reset Reset_stats thats only example.
[HELP] PK2 edit fire nuke book 3-> book 7
03/02/2013 - SRO Private Server - 5 Replies
The tittle says it all... Ive successfully change alot other skills from 80-> 120 but not this one, it just doesnt look right, i got a ss here http://img571.imageshack.us/img571/2104/sro201302 2803594002.jpg
Green book to red book [SOLVE]
08/31/2011 - SRO Private Server - 0 Replies
Guys u dont need to relog this thing isnt working and if u want u can just teleport or use a return scrol and the red book will be again Green



All times are GMT +1. The time now is 08:39.


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.