Jump to content

cbox


iBotPeaches

Owner
  • Posts

    6582
  • Joined

  • Last visited

  • Days Won

    139

Everything posted by iBotPeaches

  1. Its all true, I still like Microsoft over those guys though.
  2. To be blunt the post format sucks. Theres no embedded pictures, download or tiny description. Embedd the pictures, I'm too lazy to click around to try and view them. Also if you upload/link to them via the IMG tag or inline upload feature, they get saved on iBotModz so they'll never die out!
  3. The peek or foreach statement?
  4. Russians are selling weapons to terrorists.
  5. When you download the string from the text file use this to split it into an array with each line a new item in the array. string[] lineArray = Regex.Split(MyReader.ReadToEnd(), "\r\n"); Then like a foreach statement for that array to pull it into a listbox line by line. Or do like do until MyReader.Peek = -1.
  6. Chrome is good, but hella buggy. Opera just doesn't have a good market share, IE sucks flat out no questions. Firefox has add-ons and the ability to auto update easily.
  7. My first negative rep how sad I know what I will be doing in return.
  8. FYI. Being deleted or moved tomorrow morning. Can't have this sorry.
  9. I don't understand the benefits of this section. It would be abused more than the Off-Topic section. All those topics should just be posted in Off-Topic.
  10. Were definitely not posting children. Any of that, and this topic is gone.
  11. I believe he released a pack here, which might have included some of these tags. http://www.ibotmodz.net/forum/index.php?/topic/16082-cesars-resources/page__view__getnewpost
  12. Just an FYI. I'm more than likely going to remove this topic or move it somewhere less public, so my work doesn't pick it up.
  13. yep No members could post, now they can.
  14. Wheres the source of this? I just don't want to steal something, I want to make sure its free and open.
  15. Just making sure people can post in this forum now
  16. Good idea, not for me though. Great for whoever thought it up.
  17. The idea for a Help Desk failed miserably. One of my ideas that just sucked. I removed it and added the forum "Help Desk", its just a support forum for all types of support. I just started making a mod on my local install for topic tags. It works hard-coded already, just need to make it in hook form now.
  18. The exception would only occur if it tried to convert NULL to an integer. That if statement right before the converting of Posts, Rep and GroupID, has caught all the exceptions so far.
  19. test test
  20. Updated source by myself. Confirmed working on my 3 test accounts. /* * 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(; //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 "); 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; }
  21. Its not a program, but a way to authenticate programs. Thanks though
  22. Update: His info is identical to that of mine for testing, with the exception of his usergroup (Retired) and IP. I didn't error, I switched my usergroup to Retired and it error-ed. Mabye 2 digit group ID's is throwing it...more testing...
  23. It seems only Curtis' continually throws that error. I'll look into it.
  24. I was not 18 when I first made my paypal account, so I used my parents name. And I don't think you can change the name of the name on the paypal account, I've tried. I just checked my iPhone email, and sure enough I received a donation. Its not instantaneous, so now you are a donor. Thanks for the money, it will be used for server charges.
×
×
  • Create New...