Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 00:13

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

Advertisement



[Relase] Anti-bot system ( As Qonquer had it )

Discussion on [Relase] Anti-bot system ( As Qonquer had it ) within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
[Relase] Anti-bot system ( As Qonquer had it )

Wazzup homies? I was bored today and decided to quickly get something ,and the only thing in my mind was the anti-bot-level system Qonquer has. If anyone wonder,here is how it's working:

* Each 15 minutes,it brings up an NPC chat and ask you an question with some options. If you answer wrong,you get disconnected, if you wont answer within 20 seconds, you get disconnected.

So,theres no way to get away!
Also, there are alot of privateservers that are not yet public, so I simply made a command for all this,so you can start / shut it off whenever you like.

Alright,here goes the code:



In Character.cs :


Quote:
public Timer QuestionTimer = new Timer();
public Timer QuestionTimer1 = new Timer();
public bool QuestionAnswered = false;
public bool CanAsk = true;


Search for public void SwingPickaxe() , and above it , add:



Quote:
public void Question()
{
if (CanAsk)
{

int Question = General.Rand.Next(1, 5);
MyClient.CurrentNPC = 186183;

if (Question == 1)
{

MyClient.SendPacket(General.MyPackets.NPCSay("What color is brown?"));
MyClient.SendPacket(General.MyPackets.NPCLink("Blu e", 1));
MyClient.SendPacket(General.MyPackets.NPCLink("Bla ck", 2));
MyClient.SendPacket(General.MyPackets.NPCLink("Yel low?", 3));
MyClient.SendPacket(General.MyPackets.NPCLink("Bro wn", 4));
MyClient.SendPacket(General.MyPackets.NPCSetFace(3 0));
MyClient.SendPacket(General.MyPackets.NPCFinish()) ;
}
if (Question == 2)
{

MyClient.SendPacket(General.MyPackets.NPCSay("Do you use an bot at the moment?"));
MyClient.SendPacket(General.MyPackets.NPCLink("Ofc ourse", 5));
MyClient.SendPacket(General.MyPackets.NPCLink("No sir", 6));
MyClient.SendPacket(General.MyPackets.NPCSetFace(3 0));
MyClient.SendPacket(General.MyPackets.NPCFinish()) ;
}
if (Question == 3)
{

MyClient.SendPacket(General.MyPackets.NPCSay("How would you rate this server?"));
MyClient.SendPacket(General.MyPackets.NPCLink("Ama zing", 7));
MyClient.SendPacket(General.MyPackets.NPCLink("Goo d", 8));
MyClient.SendPacket(General.MyPackets.NPCLink("Bad ", 9));
MyClient.SendPacket(General.MyPackets.NPCLink("Mil k,please", 10));
MyClient.SendPacket(General.MyPackets.NPCSetFace(3 0));
MyClient.SendPacket(General.MyPackets.NPCFinish()) ;
}
if (Question == 4)
{

MyClient.SendPacket(General.MyPackets.NPCSay("Are you connected to the internet?"));
MyClient.SendPacket(General.MyPackets.NPCLink("Yea h", 11));
MyClient.SendPacket(General.MyPackets.NPCLink("Not sure", 12));
MyClient.SendPacket(General.MyPackets.NPCLink("Mil k,please", 13));
MyClient.SendPacket(General.MyPackets.NPCSetFace(3 0));
MyClient.SendPacket(General.MyPackets.NPCFinish()) ;
}
if (Question == 5)
{

MyClient.SendPacket(General.MyPackets.NPCSay("Have you ever used an computer?"));
MyClient.SendPacket(General.MyPackets.NPCLink("Yea h", 14));
MyClient.SendPacket(General.MyPackets.NPCLink("Not sure", 15));
MyClient.SendPacket(General.MyPackets.NPCLink("I am a bot!!!", 16));
MyClient.SendPacket(General.MyPackets.NPCSetFace(3 0));
MyClient.SendPacket(General.MyPackets.NPCFinish()) ;
}
}


}

