autopilot

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 338 total)
  • Author
    Posts
  • in reply to: C# Paltalk Class (library) #191065
    autopilot
    Member

    set a breakpoint and then step through the function to see what is happening.

    in reply to: C# Paltalk Class (library) #191067
    autopilot
    Member

    @deeva2 wrote:

    I dont think the API is to crack paltalk..

    The Windows API can be used to try to crack applications, but that is not the only use. The Windows API is what programs use to function. When you add a control or object (such as a text box) to your program, you do not code how that control or object works as that has already been done, you just use it. But that control has been built using windows APIs.

    @antigeek wrote:

    I drop the API, Now I’m just logging into Paltalk using a bot No need for API

    This is just laughable. They try to claim that they dropped using the Windows API and instead used a bot and were able to hack the pal servers. A bot is a program and not a replacement for API. Basicly when they say that they gave up API for bot, they are saying that they let others do the programming for them and they are just using someone elses coding work. But that still would not allow them to hack the pal servers.

    It is idiots like this that I try to just ignore because it is so obvious that they have no clue about what they are doing.

    in reply to: Paltalk Bot Source Code VB .net 2010 #186796
    autopilot
    Member

    @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.

    in reply to: Paltalk Bot Source Code VB .net 2010 #186799
    autopilot
    Member

    @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.

    in reply to: Paltalk Bot Source Code VB .net 2010 #186801
    autopilot
    Member

    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

     

    autopilot
    Member

    If ControlSearchBottomUp is what I think it is, it is getting the control from screen position. The control must be the top level (not minimized and no other windows covering it) to get the control from screen. A big reason this method did not gain wide use.

    my guess is that when you cover the control with another window, the returned text is nothing. then when you uncover it, the resulting text is the last line again. this change triggering the recording of a new line.

    not sure how you are getting the new line and processing them, but you may want to get the incoming text, check if it is not nothing, and if no nothing then check if it is different from the previously last retrieved line of text.

    in reply to: Paltalk Bot Source Code VB .net 2010 #186804
    autopilot
    Member

    @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 😛

    in reply to: VB 2008 Paltalk Integration #190299
    autopilot
    Member

    @deeva2 wrote:

    Case 10 was missing. Finally I can rest!

    Way to go! It is always nice when you can start stepping through a program and find what is causing it to act in a certain way. And that is also harder to do with someone else’s code because you are not always sure of the intended outcome.

    in reply to: Paltalk Bot Source Code VB .net 2010 #186807
    autopilot
    Member

    @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.

    in reply to: VB 2008 Paltalk Integration #190302
    autopilot
    Member

    I am not sure why you would be getting the error you are getting. But you have the source to the room selector, so instead of trying to use it as a dll, create a new forms app and use the code in the selector to make your own selector in the form rather then the dll.

    Try to use my selector code to learn how to do it yourself. In other words, do not just copy and paste everything, but go through my code to help yourself understand what my code is doing, and then create your own code. In programming, there is almost always more then 1 way to do a given task. You will learn so much more if you create your own rather then copy from someone else.

    in reply to: VB 2008 Paltalk Integration #190305
    autopilot
    Member

    @deeva2 wrote:

    @autopilot Is there any way to customize the room selector?

    you can get the source code for the room selector from VB2008 PalRoomSelector project.

    in reply to: Auto-Reply for Paltalk Messenger #174856
    autopilot
    Member

    You can see the basics of how I use EnumWindows at Using EnumWindows & EnumChildWindows.

    Once you understand what is happening, you can make your own Enum calback functions to find windows however you want.

    in reply to: C# Paltalk Class (library) #191073
    autopilot
    Member

    @Chike wrote:

    or are you just looking for the answer to be fed to you?

    Chike is the keeper of the Gerber, and he does not part with it easilly! you must pry it out of his hands ands feed your self 😈

    in reply to: Paltalk v10.3 build 498 #185814
    autopilot
    Member

    @locohacker wrote:

    Auto you mean like using the Id handles like Chike show in

    cause that’s what I’m thinking bout doing right now 🙄

    Right, weather you enum to find the ID as described in Chikes post or you use class and index as I have shown in the past. Although if I understand Chike correctly, even though the index may occationally change, the ID does not, so that may be the better thing to use.

    Also, you could have a file on your site that your app checks against to get version spacific enum values so that when a new version comes out, you just updat your master file and all apps that read from it get updated.

    in reply to: Paltalk v10.3 build 498 #185821
    autopilot
    Member

    @locohacker wrote:

    Thanks :mrgreen:
    Man this ATL: updates are killing the programs ehhehe

    That is why you need to learn how to enum the windows instead of direct mapping.

    When you use Pats (or equivalent) to get the code, it will always be version spacific because you are mpping parent/child windows all the way from top level down to the window you want. If you enum the windows, then often you can go many versions without having to update code.

    The ATL changing with every new build is not because the Pal coders are trying to break your integrations, but rather it is because the ATL object is randomly assigned its number during the compile process. This means that it is out of the hands of the developer and handled by the complier application.

Viewing 15 posts - 16 through 30 (of 338 total)