Register for your free account! | Forgot your password?


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

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

Advertisement



How to make a scroll can't be use outzone like guild member summon scroll ?

Discussion on How to make a scroll can't be use outzone like guild member summon scroll ? within the SRO Private Server forum part of the Silkroad Online category.

Closed Thread
 
Old   #1

 
elite*gold: 3094
Join Date: Feb 2016
Posts: 1,566
Received Thanks: 426
Exclamation How to make a scroll can't be use outzone like guild member summon scroll ?

How to make a scroll can't be use outzone like guild member summon scroll ?
or maybe like the job suits,
i want that scroll can be use at only towns, can't be use out the towns


thanks in advance!
FREDDY! is offline  
Old 01/11/2019, 18:23   #2
 
elite*gold: 85
Join Date: Feb 2014
Posts: 1,052
Received Thanks: 1,617
You are asking many many questions ^^.

The following way would be my personal favorite for these kinda things since you can do many many more things this way.


First: Make everyone a GM by default.
Inside your packet filter, send "invisible" command as soon as you get spawned automatically.

Disallow all 0x7010 packets (GM Packets).

NOW you can create scrolls or whatever. When the scroll/skill etc is used you can code a "RecallUser" command into the filter and let the user recall all guildmembers one after another. You can obviously also send the packet for the "Guildmember summon acceptance" and then peeps get recalled.


You'll be able to set any kind of custom zone **** this way or do whatever the **** you wanna do.

Just be sure to get the invisible toggle command right. Cause its a toggle(!), not an activation and deactivation.
Royalblade* is offline  
Thanks
3 Users
Old 01/11/2019, 18:26   #3

 
elite*gold: 3094
Join Date: Feb 2016
Posts: 1,566
Received Thanks: 426
Quote:
Originally Posted by Royalblade* View Post
You are asking many many questions ^^.

The following way would be my personal favorite for these kinda things since you can do many many more things this way.


First: Make everyone a GM by default.
Inside your packet filter, send "invisible" command as soon as you get spawned automatically.

Disallow all 0x7010 packets (GM Packets).

NOW you can create scrolls or whatever. When the scroll/skill etc is used you can code a "RecallUser" command into the filter and let the user recall all guildmembers one after another. You can obviously also send the packet for the "Guildmember summon acceptance" and then peeps get recalled.


You'll be able to set any kind of custom zone **** this way or do whatever the **** you wanna do.

Just be sure to get the invisible toggle command right. Cause its a toggle(!), not an activation and deactivation.
as more i ask as more i learn, i really appreciate ur answers, but i think u dont understand my questions correctly, i have made a new scroll that it will do alot of bugs if it done outside the zone, so i want them when they try to do it out the town they tell em " can't be use out of the town" just like when u try to use Guild Member summon scroll it tells the same error

so what should i do to any scroll to make it can't be use out of the towns

thanks in advance
FREDDY! is offline  
Old 01/11/2019, 18:33   #4
 
elite*gold: 85
Join Date: Feb 2014
Posts: 1,052
Received Thanks: 1,617
Ah okay, well that must be done via a packet filter then.
if you got the scroll ready you need to allow it in safezones only.

You can get the safezones from the DB.... OOOR you use these. Not sure if its everything.

Quote:
private static int[] asdRegions = new int[95] { 27499, 27500, 27243, 27244, 26520, 26521, 26264, 26265, 26777, 25000, 25001, 24745, 25255, 25256, 25257, 24999, 24199, 24200, 23943, 23944, 23686, 23687, 23688, 23430, 23431, 23432, 26266, 26522, 26009, 25753, 26008, 26519, 26263, 26519, 26518, 26262, 26263, 23689, 23433, 23690, 23434, 23945, 24201, 24457, 24456, 24712, 24200, 24711, 24455, 24454, 24453, 24197, 23941, 23685, 23429, 23430, 23686, 23942, 23432, 26266, 26522, 26009, 25753, 26008, 26519, 26263, 26519, 26518, 26262, 26263, 26988, 26987, 26986, 27242, 27243, 27498, 27499, 27755, 27756, 27501, 27245, 27244, 24744, 24743, 24742, 24998, 25254, 25510, 25511, 25512, 25513, 25514, 25258, 25002, 24746 };
Royalblade* is offline  
Thanks
2 Users
Old 01/11/2019, 20:52   #5
 
elite*gold: 0
Join Date: Sep 2017
Posts: 1,032
Received Thanks: 738
Quote:
Originally Posted by Royalblade* View Post
You are asking many many questions ^^.

The following way would be my personal favorite for these kinda things since you can do many many more things this way.


First: Make everyone a GM by default.
Inside your packet filter, send "invisible" command as soon as you get spawned automatically.

Disallow all 0x7010 packets (GM Packets).

NOW you can create scrolls or whatever. When the scroll/skill etc is used you can code a "RecallUser" command into the filter and let the user recall all guildmembers one after another. You can obviously also send the packet for the "Guildmember summon acceptance" and then peeps get recalled.


You'll be able to set any kind of custom zone **** this way or do whatever the **** you wanna do.

Just be sure to get the invisible toggle command right. Cause its a toggle(!), not an activation and deactivation.
Holy sexy way, who would ******* think of that...

But they will still be able to show/hide the console, and that would be annoying. So you gotta find a way to fix this with some codecave and that won't be that hard.

