- This topic has 21 replies, 8 voices, and was last updated 1 year ago by syntax-error.
-
AuthorPosts
-
February 16, 2023 at 2:07 pm #199746chicagodavid52Member
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.
February 16, 2023 at 3:30 pm #199772AdminAdministratorThanks Man 🙂 was this written under visual basic 2022?
February 16, 2023 at 3:42 pm #199775AdminAdministratorYeps 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 🙂
February 16, 2023 at 10:44 pm #199874chicagodavid52MemberYeah, 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.
February 17, 2023 at 11:17 pm #200279AdminAdministratorWait 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 🙂
February 21, 2023 at 12:27 pm #201268vipalMemberHi Bro Admin,
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.February 21, 2023 at 4:09 pm #201332AdminAdministratorWell 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 🙂
March 21, 2023 at 11:21 pm #208153trumhamdoaMembermic button click
March 28, 2023 at 9:56 pm #208778VNMemberHello everyone
Please check this out and let me know, we need feedback. added support into NG for CG bots
Ver 1.29.0.89227 GA
https://downloads.paltalk.com/download/beta/PaltalkSetup.exePs/ you can comment here or email me paltalk.mobile99@gmail.com
March 30, 2023 at 7:48 am #208952trumhamdoaMemberautomatically login nick name
automatically find the room and enter the room
self mute room
manually skip start webcam
If the room is out, then re-enter it automatically
if paltalk is off – auto open paltalk and repeatMarch 30, 2023 at 4:04 pm #209026chicagodavid52MemberTrumhamdoa, I think I would find your room entry program useful. For my room, where my bot is always on mic, it would be useful to have a toggle for the mic so that when the room is created and entered, the bot then goes on mic.
Does it work in the case where Paltalk goes down for, say, 30 minutes? Will it try to enter the room for 30 minutes until Paltalk comes back up?March 30, 2023 at 9:53 pm #209084VNMemberI think it’s a good idea to upgrade this program to a more professional version. have many choices. login nick automatically according to paltalk’s self-save password mode. right at the program window you should split into 2 parts. on the left is a list of nicks, and on the right is a list of rooms. in the list box of nicknames, when you click on nick A , then the rooms to enter of nick a will appear. and when you click on nick B, a list of nick B’s rooms will appear
add 2 buttons at the nick list frame. 1 disable button, 1 enable button, alias disable function doesn’t let it work. and add 2 buttons at room list frame + and – . when the user enters the room they click the + button it will add itself. and create a hand input text frame, when the user enters the path of the room they need to save, it will add itself to the room list. “Auto show room name”
March 31, 2023 at 6:40 pm #209349VNMemberthe answer from the group
>1. I need some way of sending text into the room. I can place text into “ui::controls::EmojiTextEdit”, but I don’t see >any way of sending that text into the room other than to send a newline character to the entire Paltalk application, >which isn’t ideal. Perhaps the “Invoke” of that automation element could send the line into the room.This can be done using Win API on our latest build 1.29.0.89332.
1. Find “DlgGroupChat Window Class” window handler, FindWindowW can be used.
2. Find “RichEdit20W” window handler in the children list. EnumChildWindows can be used.
3. Send WM_SETTEXT message using SendMessage function to send a message to the room.March 31, 2023 at 6:40 pm #209350VNMember>2. I need some way of reading who is on mic. Nowhere in the Talking Now/Mic Queue/Chatting column of users does it show >the name of the user, for example not shown in “ui::widgets::UsernameWidget”
This also can be done using Win API on our latest build 1.29.0.89332.
1. Find “DlgGroupChat Window Class” window handler, FindWindowW can be used.
2. Find “SysHeader32” window handler in the children list. EnumChildWindows can be used.
3. Send LVM_GETITEMCOUNT message using SendMessage function to get room users count.
4. Send LVM_GETITEMW message with the LVITEMW pointer for the each user index using SendMessage function to get room member mic status. LVITEMW::iImage will contains 10 if the mic is on.
5. Send LVM_GETITEMTEXTA message for the each user index using SendMessage function to get room member nickname.March 31, 2023 at 6:41 pm #209351VNMember>3. emoji support. This is relatively minor, but limiting. Some emoji don’t show up in UI Automation elements. For >example, I can enter into the room and it won’t show up in QTextBrowser. QTextBrowser says there is a character >there, but it won’t show it and it isn’t in the text that I grab from that automation element.
We’ll try to resolve this issue in the future.
Guys remember the feedback and was this helpful? And what do you need to change? thanks -
AuthorPosts
Related
- You must be logged in to reply to this topic.