SHN Editor

Page 3 of 4 FirstFirst 1234 LastLast
Results 51 to 75 of 98
  1. #51
    Member F1ow is offline
    MemberRank
    May 2012 Join Date
    Germany/DeutschLocation
    51Posts

    Re: SHN Editor

    ...-.
    Last edited by F1ow; 28-10-14 at 04:44 PM.

  2. #52
    Sorcerer Supreme NextIdea is offline
    Member +Rank
    Nov 2012 Join Date
    343Posts

    Re: SHN Editor

    If I'm not mistaken, you get the error because you have 1 dimensional array.
    It may look like with 2 but it is 1 dimensional, which contains another 1 dimensional.

    You would need to ask the column amount from the row.
    rows[i].GetLength(0);

    If you declare like this:
    string[,] rows;
    Then you can ask rows.GetLength(0); and rows.GetLength(1);

    It may be wrong, too lazy to test, i'll leave it to you.

    As for the parser, it may seem to work at first, but it isn't foolproof. There is a small thing, when it will fail :P

  3. #53
    Elite Member Black12 is offline
    Member +Rank
    Feb 2012 Join Date
    JapanLocation
    119Posts

  4. #54
    Member F1ow is offline
    MemberRank
    May 2012 Join Date
    Germany/DeutschLocation
    51Posts

    Re: SHN Editor

    Quote Originally Posted by NextIdea View Post
    If I'm not mistaken, you get the error because you have 1 dimensional array.
    It may look like with 2 but it is 1 dimensional, which contains another 1 dimensional.

    You would need to ask the column amount from the row.
    rows[i].GetLength(0);

    If you declare like this:
    string[,] rows;
    Then you can ask rows.GetLength(0); and rows.GetLength(1);

    It may be wrong, too lazy to test, i'll leave it to you.

    As for the parser, it may seem to work at first, but it isn't foolproof. There is a small thing, when it will fail :P
    Nope, it's a list containing arrays of strings. This list is converted to an array using ToArray(). When i call rows[10][10] it works, so the array is twodimensionel. But you brought me to an idea: Maybe GetLength() method is only for arrays like string [,] and doesn't work for string [][].
    But as far as I know, these two are quite the same.

  5. #55
    Sorcerer Supreme NextIdea is offline
    Member +Rank
    Nov 2012 Join Date
    343Posts

    Re: SHN Editor

    If you define like this:
    1. string[][][][][] UberArray = new string[6][][][][]();
    You can have an uneven arrays.
    I'm not going to initialize something like that, as this will be 4 loops inside each other, and all of those can have different array lengths.
    2. string[,,,,] UberArray = new string[9,8,7,6,5]();
    You will have static 5-dimensional array.
    And the indexes for the GetLength() method:
    1. UberArray[0][0][0][0][0]
    UberArray.GetLength(0) -> 6
    UberArray[0..5].GetLength(0) ->
    UberArray[0..5][0].GetLength(0) ->
    UberArray[0..5][0][0].GetLength(0) ->
    UberArray[0..5][0][0][0].GetLength(0) ->
    Here aswell, all of those requests depend how long is the array and which index you ask
    2. UberArray[0,1,2,3,4]
    UberArray.GetLength(0) -> 9
    UberArray.GetLength(1) -> 8
    UberArray.GetLength(2) -> 7
    UberArray.GetLength(3) -> 6
    UberArray.GetLength(4) -> 5

  6. #56
    Member F1ow is offline
    MemberRank
    May 2012 Join Date
    Germany/DeutschLocation
    51Posts

    Re: SHN Editor

    Okay, got it now. Thanks.

  7. #57
    əʇılə ɯɐ ı fiestanerd69 is offline
    Grand MasterRank
    Jun 2009 Join Date
    958Posts

    Re: SHN Editor

    Just a small update to fix some major things and add some other small improvements/edits.

    Update 4.0.14.0801:
    - Made Go To function update current row position.
    - Column bulk edit, deletion, divide, multiply and rename no longer closes when you click ok.
    - SHN files with blank columns are now loaded with a default unknown column name.
    - Empty cells are now saved as empty cells, without error.
    - The full version number is now shown in the window text.
    - Replace function now checks cell value instead of object data.
    - Fixed extensive loading time of large shn files, reducing loading times by 88%.

    Download: http://www.mediafire.com/download/cc....0.14.0801.exe

    This is currently what is on my to do list:

    To do List:
    - Add CSV importing.
    - Add XLS importing and exporting.
    - Fix/improve item editor.

    I'm not sure if I should add these features.

    Unsure
    - Exp Rate Editor (You can just use the column multiplier tool).
    - Item creator (Makes people mentally lazy and has a potential of increasing bugs and troubleshooting issues when adding items).
    Last edited by fiestanerd69; 02-08-14 at 02:39 PM.

  8. #58
    Grand Master aqua512 is offline
    Grand MasterRank
    Nov 2012 Join Date
    574Posts

    Re: SHN Editor

    Here is an idea for time saving and the hassle. Why not give an option to Auto-number the index numbers.

  9. #59
    Sorcerer Supreme munozvo5 is offline
    Member +Rank
    Jan 2009 Join Date
    275Posts

    Re: SHN Editor

    Quote Originally Posted by aqua512 View Post
    Here is an idea for time saving and the hassle. Why not give an option to Auto-number the index numbers.
    already in there

  10. #60
    Newbie unstopable32 is offline
    MemberRank
    Jun 2014 Join Date
    24Posts

    Re: SHN Editor

    - Make it so when u select rows, u can do shit based on that selection. Selected Rows -> mass column edit. or something of the like.
    - Find/replace dialog revamp
    - option to auto sort ID's by number (instead of totally reindexing them)

    Maybe add the ability to open shine tables (text files) (Both table formats look similar idk if its all that different) idk what the deal is.

    But um. I know enough that there's easily some ways to implement some of this stuff with the default form components. Is it a listview component? idk
    Last edited by unstopable32; 05-08-14 at 07:43 PM.

  11. #61
    Sorcerer Supreme munozvo5 is offline
    Member +Rank
    Jan 2009 Join Date
    275Posts

    Re: SHN Editor

    Quote Originally Posted by unstopable32 View Post
    Maybe add the ability to open shine tables (text files) (Both table formats look similar idk if its all that different) idk what the deal is.
    Idk whats with u people and having problems editing the text files.
    Just highlight and replace ffs, my 6 year old cousin can do it with out fucking it all up.

    That or open it in excel, it pretty much idiot proofs it for you.

  12. #62
    Newbie unstopable32 is offline
    MemberRank
    Jun 2014 Join Date
    24Posts

    Re: SHN Editor

    Quote Originally Posted by munozvo5 View Post
    Idk whats with u people and having problems editing the text files.
    Just highlight and replace ffs, my 6 year old cousin can do it with out fucking it all up.

    That or open it in excel, it pretty much idiot proofs it for you.
    It's just nice when the text file is all fucked up, u just open it in shine table or in uh excel and it is fixed. Excel and uh sublimetext <3 ftw

    and uh, haters gonna hate. like cmon how can u resist dah shine tablez...SHINE BABY SHINE lol ;). But seriously add the ability to mass column edit selections and i'll donate.

  13. #63
    Grand Master aqua512 is offline
    Grand MasterRank
    Nov 2012 Join Date
    574Posts

    Re: SHN Editor

    Quote Originally Posted by munozvo5 View Post
    already in there
    So it already has the function to put everything in correct numerical order, and auto number them in that order?

  14. #64
    Elite Member oodasm is offline
    Member +Rank
    Dec 2013 Join Date
    100Posts

    Re: SHN Editor

    why dont use the lasted one?could share the source?thank you!

  15. #65
    Elite Member Davieshaffer is offline
    Member +Rank
    Jun 2013 Join Date
    IllinoisLocation
    123Posts

    Re: SHN Editor

    Its just me or anyone is having this issue to?

  16. #66
    əʇılə ɯɐ ı fiestanerd69 is offline
    Grand MasterRank
    Jun 2009 Join Date
    958Posts

    Re: SHN Editor

    @Davieshaffer I am not sure why you're getting that error, can you provide some more information as to why it could be occurring so I can fix it, thanks.

    Update 4.1.14.0814:
    - Remade search function.
    - Removed column refresher for search form.
    - Search form now saves upon exit.
    - You can no longer click away from search form window.
    - Added search form search parameters: contains, equals, starts with and ends with.
    - When you first open the search form the data grid view will be populated.
    - If you search with an empty search field, it will reset your search.
    - The replace window is no longer be the top most window.
    - All buttons (i.e functions) in the replace form now check cell value instead of object data.
    - Turned on WS_EX_COMPOSITED for main form and search form, making loading smoother.
    - Search form now takes you to the cell you selected on the main form.
    - Search parameters are loaded if any were set previously when searching.
    - The search form no longer resets your currently selected row when opening/closing.
    - Now when dragging in files it will add them to your recent list.

    Download: http://www.mediafire.com/download/bt....1.14.0814.exe
    Last edited by fiestanerd69; 14-08-14 at 02:48 PM.

  17. #67
    Anotha One Wicious is offline
    Grand MasterRank
    Jan 2013 Join Date
    StockholmLocation
    839Posts

    Re: SHN Editor

    Can't save files anymore (4.1.14.08.14)

    http://prntscr.com/4cs77v

    ("Save As" still works. But not "Save".)

  18. #68
    əʇılə ɯɐ ı fiestanerd69 is offline
    Grand MasterRank
    Jun 2009 Join Date
    958Posts

    Re: SHN Editor

    @William Thanks for informing me of this, seems to have been occurring for the past few revisions now.

    Update 4.1.14.0815:
    - Fixed save function.
    - Search form will no longer take you to the row selected in the main form.

    Download: http://www.mediafire.com/download/cl....1.14.0815.exe

    I still see people download other versions, 3.9 being the most popular other than 4.0. Is there a reason as to why, for example there is something in the newer version people don't like or maybe a bug? Let me know so I can fix it and update it. :)
    Last edited by fiestanerd69; 15-08-14 at 01:22 PM.

  19. #69
    əʇılə ɯɐ ı fiestanerd69 is offline
    Grand MasterRank
    Jun 2009 Join Date
    958Posts

    Re: SHN Editor

    Fix one thing break another. *face palm* Broke the search function, so here is the fixed version.

    Update 4.1.14.0816
    - Fixed save function.
    - Search form will no longer take you to the row selected in the main form.
    - Turned off WS_EX_COMPOSITED for main form.
    - Fixed search function, seemed to have been broken after I added the numbers "00:".

    Download: http://www.mediafire.com/download/km....1.14.0816.exe

  20. #70
    Elite Member oodasm is offline
    Member +Rank
    Dec 2013 Join Date
    100Posts

    Re: SHN Editor

    dont.runing,xd
    plz ,share the source, Let's develop the soft together,thank you very much!

  21. #71
    Elite Member Canic is offline
    Member +Rank
    Feb 2010 Join Date
    159Posts

    Re: SHN Editor

    Version 4 not working..
    Something in the Main Load Form is wrong.
    I think set the default encode or something don't work or something on registry side.

  22. #72
    əʇılə ɯɐ ı fiestanerd69 is offline
    Grand MasterRank
    Jun 2009 Join Date
    958Posts

    Re: SHN Editor

    Quote Originally Posted by oodasm View Post
    dont.runing,xd
    plz ,share the source, Let's develop the soft together,thank you very much!
    Which version and what's the error?

    Quote Originally Posted by Canic View Post
    Version 4 not working..
    Something in the Main Load Form is wrong.
    I think set the default encode or something don't work or something on registry side.
    Doesn't work how? What's the error? Just doesn't open?

  23. #73
    Elite Member Canic is offline
    Member +Rank
    Feb 2010 Join Date
    159Posts

    Re: SHN Editor


  24. #74
    əʇılə ɯɐ ı fiestanerd69 is offline
    Grand MasterRank
    Jun 2009 Join Date
    958Posts

    Re: SHN Editor

    Update 4.2.14.0817:
    - Fixed encoding type registry issues.
    - Fixed search form resetting main form datagrid issue.

    Download: http://www.mediafire.com/download/75....2.14.0817.exe

    Thanks to @Canic for letting me test some stuff on his PC. The problem that @Canic, @oodasm and @Davieshaffer were having should be fixed in this update.

    Also @F1ow I looked at your code, thanks for posting it for use, but I think I will write a more efficient and better solution when I have more time.
    Last edited by fiestanerd69; 04-09-14 at 09:10 PM.

  25. #75
    Elite Member oodasm is offline
    Member +Rank
    Dec 2013 Join Date
    100Posts

    Re: SHN Editor

    crash,xd



Page 3 of 4 FirstFirst 1234 LastLast

Advertisement