Jump to content

Richard

Members
  • Posts

    10
  • Joined

  • Last visited

About Richard

  • Birthday 07/25/1990

Profile Information

  • Gender
    Male
  • Location
    Europe

Recent Profile Visitors

736 profile views

Richard's Achievements

  1. calm down, think of it and u will see it's actually a bad idea.
  2. [quote name='ProfessorElderberry' timestamp='1361758349' post='209581'] @Richard [spoiler] [code] //Set somewhere else Boolean variableKnownToBeTrue = true; //dont do this if(variableKnownToBeTrue == true) //do this if(variableKnownToBeTrue) //don't do these if(variableKnownToBeTrue != true) if(variableKnownToBeTrue == false) //do this if(!variableKnownToBeTrue ) [/code] hope that helps and happy coding! [/spoiler] [/quote] thank you. I know the conventions, but it's like with your nails: sometimes you keep your bad habits.
  3. This is how I'd do it, but there can be better ways of course. "stat" is the current stat ur pokemon has (for instance "attack"): let's say: 48 "bstat" represents the basic stat the pokemon has of this attribute ("attack"). for (int i = 0; i <= 31; i++) { Stat = (((i + (2 * bstat)) * level) / 100) + 5; if ((Stat == stat) && (lowend == false)) { x = i; // low end of the range or exact value (IV) lowend = true; } else if ((Stat == stat) && (lowend == true)) { y = i; // highest value (IV) } } This way you can calculate the range of IV's.
  4. [quote name='CipherWeston' timestamp='1361286426' post='203472'] Yes, I was asking what other code is there to enter in a line break? [/quote] Environment.NewLine ? I think it could be great if a program's being able to create html code or something which gets copied and bound here in the board to show results of your pokemon that you'd like to trade.
  5. [quote name='CipherWeston' timestamp='1361285111' post='203451'] As opposed to? [/quote] 20 - 26 / 1 - 2 / 3 - 8 / 20-3 / ... u know what i mean?
  6. [quote name='justicewhale' timestamp='1361277185' post='203354'] Sounds like a really good idea especially that copy to clipboard since having the IV's show vertical will make it difficult to copy [/quote] it won't be difficult. "hallo ich heiße Richard" This is the result of: --- string text = "hallo \n ich heiße Richard"; System.Windows.Clipboard.SetText(text); --- I'd use \n for showing results vertically.
  7. [quote name='justicewhale' timestamp='1361213453' post='202345'] @Jxx I made this IV Calculator for myself since I don't really use my browser for that much and when I do it uses up a lot of my RAM's memory so instead I use this. I'm mentioning it on here just in case people would like to have it. Also I needed to brush up on my programming skills @Richard I made it hp att def etc for convenience of copying and pasting it but sure I can make it like that. Might be better that way. I agree with the Pokedex that it should be ingame and I wont add that in if it does get added but currently its not there. I'll look into the sliders as well. [/quote] for convenience: let the results appear like on veekun.com and add a button called "Copy to Clipboard". the button then should copy the results like you currently have them there. you know what i mean?
  8. hi, your program looks nice, though as Jxx said already, it's kinda useless if you can use a webpage. but if you're going to keep your programm, pls do one thing: show the results like this: HP Att Def ... instead of: hp att def and maybe you could change sliders in WPF to have it looking as pretty as veekun-iv-calculator EDIT: Including Pokedex seems so wrong in my eyes. This should be done ingame.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.