Search for : public void UnPackProfs() , above it add:


Quote:
public void QuestionTimer_Elapsed(object sender, ElapsedEventArgs e)
{
Question();
MyClient.SendPacket(General.MyPackets.SendMsg(MyCl ient.MessageId, "Server", Name, "Answer the question quick and correct ,else you will be kicked out.", 2000));

}
public void QuestionTimer1_Elapsed(object sender, ElapsedEventArgs e)
{
if (!QuestionAnswered)
{
Save();
MyClient.Drop();
}


}



Search for if (Splitter[0] == "/level") , above it add:



Quote:
if (Splitter[0] == "@start")
{
MyChar.QuestionTimer.Interval = 60000 * 15;
MyChar.QuestionTimer.Elapsed += new ElapsedEventHandler(MyChar.QuestionTimer_Elapsed);
MyChar.QuestionTimer.Start();
MyChar.QuestionTimer1.Interval = 60000 * 16;
MyChar.QuestionTimer1.Elapsed += new ElapsedEventHandler(MyChar.QuestionTimer1_Elapsed) ;
MyChar.QuestionTimer1.Start();

}


if (Splitter[0] == "/stop")
{
MyChar.QuestionTimer.Stop();
MyChar.QuestionTimer1.Stop();
MyChar.CanAsk = false;

}

Now,search for : if (CurrentNPC == 390) , above it add:



Quote:
if (CurrentNPC == 186183)
{
if (Control == 1 || Control == 2 || Control == 3 || Control == 5 || Control == 10 || Control == 13 || Control == 16)
{
MyChar.Save();
MyChar.MyClient.Drop();

}
else
{
MyChar.QuestionAnswered = true;
}

}


I seriously only tested this once,and didnt test it all,but to me it all should work fine. Its really simple and I did it because I was bored,I dont mind if you think it was worthless


I highly suggest everyone to change the question/answers if your server is public and you are going to use this. It is recommended to change the question + answers atleast once a week , if not even more often.
This is how you add more question/answers:

Search for int Question = General.Rand.Next(1, 5); , and change that 5 to how many questions you want to ask.

Now,search for: if (Question == 5) , and above it , add a new question with a higher number ,this is an example:


Quote:
if (Question == 6) // you cant use this number on any other question
{

MyClient.SendPacket(General.MyPackets.NPCSay("Clic k the option which says ´Correct Answer´?"));
MyClient.SendPacket(General.MyPackets.NPCLink("Cow ", 17)); // <- these numbers should always be higher than the one above , or the last one at the last question. Those are the option ID's.
MyClient.SendPacket(General.MyPackets.NPCLink("Not sure", 18));
MyClient.SendPacket(General.MyPackets.NPCLink("Cor rect answer", 19));
MyClient.SendPacket(General.MyPackets.NPCSetFace(3 0));
MyClient.SendPacket(General.MyPackets.NPCFinish()) ;
}

Great! You added the questions. Now lets add so they will disconnect if they answer wrong!

