Chs MuEditor+Decompiled source*

Page 1 of 2 12 LastLast
Results 1 to 25 of 40
  1. #1
    ^_^ ashlay is offline
    MemberRank
    Jun 2010 Join Date
    BrazilLocation
    887Posts

    Chs MuEditor+Decompiled source*

    maybe someone with more free time could make this source works better...


    Source: MuEditor_pseudoSRC
    Original Bin: MuEditor



    *i have decompiled it a few time ago and organized the resources it compile ok


  2. #2
    -( . ) ( . )- clerigz is offline
    MemberRank
    Mar 2012 Join Date
    1,365Posts

    Re: Chs MuEditor+Decompiled source*

    bro it will be translate with english version?

  3. #3
    ^_^ ashlay is offline
    MemberRank
    Jun 2010 Join Date
    BrazilLocation
    887Posts

    Re: Chs MuEditor+Decompiled source*

    @clerigz
    i'm not working on this i post this source because maybe someone wants to translate and make it works better.

  4. #4
    Put Community First fallenfate is offline
    MemberRank
    Oct 2014 Join Date
    Arad DomanLocation
    1,108Posts

    Re: Chs MuEditor+Decompiled source*

    Thanks for sharing ashlay, I'm up for translating work, :).

  5. #5
    Account Upgraded | Title Enabled! Zitinho is offline
    MemberRank
    Aug 2009 Join Date
    205Posts

    Re: Chs MuEditor+Decompiled source*

    Working? Just need to be translated?

  6. #6
    Put Community First fallenfate is offline
    MemberRank
    Oct 2014 Join Date
    Arad DomanLocation
    1,108Posts

    Re: Chs MuEditor+Decompiled source*

    Quote Originally Posted by Zitinho View Post
    Working? Just need to be translated?
    It compiles fine, but I had some errors at run-time I will attempt to fix. No guarantees though, however I have started translating as I go through the files.

  7. #7
    -( . ) ( . )- clerigz is offline
    MemberRank
    Mar 2012 Join Date
    1,365Posts

    Re: Chs MuEditor+Decompiled source*

    i hope any one can translate with this release

  8. #8
    Put Community First fallenfate is offline
    MemberRank
    Oct 2014 Join Date
    Arad DomanLocation
    1,108Posts

    Re: Chs MuEditor+Decompiled source*

    Quote Originally Posted by clerigz View Post
    i hope any one can translate with this release
    I've started to. What I have noticed though is it looks for (local) or localhost so it won't currently use .\SQLEXPRESS (2008+).

  9. #9
    Hmm.. huh? MrQU3ST10N is offline
    MemberRank
    Jun 2013 Join Date
    Trojan St. 404Location
    1,109Posts

    Re: Chs MuEditor+Decompiled source*

    rebuilding the source -> Success
    but the Editor Icon looks like corrupted in the Release folder. it is normal? XD

  10. #10
    Put Community First fallenfate is offline
    MemberRank
    Oct 2014 Join Date
    Arad DomanLocation
    1,108Posts

    Re: Chs MuEditor+Decompiled source*

    Translation is about 90% complete, working on some errors when creating accounts and such though and anything else I find as I go through.

    Because everyone likes progress screenshots:


  11. #11
    Hmm.. huh? MrQU3ST10N is offline
    MemberRank
    Jun 2013 Join Date
    Trojan St. 404Location
    1,109Posts

    Re: Chs MuEditor+Decompiled source*

    @fallenfate
    Keep it up !

  12. #12
    Put Community First fallenfate is offline
    MemberRank
    Oct 2014 Join Date
    Arad DomanLocation
    1,108Posts

    Re: Chs MuEditor+Decompiled source*

    Update: Account creation now works, :).

  13. #13
    -( . ) ( . )- clerigz is offline
    MemberRank
    Mar 2012 Join Date
    1,365Posts

    Re: Chs MuEditor+Decompiled source*

    Quote Originally Posted by fallenfate View Post
    Update: Account creation now works, :).
    bro after you finish that can you share with us the source code? so that we will know on how you do it

  14. #14
    Put Community First fallenfate is offline
    MemberRank
    Oct 2014 Join Date
    Arad DomanLocation
    1,108Posts

    Re: Chs MuEditor+Decompiled source*

    Yep, will do. I like supporting the community so we can all learn and get better, :). If you wanted to tinker with it now, basically it was just the incorrect SQL syntax in frmUserAdd.cs. Here's what I used at the moment (at line 74):

    Code:
    format = string.Format("INSERT INTO dbo.MEMB_INFO(memb___id, memb__pwd, mail_addr, sno__numb, post_code, bloc_code, ctl1_code, unblock_time, block_reason, reward_ref) VALUES ('{0}', '{1}', '{2}', NULL, '{4}', 0, 0, 0, 0, 0)", args);
    Also, note that for debugging you need to manually code your connection details into the connection strings in frmMain.cs.
    Last edited by fallenfate; 03-07-15 at 05:38 AM.

  15. #15
    Put Community First fallenfate is offline
    MemberRank
    Oct 2014 Join Date
    Arad DomanLocation
    1,108Posts

    Re: Chs MuEditor+Decompiled source*

    Alright, it's 80% completed! Here is a mostly working test build for everyone to please try out, so I can see what other issues remain.

    Please post any bugs you find. This has only been tested connecting with SQL2008R2.

    NOTE: Source will be given out to the community when it is all fixed.

    Fixes

    • 95% translated - all major things that need to be readable are translated.
    • Can connect to SQL2008+ servers now.
    • Can create accounts
    • Can modify character details (cannot edit MD5 passwords because they're encrypted for user security)
    • Can clear equipped gear, inventory and vaults


    Known issues

    Priority

    • [STRIKE]Item names are still in Chinese[/STRIKE]


    • Items cannot be added to characters or vaults
    • Cannot create characters from scratch


    Non-critical

    • Item codes are in hexadecimal (I might remove this entirely)
    • Post code field adds 1 to the code
    • When modifying the inventory, if you try to close the inventory window the warning to save data when closing is in Chinese. Be aware Yes will save the data, and No will not.


    Known issues with workarounds

    T_Pentagram table does not exist
    My files didn't have this table either. Make the table with the following query:

    Code:
    CREATE TABLE T_Pentagram (AddInventory binary(999), charName nchar(10), Name nchar(10))
    /**************************************************************/
    /*** INSTRUCTIONS - Hopefully now everyone will read this, lol...
    /**************************************************************/


    1) Open DSN.ini and change SERVER to be your server name. NOTE: Like I mentioned above I've only tested using YOURNAME-PC\SQLEXPRESS as I use SQL2008R2.

    2) Change USER and PASS to your SQL server username and password.

    3) Test!

    EDIT: Fixed remaining modified connection string preventing DB connection.

    Download link: https://mega.co.nz/#!scpTRRrZ!2YJGDN...9EgAKz2f0Oc5rA

    - - - Updated - - -

    NOTE: Everyone please redownload the test release, I had to change some item file paths.
    Last edited by fallenfate; 04-07-15 at 10:57 AM. Reason: Updated link.

  16. #16
    Hmm.. huh? MrQU3ST10N is offline
    MemberRank
    Jun 2013 Join Date
    Trojan St. 404Location
    1,109Posts

    Re: Chs MuEditor+Decompiled source*

    Does it work with just a (local) connection?
    I'm not using EXPRESS Edition. XD

    - - - Updated - - -

    tried 127.0.0.1
    my Global IP
    My PC name.

    It won't work. I don't know why...

    here the ScreenShot :

  17. #17
    Evolution Team Th3AnG3L is offline
    MemberRank
    Apr 2014 Join Date
    634Posts

    Re: Chs MuEditor+Decompiled source*

    you will find that in some sql server 2008 if you remove 127.0.0.1 will connect

  18. #18
    Hmm.. huh? MrQU3ST10N is offline
    MemberRank
    Jun 2013 Join Date
    Trojan St. 404Location
    1,109Posts

    Re: Chs MuEditor+Decompiled source*

    Quote Originally Posted by Th3AnG3L View Post
    you will find that in some sql server 2008 if you remove 127.0.0.1 will connect
    what do you mean? Do I have to install a New SQL again?

  19. #19
    Evolution Team Th3AnG3L is offline
    MemberRank
    Apr 2014 Join Date
    634Posts

    Re: Chs MuEditor+Decompiled source*

    no in config file just remove 127.0.0.1 leave it empty
    example:
    host =
    user = sa
    pass= pass

  20. #20
    Put Community First fallenfate is offline
    MemberRank
    Oct 2014 Join Date
    Arad DomanLocation
    1,108Posts

    Re: Chs MuEditor+Decompiled source*

    Quote Originally Posted by MrQU3ST10N View Post
    Does it work with just a (local) connection?
    I'm not using EXPRESS Edition. XD

    - - - Updated - - -

    tried 127.0.0.1
    my Global IP
    My PC name.

    It won't work. I don't know why...

    here the ScreenShot :
    That error still has my PC name in it, did you change it to (local) in both areas in the DSN.ini?

  21. #21
    Hmm.. huh? MrQU3ST10N is offline
    MemberRank
    Jun 2013 Join Date
    Trojan St. 404Location
    1,109Posts

    Re: Chs MuEditor+Decompiled source*

    Quote Originally Posted by Th3AnG3L View Post
    no in config file just remove 127.0.0.1 leave it empty
    example:
    host =
    user = sa
    pass= pass

    Quote Originally Posted by fallenfate View Post
    That error still has my PC name in it, did you change it to (local) in both areas in the DSN.ini?

    I already did that.. still no luck.


    Tried :
    localhost
    (localhost)
    local
    (local)
    my local IP
    my Global IP
    my PC name
    I also tried MY-PC\MSSQLSERVER <~~ it didn't work. I'm not using Express edition. But I also tried
    MY-PC\SQLEXPRESS, it didn't work too. I tried MY-PC\SQL2K8R2 still no luck. XD wtf!


    TiTanEditor works fine with both local and global connection to me.
    I don't know what's the problem with this editor. XD

  22. #22
    Put Community First fallenfate is offline
    MemberRank
    Oct 2014 Join Date
    Arad DomanLocation
    1,108Posts

    Re: Chs MuEditor+Decompiled source*

    Quote Originally Posted by MrQU3ST10N View Post
    I already did that.. still no luck.
    TiTanEditor works fine with both local and global connection to me.
    I don't know what's the problem with this editor. XD
    Oops, I left a modified connection string in, XD.

    Try this link, and I'll update the other test release: https://mega.co.nz/#!scpTRRrZ!2YJGDN...9EgAKz2f0Oc5rA

  23. #23
    Hmm.. huh? MrQU3ST10N is offline
    MemberRank
    Jun 2013 Join Date
    Trojan St. 404Location
    1,109Posts

    Re: Chs MuEditor+Decompiled source*

    Quote Originally Posted by fallenfate View Post
    Oops, I left a modified connection string in, XD.

    Try this link, and I'll update the other test release: https://mega.co.nz/#!scpTRRrZ!2YJGDN...9EgAKz2f0Oc5rA
    it works now. But there's another error.



    is this a SQL Database connection problem?

  24. #24
    Put Community First fallenfate is offline
    MemberRank
    Oct 2014 Join Date
    Arad DomanLocation
    1,108Posts

    Re: Chs MuEditor+Decompiled source*

    That error is because one or more of those fields are NULL in your database. You need to set them to a value besides NULL for the editor at the moment. sno__numb can be any combination of 20 digits, I just use 12345678901234567890. Then set the others to 0.

  25. #25
    Hmm.. huh? MrQU3ST10N is offline
    MemberRank
    Jun 2013 Join Date
    Trojan St. 404Location
    1,109Posts

    Re: Chs MuEditor+Decompiled source*

    Quote Originally Posted by fallenfate View Post
    That error is because one or more of those fields are NULL in your database. You need to set them to a value besides NULL for the editor at the moment. sno__numb can be any combination of 20 digits, I just use 12345678901234567890. Then set the others to 0.
    I did what you said..
    Now there's another error.. XD



Page 1 of 2 12 LastLast

Advertisement