Paltalk Bot Source Code VB .net 2010

Viewing 15 posts - 16 through 30 (of 74 total)
  • Author
    Posts
  • #37360
    ChiNa
    Administrator

    @deeva2 wrote:

    Thank you Loco! Im just getting started with VB.Net, this is a treat. Thank you very much!
    Also, I notice this is about the only source from you I have in VB 2010 (which opens in my VB 2012). Do you have any updated sources for VB 2010?

    This source is for vB2010, and it should work for you on vB 2012 and 2010. But if you think about a Particlar source then let us know!

    #37362

    @ChiNa-Man wrote:

    @deeva2 wrote:

    Thank you Loco! Im just getting started with VB.Net, this is a treat. Thank you very much!
    Also, I notice this is about the only source from you I have in VB 2010 (which opens in my VB 2012). Do you have any updated sources for VB 2010?

    This source is for vB2010, and it should work for you on vB 2012 and 2010. But if you think about a Particlar source then let us know!

    Hey China, I tried to PM you but to no avail. I need help. I have autopilot’s palroomselector source code and I followed his integration instructions but the room selector isnt working. Maybe because the source is old?

    Do you have a working source for the room selector with the latest pal version? Please help its urgent!

    #37359
    autopilot
    Administrator

    @deeva2 wrote:

    Do you have a working source for the room selector with the latest pal version? Please help its urgent!

    As long as you provide the correct class, the room selector will work just fine.

    #37357
    ChiNa
    Administrator

    @Deva Sorrry, My Private Message was Locked even befor I got the staff rank. But It should be open for you guys and other members to contact me, so my bad! Else simply ask below the Topics and everyone online here would answer you..

    About this line:

    Do you have a working source for the room selector with the latest pal version? Please help its urgent!

    You really dont have to be URGENT to learn on this forum. Trust me. You will need to take things one at a time. Because you wont learn it that easy anyway. I am still learning from the best on here. And I have learned to have patience. You need it too girl 😀

    And about the RoomSelector. I started using it also a few months ago, and its working fine. Just like AutoPilot said make sure that you have the right components added & vb classes to your form. Because as I can see in your form-load code you have to have the mdlpalinfo class added. Now you will have to add the complete class too…

    And as I could see in your previouse posts you were using this code:

    Me.CtrlRoomSelector1.SetWinClass(mdlPalInfo.ChatRoomClass)

    If you havnt uploaded or added any of the the other components and vb classes such as the mdlPalInfo.vb then MUST make sure to have the ChatRoomClass added to your form. Else you wont make it work.

    I suggest you dont make it hard for yourself, and instead add the mdlpalinfo.vb class to your and load it to your project! Because the ChatroomClass is added in the MdlPalinfo.vb and you cant run these to without eachother.. Else as I said you will have to add it all to your form …

    And if you have the ChatRoomClass in your forum, then you can simply use this code:

      Me.CtrlRoomSelector1.SetWinClass(ChatRoomClass)

    Good luck and feel free to ask… If anything…

    #37353

    Thanx Mista China 🙂 Its working now. After pulling my hair out for days, I discovered the majorpalversion section of the code and learned that “case 10” means pal version 10, which mine was missing.

    #37354
    autopilot
    Administrator

    @deeva2 wrote:

    After pulling my hair out for days, I discovered the majorpalversion section of the code and learned that “case 10” means pal version 10, which mine was missing.

    I used that back in the days when you could run both Pal8 and Pal9. I tipically dont use that code any more because Pal is only letting v10 connect. But it should have been a good learning experience for you and you should be much better at debugging now 😛

    #37358
    ChiNa
    Administrator

    @Deeva You Go Girl :D, Proud of you

    @Auto-Pilot thanks, I am also in that section bro lol

    #37363

    The bot isnt working in paltalk 10.4 So far I’ve changed the nickclass to this

    Public ReadOnly Property NicListClass() As String
    Get
    Return "ATL:00ADB508"
    End Get
    End Propert

    y

    Anyone else find anymore changes?

    #37364
    autopilot
    Administrator

    looks like the indexes changed for both the send and read text windows

    Private _SendTextIndex As Integer
    Public ReadOnly Property SendTextIndex() As Integer
    Get
    ' Return 3
    Return 2
    End Get
    End Property
    
    Private _ReadTextIndex As Integer
    Public ReadOnly Property ReadTextIndex() As Integer
    Get
    ' Return 4
    Return 3
    End Get
    End Property

     

    #37365

    @autopilot wrote:

    looks like the indexes changed for both the send and read text windows

    Private _SendTextIndex As Integer
    Public ReadOnly Property SendTextIndex() As Integer
    Get
    ' Return 3
    Return 2
    End Get
    End Property
    
    Private _ReadTextIndex As Integer
    Public ReadOnly Property ReadTextIndex() As Integer
    Get
    ' Return 4
    Return 3
    End Get
    End Property

    I was told that indexes begin with 0. So if the tree is like this:

    MAIN
    SUB
    SUB SUB
    SUB SUB SUB

    Then Sub is index of 0, SUB SUB is 1 and SUB SUB SUB is 2
    Am I right?

    #37366
    autopilot
    Administrator

    @deeva2 wrote:

    I was told that indexes begin with 0. So if the tree is like this:

    MAIN
    SUB
    SUB SUB
    SUB SUB SUB

    Then Sub is index of 0, SUB SUB is 1 and SUB SUB SUB is 2
    Am I right?

    Weather the index is 0 based or 1 based depends on what type of index and the object.

    When you are talking about arrays, the starting index is always 0. But this is not an array, it is the count of an object on the form and is used within your window enum function. Since you create your own enum function, you can set the base to however you want it. In my enum coding, I found it easier to have a 1 based index.
    AutoHotKeySpy

    I like to use the AutoIt3 window spy that comes with AutoHotKey. It gives you the class name plus a 1 based index of the control that is below the mouse.

    #37367

    @autopilot wrote:

    Weather the index is 0 based or 1 based depends on what type of index and the object.

    I like to use the AutoIt3 window spy that comes with AutoHotKey. It gives you the class name plus a 1 based index of the control that is below the mouse.

    Sorry autopilot, I didnt clarify. I meant when using JK’s API Spy in tree mode, the index begins at 0 or 1? Or does it still depend?

    Like

    seinfeld_superman
    SUB
    SUB of SUB
    SUB SUB of SUB
    #37368
    Chike
    Administrator

    Nice try hiding your nick LOL

    #37369
    autopilot
    Administrator

    @Chike wrote:

    Nice try hiding your nick LOL

    lol yep i failed!!!!!!

    @deeva2 wrote:

    Or does it still depend?

    The index of a control from a parent is not a “property” but rather a count. When you try to find the control at a particular index, you can map parent to child from the top window all the way down to the control you are looking for, or you can enum the windows. When you enum, you are in control of the callback code (what the program does with each window handle that is enumerated), so the index is controlled by your code.

    While the index while enuming can be zero based, I have never seen examples of it done being zero based.

    But again, since the index (as a count from a parent) is not a property of the control, it is not defined by the control.

    #37370
    Locohacker
    Administrator

    Source Updated to work with paltalk build 530 🙂

Viewing 15 posts - 16 through 30 (of 74 total)
  • You must be logged in to reply to this topic.