Sample code for programming Paltalk for Desktop

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #199746

    I’m including 2 things here. A greeter program for Paltalk for Desktop (a demo with limited functionality) and my Visual Studio project directory for the program.

    The greeter works by interacting with an intermediary program ReadRoom. The greeter code is in greeter.vb. The code that interacts with ReadRoom is in PaltalkModule.vb. PaltalkModule is kind of a messy as it has evolved over years starting when I didn’t know what I was doing. But I treat it as a black box, so concentrate on greeter.vb.

    There are 2 functions used in greeter.vb.

    GetNextLine(nextLine), which gets the next unread line in the Paltalk window (via ReadRoom) and sticks it into “nextLine”. GetNextLine will return false if there was no next line.

    PrintInRoom(msg), prints the string msg in the Paltalk room.

    There is a Timer that calls GetNextLine once a second to read lines.

    So what can you do with this? You could write an insult program that insults people when they type certain things in the room, or you could warn people if they use certain language. Or you could write your own trivia bot as I wrote one.

    If you want to distribute ReadRoom with anything you write I have no problem with that. If I knew how to write a DLL I’d write it as a DLL. And if I was more comfortable with C I’d use that instead of Visual Basic.

    Attachments:
    #199772
    Locohacker
    Administrator

    Thanks Man 🙂 was this written under visual basic 2022?

    #199775
    Locohacker
    Administrator

    Yeps is 2022 which anyone that wants to work with the code you can get here https://visualstudio.microsoft.com/vs/ the community version is free 🙂

    #199874

    Yeah, you should also be able to take your old vb projects and change only the parts that read and write to the room. I took my old trivia bot project and did just that. I have no idea what one would do if your project is in C#. But there are converters that convert vb to C#.

    Anything else that manipulates the room, such as admin commands, would be much harder to program. Paltalk doesn’t expose any nickname content in the room list.

    #200279
    Locohacker
    Administrator

    Wait so is your Roomread program on c# or vb, sorry I am confused 🙂 and if you ever had time to give tips on how you was able to connect to the paltalk room be very helpful 🙂

    #201268
    vipal
    Member

    Hi Bro Locohacker,
    I really need a source code for example
    Double click to send text to Room with picking nickname for New Paltalk
    It s for a catholic room. If it s not a hardwork, can you please help me to post it here.
    The Source Code that i can edit with VB6, or Visual Studio (Any Version)
    Thank You Bro.

    #201332
    Locohacker
    Administrator

    Well the new codes that people are currently working on are on C# so we need to learn that now 🙂 now the programmers haven’t release the full codes because they probably want to fine tune the code, like this one by @chicagodavid52 and this one https://www.imfiles.com/c-paltalk-desktop-code/ by @NVYE we just need to be patient til they ready, I am learning C# right now in the mean time 🙂

    #208153
    trumhamdoa
    Member

    mic button click

    #208778
    VN
    Member

    Hello everyone
    Please check this out and let me know, we need feedback. added support into NG for CG bots
    https://downloads.paltalk.com/download/beta/PaltalkSetup.exe

    Ps/ you can comment here or email me paltalk.mobile99@gmail.com

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.