Search for: if (CurrentNPC == 186183) , and two rows under that you see a long line with like : if (Question == 1 || Question == 2 || bla bla bla,somewhere in there,add the WRONG answer ids. On the example,the wrong IDs are 18 and 17, so then you do this.

if (Question == 17 || Question == 18 somewhere in that long line so it fit in.

Goodluck,

P.S : Sorry for my bad english and my lack of explanation skill.




Press thanks if you just want to or if you really think this was worth releasing.



Emme


EDIT : Now when I looked at the quotes,I see there are spaces here and there,for some reason. Probably quote system that is fuxxed up. So,if your going to copy + paste this,make sure all the spaces are corrected.
_Emme_ is offline  
Thanks
15 Users
Old 10/26/2008, 23:00   #2
 
taguro's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 387
Received Thanks: 64
Nice release, this should help keep people honest on private servers.
taguro is offline  
Old 10/26/2008, 23:03   #3
 
elite*gold: 0
Join Date: Apr 2008
Posts: 470
Received Thanks: 264
Nice Release emme!

added to my all in 1 thread in green letters
XxArcherMasterxX is offline  
Old 10/26/2008, 23:05   #4
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
Seriously? Was this an nice idea? I was set to get all flames on this one,ah whatever,there are still some nice guys left here

Any other ideas of what I can code to improve the actual game-play,to keep it clean and stuffs like that?
_Emme_ is offline  
Old 10/26/2008, 23:07   #5
 
elite*gold: 0
Join Date: Apr 2008
Posts: 470
Received Thanks: 264
Quote:
Originally Posted by emildayan1 View Post
Seriously? Was this an nice idea? I was set to get all flames on this one,ah whatever,there are still some nice guys left here

Any other ideas of what I can code to improve the actual game-play,to keep it clean and stuffs like that?
well you are bored i think, so why not releasing uuhhhmmm wait give me 5 minuts:P

[5 Minutes Later]

Code a kind of Vip Map like you said in a other post or a pk tournament

ps/ lol this was a great idea
XxArcherMasterxX is offline  
Old 10/26/2008, 23:10   #6
 
lostsolder05's Avatar
 
elite*gold: 20
Join Date: Jan 2006
Posts: 890
Received Thanks: 240
lolz, nice good idea =x(talking 2 emme)
lostsolder05 is offline  
Old 10/26/2008, 23:11   #7
 
taguro's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 387
Received Thanks: 64
Quote:
Originally Posted by XxArcherMasterxX View Post
well you are bored i think, so why not releasing uuhhhmmm wait give me 5 minuts:P

[5 Minutes Later]

Code a kind of Vip Map like you said in a other post or a pk tournament

ps/ lol this was a great idea
Coding a pk tourney is easy... creating a completely new map... not so easy. Maps aren't made by coding.
taguro is offline  
Old 10/26/2008, 23:14   #8
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
Im working on that VIP map / system ****:
This is what I got on it, worked for like 15 - 20 minutes then I had to go:

* VIP Purchase:
12 hours - 1000 CPs or 20 million silvers
24 hours - 2000 CPs or 35 million silvers.
48 hours - 5000 CPs or 55 million silvers.
A week - 15000 CPs or 150 million silvers.

You can always go back to normal cities, and back in.

* Sends an different effect on the top right corner,which name is VIP and tells you how long until you lose your VIP.

* 3x experience by killing the monsters in the VIP map

* Special monsters in the VIP map,gives extra nice drops and are a few higher level monsters.

* A few NPCs,charge nothing to go to the other maps.

* Each 20 minutes , you have a chance of winning 20 CPs. The chance is 1 of 15.




Ill add a few more stuffs,then release it.

Emme
_Emme_ is offline  
Old 10/26/2008, 23:16   #9
 
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
nice one....(u helped me a lot with this one)
alexbigfoot is offline  
Old 10/26/2008, 23:16   #10
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
Quote:
Originally Posted by taguro View Post
Coding a pk tourney is easy... creating a completely new map... not so easy. Maps aren't made by coding.
We discussted this in another thread,haha. What he/ me meant was we are going to use the copy of TC/BI/DC blablabla, and use them as ´new´ maps, or , in other world, create a whole new VIP world. Or infact,_I_ will, then release it , Lawls.

Emme
_Emme_ is offline  
Thanks
3 Users
Old 10/26/2008, 23:17   #11
 
elite*gold: 0
Join Date: Apr 2008
Posts: 470
Received Thanks: 264
Quote:
Originally Posted by emildayan1 View Post
Im working on that VIP map / system ****:
This is what I got on it, worked for like 15 - 20 minutes then I had to go:

* VIP Purchase:
12 hours - 1000 CPs or 20 million silvers
24 hours - 2000 CPs or 35 million silvers.
48 hours - 5000 CPs or 55 million silvers.
A week - 15000 CPs or 150 million silvers.

You can always go back to normal cities, and back in.

* Sends an different effect on the top right corner,which name is VIP and tells you how long until you lose your VIP.

* 3x experience by killing the monsters in the VIP map

* Special monsters in the VIP map,gives extra nice drops and are a few higher level monsters.

* A few NPCs,charge nothing to go to the other maps.

* Each 20 minutes , you have a chance of winning 20 CPs. The chance is 1 of 15.




Ill add a few more stuffs,then release it.

Emme
cool
XxArcherMasterxX is offline  
Old 10/26/2008, 23:17   #12
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
Quote:
Originally Posted by alexbigfoot View Post
nice one....(u helped me a lot with this one)

Be REALLY honest now,when you looked at it,I am 99 % sure, you was thinking:

Oh ****, this wasnt really that hard!

Seriously,was I right? Since this is really simple,atleast I think..
_Emme_ is offline  
Old 10/26/2008, 23:18   #13
 
elite*gold: 0
Join Date: Apr 2008
Posts: 470
Received Thanks: 264
Quote:
Originally Posted by emildayan1 View Post
Be REALLY honest now,when you looked at it,I am 99 % sure, you was thinking:

Oh ****, this wasnt really that hard!

Seriously,was I right? Since this is really simple,atleast I think..
hahhahahaha you owned him xD!
XxArcherMasterxX is offline  
Old 10/26/2008, 23:19   #14
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Simple, yet useful I guess.

@highfive EmMe
tao4229 is offline  
Old 10/26/2008, 23:21   #15
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
Ouch! Dont highfive that hard,man!
Nah seriously,yeah it was rather simple..

Going to sleep now, my cousin is nagging me all tha time..

Peace for now,ill release more tomorrow,give me ideas..
_Emme_ is offline  
Reply


Similar Threads Similar Threads
New Anti Bot: L2 Anti-bot System
02/18/2012 - Lineage 2 - 4 Replies
I did not want are posting this, unfortunately I have to post more. Navigating the Internet and the search for something related to the new Anti Bot that is taking on some servers, as L2DEX, Horyu and L2Fury ... After muiitas searches found the site selling the new Anti Bot, I will leave the link below so that they can demonstrate: edited Please note that the price of Anti Bot, is not high, has a value of XXX. That's personal, more a challenge for us all: Time to find a way to stop this...
anti bot system
12/19/2009 - Lineage 2 - 2 Replies
anyone has any idea what they use for a anti bot system ? server :l2rox verify all ok.. if u enable u get a DC and auto ban if u dont enable the bot ( start it ) all is fine...
Anti Bot System
11/27/2009 - Aion Hacks, Bots, Cheats & Exploits - 19 Replies
Hello people, i want to inform you that NCSoft talked about a new Anti Bot System (server sided) and it's online since 1.5.1. For all botters and coders i want to help you a little bit. If you bot 24 / 7 on the same location, same waypoints without any changes YOU get a BAN. For all people who use a background memory injection to move your player they detects it now and you will get a ban! For all people who use a Cast Injection, you get a ban.
anti bot system warning
05/26/2006 - Lineage 2 - 4 Replies
ok guy there is an anti bot on the serv where i play and i think all server will have too soon they are drops on floor that you can see only with bot and if you pickup --> increase weight so load 90% or more and you can delete or drop it after it sux really. If someone have solution for delete and when you see the bot take this drop with L2 you see : XXXX pickup "." bb all and warning and thx if someone find a solution
new anti-bot system
11/13/2005 - Lineage 2 - 1 Replies
My server admin anounced: Changes: some skills fixed, new anti-bot system anti-bot!!! =/// i was boting but now =/// i cant! Any ideas how to fix this problem? I love L2 walker :)) L2 without it is shit =D Sr 4 my english :)



All times are GMT +2. The time now is 00:13.


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