This idea would be so useful tho.
#HB is offline  
Old 01/11/2019, 21:02   #6

 
elite*gold: 3094
Join Date: Feb 2016
Posts: 1,566
Received Thanks: 426
so there's no way without using a filter to make a scroll that have to be use in towns ?
FREDDY! is offline  
Old 01/17/2019, 09:00   #7
 
elite*gold: 3
Join Date: Nov 2012
Posts: 485
Received Thanks: 259
Here you go


HECKT0R is offline  
Thanks
1 User
Old 01/17/2019, 12:56   #8

 
elite*gold: 3094
Join Date: Feb 2016
Posts: 1,566
Received Thanks: 426
Quote:
Originally Posted by HECKT0R View Post
Here you go


going to try it just right now, hope it works
i will write back the result

i put this

use SRO_VT_SHARD
go
create proc _Scroll_Name
@ Charid int
as
begin

Declare @ charname varchar(20), @ isbattle int

set @ isbattle = (select IsBattleField from SRO_VT_SHARD.dbo._RefRegion where wRegionID =
(Select LatestRegion from SRO_VT_SHARD.dbo._Char where CharID [email protected] Charid ))

-- Check if char ouside town dont tp him for non job cheating and other stuff ... !
if( @ isbattle ='1')
begin
Insert into Notice (Service,Type,Target,Message,Date) values
(1,'Private',@ CharName,'sorry but you are not in town ',Getdate())
END
-- End of anti-cheating
else
begin
print 'ITEM_MALL_CHAR_NAME_SCROLL'
end
end


but its not working error excute pop up "Msg 102, Level 15, State 1, Procedure _Scroll_Name, Line 4
Incorrect syntax near 'int'.
Msg 102, Level 15, State 1, Procedure _Scroll_Name, Line 8
Incorrect syntax near 'varchar'.
Msg 137, Level 15, State 2, Procedure _Scroll_Name, Line 11
Must declare the scalar variable "@".
Msg 137, Level 15, State 2, Procedure _Scroll_Name, Line 14
Must declare the scalar variable "@".
Msg 137, Level 15, State 2, Procedure _Scroll_Name, Line 17
Must declare the scalar variable "@"."
FREDDY! is offline  
Old 01/17/2019, 23:16   #9
 
elite*gold: 3
Join Date: Nov 2012
Posts: 485
Received Thanks: 259
@
Remove the space after each @
if you still can't get your thing works send me tv .
HECKT0R is offline  
Thanks
1 User
Old 01/18/2019, 12:28   #10

 
elite*gold: 3094
Join Date: Feb 2016
Posts: 1,566
Received Thanks: 426
Quote:
Originally Posted by HECKT0R View Post
@
Remove the space after each @
if you still can't get your thing works send me tv .
it works now, after removed these spaces, but i can still active the scrolls at anywhere i want, and it works perfectly

did i made any mistaks ?
use SRO_VT_SHARD
go
create proc _Scroll_Name
@d int
as
begin
Declare @ varchar(20), @ttle int
set @ttle = (select IsBattleField from SRO_VT_SHARD.dbo._RefRegion where wRegionID =
(Select LatestRegion from SRO_VT_SHARD.dbo._Char where CharID @d ))
-- Check if char ouside town dont tp him for non job cheating and other stuff ... !
if( @ttle ='1')
begin
Insert into Notice (Service,Type,Target,Message,Date) values
(1,'Private' @,'sorry but you are not in town ',Getdate())
END
-- End of anti-cheating
else
begin
print 'ITEM_MALL_CHAR_NAME_SCROLL'
end
end

i even tried to go out the safe zone then i restarted the character to refresh the region in the _Char table, but the scroll still working perfectly, it should be disabled cuz iam outsize
FREDDY! is offline  
Old 01/18/2019, 13:27   #11
 
elite*gold: 3
Join Date: Nov 2012
Posts: 485
Received Thanks: 259
told you send me tv
i got it already working and tested .

you will use this proc for which scroll ?
also send me the final procedure so i can review it .
HECKT0R is offline  
Thanks
1 User
Old 01/18/2019, 16:37   #12

 
elite*gold: 3094
Join Date: Feb 2016
Posts: 1,566
Received Thanks: 426
Quote:
Originally Posted by HECKT0R View Post
told you send me tv
i got it already working and tested .

you will use this proc for which scroll ?
also send me the final procedure so i can review it .
this proc will be use for alot of scrolls, all the recall once, like recall skills scroll, Recall Stats Scroll, Recall Guild Penalty Scroll, and so on...

i guess tv means teamviwer so iam setuping it... and i will give it to u just right now on the discord

Solved throw


topic close please
FREDDY! is offline  
Closed Thread


Similar Threads Similar Threads
TaeSe Summon Scroll
02/19/2016 - SRO Private Server - 10 Replies
Hello, I have 120 cap server. The guild which own the fortress earn TaeSe summon scroll. the master is level 120 .. he can't use the scroll not action when try to use the scroll getting this error in gameserver but if i change char level to 110 the scroll can be used.. how to make the scroll can be used if char level 110+ ??
GREY WOLF SUMMON SCROLL THEBES
01/05/2014 - Silkroad Online Trading - 0 Replies
HI, I want to sell my Grey Wolf on Thebes. It is Level 94. Really rare, u canīt buy this anywhere. My other Wolf were bought for 2,2bio. PM me if u want!
No CP summon/ranged and longbow summon hack
07/15/2008 - General Gaming Discussion - 11 Replies
- no cp and nak (2 in 1): combine No CP summon and longbow summon hack - no ranged: like b4



All times are GMT +2. The time now is 14:23.


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