Results 1 to 13 of 13
  1. #1
    Community Member rsking's Avatar
    Join Date
    Nov 2009
    Posts
    0

    Default anyone fluent in C# (programming help needed)

    ok i've been tying to make a renown calculator for a while now (scents i got back on ddo just after the guild ships update came out) so i've posted the same concept on about 8 forums and i's haven't gotten any help what-so-ever heres the link to the concept
    |
    \/
    http://sdrv.ms/P7QN6j

    and heres the text:
    Ok I've been trying to get a renown calculator made for almost a year now but I can't program anything to save my life (i veagly remember some HTML but anyway).
    i have the data that i need for the guild level's and multiplier numbers for each level.
    on the calculator as you can see in the picture above i'm having:
    1.the user select their guild level from a combobox and the guild level multiplier displays in a label.
    2.the user enters their modified account size (m.a.s) (1-2000) in a textbox and the account size multiplier shows their m.a.s + 10 in a another label.
    3.renown lost per/day shows in again a label (which is the exact amount of lost)

    i'm also going to add a per/week (exact amount) lost plus a per/day & week (estimated lost) to the calculator so the leaders and guild members can see how much renown they will lose in a week.

    my problem is that i can't remember anything i learn back in high school (i'll be it what few programs i have don't have any lines of code that i need)

    also i haven't got any code started yet
    -------
    so as you can see i've described everything that's supposed to happen and i've even searched the net, forums, asked on ask.com (not yahoo cause i don't trust them), ehow, ect. and all i got was codes that don't explain what code does what or something that is completely different from what i'm trying to do.

    DON"T STEAL MY IDEA PEASE
    Last edited by rsking; 10-02-2012 at 05:15 AM.
    tepidus flamma of amicitia mos usquequaque persevero ustulo in nostrum pectus pectoris pro totus infinitio

  2. #2
    Legendary Founder Ron's Avatar
    Join Date
    Feb 2006
    Posts
    2,518

    Default

    I'm fluent in C#. But I'm not sure I understand what you are asking for. Are you asking for someone to code your idea for you?

    I don't mean for this to sound harsh, but the reality is, ideas are a dime a dozen. I have 20 ideas in my head for what would be great games, only one or two of which will ever see the light of day. And if someone else stumbled across one of those ideas and ran with it, good for them! I'd be happy to play any game that was "my" idea, heh. At this point, if someone did take your "idea" and code it, it would rightfully be theirs. Because they did all the hard work.

    If you want to create this, go get MSVC# express and start coding. No one is going to do it for you (and if they do, you won't see your name on the credits as the "idea guy", that's just laughable). I'll be happy to help you out on any specific questions you might have in regards to C# or bugs you might run into (but don't ask me to start coding routines for you, it's not going to happen. YOU have to put in the work).
    The locus of my identity is totally exterior to me.
    "On my business card, I am a corporate president. In my mind, I am a game developer. But in my heart, I am a gamer." - Satoru Iwata

  3. #3

    Default

    I can code modestly well in C#. Why you want to write something that can easily be accomplished with a calculator (pencil and paper, mental ballpark guesstimate) and the decay formula from DDOWiki is beyond me. Seems like overkill.

    The best thing to do is as Ron suggested, download VS Express and learn how to code. What you are looking for is covered in almost every language tutorial.

  4. #4

    Default

    Quote Originally Posted by rsking View Post
    DON"T STEAL MY IDEA PEASE
    5 seconds on Google
    http://filespace.amitykeepers.eu/Jontas/GRDCalc.html

    Sorry, but your idea is FAR from original...

    But eh, like Ron said, you could just get Visual C# Express from there
    http://www.microsoft.com/visualstudi...csharp-express

    Honestly, without much knowledge you could probably get it done pretty quick...it's all drag-and-drop and one on-click event on a button and you're done. Maybe an hour or two if you are absolutely new to programming.

    I could get it done in like...5 minutes but I no longer have any programming tools on my computer at home and I don't really want to install any of them. I could however make a PHP page that would do exactly the same thing with Notepad.

    But I am OH SO lazy.

  5. #5

    Default

    Ya, not much to go on there.

    Asking "How do I program this application?"
    is a bit like asking
    "How do I make this painting?"

    If you need help with some very specific piece of it, that's something people can help with and they likely would do so freely.

    If you don't even know where to begin, then you would want to find a volunteer or pay someone to put it together for you. Most people wouldn't volunteer for free to code something up for someone else they don't know.

    Besides, someone beat you to it for the most part.
    http://filespace.amitykeepers.eu/Jontas/GRDCalc.html
    Former Host of DDOcast
    Member of The Madborn of Thelanis
    Streaming sometimes on twitch as SigTrent

  6. #6
    Community Member KingOfCheese's Avatar
    Join Date
    Nov 2007
    Posts
    1,770

    Default

    Quote Originally Posted by rsking View Post
    DON"T STEAL MY IDEA PEASE
    If an idea has value, it generally will be taken by someone else and exploited, if it is legal to do so (and sometimes even if it isn't).

    How to protect an idea from theft:

    1) obtain intellectual property (generally for software, this is covered by patent (broad conceptual idea) or copyright (prevent pirating the code and potentially some of the more general coding structure)). Pros--generally strong protection, IF you qualify; cons--patent process is generally prohibitively expensive and too slow; copyright only offers narrow protection.

    2) only disclose the idea to people under confidentiality agreements. Pros: generally inexpensive and reasonably solid, IF you can get someone to agree to the contractual terms; Cons: Whoops. Too late.

    3) say please. Pros: very inexpensive; Cons: about as effective as using magic beans as your basis for protection.
    INFERUS SUS Sorcs (Socky, Sockie, Socklin), Rogues (Sockpuppet, Sockum), Clerics (Sockington, Sockase), FVS (Sockle), Intim (Tubesocks), Bards (Sockdolenger, Sockish), Rangers (Sockin, Sockel), Wizzy (Sockut), Kensai (Sockt), Monk (Sockfist), Arty (Sockficer, Sockcraft)

  7. #7
    Community Member rsking's Avatar
    Join Date
    Nov 2009
    Posts
    0

    Default

    k here's my questions:
    1. whats the code to get a combo box to show a given value in a label for a said number?
    2. whats the code to get a text box to add +10 to a number and show it in a label?
    3. whats the code to get labels to multiply what their being told to show?
    4. whats the code to reset values?
    5. whats the code to round numbers?
    6. isn't the code to get the program to run the calculations "<onclick calculate;> (input values to +-*/^ here)</onclick> ?


    i can do the rest of the programming myself if i have that information i have all the values and multiplier already i just don't know(never learned or don't remember) the codes.

    and when i get it complete i'll see if i can upload the whole program some were so people can see what their renown loss is and how it all works
    Last edited by rsking; 05-22-2012 at 08:18 PM.
    tepidus flamma of amicitia mos usquequaque persevero ustulo in nostrum pectus pectoris pro totus infinitio

  8. #8

    Default

    Quote Originally Posted by rsking View Post
    k here's my questions:
    1. whats the code to get a combo box to show a given value in a label for a said number?
    2. whats the code to get a text box to add +10 to a number and show it in a label?
    3. whats the code to get labels to multiply what their being told to show?
    4. whats the code to reset values?
    5. whats the code to round numbers?
    6. isn't the code to get the program to run the calculations "<onclick calculate;> (input values to +-*/^ here)</onclick> ?


    i can do the rest of the programming myself if i have that information i have all the values and multiplier already i just don't know(never learned or don't remember) the codes.

    and when i get it complete i'll see if i can upload the whole program some were so people can see what their renown loss is and how it all works
    That pretty much sounds like..."do everything for me"...

  9. #9
    Community Member rsking's Avatar
    Join Date
    Nov 2009
    Posts
    0

    Unhappy

    not realy i just need to know the lines of code so that way i can type it up when i make the program
    i've look and all i get when i've seached for (e.g whats the code to get combox selecet item to show a given value to show in a label) i get a bunch of links that aren't even answering my question let alone related to it

    also i haven't even atempted to make a program scent the guild ship update came out and the last time i made a program was back in high school and that was back in late may of 2009 i've tryed to make a guild website useing html but i couldn't get past the enterance page because all the code i found that was supost to make the web browser return to the previous page was for java or some other porgraming language exept HTML
    Last edited by rsking; 05-22-2012 at 10:14 PM. Reason: information
    tepidus flamma of amicitia mos usquequaque persevero ustulo in nostrum pectus pectoris pro totus infinitio

  10. #10
    Legendary Founder Ron's Avatar
    Join Date
    Feb 2006
    Posts
    2,518

    Default

    Quote Originally Posted by rsking View Post
    k here's my questions:
    whats the code to get a combo box to show a given value in a label for a said number?
    Here is the page for combo boxes on msdn. Expect to spend a lot of time on msdn. Programming is 90% research and 10% typing. And 30% debugging. So yeah, 130%

    http://msdn.microsoft.com/en-us/libr....combobox.aspx

    Lot of information there. Scroll down a bit to get to the example code, it's probably the most useful part for beginners.

    whats the code to get a text box to add +10 to a number and show it in a label?
    For all these questions, you are asking how to modify a label. Basically, you don't. What you modify is a variable (like an int) and then feed that to a string. For example:
    int x;
    string Label;

    //put the string "10" into label
    x = 10;
    Label = System.String.Format("{0}", x);

    that last line is important in that that is how you convert an integer into a string. Once you know that, you can make your modifications on a simple integer and use that last line to convert it.

    whats the code to get labels to multiply what their being told to show?
    //multiply x by 2
    x *= 2;

    whats the code to reset values?
    x = 0;

    whats the code to round numbers?
    There may be a built in function for this, I'm not actually sure. The way I've always done it is like so:

    float f;
    int x;

    f = 7.5423f;
    x = (int)(f+0.5f);

    that will round to the nearest int. You can also truncate (which just means to round down to the next int). For example, the following will give you 7 in x:

    f = 7.9834f;
    x = (int)f;

    isn't the code to get the program to run the calculations "<onclick calculate;> (input values to +-*/^ here)</onclick> ?
    Check these two links:
    http://msdn.microsoft.com/en-us/libr...uttondown.aspx
    http://msdn.microsoft.com/en-us/libr...ase.click.aspx

    HTH, and good luck with your project.

    Ron
    Last edited by Ron; 05-23-2012 at 02:21 PM. Reason: oops, wrong link....
    The locus of my identity is totally exterior to me.
    "On my business card, I am a corporate president. In my mind, I am a game developer. But in my heart, I am a gamer." - Satoru Iwata

  11. #11
    Community Member rsking's Avatar
    Join Date
    Nov 2009
    Posts
    0

    Thumbs up

    thanks ron if i have any more question i'll let you know (but hopefuly it don't have to)
    tepidus flamma of amicitia mos usquequaque persevero ustulo in nostrum pectus pectoris pro totus infinitio

  12. #12
    Community Member t0r012's Avatar
    Join Date
    Jul 2009
    Posts
    1,770

    Default

    I found Visual Basic an easier language to start with.
    That was just my experience VB was easier to dive in to and then it got easier to get in to C++ and C#.
    Move along , Nothing to see here

  13. #13
    Community Member Yskuma's Avatar
    Join Date
    Oct 2009
    Posts
    204

    Default

    Quote Originally Posted by Ron View Post
    Expect to spend a lot of time on msdn. Programming is 90% research and 10% typing. And 30% debugging. So yeah, 130%
    This! I'd add another +20% for "Tearing your hair out because something doesn't work the way you thought it would" though.

    Learning to program is a weird experience. Learning by doing works well up to a certain point but you can also learn a lot by being less focused and just reading a book, maybe not all in one go but chapters that interest you. You’re not going to get very far using object orientated languages without understanding the principles behind them.

    I ended up fumbling around for years in VB, Python and C++ before settling on C#. I used C# for years until I started DDO Sage and now I’ve almost completely switched to Java for personal projects. I was always far too focused on writing a specific program and never just tried to learn the language/libraries. I think once you have learned one language others come a lot easier.

    (Java> for(String X : Y) C#> foreach(String X in Y) still keeps catching me out though)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

This form's session has expired. You need to reload the page.

Reload