Thread: C# RuneScape Emulator [DotNetwork]

Page 6 of 10 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 95
  1. #51  
    WVWVWVWVWVWVWVW

    _jordan's Avatar
    Join Date
    Nov 2012
    Posts
    3,046
    Thanks given
    111
    Thanks received
    1,848
    Rep Power
    5000
    Quote Originally Posted by Whis View Post
    https://github.com/jordanabrahambaws...orkListener.cs

    instead of doing it manually, i think you can get away with it using c#'s built in events and delegates https://www.tutorialspoint.com/csharp/csharp_events.htm

    Code:
    context.Channel.WriteAndFlushAsync(Preconditions.Check.NotNull(message, "Channel message is null."));
    and isn't it possible to just call WriteAndFlushAsync directly from IChannelHandlerContext? as is demonstrated here

    http://normanmaurer.me/presentations...ides.html#29.0
    yeah but i didn't want to use Preconditions in every single listener class that will be available. thought it better to just have it in the parent class
    Attached image
    Attached image
    Reply With Quote  
     

  2. #52  
    Registered Member
    Velocity's Avatar
    Join Date
    Jan 2009
    Age
    28
    Posts
    2,028
    Thanks given
    1,013
    Thanks received
    2,376
    Rep Power
    4112
    Quote Originally Posted by OP411 View Post
    don't give a fuck about rep
    the project is only for the developer and idiots that want to waste their time but if you want to learn well fuck


    and the only reasons it's funny is because he's benchmarking the performance lol
    seems like everyone bitched about runescape doing the same shit and saying blaming java is dumb so whatever lol

    you guys are fucking stupid and getting any backlash on this is worth it
    i do not help for rep lol i'll just make a new account if i ever care
    biggest retard and dumbest post i've read this year so far gj
    xxxxxxx
    Reply With Quote  
     

  3. Thankful user:


  4. #53  
    Registered Member

    Join Date
    Dec 2015
    Posts
    166
    Thanks given
    77
    Thanks received
    87
    Rep Power
    404
    Quote Originally Posted by _jordan View Post
    yeah but i didn't want to use Preconditions in every single listener class that will be available. thought it better to just have it in the parent class
    I say get rid of the precondition. Its not preventing a bottleneck in your application and it only stops you from writing proper c#. DotNetty should tell you anyway if a message or channel is null
    "It's all a matter of perspective. There is no single path in life that is right and fair and does no harm."
    Reply With Quote  
     

  5. #54  
    Registered Member

    Join Date
    Sep 2009
    Posts
    1,919
    Thanks given
    480
    Thanks received
    1,687
    Rep Power
    1262
    Quote Originally Posted by OP411 View Post
    don't give a fuck about rep
    the project is only for the developer and idiots that want to waste their time but if you want to learn well fuck


    and the only reasons it's funny is because he's benchmarking the performance lol
    seems like everyone bitched about runescape doing the same shit and saying blaming java is dumb so whatever lol

    you guys are fucking stupid and getting any backlash on this is worth it
    i do not help for rep lol i'll just make a new account if i ever care
    This project isn't about usefulness whatsoever, it's about someone trying to learn. If you can't support that then leave the community lol.
    Reply With Quote  
     

  6. Thankful users:


  7. #55  
    WVWVWVWVWVWVWVW

    _jordan's Avatar
    Join Date
    Nov 2012
    Posts
    3,046
    Thanks given
    111
    Thanks received
    1,848
    Rep Power
    5000
    Finished the login for the server and started on the packets to get the world to send. I'm using the some of the packet stuff from Apollo which can be found here on Github converted to c# obv.

    the login branch is the updated version of the build featuring the current updates.
    here is an example of a packet used in DotNetwork

    Code:
    namespace DotNetwork.Oldscape.Network.Protocol.Packet.Encoder.Impl
    {
    
        /// <summary>
        /// The root interface packet encoder.
        /// </summary>
        sealed class RootInterfaceEncoder : PacketEncoder<RootInterfaceContext>
        {
    
            /// <summary>
            /// Constructs a new object.
            /// </summary>
            public RootInterfaceEncoder() : base(208, PacketType.FIXED) { }
    
            /// <summary>
            /// Encodes the packet.
            /// </summary>
            /// <param name="player"></param>
            /// <param name="context"></param>
            public override void Encode(Player player, RootInterfaceContext context)
            {
                builder.Put(DataType.SHORT, DataOrder.LITTLE, context.GetId());
            }
    
        }
    }
    Attached image
    Attached image
    Reply With Quote  
     

  8. #56  
    Respected Member


    George's Avatar
    Join Date
    Mar 2009
    Posts
    7,099
    Thanks given
    2,226
    Thanks received
    3,146
    Rep Power
    5000
    Quote Originally Posted by OP411 View Post
    don't give a fuck about rep
    the project is only for the developer and idiots that want to waste their time but if you want to learn well fuck


    and the only reasons it's funny is because he's benchmarking the performance lol
    seems like everyone bitched about runescape doing the same shit and saying blaming java is dumb so whatever lol

    you guys are fucking stupid and getting any backlash on this is worth it
    i do not help for rep lol i'll just make a new account if i ever care
    just made ur redbar increase by 4 cubes, thank me later.
    Attached image

    Spoiler for Spoilers!:
    Attached image
    Attached image
    Attached image
    Attached image
    Reply With Quote  
     

  9. Thankful users:


  10. #57  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,151
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Quote Originally Posted by Cjay0091 View Post
    This project isn't about usefulness whatsoever, it's about someone trying to learn. If you can't support that then leave the community lol.
    Exactly my thought. Good luck with this jordan, you're doing a great job
    Reply With Quote  
     

  11. #58  
    WVWVWVWVWVWVWVW

    _jordan's Avatar
    Join Date
    Nov 2012
    Posts
    3,046
    Thanks given
    111
    Thanks received
    1,848
    Rep Power
    5000
    Quote Originally Posted by Whis View Post
    I say get rid of the precondition. Its not preventing a bottleneck in your application and it only stops you from writing proper c#. DotNetty should tell you anyway if a message or channel is null
    made some changes

    Quote Originally Posted by Genesis View Post
    Exactly my thought. Good luck with this jordan, you're doing a great job
    thanks for the support
    Attached image
    Attached image
    Reply With Quote  
     

  12. Thankful users:


  13. #59  
    Registered Member OP411's Avatar
    Join Date
    May 2014
    Posts
    293
    Thanks given
    28
    Thanks received
    31
    Rep Power
    0
    Quote Originally Posted by _jordan View Post
    follow me along here...

    1. your opinion is that this will waste peoples times but i think they can decide for themselves. if someone decides to tag along in this, then it's not a waste of THEIR time.

    2. whats so funny comparing two languages and noticing the difference in memory consumption between the two? im confused.

    3. im not putting java down? idk why you even made that comment as its off topic a bit. btw runescape did c++ not c#.

    4. pls explain why anyone here is fucking stupid when they replied to your ignorance explaining why maybe they think this project isnt worthless but somehow you think what you believe overpowers everyone else???

    No it's not and if it's for knowledge then sure
    Because it's not the languages fault
    good don't put it down & ik
    Idk why you're making a custom framework instead of using apollo
    just seems a bit too much but whatever

    Quote Originally Posted by Velocity View Post
    biggest retard and dumbest post i've read this year so far gj
    put it in your sig nazi

    @Everyone
    My bad for attacking the thread. I know it's against the rules just wanted to state my opinion. Didn't think the rep hungry kids would go full white knight lol
    gl and don't reply cause idc

    Quote Originally Posted by Cjay0091 View Post
    This project isn't about usefulness whatsoever, it's about someone trying to learn. If you can't support that then leave the community lol.
    yea ik
    Reply With Quote  
     

  14. #60  
    Registered Member
    Velocity's Avatar
    Join Date
    Jan 2009
    Age
    28
    Posts
    2,028
    Thanks given
    1,013
    Thanks received
    2,376
    Rep Power
    4112
    Quote Originally Posted by OP411 View Post
    No it's not and if it's for knowledge then sure
    Because it's not the languages fault
    good don't put it down & ik
    Idk why you're making a custom framework instead of using apollo
    just seems a bit too much but whatever



    put it in your sig nazi

    @Everyone
    My bad for attacking the thread. I know it's against the rules just wanted to state my opinion. Didn't think the rep hungry kids would go full white knight lol
    gl and don't reply cause idc



    yea ik
    lol np mate looks like the community brought ur rep down to ur IQ
    xxxxxxx
    Reply With Quote  
     


Page 6 of 10 FirstFirst ... 45678 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 21
    Last Post: 03-10-2010, 11:34 PM
  2. the best possible runescape emulator
    By saifix in forum RS2 Server
    Replies: 16
    Last Post: 03-08-2010, 05:25 PM
  3. Jolt Environment: RuneScape Emulator - RS2E
    By TheAJ in forum Projects
    Replies: 102
    Last Post: 01-30-2010, 02:59 AM
  4. [Broken]: Jython 317 RuneScape Emulator - Help fixing?
    By blakeman8192 in forum RS2 Server
    Replies: 18
    Last Post: 01-04-2010, 03:54 PM
  5. [508 Server] Jolt (C) RuneScape Emulator
    By Derek in forum Downloads
    Replies: 7
    Last Post: 12-02-2009, 11:03 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •