Results 1 to 4 of 4

Thread: C Sharp version of MGP's Combinatorial Analyzer

  1. #1


    Did you find this post helpful? Yes | No

    C Sharp version of MGP's Combinatorial Analyzer

    Hello, first of all I'm a newbie in this forum and would like to thank MGP for his amazing work on the analyzer!

    I'm currently trying to convert the program from Visual Basic to C# since i have some display issues with the program.

    I'm currently having only this issue so far and can't seem to resolve it without causing more issues since I'm just a newbie in C#, any advice?

    Err1.jpg

    Translated: System.NullReferenceException: 'The object reference was not set to an object instance.'

    I think it might have something to do in the double table class
    Err2.jpg


    https://ibb.co/qRjfDm4
    https://ibb.co/BZBGxyw

    Let me know if the whole code needs to be uploaded to understand the issue

    Thanks in advance

  2. #2


    Did you find this post helpful? Yes | No
    Have you figured out your issue?

    Also, consider linking your source code for others to see what is going on. We can't tell you what you are doing wrong as we don't know how your Class is constructed.

  3. #3


    Did you find this post helpful? Yes | No
    Quote Originally Posted by bigblackjack View Post
    Hello, first of all I'm a newbie in this forum and would like to thank MGP for his amazing work on the analyzer!

    I'm currently trying to convert the program from Visual Basic to C# since i have some display issues with the program.

    I'm currently having only this issue so far and can't seem to resolve it without causing more issues since I'm just a newbie in C#, any advice?

    Err1.jpg

    Translated: System.NullReferenceException: 'The object reference was not set to an object instance.'

    I think it might have something to do in the double table class
    Err2.jpg


    https://ibb.co/qRjfDm4
    https://ibb.co/BZBGxyw

    Let me know if the whole code needs to be uploaded to understand the issue

    Thanks in advance
    So a couple of thoughts

    a.1) I really dont see the benefit of re-writing the entire solution C#. I havent looked at MGP's source, but the quicker solution is to go through code and try to separate the UI from backend. Maybe create a dll for the calculations, and recreate the GUI in WPF.
    b) I am not sure you are going about this the right way. Maybe you should learn a little bit more about C# before attempting such a daunting task. Top coder has some great mini problems that i enjoy doing to keep my brain functioning, here is a cute one https://community.topcoder.com/stat?...ement&pm=13431
    c) you really need to have a deep understanding of the algorithm before even attempt this, just "translating" code from one language to the other doesnt really work. It doesnt even work for me, when i am translating English to French!
    Chance favors the prepared mind

  4. #4


    Did you find this post helpful? Yes | No
    I'm glad you like it ty.

    That's a really bold project! I'm not sure it's worth it though. If you have stuff you want to add to the git we might be able to do that.

Similar Threads

  1. Replies: 7
    Last Post: 11-28-2020, 08:44 AM
  2. I need a LINUX Combinatorial Analyzer for BJ
    By ZenMaster_Flash in forum General Blackjack Forum
    Replies: 1
    Last Post: 11-13-2016, 07:11 AM
  3. Question about composition dependent combinatorial analyzer(bjstrat)
    By 8675309 in forum General Blackjack Forum
    Replies: 2
    Last Post: 08-18-2013, 01:29 PM
  4. Blackjack Combinatorial Analyzer
    By James989 in forum Software
    Replies: 2
    Last Post: 06-08-2013, 04:02 AM

Bookmarks

Posting Permissions

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

About Blackjack: The Forum

BJTF is an advantage player site based on the principles of comity. That is, civil and considerate behavior for the mutual benefit of all involved. The goal of advantage play is the legal extraction of funds from gaming establishments by gaining a mathematic advantage and developing the skills required to use that advantage. To maximize our success, it is important to understand that we are all on the same side. Personal conflicts simply get in the way of our goals.