Like imagine this, when there was no CON resigner, and if we had one.
edit***
Is this a firewall or security issue?
Edited by Curtis, 18 August 2009 - 08:05 AM.
Posted 18 August 2009 - 08:04 AM
Posted 18 August 2009 - 08:12 AM
Posted 18 August 2009 - 08:13 AM
Posted 18 August 2009 - 10:57 AM
Posted 18 August 2009 - 02:23 PM
Verify(1000, 20, 0)
Source removed, since the back-end was updated, and no longer works.
Posted 18 August 2009 - 03:46 PM
Posted 18 August 2009 - 06:43 PM
Posted 18 August 2009 - 09:30 PM
Source removed, since the back-end was updated, and no longer works.
Edited by iBotPeaches, 22 August 2009 - 03:54 PM.
Posted 19 August 2009 - 06:01 AM
Posted 19 August 2009 - 09:24 AM
Posted 19 August 2009 - 09:35 AM
Posted 20 August 2009 - 01:23 AM
Source removed, since the back-end was updated, and no longer works.
Edited by iBotPeaches, 22 August 2009 - 03:54 PM.
Posted 21 August 2009 - 02:07 PM
Source removed, since the back-end was updated, and no longer works.
Edited by iBotPeaches, 22 August 2009 - 03:54 PM.
Posted 21 August 2009 - 02:31 PM
Posted 22 August 2009 - 02:48 PM
Posted 22 August 2009 - 03:06 PM
Posted 22 August 2009 - 03:51 PM
/* * Allowed User Groups to post, edit this yourself * Remove the ones that you DONT want to use your program * For this demo, all the groups are there * * The ones that are missing are Bots, * Guests and some old usergroups that are hidden */ ArrayList aug = new ArrayList(); aug.Add(1); //Validating aug.Add(3); //Members aug.Add(4); //Owner aug.Add(5); //Banned aug.Add(7); //Sub Admins aug.Add(<img src='http://www.ibotmodz.net/forum/public/style_emoticons/<#EMO_DIR#>/dirol.gif' class='bbc_emoticon' alt='8)' />; //VIP aug.Add(9); //Global Mods aug.Add(10); //GFX Team aug.Add(12); //Retired Staff aug.Add(14); //Members+ aug.Add(15); //Donors aug.Add(16); //Donors+ //These are the the levels of which you want for posts and REP int minPosts = 0; int minRep = 0; //The client to download the string, which contains all login info WebClient client = new WebClient(); string info = client.DownloadString("http://www.ibotmodz.net/index.php/prog/api"); client.Dispose(); //Check if website online or not if (String.IsNullOrEmpty(info)) MessageBox.Show("iBotModz is offline"); //Gathering the 4 variables string user = info.Substring((info.IndexOf("[user]") + 6), ((info.IndexOf("[/user]") - (info.IndexOf("[user]") + 6)))); //Check if guest if (String.IsNullOrEmpty(user)) { MessageBox.Show("Please become a member on iBotModz.net." + Environment.NewLine + Environment.NewLine + "If you are a member....Make a post" + Environment.NewLine + "Without using the quick reply <img src='http://www.ibotmodz.net/forum/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />"); Environment.Exit(0); } int posts = Convert.ToInt32(info.Substring((info.IndexOf("[posts]") + 7), ((info.IndexOf("[/posts]") - (info.IndexOf("[posts]") + 7))))); int rep = Convert.ToInt32(info.Substring((info.IndexOf("[rep]") + 5), ((info.IndexOf("[/rep]") - (info.IndexOf("[rep]") + 5))))); int groupID = Convert.ToInt32(info.Substring((info.IndexOf("[groupid]") + 9), ((info.IndexOf("[/groupid]") - (info.IndexOf("[groupid]") + 9))))); //Check for posts if (minPosts > posts) { MessageBox.Show("You need more posts to use this program."); this.Close(); } //Check for REP level if (minRep > rep) { MessageBox.Show("You need more REP to use this program."); this.Close(); } //Check for memberID if (groupID == 0) MessageBox.Show("Sorry, you don't have a usergroup."); int flag = 0; // ((0 = failed)) ((1 = passed)) //This will go through each allowed ID, so lets hope we are in here foreach (int i in aug) { if (groupID == i) { //Yes we found it //Debug.WriteLine(groupID + " passed becuase it was equal to " + i); flag = 1; break; } else { //so far theres nothing, keep going flag = 0; //Debug.WriteLine(groupID + " failed becuase it was equal to " + i); } } //Check if passed or not switch (flag) { case 1: //Login passed break; case 0: //Login Failed this.Close(); break; }
Posted 22 August 2009 - 04:52 PM
Posted 22 August 2009 - 05:12 PM