[REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 38
  1. #16
    Proficient Member EcKO is offline
    MemberRank
    Oct 2007 Join Date
    Hotel AtlantaLocation
    153Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    the prog. damn slow and when i close it it comes back o.o i must close it with taskmanager.

    Nero

  2. #17
    RMS Kornflake Nillus is offline
    MemberRank
    Feb 2007 Join Date
    The NetherlandsLocation
    2,626Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Quote Originally Posted by EcKO View Post
    the prog. damn slow and when i close it it comes back o.o i must close it with taskmanager.

    Nero
    Yeah seems I'm doing something wrong with writing in the textbox (yeah I did an attempt on it when I receive @@&01), I'm doing it like VB6, since I haven't done stuff with GUI's in VB.NET. (I don't care about GUI's tbh)

    So yeah up to you how to find out to do textboxes proper in VB.NET, the connection stuff and w/e is done nicely. (async sockets)

    Rolls'
    Nillus

  3. #18
    Alpha Member casjebasje is offline
    MemberRank
    Apr 2007 Join Date
    Tilburg, The NetherlandsLocation
    1,416Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Come on, guys.
    Don't expect Nillus can do everything in one time.
    He is just a human.

    anyway, nice [again?]

  4. #19
    Account Upgraded | Title Enabled! Jeax is offline
    MemberRank
    Jul 2007 Join Date
    Kent, UKLocation
    1,013Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Quote Originally Posted by Nillus View Post
    Works nice, except for some reason it doesn't want to print the log in the textbox (while it does Msgbox it), and in the line under it I have txtLog.AppendText(THELOGSTUFF) but it simply won't write.
    Probably something I don't know and it shouldn't be hard to solve, I guess it has to do with the fact that the data arrival sub is asynchronous and I'm calling back to a form from it. (have to invoke it first?)
    I haven't downloaded the source, so i don't know if im right (But i probably am)

    The reason it wont access a textbox is because your accessing it from another thread (If your using Asynchronous sockets - This is definitely the case)

    There are a few quick solutions you can do, Either simply write it to a text file rather than to an actual textbox on your Form

    OR use the invoke method

    For example.. (C#)

    Code:
           internal delegate void A2L(string Txt);
            internal void AddToLog(string Text)
            {
                if(this.InvokeRequired)
                    this.Invoke(new A2L(AddToLog),Text);
                else
                {
                    TxtLog.AppendText(Text);
                }
            }
    Because you're accessing it from a separate thread it can't modify it properly and so an invoke is required.

    Edit: And i'm guessing the reason it wont close is because your not Closing every form? (Or when they hit the X button your threads are still running - sockets etc)

    just put this inside your 'Form Closing' event
    System.Environment.Exit(0);

    (If you don't know how to add events (Idk if you have to do this in VB.NET) but simply go to the form designer class
    (Called FormName.Designer.cs)

    And then scroll down to where its normally like
    this.Load += new System.EventHandler(this.Form1_Load);

    And shove in
    this.FormClosing += new System.EventHandler(this.Form_Closing);

    for example (Form_Closing) being the name of the method you've already created.

    ~ Jeax

  5. #20
    Apprentice jared.stratton is offline
    MemberRank
    Feb 2008 Join Date
    9Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    As Some Have Said Before: Another Great Release From Nillus! :) LOL.

    Great Job/Release.

  6. #21
    Valued Member gilipoyas is offline
    MemberRank
    Jan 2005 Join Date
    SpainLocation
    139Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Quote Originally Posted by Nillus View Post
    Works nice, except for some reason it doesn't want to print the log in the textbox (while it does Msgbox it), and in the line under it I have txtLog.AppendText(THELOGSTUFF) but it simply won't write.
    Probably something I don't know and it shouldn't be hard to solve, I guess it has to do with the fact that the data arrival sub is asynchronous and I'm calling back to a form from it. (have to invoke it first?)
    Maybe data is printed but you can't see it. AppendText function doesn't include backspace (vbCrLf). Try with txtLog.AppendText(vbCrLf & THELOGSTUFF) or with txtLog.Text = txtLog.Text & vbCrlf & THELOGSTUFF.
    Don't forget add txtLog.SelectionStart = Len(txtLog.Text) after, to show always last data.
    Make sure that txtLog multiline property it's true and add scrollbars.

    I downloaded source code but my VB.Net is too old and can't open it >.<!

  7. #22
    Alpha Member Hammad is offline
    MemberRank
    May 2007 Join Date
    Great BritainLocation
    1,997Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    VB.NET sux balls.
    The only exception I would have, is that it is similar to C#, meaning you can learn from it.
    Only, it doesn't use semicolons, and parenthesis.

  8. #23
    Account Upgraded | Title Enabled! Schfoo is offline
    MemberRank
    May 2007 Join Date
    Georgia, USLocation
    746Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Quote Originally Posted by -Hammad- View Post
    VB.NET sux balls.
    The only exception I would have, is that it is similar to C#, meaning you can learn from it.
    Only, it doesn't use semicolons, and parenthesis.
    You say it sucks, but you don't back it up at all. So basically you just posted your opinion on it. Thanks for the spam =]

    Does anyone know how exactly to fix this?
    I read somewhere up above that you had to call some function to call the packets to another thread.

  9. #24
    Account Upgraded | Title Enabled! RascaL is offline
    MemberRank
    Jan 2008 Join Date
    England -.-Location
    1,089Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Nice

    Compile plz =]

    I don't have VB.NET

    Cya,
    RascaL

  10. #25
    Account Upgraded | Title Enabled! Schfoo is offline
    MemberRank
    May 2007 Join Date
    Georgia, USLocation
    746Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Quote Originally Posted by RascaL View Post
    Nice

    Compile plz =]

    I don't have VB.NET

    Cya,
    RascaL
    Theres a compilation in the download. Whatever good it'll do for you, it doesn't show the packets.

  11. #26
    Alpha Member casjebasje is offline
    MemberRank
    Apr 2007 Join Date
    Tilburg, The NetherlandsLocation
    1,416Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Very nice!

    Waves,
    Casjebasje


    800 posts! :D

  12. #27
    Account Upgraded | Title Enabled! RascaL is offline
    MemberRank
    Jan 2008 Join Date
    England -.-Location
    1,089Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Congrats on 800 posts Casjebasje ;]

    Cya,
    RascaL

  13. #28
    Account Upgraded | Title Enabled! Schfoo is offline
    MemberRank
    May 2007 Join Date
    Georgia, USLocation
    746Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    The above two posts were uncalled for xD
    Both offtopic.

  14. #29
    Alpha Member Hammad is offline
    MemberRank
    May 2007 Join Date
    Great BritainLocation
    1,997Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Quote Originally Posted by Schfoo View Post
    You say it sucks, but you don't back it up at all. So basically you just posted your opinion on it. Thanks for the spam =]

    Does anyone know how exactly to fix this?
    I read somewhere up above that you had to call some function to call the packets to another thread.
    You say I'm spamming?

    I've seen over 20+ of your useless posts all over the Habbo section within the last few days.

    Umm...
    The connection on this is too slow.
    Maybe try changing the connection interval to something else?

    EDIT:
    How come only half the form loads? (fixed)

    EDIT 2:
    Random disconnection, anybody?

    - Hammad

  15. #30
    Account Upgraded | Title Enabled! RascaL is offline
    MemberRank
    Jan 2008 Join Date
    England -.-Location
    1,089Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Don't open the e.xe for me:(

    ~ RascaL



Page 2 of 3 FirstFirst 123 LastLast

Advertisement