Launcher UPDATES Section

Page 3 of 4 FirstFirst 1234 LastLast
Results 51 to 75 of 93
  1. #51
    Sorcerer Supreme Gruntilda is offline
    Member +Rank
    Apr 2010 Join Date
    468Posts

    Re: Launcher UPDATES Section

    Your "webserver" isn't doing a very good job.

  2. #52
    Sorcerer Supreme Charisma Doll is offline
    Member +Rank
    Oct 2012 Join Date
    Wonderland.Location
    256Posts

    Re: Launcher UPDATES Section

    Shitted on em.

  3. #53
    Elite Member Riko is offline
    Member +Rank
    Sep 2009 Join Date
    105Posts

    Re: Launcher UPDATES Section

    Quote Originally Posted by Dragonluck4 View Post
    I've managed to finish creating my launcher. woohoo. It creates a token, uses the token to login and verifies that the pass and user is correct. I'd like to thank stu for his utility and nextidea for helping me a lot, as well as everyone else who helped me a long the way. All of your help was very much appreciated.

    But now that I have created my launcher I face another problem. I run all the appropriate services:

    *snip*

    but whenever I log in and select to join the channel I get one of these two errors:

    *snip*

    *snip*

    I'm not running OdinRestServer because my webserver acts as a replacement for that but I am missing something and I don't know what. Help would be appreciate. Almost finished it. :)
    You could just use the script dusk (?) used, and fix the item mall part. But i recommend to use Stu's server. Got no problem with it and it run pretty stable.

    And uhm since u use .Net you could manage the token stuff with a simple wcf service D:

    This should be like ur php create token?

    Spoiler:
    Code:
                Crypto3DES enc = new Crypto3DES();
                string encrypt = enc.Encrypt3DES(RandomString(27));
                string encoded = encrypt.Replace("=", ".");
                string encoded2 = encoded.Replace("+", "-");
                string encoded3 = encoded2.Replace("/", "_");


    Spoiler:
    Code:
            private readonly Random _rng = new Random();
            private const string _chars = "some_hard_coded_key_for_now";
    
            private string RandomString(int size)
            {
                char[] buffer = new char[size];
    
                for (int i = 0; i < size; i++)
                {
                    buffer[i] = _chars[_rng.Next(_chars.Length)];
                }
                return new string(buffer);
            }


    Heres the class for it:

    Spoiler:
    Code:
    using System;
    using System.Security.Cryptography;
    using System.Text;
    
    namespace Tools
    {
           public class Crypto3DES
        {
            public Crypto3DES()
            {
    
            }
    
            private System.Text.Encoding encoding;
    
    
            public string Key
            {
                get
                {
                    return "xxxxxxxx";
                }
            }
    
    
            public System.Text.Encoding Encoding
            {
                get
                {
                    if (encoding == null)
                    {
                        encoding = System.Text.Encoding.UTF8;
                    }
                    return encoding;
                }
    
                set
                {
                    encoding = value;
                }
            }
    
    
            public string Encrypt3DES(string strString)
            {
                DESCryptoServiceProvider DES = new DESCryptoServiceProvider();
    
                DES.Key = Encoding.GetBytes(this.Key);
                DES.Mode = CipherMode.ECB;
                DES.Padding = PaddingMode.Zeros;
    
                ICryptoTransform DESEncrypt = DES.CreateEncryptor();
    
                byte[] Buffer = encoding.GetBytes(strString);
    
                return Convert.ToBase64String(DESEncrypt.TransformFinalBlock(Buffer, 0, Buffer.Length));
            }
    
    
            public string Decrypt3DES(string strString)
            {
                DESCryptoServiceProvider DES = new DESCryptoServiceProvider();
    
                DES.Key = Encoding.UTF8.GetBytes(this.Key);
                DES.Mode = CipherMode.ECB;
                DES.Padding = PaddingMode.Zeros;
                ICryptoTransform DESDecrypt = DES.CreateDecryptor();
    
                byte[] Buffer = Convert.FromBase64String(strString);
                return UTF8Encoding.UTF8.GetString(DESDecrypt.TransformFinalBlock(Buffer, 0, Buffer.Length));
            }
        }
    }
    Last edited by Riko; 11-02-13 at 11:08 AM.

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

    Re: Launcher UPDATES Section

    Quote Originally Posted by iStu View Post
    Your "webserver" isn't doing a very good job.
    I can see that. :(

    Apparently the 'easy' fix you were talking about took me 6 hours to fix with help from NexIdea and without any breaks in between so I don't know what you were talking about Stu...

    Quote Originally Posted by Versaaa View Post
    Shitted on em.
    I shat on your face Versaaa gtfo.

    Quote Originally Posted by Iocere View Post
    You could just use the script dusk (?) used, and fix the item mall part. But i recommend to use Stu's server. Got no problem with it and it run pretty stable.

    And uhm since u use .Net you could manage the token stuff with a simple wcf service D:

    This should be like ur php create token?

    Spoiler:
    Code:
                Crypto3DES enc = new Crypto3DES();
                string encrypt = enc.Encrypt3DES(RandomString(27));
                string encoded = encrypt.Replace("=", ".");
                string encoded2 = encoded.Replace("+", "-");
                string encoded3 = encoded2.Replace("/", "_");


    Spoiler:
    Code:
            private readonly Random _rng = new Random();
            private const string _chars = "some_hard_coded_key_for_now";
    
            private string RandomString(int size)
            {
                char[] buffer = new char[size];
    
                for (int i = 0; i < size; i++)
                {
                    buffer[i] = _chars[_rng.Next(_chars.Length)];
                }
                return new string(buffer);
            }


    Heres the class for it:

    Spoiler:
    Code:
    using System;
    using System.Security.Cryptography;
    using System.Text;
    
    namespace Tools
    {
           public class Crypto3DES
        {
            public Crypto3DES()
            {
    
            }
    
            private System.Text.Encoding encoding;
    
    
            public string Key
            {
                get
                {
                    return "xxxxxxxx";
                }
            }
    
    
            public System.Text.Encoding Encoding
            {
                get
                {
                    if (encoding == null)
                    {
                        encoding = System.Text.Encoding.UTF8;
                    }
                    return encoding;
                }
    
                set
                {
                    encoding = value;
                }
            }
    
    
            public string Encrypt3DES(string strString)
            {
                DESCryptoServiceProvider DES = new DESCryptoServiceProvider();
    
                DES.Key = Encoding.GetBytes(this.Key);
                DES.Mode = CipherMode.ECB;
                DES.Padding = PaddingMode.Zeros;
    
                ICryptoTransform DESEncrypt = DES.CreateEncryptor();
    
                byte[] Buffer = encoding.GetBytes(strString);
    
                return Convert.ToBase64String(DESEncrypt.TransformFinalBlock(Buffer, 0, Buffer.Length));
            }
    
    
            public string Decrypt3DES(string strString)
            {
                DESCryptoServiceProvider DES = new DESCryptoServiceProvider();
    
                DES.Key = Encoding.UTF8.GetBytes(this.Key);
                DES.Mode = CipherMode.ECB;
                DES.Padding = PaddingMode.Zeros;
                ICryptoTransform DESDecrypt = DES.CreateDecryptor();
    
                byte[] Buffer = Convert.FromBase64String(strString);
                return UTF8Encoding.UTF8.GetString(DESDecrypt.TransformFinalBlock(Buffer, 0, Buffer.Length));
            }
        }
    }

    Iocere I really appreciate you helping. Thank you very much. But what's Stu's server? I haven't seen anything on the forums, unless you mean the one he sells, in which case I am not planning on buying anything.

    Also Which script dusk are you talking about?

    It's disappointing that I still haven't been able to fix to a point where all the basic features work and this is after 40 days.

  5. #55
    Sorcerer Supreme Gruntilda is offline
    Member +Rank
    Apr 2010 Join Date
    468Posts

    Re: Launcher UPDATES Section

    He means my Rest. The Odin one.

    Maybe you can't fix it, because you're tying to change everything.

    PHP REST Won't work properly, Dusk or not, unless you know how to fix them. As far as I can tell, nobody knows how/nobody cares, because a 100% working/free/easy REST server is released.

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

    Re: Launcher UPDATES Section

    Oh... Then that means what I have created up until now is all nonsense and not needed? If that's the case then I am a long way from fixing it still.

    So how do I make it work without having to replace the Rest server because they keep conflicting with each other...

  7. #57
    Sorcerer Supreme Gruntilda is offline
    Member +Rank
    Apr 2010 Join Date
    468Posts

    Re: Launcher UPDATES Section

    Isn't that be a little easier to ask then try to rebuild everything already made?

    IIS: Google

    Apache: Google

  8. #58
    Grand Master Kreain is offline
    Grand MasterRank
    May 2008 Join Date
    679Posts

    Re: Launcher UPDATES Section

    Quote Originally Posted by iStu View Post
    He means my Rest. The Odin one.

    Maybe you can't fix it, because you're tying to change everything.

    PHP REST Won't work properly, Dusk or not, unless you know how to fix them. As far as I can tell, nobody knows how/nobody cares, because a 100% working/free/easy REST server is released.
    Uhh, PHP REST works fine, not my old one, but I could have fixed my old one with 4 lines :/, Store and all, my new API is much better though.

  9. #59
    Sorcerer Supreme Gruntilda is offline
    Member +Rank
    Apr 2010 Join Date
    468Posts

    Re: Launcher UPDATES Section

    Is that why Victus paid someone else to make a whole new rest system?

  10. #60
    Grand Master aqua512 is offline
    Grand MasterRank
    Nov 2012 Join Date
    574Posts

    Re: Launcher UPDATES Section

    Quote Originally Posted by iStu View Post
    Is that why Victus paid someone else to make a whole new rest system?
    Ouch!! Burn!!

  11. #61
    Grand Master Kreain is offline
    Grand MasterRank
    May 2008 Join Date
    679Posts

    Re: Launcher UPDATES Section

    That's not even true you fucking idiot?

    1. Bakey's choice to recode whatever he pleases, his inability to use my API is merely retardation.
    2. Bakey hasn't ever been paid, and if he has, then that's just corrupt as fuck, and I expected better out of people I considered friends.

    And I'm doing my own development for myself now, outside of the fiesta scene.

  12. #62
    Sorcerer Supreme Gruntilda is offline
    Member +Rank
    Apr 2010 Join Date
    468Posts

    Re: Launcher UPDATES Section

    Name calling isn't nice :c
    Last edited by Gruntilda; 12-02-13 at 09:07 PM.

  13. #63
    Grand Master Kreain is offline
    Grand MasterRank
    May 2008 Join Date
    679Posts

    Re: Launcher UPDATES Section

    Quote Originally Posted by Kreain View Post
    That's not even true you fucking idiot?

    1. Bakey's choice to recode whatever he pleases, his inability to use my API is merely retardation.
    2. Bakey hasn't ever been paid, and if he has, then that's just corrupt as fuck, and I expected better out of people I considered friends.

    And I'm doing my own development for myself now, outside of the fiesta scene.
    5char

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

    Re: Launcher UPDATES Section

    Back on topic. I don't want any raging here please. If you want to rage go do it else where.

    Well I have been asking Stu, but no one ever gave me a decent answer.

    Any how. I know what apache is and i'll try the IIS thing later when I get some time, but after I stop it from binding all IP's it should work, or do I still need to do more things after that?

  15. #65
    Elite Member Riko is offline
    Member +Rank
    Sep 2009 Join Date
    105Posts

    Re: Launcher UPDATES Section

    Quote Originally Posted by Dragonluck4 View Post
    Oh... Then that means what I have created up until now is all nonsense and not needed? If that's the case then I am a long way from fixing it still.

    So how do I make it work without having to replace the Rest server because they keep conflicting with each other...
    IIS binds to all IP addresses on a server when you install IIS 7.0 on Windows Server 2008

    That link is good. Delete the bindings in there and add the IP you wish to use. Maybe your WAN ?

    After that add a loopback adapter listen on custom IP :)

    Spoiler:


















    EDIT: I forgot to mention that u have to change the hosts file to the Loopback IP. In this case 10.0.0.1.

    And dont forget the config file in the character server folder :D
    Last edited by Riko; 13-02-13 at 06:59 AM.

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

    Re: Launcher UPDATES Section

    Thanks very much for you help Iocere. As I am running the server on my home pc at the moment I don't have any dedicated server and I don't have windows Server 2008 as well as IIS

  17. #67
    Elite Member Riko is offline
    Member +Rank
    Sep 2009 Join Date
    105Posts

    Re: Launcher UPDATES Section

    Quote Originally Posted by Dragonluck4 View Post
    Thanks very much for you help Iocere. As I am running the server on my home pc at the moment I don't have any dedicated server and I don't have windows Server 2008 as well as IIS
    You can install IIS in any Windows Version :)

    Installing IIS 7.5 on Windows 7 Professional, Enterprise, or Ultimate

    And the loopback adapter just to keep port 80 free on your normal IP's.

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

    Re: Launcher UPDATES Section

    I'm not sure if I got this across well. Everyone did understand it was for the Odin Files right?

  19. #69
    Sorcerer Supreme Gruntilda is offline
    Member +Rank
    Apr 2010 Join Date
    468Posts

    Re: Launcher UPDATES Section

    Obviously.

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

    Re: Launcher UPDATES Section

    Okay just making sure. You ES utility tool works with this right?

  21. #71
    Sorcerer Supreme Gruntilda is offline
    Member +Rank
    Apr 2010 Join Date
    468Posts

    Re: Launcher UPDATES Section

    We went thru this. Yes the DLL could work for this.

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

    Re: Launcher UPDATES Section

    Who? Id don't remember reading about anything like that on this thread.

  23. #73
    Sorcerer Supreme Gruntilda is offline
    Member +Rank
    Apr 2010 Join Date
    468Posts

    Re: Launcher UPDATES Section

    You might wanna re-read the entire first page.

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

    Re: Launcher UPDATES Section

    Quote Originally Posted by iStu View Post
    I hope you know, the Launcher Creator doesn't support the new Odin files, just sayin.

    But it looks good~
    That's all I see. No one else stated anything about these working or not working with the Odin files.

    Anyhow I guess it does work so I will carry on trying different things with the code I have right now that Next helped me create. Awesome guy he is ^^.

  25. #75
    Sorcerer Supreme Gruntilda is offline
    Member +Rank
    Apr 2010 Join Date
    468Posts

    Re: Launcher UPDATES Section

    You're entire PHP and VB Base are from the DLL Example.



Page 3 of 4 FirstFirst 1234 LastLast

Advertisement