Register for your free account! | Forgot your password?

You last visited: Today at 12:13

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

Advertisement



Disabled PK

Discussion on Disabled PK within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2008
Posts: 52
Received Thanks: 1
Disabled PK

Hi guys, i want to disable PK in my server. How can i disable PK with opcodes ?
hadescik is offline  
Old 11/27/2015, 15:51   #2


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
You can't. At most you can do it after 1 attack.
​Exo is offline  
Old 11/27/2015, 16:07   #3
 
elite*gold: 0
Join Date: Nov 2008
Posts: 52
Received Thanks: 1
Quote:
Originally Posted by ​Exo View Post
You can't. At most you can do it after 1 attack.
How can i do this ? which opcode ?
hadescik is offline  
Old 12/13/2015, 12:26   #4
 
elite*gold: 20
Join Date: Dec 2015
Posts: 182
Received Thanks: 82
You can i think in config.cfg or common in folder bin...

Or check in SMC or in DB
BadSorrow is offline  
Old 12/17/2015, 21:39   #5

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,661
Quote:
Originally Posted by BadSorrow View Post
You can i think in config.cfg or common in folder bin...

Or check in SMC or in DB
pls stfu...

0x30BF is the character status update packet
you can use it like this

Code:
 if (p.Opcode == 0x30BF)
                                {
                                    try
                                    {
                                        uint num = p.ReadUInt32();
                                        if (num == this.Unique_ID)
                                        {
                                            int num2 = p.ReadInt8();
                                            int num5 = p.ReadInt8();
                                            if ((num5 == 1 || num5 == 2) && num2 == 7)
                                            {
                                                sendNoticeToUser("PKing is not allowed. You will be disconnected from the server.");
                                                m_LocalSecurity.Send(p);
                                                instaDcUser();
                                                
                                                continue;
                                            }
                                        }
                                    }
                                    catch (Exception e)
                                    {
                                        DisconnectModuleSocket();
                                    }
                                }
sarkoplata is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Ranked disabled?
10/04/2012 - League of Legends - 5 Replies
Hi mir fehlt noch ein Game zu Gold Elo, dies wollte ich heute spielen. Nun sehe ich aber, dass man ranked nicht mehr auswählen kann. Wird es jetzt bis nach den Turnieren so bleiben oder wie ist das jetzt?
Disabled CD Key WTF ?!!?!?!
08/28/2012 - DayZ - 5 Replies
http://img834.imageshack.us/img834/6646/unbenasdas dasdasdsadann.png Egal auf welchem server ich joine kommt diese nachricht ich weiss nicht was ich machen soll ich habe noch nie gescriptet oder ähnliches . Wo soll ich den support anschreiben und was soll ichn schreiben ? oder könnt ihr mir helfen danke . :D Mfg Katsumi
Steam VAC Disabled
04/27/2012 - Call of Duty - 6 Replies
Hallo Zusammen, Gibt es irgendwie was damit man das VAC von Steam Deaktivieren kann ?
this program has been disabled
10/06/2009 - 12Sky2 - 8 Replies
i get this error y? y am i am i getting this, it was working then i had to turn my computer off....and it says that the program has been disabled...hell is goin on...VISTA..
[BOT] Disabled
03/11/2009 - General Coding - 1 Replies
Hey Leute, ich bin ja gerade dabei, mir einen Angelbot zu schreiben mit allen möglichen Features. Jetzt is mir die Idee gekommen, dass man z.B. bei den Ausnahmen eine Checkbox aktivieren muss, um auf die Combobox zugreifen zu können. Das ganze sieht bis jetzt so aus: While 1 Select Case $msg = $check_ausnahme1 If GUICtrlRead ($check_ausnahme1) = 4 Then



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


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.