Unity3D Mangos/Trinitycore Client menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    mikeymike's Avatar Active Member
    Reputation
    66
    Join Date
    Jan 2008
    Posts
    99
    Thanks G/R
    2/14
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unity3D Mangos/Trinitycore Client

    So about a week ago I got bored and decided to try to, not necessarily "remake" the WoW Client but rather make a client that could be used with what i guess is any 1.12.1 server. Please keep in mind I am not a programmer I do it as a hobby and only have been working on this a week. With that being said A LOT does NOT work and a lot of the client is still not even made. So i'm kinda throwing this out there for some ideas maybe, maybe some devs who are interested in something like this. And more for unity people, as I am not i have only messed with it a few weeks. Anywho here's the link PLEASE leave some type of comment if you download it. thanks.

    Code:
    Currently working:
    
    ## v0.0.0.3
    
    
    # Login Screen
    ⦁	Added a lot to initail login.  Now returns if account is banned, invalid info ect. Rarley i have experianced it hanging at shaking hands, if happens just cancelled and re-tryed.
    ⦁	Temp removed login music.
    
     # Character Screen
    ⦁Pressing enter at character screen now logs in the character listed at top.
    ⦁Model rotates with mouse down,
    ⦁Rewrote UI for Character  screen. (Should help with creating a 					character screen and loading of each character model)
    ⦁Added Back Button.
    ⦁Delete Character Somewhat functional, UI got messed up with new UI 	change.
    ⦁Should now return to main screen if disconnected from server.
    
    # World Screen
    ⦁Shortened the loading time in loading screen. Because we are loading what?
    ⦁Chat box Rewrote, added scroll bar and fix chat box (Now see MOTD ect ,still sending Lang Orcish)
    ⦁Changed Player name to green instead of white.
    ⦁Added placement holders for Main UI.
    ⦁Added Name to PlayerFrame.
    ⦁Should now return to main screen if disconnected from server.
    			
    # Implemented OPCODES:
    ⦁CMSG_CREATURE_QUERY
    ⦁CMSG_GAMEOBJECT_QUERY
    ⦁CMSG_PING
    ⦁SMSG_NAME_QUERY_RESPONSE
    ⦁SMSG_CREATURE_QUERY_RESPONSE
    ⦁SMSG_UPDATE_OBJECT (Half working, seems SMSG_COMPRESSED_UPDATE_OBJECT is used more often.
    ⦁CMSG_CHAR_DELETE
    ⦁SMSG_CHAR_DELETE
    
    ## v0.0.0.2
    
    ⦁Completely Rewrote the way packets are sent and received.
    ⦁Packet Receive loop moved to Unitys main thread.
    ⦁Now tries logging in if you hit Enter at login screen.
    ⦁Fixed issue with a memory leak.
    ⦁Fixed issue with closing the game.
    ⦁Added <PlayerName> above Player.
    ⦁Added temp chatbox in world With some what working chat function ( /y /s Appears in chat and other players in range. (No color Change)
    ⦁Added REALM_LIST_ADDRESS and LAST_KNOWN_REALM_LIST to RealmList.txt
    ⦁Fixed Realm Checks on login and Realms button on character list screen. (now automatically goes to last LAST_KNOWN_REALM_LIST
    
    ⦁Implemented OPCODES:
    
    ⦁CMSG_NAME_QUERY
    ⦁SMSG_MESSAGECHAT
    
    
    ## v0.0.0.1
    
    ⦁Auth/World Packet sending/receiving with 1.12.1 encryption.
    ⦁Connect to an existing 1.12.1 Realm
    ⦁World Login to that Realm
    
    ⦁Implemented OPCODES:
    
    ⦁AUTH_LOGON_CHALLENGE
    ⦁AUTH_LOGON_PROOF
    ⦁REALM_LIST
    
    ⦁CMSG_AUTH_SESSION
    ⦁CMSG_CHAR_ENUM
    ⦁CMSG_PLAYER_LOGIN
    ⦁CMSG_UPDATE_ACCOUNT_DATA
    
    ⦁SMSG_AUTH_CHALLENGE
    ⦁SMSG_CHAR_ENUM
    ⦁SMSG_AUTH_RESPONSE
    ⦁SMSG_PONG
    Obv alot of other opcodes still need implemented but i personally think models ect are more important, as only a few models are shared threw client right now and the World is just a temporary Terrain placeholder but is still able of using data from the server ie Character Name, Zone, Location, Quests, Mob/Mineral Locations ect.



    Dont forget to change the RealmList.txt inside DuBottinClientAlpha_Data to connect to a realm.

    v0.0.0.3
    0.0.0.3

    v0.0.0.2
    1.12.1Client

    v0.0.0.1
    New folder
    Last edited by mikeymike; 02-01-2017 at 01:42 AM.

    Unity3D Mangos/Trinitycore Client
  2. Thanks Terrorblade, Veritable, culino2, Creepwalker, Nyarly, Natrist, Neldor (7 members gave Thanks to mikeymike for this useful post)
  3. #2
    ev0's Avatar ★ Elder ★ murlocs.com

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1850
    Join Date
    Jul 2012
    Posts
    2,737
    Thanks G/R
    313/377
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    7 Thread(s)
    Downloaded, logged in. This is neat





    Last edited by ev0; 01-28-2017 at 03:03 PM.
    Need a guild in the US? Visit murlocs.com

  4. Thanks mikeymike (1 members gave Thanks to ev0 for this useful post)
  5. #3
    mikeymike's Avatar Active Member
    Reputation
    66
    Join Date
    Jan 2008
    Posts
    99
    Thanks G/R
    2/14
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by SniffingPickles View Post
    Downloaded, logged in. This is neat






    HAHA, thanks alot for the screen shots! Even more the complement ALOT more work to it than i ever thought lol.

  6. #4
    mikeymike's Avatar Active Member
    Reputation
    66
    Join Date
    Jan 2008
    Posts
    99
    Thanks G/R
    2/14
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    v0.0.0.2 Runs SOOOO much better than v0.0.0.1 its insane.

  7. #5
    Creepwalker's Avatar Active Member
    Reputation
    39
    Join Date
    Oct 2008
    Posts
    202
    Thanks G/R
    15/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is actually one of the coolest projects I've seen in awhile here.

  8. Thanks mikeymike (1 members gave Thanks to Creepwalker for this useful post)
  9. #6
    mikeymike's Avatar Active Member
    Reputation
    66
    Join Date
    Jan 2008
    Posts
    99
    Thanks G/R
    2/14
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Creepwalker View Post
    This is actually one of the coolest projects I've seen in awhile here.
    Thanks!! SMSG_NAME_QUERY_RESPONSE CMSG_NAME_QUERY added now so chat is some what better, still trying to get SMSG_COMPRESSED_OBJECT_UPDATE and SMSG_UPDATE_OBJECT once thats is done we should see other models in world!



    Attached Thumbnails Attached Thumbnails Unity3D Mangos/Trinitycore Client-untitled-jpg  

  10. Thanks culino2 (1 members gave Thanks to mikeymike for this useful post)
  11. #7
    GnomePlaysWoW's Avatar Active Member
    Reputation
    36
    Join Date
    Oct 2010
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is amazing lmao

  12. #8
    brotalnia's Avatar Elite User
    Reputation
    497
    Join Date
    Apr 2009
    Posts
    473
    Thanks G/R
    26/300
    Trade Feedback
    0 (0%)
    Mentioned
    14 Post(s)
    Tagged
    2 Thread(s)
    Very cool idea. It doesn't work with the WoWCore sandbox though. Also on TrinityZero movement doesn't work and any messages you write in chat are not seen by the real client.


  13. #9
    mikeymike's Avatar Active Member
    Reputation
    66
    Join Date
    Jan 2008
    Posts
    99
    Thanks G/R
    2/14
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by brotalnia View Post
    Very cool idea. It doesn't work with the WoWCore sandbox though. Also on TrinityZero movement doesn't work and any messages you write in chat are not seen by the real client.

    Odd, honestly never heard of WoWCore, can you send me a link to source used for it? Also in theroy nothing works, i skipped ALOT just to get a character in world in real client. Example, if you type in wrong pass ect it hangs at connect instead of telling you. So movement doesnt work at all at chat was tested sending the language Languages.Orcish try again with orc and should temp work. i may finish main screens before anything else and add more models to change with Race then chat ect should be a lil better.

  14. #10
    mikeymike's Avatar Active Member
    Reputation
    66
    Join Date
    Jan 2008
    Posts
    99
    Thanks G/R
    2/14
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    also make sure LAST_KNOWN_REALM_LIST is either blank or matches realm. i havnt tested to see if LAST_KNOWN_REALM_LIST != curRealm reloads a realm list, could be why your hanging at connected.

  15. #11
    brotalnia's Avatar Elite User
    Reputation
    497
    Join Date
    Apr 2009
    Posts
    473
    Thanks G/R
    26/300
    Trade Feedback
    0 (0%)
    Mentioned
    14 Post(s)
    Tagged
    2 Thread(s)
    This is the source for WoWCore sandbox, but be aware it's written in Delphi. I use it a lot cause it's really good way to test things like addons and mods.

    Deleting the realm name from the realmlist file didn't fix the login issue. The chat does work on horde with the Trinity emulator though.

  16. #12
    culino2's Avatar Elite User
    Reputation
    336
    Join Date
    Feb 2013
    Posts
    181
    Thanks G/R
    139/72
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For me WoWCore login is working fine. Only problem is that you can't select a realm because it says 0 characters. WoWCore dynamically creates 2 characters at world connect.



    My compiled sandbox binary from 2015 / compilied in delphi 2007 iirc:
    https://mega.nz/#!xoIDCaTA!stY360syV...nguVpHzc3RSQi4

  17. #13
    mikeymike's Avatar Active Member
    Reputation
    66
    Join Date
    Jan 2008
    Posts
    99
    Thanks G/R
    2/14
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by culino2 View Post
    For me WoWCore login is working fine. Only problem is that you can't select a realm because it says 0 characters. WoWCore dynamically creates 2 characters at world connect.



    My compiled sandbox binary from 2015 / compilied in delphi 2007 iirc:
    https://mega.nz/#!xoIDCaTA!stY360syV...nguVpHzc3RSQi4
    Odd. Must be a port thing i guess. heres the code i use to Grey out an offline realm.

    Code:
    public void HandleRealmlist(PacketReader packetIn)
        {
            ushort Length = packetIn.ReadUInt16();
            uint Request = packetIn.ReadUInt32();
            byte realmscount = packetIn.ReadByte();
                    
            Realm[] realms = new Realm[realmscount];
            try
            {
                for (int i = 0; i < realmscount; i++)
                {
                    realms[i].ID = i;
                    realms[i].Type = (byte)packetIn.ReadUInt32();
                    realms[i].Color = packetIn.ReadByte();
                    realms[i].Name = packetIn.ReadString();
                    realms[i].Address = packetIn.ReadString();
                    realms[i].Population = packetIn.ReadFloat();
                    realms[i].NumChars = packetIn.ReadByte();
                    realms[i].Language = packetIn.ReadByte();
                    packetIn.ReadByte();
    
                    if (realms[i].Name.Contains(LAST_KNOWN_REALM_LIST) && realms[i].Name.Length == LAST_KNOWN_REALM_LIST.Length && !RequestRealmlistRef)
                    {
                        LastKnownRealm = realms[i];
                    }
    
                    if (CheckAvailableServerPort(realms[i].Address))
                    {
                        realms[i].wOnline = 1;
                    }
    
                }
    
                packetIn.ReadUInt16();
    
                Realmlist = realms;
                ShowRealms = true;
                RequestRealmlistRef = false;
    
            }
            catch (Exception ex)
            {
                Disconnect();
            }
        } 
    
    private bool CheckAvailableServerPort(string port)
        {
            string[] address = port.Split(':');
            IPAddress WSAddr = Dns.GetHostAddresses(address[0])[0];
            int WSPort = Int32.Parse(address[1]);
            IPEndPoint ep = new IPEndPoint(WSAddr, WSPort);
    
            try
            {
                testSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.IP);
                testSocket.Connect(ep);
                testSocket.Close();
    
                return true;
            }
            catch (SocketException ex)
            {
                return false;
            }
        }
       
       void onGUI()
        {
            foreach (Realm rl in Realmlist)
            {
                string label = rl.Name + " with " + rl.NumChars + " Character(s)";//name type char pop
                int textspace = 31 * 12;
    
    
                if (rl.wOnline != 1)
                {
                    GUI.SetNextControlName(rl.Name);
                    GUI.enabled = false;
                }
    
                if (GUI.Button(new Rect(Screen.width / 2 - textspace / 2, Screen.height / 2 + spaceing, 350, 30), label))
                {
                    LAST_KNOWN_REALM_LIST = rl.Name;
                    GoToCharList(rl);
                }
    
    
                spaceing = spaceing + 35;
            }
        }


    So i seen some where the world port on WoWCore uses 7000?
    Last edited by mikeymike; 01-30-2017 at 01:17 PM.

  18. #14
    mikeymike's Avatar Active Member
    Reputation
    66
    Join Date
    Jan 2008
    Posts
    99
    Thanks G/R
    2/14
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bump, Added 0.0.0.3

  19. #15
    mikeymike's Avatar Active Member
    Reputation
    66
    Join Date
    Jan 2008
    Posts
    99
    Thanks G/R
    2/14
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


    Attached Thumbnails Attached Thumbnails Unity3D Mangos/Trinitycore Client-untitled-jpg   Unity3D Mangos/Trinitycore Client-unhtitled-jpg  
    Last edited by mikeymike; 01-31-2017 at 10:37 PM.

Page 1 of 2 12 LastLast

Similar Threads

  1. [Misc] How to make TrinityCore and MaNGOS public with Hamachi!
    By turtleswin in forum WoW EMU Guides & Tutorials
    Replies: 4
    Last Post: 12-11-2014, 08:24 PM
  2. [Trinity] [Site] MaNGOS/TrinityCore Account Creation page
    By myran2 in forum WoW EMU General Releases
    Replies: 58
    Last Post: 10-21-2014, 11:33 AM
  3. [Request] Good Raid Server That Runs Trinitycore Or Mangos.
    By WiePasta in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 05-19-2010, 10:23 PM
  4. Allow newer clients to connect to Mangos 3.1.3
    By andross_01 in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 12-20-2009, 06:58 PM
  5. 3.1.3 mangos and 3.2 client
    By PeterI in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 09-11-2009, 04:09 PM
All times are GMT -5. The time now is 09:56 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search