[R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

Page 6 of 12 FirstFirst 123456789101112 LastLast
Results 76 to 90 of 168
  1. #76
    i didnt do this. Donkjam is offline
    MemberRank
    Jul 2007 Join Date
    4,494Posts

    Re: [R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

    The packets for bb are the same....
    Posted via Mobile Device

  2. #77
    Account Upgraded | Title Enabled! AWA is offline
    MemberRank
    Feb 2008 Join Date
    1,320Posts

    Re: [R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

    Quote Originally Posted by Donkjam View Post
    The packets for bb are the same....
    Posted via Mobile Device
    No, not from r14 to r21, or then Nillus coded it horribly wrong atleast.

  3. #78
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: [R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

    Quote Originally Posted by AWA View Post
    No, not from r14 to r21, or then Nillus coded it horribly wrong atleast.
    Nillus coded it wrong but you're also correct.

    If you need a 24-7 host for a testserver I have a dedi with 12GB of RAM.

  4. #79
    Account Upgraded | Title Enabled! AWA is offline
    MemberRank
    Feb 2008 Join Date
    1,320Posts

    Re: [R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

    Quote Originally Posted by Jontycat View Post
    Nillus coded it wrong but you're also correct.

    If you need a 24-7 host for a testserver I have a dedi with 12GB of RAM.
    yes please, and if I use the packets from holograph, it won't work, already tested.

  5. #80
    Retired maritnmine is offline
    MemberRank
    May 2007 Join Date
    North KoreaLocation
    1,103Posts

    Re: [R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

    I just had a look at your code and I would like to give you some tips regarding coding structure.
    - NEVER use public unless its in a DLL file or like Dispose() using IDisposable
    - Having one space between each method makes it easier to read
    - Left click in code -> Organize usings -> Remove and sort
    - Using a Dictionary instead of an array saves you A LOT of ram
    - And looking at your catch statement in the socket, why not call
    Core
    .ClientManager.RemoveClient(this);
    instead of
    Core
    .ClientManager.RemoveClient(mID);
    ? Its waste of time getting the instance to the object when the method is called from the object you are reffering to.
    - Use structs instead of classes while storing data
    - If built on annother system, try and keep the same coding layout

    Annyways, good luck Audun ;)
    - Martin

  6. #81
    Account Upgraded | Title Enabled! AWA is offline
    MemberRank
    Feb 2008 Join Date
    1,320Posts

    Re: [R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

    Thanks Martin, I'm still a beginner in coding :)

  7. #82
    Retired maritnmine is offline
    MemberRank
    May 2007 Join Date
    North KoreaLocation
    1,103Posts

    Re: [R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

    Quote Originally Posted by AWA View Post
    Thanks Martin, I'm still a beginner in coding :)
    Yes, and so am I. I don't have any education in coding, I also haven't read any books regarding coding.

    - Martin

  8. #83
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: [R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

    how did i know you were gonna talk about ram

    you can be my ram bitch ^^

  9. #84
    Account Upgraded | Title Enabled! AWA is offline
    MemberRank
    Feb 2008 Join Date
    1,320Posts

    Re: [R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

    Here is my battleball progress:
    List games - 100%
    Create games - 75% (no powerups)
    View game info - 99%-100% (some unknown part of packet)
    Join game - 100%
    Switch team - 100%
    Leave game - 100%
    Kick player - 100%
    Start game - 5%

    I'm recoding big parts of the bb code because it got too messy.

  10. #85
    En Français? Bjork is offline
    MemberRank
    Apr 2007 Join Date
    854Posts

    Re: [R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

    Nice progress AWA :)

  11. #86
    Account Upgraded | Title Enabled! Pure is offline
    MemberRank
    May 2008 Join Date
    809Posts

    Re: [R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

    Are you going to make it so we can use the other maps or are you just doing the orginal map? :-) aLso great progress are you just guessing the packet structure or using holo :-)
    Posted via Mobile Device

  12. #87
    Account Upgraded | Title Enabled! AWA is offline
    MemberRank
    Feb 2008 Join Date
    1,320Posts

    Re: [R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

    I'm gonna add all maps, and I use most packets fro Holograph, someone are different.

  13. #88
    i didnt do this. Donkjam is offline
    MemberRank
    Jul 2007 Join Date
    4,494Posts

    Re: [R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

    Quote Originally Posted by AWA View Post
    No, not from r14 to r21, or then Nillus coded it horribly wrong atleast.
    Seams to be working fine for me. (one of my many unreleased stuffs)

    http://img.sharefast.net/1299604677647160871836.jpg
    http://img.sharefast.net/1299604700105326923328.jpg

    Quote Originally Posted by AWA View Post
    Here is my battleball progress:
    List games - 100%
    Create games - 75% (no powerups)
    View game info - 99%-100% (some unknown part of packet)
    Join game - 100%
    Switch team - 100%
    Leave game - 100%
    Kick player - 100%
    Start game - 5%

    I'm recoding big parts of the bb code because it got too messy.
    Nice Progress so far

  14. #89
    Member twentySix26 is offline
    MemberRank
    Mar 2011 Join Date
    68Posts

    Re: [R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

    Quote Originally Posted by Donkjam View Post
    Seams to be working fine for me. (one of my many unreleased stuffs)

    http://img.sharefast.net/1299604677647160871836.jpg
    http://img.sharefast.net/1299604700105326923328.jpg



    Nice Progress so far
    Had boobs in the first pic :thumbsup:

    This progress of the server is great, keep it up AWA.

  15. #90
    Account Upgraded | Title Enabled! AWA is offline
    MemberRank
    Feb 2008 Join Date
    1,320Posts

    Re: [R14] [C#] [FROM SCRATCH] Project Chop V2 [FROM SCRATCH] [C#] [R14]

    Quote Originally Posted by Donkjam View Post
    Seams to be working fine for me. (one of my many unreleased stuffs)

    http://img.sharefast.net/1299604677647160871836.jpg
    http://img.sharefast.net/1299604700105326923328.jpg



    Nice Progress so far
    My listing code:
    PHP Code:
            private void HANDLER159() // "B_" - Get game list
            
    {
                
    mResponse.Init(232); // "Ch"

                // open games
                
    List<VirtualGamegames mRoom.mLobby.GetGames(VirtualGameState.Open);
                
    mResponse.AppendWired(games.Count);
                foreach(
    VirtualGame game in games)
                {
                    
    mResponse.Append(game.ToFuseString());
                }

                
    // running games
                
    games mRoom.mLobby.GetGames(VirtualGameState.Running);
                
    mResponse.AppendWired(games.Count);
                foreach (
    VirtualGame game in games)
                {
                    
    mResponse.Append(game.ToFuseString());
                }

                
    // ended games
                
    games mRoom.mLobby.GetGames(VirtualGameState.Closed);
                
    mResponse.AppendWired(games.Count);
                foreach (
    VirtualGame game in games)
                {
                    
    mResponse.Append(game.ToFuseString());
                }

                
    SendResponse();
            } 
    PHP Code:
            public string ToFuseString()
            {
                
    Response r = new Response();

                
    r.AppendWired(mID);
                
    r.AppendString(mName);
                
    r.AppendString(mOwner.mHabbo.mName);
                
    r.AppendWired(mMapID);

                return 
    r.ToString();
            } 



Advertisement