Paltalk Buddy List

In this forums, you can get help for any programming language.

Paltalk Buddy List

Postby locohacker » Thu Jan 11, 2007 1:20 pm


Hey, does anyone know what is the api for paltalk buddy list :) cause I being trying to get it and no luck so far, I don't know if its a treeview or a listview :)

this is the code off the thing :lol:

[vb]Dim seinfeldsuperman As Long, wtlsplitterwindow As Long, atla As Long
Dim gradienttreeviewclass As Long
seinfeldsuperman = FindWindow("seinfeld_superman", vbNullString)
wtlsplitterwindow = FindWindowEx(seinfeldsuperman, 0&, "wtl_splitterwindow", vbNullString)
atla = FindWindowEx(wtlsplitterwindow, 0&, "atl:006a1118", vbNullString)
gradienttreeviewclass = FindWindowEx(atla, 0&, "gradienttreeviewclass", vbNullString)[/vb]
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4364
Joined: Fri Dec 31, 2004 6:59 pm

Postby Newbie » Fri Jan 12, 2007 9:53 am

gradienttreeviewclass
User avatar
Newbie
imFiles Junior
imFiles Junior
 
Posts: 95
Joined: Fri Oct 07, 2005 2:51 pm

Postby BattleStar-Galactica » Fri Jan 12, 2007 10:17 am

loco in action again :lol: , I got sick with pt programming for now, I concentrate my learning in masm32 and dont know how to do a split function in asm :lol:
Big math problem
2 - 1 = 0 = without you I'm nothing
User avatar
BattleStar-Galactica
imFiles Master
imFiles Master
 
Posts: 565
Joined: Tue Sep 20, 2005 12:19 am
Location: safest place to hide

Postby DJ__GaNgsTeR » Fri Jan 12, 2007 12:57 pm

loco is this for add as many people you want on ur black nick
DJ__GaNgsTeR
 

Postby locohacker » Fri Jan 12, 2007 1:02 pm

DJ , lol thats just apis to try to get then nicks in the buddy list :)

Aigh so its gradienttreeviewclass, but I cant find info on that so its thas just a paltalk naming it as so, and its a listview :)

nanomachine007 yes is that I be promising peeps for this program ehehhe, well I am hoping soon someone takes over cause this is my last year to get my college degree so its going to be crazy :) hey whats masm32
Last edited by locohacker on Fri Jan 12, 2007 1:02 pm, edited 1 time in total.
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4364
Joined: Fri Dec 31, 2004 6:59 pm

Postby DJ__GaNgsTeR » Fri Jan 12, 2007 1:31 pm

awwwwwwww ok
DJ__GaNgsTeR
 

Postby BattleStar-Galactica » Fri Jan 12, 2007 7:38 pm

