Register for your free account! | Forgot your password?

You last visited: Today at 21:40

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

Advertisement



Lock / Unlock Scroll

Discussion on Lock / Unlock Scroll within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old 11/03/2015, 19:32   #16
 
elite*gold: 0
Join Date: May 2013
Posts: 1,447
Received Thanks: 1,046
Quote:
Originally Posted by ​Exo View Post
This is really bad if you ask me! There're a lot of possibilities in which you didn't handle. Code is bad/unorganized/not optimized. And again 'not recommended'.

*my own useless opinion on which you don't have to agree and yes you shouldn't care*
Such releases probably should have something like : "This is an example of how to do bla bla bla, it has mistakes, exploit possibilities..etc..etc" on the main post
Anonymous-6723 is offline  
Old 11/03/2015, 20:59   #17
 
Hamza FiGo's Avatar
 
elite*gold: 150
Join Date: Sep 2009
Posts: 987
Received Thanks: 258
Quote:
Originally Posted by ​Exo View Post
This is really bad if you ask me! There're a lot of possibilities in which you didn't handle. Code is bad/unorganized/not optimized. And again 'not recommended'.

*my own useless opinion on which you don't have to agree and yes you shouldn't care*
Last man on earth can talk in something like that is u Exo, and u know what i mean ha !

Don't wanna tell guys what u just do to a friend payed u to a useless event.

Just forget it
Hamza FiGo is offline  
Old 11/03/2015, 22:05   #18
 
elite*gold: 0
Join Date: Jan 2010
Posts: 68
Received Thanks: 7
Thanks Good Job hamza
kingkimo2010 is offline  
Thanks
1 User
Old 11/05/2015, 15:20   #19
 
Hamza FiGo's Avatar
 
elite*gold: 150
Join Date: Sep 2009
Posts: 987
Received Thanks: 258
About plus has been fixed by . [Now i don't need the scroll] ^^




@ Zed*: i just tried, not a shame to try to do something instead of ask someone like ...he know himself... to do it for me
Hamza FiGo is offline  
Old 11/05/2015, 20:17   #20

 
Bocc1337's Avatar
 
elite*gold: 737
Join Date: Oct 2007
Posts: 730
Received Thanks: 133
im not able to get it to work brother.. can you pm me your skype ? name bocc1337
Bocc1337 is offline  
Old 11/06/2015, 19:56   #21
 
elite*gold: 41
Join Date: Oct 2012
Posts: 2,216
Received Thanks: 1,196
Quote:
Originally Posted by Zed* View Post
Such releases probably should have something like : "This is an example of how to do bla bla bla, it has mistakes, exploit possibilities..etc..etc" on the main post
you know when some acting like a pro,be like
Crue* is offline  
Old 11/07/2015, 12:06   #22
 
Syloxx's Avatar
 
elite*gold: 56
Join Date: Oct 2013
Posts: 1,165
Received Thanks: 774
suggestion for improvement (too lazy to write it by myself):

Lock:
Step 1) get a Scroll from non played character or item mall *must be a returnscroll with a delay of 0ms*
Step 2) notice the player that they should move the item on slot 13.
Step 3) use the scroll, generate a 16- 32 characters password, storage the password, serial, old and new refid in a new table.
Step 4) send the password to the player via message system and that the player should storage the password somewhere and delete the message after he is done
Step 5) check on logout if this message is removed... if not delete the password unlock the item readd the scroll to the character and leave a message that he didnt removed the message.

Unlock:
Step 1) send a message with the password to a specified user.
Step 2) use the unlock scroll *must be a returnscroll with a delay of 0ms*
Step 3) check if the correct password has ben send to the unlock character within the last 5 minutes if so unlock if not readd unlock scroll to character

and well... rewrite your whole query i didnt even read it completly because...

my eyes would look like that:
Syloxx is offline  
Thanks
2 Users
Old 11/07/2015, 12:58   #23


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
^The whole thing can be done packet based and you won't need to fill your database with tons of items. Damit, imagine this, Model switches, locked items, locked models. Can you picture the tree of items? It's huge!
​Exo is offline  
Old 11/07/2015, 20:01   #24

 
Bocc1337's Avatar
 
elite*gold: 737
Join Date: Oct 2007
Posts: 730
Received Thanks: 133
hey question..i add the new weps to the system but having a problem finding the file to get the plus glows to work.. can anyone help me on this please? i got the sox effects working. only the plus glows not work. thx

never mind my noob *** dint extract the file properly.. working now
Bocc1337 is offline  
Old 11/08/2015, 10:57   #25
 
Syloxx's Avatar
 
elite*gold: 56
Join Date: Oct 2013
Posts: 1,165
Received Thanks: 774
Quote:
Originally Posted by ​Exo View Post
^The whole thing can be done packet based and you won't need to fill your database with tons of items. Damit, imagine this, Model switches, locked items, locked models. Can you picture the tree of items? It's huge!
Yes, or you could also simply modify all required _STRG_* procedures and dont need a ****** packet filter.

In my opinion packet filters are there to block packets from a client wich could harm your server (crash or smt like that). Not to play arround with them like a little baby wich got a new toy.

Code:
client > check blacklist > AgentServer > GameServer / ShardManager > SQL Server > DONE
                         > DROP
Syloxx is offline  
Old 11/08/2015, 11:50   #26


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
Quote:
Originally Posted by Syloxx View Post
Yes, or you could also simply modify all required _STRG_* procedures and dont need a ****** packet filter.

In my opinion packet filters are there to block packets from a client wich could harm your server (crash or smt like that). Not to play arround with them like a little baby wich got a new toy.

Code:
client > check blacklist > AgentServer > GameServer / ShardManager > SQL Server > DONE
                         > DROP

Not really! Proper filter architecture would work for everything. Think about the unique scrolls and the skilling system they are server sided using server's filter(modules) everything could be manipulated using proper functions. But hey, it's your opinion anyway
​Exo is offline  
Old 11/08/2015, 11:55   #27
 
Syloxx's Avatar
 
elite*gold: 56
Join Date: Oct 2013
Posts: 1,165
Received Thanks: 774
Quote:
Originally Posted by ​Exo View Post
Not really! Proper filter architecture would work for everything. Think about the unique scrolls and the skilling system they are server sided using server's filter(modules) everything could be manipulated using proper functions. But hey, it's your opinion anyway
well, you compare a c++ module with a c# application
get it?

anyway it could be easily done sql side so why using a packet filter?
Syloxx is offline  
Old 11/08/2015, 12:00   #28


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
Lock / Unlock Scroll

Quote:
Originally Posted by Syloxx View Post
well, you compare a c++ module with a c# application

get it?

Yes? Actually net framework based languages are kinda more advanced and easier to code. Comparing the languages makes no sense, they are just raw languages you know. Only difference is where can you compile them and that's why c++ has the upper hands since it can work on different OS(s) but since sro doesn't work on anything but windows so it doesn't matter actually

Your linux theory is not so important since almost every feature on linux can be done on windows but you will just have to write more code!
​Exo is offline  
Old 11/08/2015, 13:11   #29
 
Syloxx's Avatar
 
elite*gold: 56
Join Date: Oct 2013
Posts: 1,165
Received Thanks: 774
Quote:
Originally Posted by ​Exo View Post
Yes? Actually net framework based languages are kinda more advanced and easier to code. Comparing the languages makes no sense, they are just raw languages you know. Only difference is where can you compile them and that's why c++ has the upper hands since it can work on different OS(s) but since sro doesn't work on anything but windows so it doesn't matter actually

Your linux theory is not so important since almost every feature on linux can be done on windows but you will just have to write more code!
did i said anything about linux?
i mean you compare the cpp module inside the gs with a cs application
i talk about performance so what you think is more performant?
Syloxx is offline  
Old 11/08/2015, 17:39   #30

 
AceSpace's Avatar
 
elite*gold: 21
Join Date: Mar 2011
Posts: 1,613
Received Thanks: 1,122
Quote:
Originally Posted by Syloxx View Post
suggestion for improvement (too lazy to write it by myself):

Lock:
Step 1) get a Scroll from non played character or item mall *must be a returnscroll with a delay of 0ms*
Step 2) notice the player that they should move the item on slot 13.
Step 3) use the scroll, generate a 16- 32 characters password, storage the password, serial, old and new refid in a new table.
Step 4) send the password to the player via message system and that the player should storage the password somewhere and delete the message after he is done
Step 5) check on logout if this message is removed... if not delete the password unlock the item readd the scroll to the character and leave a message that he didnt removed the message.

Unlock:
Step 1) send a message with the password to a specified user.
Step 2) use the unlock scroll *must be a returnscroll with a delay of 0ms*
Step 3) check if the correct password has ben send to the unlock character within the last 5 minutes if so unlock if not readd unlock scroll to character

and well... rewrite your whole query i didnt even read it completly because...

my eyes would look like that:
The idea is great, I did it well sure it took me like 2 hours to get it fully working.
Locking the item :: Scroll being used (5 seconds) -> Locks the item -> Database generates unique 6 digit passcode -> The bot pms the player with it.
Unlocking the item :: Scroll being used (1 minute) -> Database receives the request and sends a message to the player to request the Passcode -> the message from the player gets received through a private message logger (Example; Passcode: 444444) once received, it executes a procedure to changes a certain number in the table(column) from 0 to 1 which means it gotten verified. after that minute the procedure checks if the value was changed to 1, if so then it unlocks the item else bb.

Also did something like, !listlockeditems -> Gives you a list of the locked items with their names & numbers. Example:
[Moon Bow] :: Number(1)
[Heavy ?] :: Number (2)
etc.

Note; once the item is unlocked, it removes it from the table and re-arranges the number list.
AceSpace is offline  
Reply


Similar Threads Similar Threads
Vsro silk scroll and gift scroll doesn't work
10/17/2015 - SRO Private Server - 1 Replies
solved topic can delete
how unlock an iphone or how to unlock iphone password lock
03/26/2012 - Smartphones - 0 Replies
connections. With Bluetooth Two.Zero + EDR, you can allow it to flatten, which might grant some types of how to unlock iphone 4 carrier how to unlock iphone 4g 4.1 Ideas on how to how to unlock iphone 4g 4.1
Multi Hack 3.0 lock/unlock problem ?
01/24/2009 - Metin2 - 5 Replies
We Need lock/unlock mobs in metin2 TR server pls help :mofo:
Free Lock/Unlock Key Use
10/26/2007 - Kal Online - 9 Replies
Search inventory slot: 48(medium med), switch with small med, then search 47(small med); repeat for small med slot. Lock value: 1181 Unlock Key value: 1183 enjoy! ^^ searching for new tool xD UCE getting boring must learn more!!! :D



All times are GMT +1. The time now is 21:40.


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.