masm32 in short definition is assembly 32 bits programming, like you code in high level programming language(vb6); when you code in masm32, you code in assembly language, I progress slowly :(
Last edited by BattleStar-Galactica on Fri Jan 12, 2007 7:40 pm, edited 2 times in total.
Big math problem
2 - 1 = 0 = without you I'm nothing
User avatar
BattleStar-Galactica
imFiles Master
imFiles Master
 
Posts: 565
Joined: Tue Sep 20, 2005 12:19 am
Location: safest place to hide

Postby Newbie » Sat Jan 13, 2007 2:32 pm

Chan wa mr nano oi, kà kà . forum nay cha? co gi de choi :D :D
User avatar
Newbie
imFiles Junior
imFiles Junior
 
Posts: 95
Joined: Fri Oct 07, 2005 2:51 pm

Postby DJ__GaNgsTeR » Sat Jan 13, 2007 4:10 pm

Newbie wrote:Chan wa mr nano oi, kà kà . forum nay cha? co gi de choi :D :D
??????????????
DJ__GaNgsTeR
 

Postby BattleStar-Galactica » Sat Jan 13, 2007 5:57 pm

Newbie wrote:Chan wa mr nano oi, kà kà . forum nay cha? co gi de choi :D :D


cha'n thi keu nho queen show zu' ong coi di hahaha
Big math problem
2 - 1 = 0 = without you I'm nothing
User avatar
BattleStar-Galactica
imFiles Master
imFiles Master
 
Posts: 565
Joined: Tue Sep 20, 2005 12:19 am
Location: safest place to hide

Postby DJ__GaNgsTeR » Sat Jan 13, 2007 6:12 pm

nanomachine007 wrote:
Newbie wrote:Chan wa mr nano oi, kà kà . forum nay cha? co gi de choi :D :D


cha'n thi keu nho queen show zu' ong coi di hahaha
TeeeT TeeT
DJ__GaNgsTeR
 

Postby locohacker » Mon Jan 15, 2007 1:32 am

What lol,
hey someone needs to hook me up cause i open my big mouse and say I gonna try to make like a buddy nicks deleter lol
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4364
Joined: Fri Dec 31, 2004 6:59 pm

Postby DJ__GaNgsTeR » Mon Jan 15, 2007 11:16 am

locohacker wrote:What lol,
hey someone needs to hook me up cause i open my big mouse and say I gonna try to make like a buddy nicks deleter lol



there is no probleme i think there is already a place in the data that all ur nicks are save even if you unistall ur paltalk
and in the files there is even the chats :shock:
DJ__GaNgsTeR
 

Re: Paltalk Buddy List

Postby Snoopy1968 » Mon Sep 17, 2007 1:33 pm

hey not sure if this is the right thing but is the buddylist a listview item?
Snoopy1968
imFiles Newbie
imFiles Newbie
 
Posts: 47
Joined: Fri Sep 14, 2007 8:29 pm

Re: Paltalk Buddy List

Postby Chike » Sun Oct 28, 2007 12:41 pm

Sine BattleStar-Galactica did not post the code yet I had to figure it all by myself <sigh>
So here a short c++ console APP that print your buddy-list.
With some code I stole from autopilot :lol:

Code: Select all
#include <windows.h>
#include <commctrl.h>
#include <iostream>
#include <string>

//  I hate "using"! :-)
// using namespace std;

void GetTVItem(HWND hwnd, HTREEITEM htvitem, char *buff, int buff_len);

int main(int argc, char *argv[])
{
    HWND seinfeldsuperman, wtlsplitterwindow, atla, gradienttreeviewclass;

    seinfeldsuperman = FindWindow("seinfeld_superman", NULL);
    wtlsplitterwindow = FindWindowEx(seinfeldsuperman, 0, "wtl_splitterwindow", NULL);
    // Paltalk 9.1
    atla = FindWindowEx(wtlsplitterwindow, 0, "atl:006d06d0", NULL);
    if (atla == NULL) /// Paltalk Scene
        atla = FindWindowEx(wtlsplitterwindow, 0, "ATL:006FBF78", NULL);
    if (atla == NULL) // Paltalk  8.5
        atla = FindWindowEx(wtlsplitterwindow, 0, "ATL:00547638", NULL);
    gradienttreeviewclass = FindWindowEx(atla, 0, "gradienttreeviewclass", NULL);

    HTREEITEM htvitem = TreeView_GetRoot(gradienttreeviewclass);
    char text[256];

    while (htvitem) {
        /// get root item (Pals, Offline, and custome groups)
        GetTVItem(gradienttreeviewclass, htvitem, text, 256);
        // comment the followong 2 lines to see onffine too
        if (!std::string("Offline").compare(0, 7, text, 0, 7))
            break;
        std::cout << text << std::endl;
        // get 1st buddy in this group
        HTREEITEM htvitem1 = TreeView_GetChild(gradienttreeviewclass, htvitem);
        while (htvitem1) {
            GetTVItem(gradienttreeviewclass, htvitem1, text, 256);
            std::cout << "  " << text << std::endl;
            /// get next buddy
            htvitem1 = TreeView_GetNextSibling(gradienttreeviewclass, htvitem1);
        }
        htvitem = TreeView_GetNextSibling (gradienttreeviewclass, htvitem);
    }
    system("PAUSE");
    return EXIT_SUCCESS;
}
void GetTVItem(HWND hwnd, HTREEITEM htvitem, char *buff, int buff_len)
{
    DWORD lProcID;
    // Get the process ID in which the TreeView is running
    GetWindowThreadProcessId(hwnd, &lProcID);
    if (lProcID != 0) {
        // make sure we have read write permissions in the process space
        HANDLE hProc = OpenProcess(PROCESS_VM_OPERATION|PROCESS_VM_READ|PROCESS_VM_WRITE, FALSE, lProcID);
        if (hProc != 0) {
            // Grab enough memory in the other procedure's space to hold our TVITEM and the return text buffer
            void *lxproc_tvitem = VirtualAllocEx(hProc, 0, sizeof(TVITEM)+buff_len, MEM_COMMIT|MEM_RESERVE, PAGE_READWRITE);

            // Set up our local TVITEM
            TVITEM tv_item;

            tv_item.mask = TVIF_TEXT;
            tv_item.hItem = htvitem;
            tv_item.pszText = static_cast<char*>(lxproc_tvitem)+sizeof(TVITEM);
            tv_item.cchTextMax = buff_len;

            // Copy the local TVITEM into the space we reserved in the foreign process
            WriteProcessMemory(hProc, lxproc_tvitem, &tv_item, sizeof(TVITEM), NULL);

            // Now send the message, but pass the address of the copy of our TVITEM that now exists in the foreign process instead of our local versiony
            BOOL res = TreeView_GetItem(hwnd, lxproc_tvitem);
            if (res) {
                // the return text buffer (address) may have changed so we need to copy it back
                ReadProcessMemory(hProc, lxproc_tvitem, &tv_item, sizeof(TVITEM), NULL);
                // Since we have no clue about it's length we have to copy it all
                ReadProcessMemory(hProc, tv_item.pszText, buff, buff_len, NULL);
                // Note: last line is a bit risky if buffer was actually changed
                // Because we could cross page boundary and hit a non-alloocated
                // page.
            } else {
                *buff = '\0';
            }
            // Clean up
            VirtualFreeEx(hProc, lxproc_tvitem, 0, MEM_RELEASE);
            CloseHandle(hProc);
        }
    }
}
Image
Chike
imFiles Master
imFiles Master
 
Posts: 583
Joined: Sun May 13, 2007 6:20 pm

Next

Return to Programming Help

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests