Forum Replies Created
-
AuthorPosts
-
August 25, 2013 at 6:20 am #175076slot gacor hari iniMember
Loco, did you update the bot to include a list of users in the room whom you can right click and bounce or dot?
May 29, 2013 at 2:57 am #175102slot gacor hari iniMember@ChiNa-Man wrote:
Deeva, If you remember the other day I told you to Find the Niclist class, and if you didnt know how to do it, then ask me on here! This was what I was talking about, and finally you managed to make it! 😀 Even tho you said, Yes I got it,,,, See everything comes with patience! Well done!
Yes Sir Mister China! I’m still sifting though the source and am now trying to retrieve the entire message in the ‘recorder’ box instead of only the ‘last line’. Autopilot said i need to create a breakpoint. Have no idea what the hell that is but I’ve got to figure it out so Im using google like my life depends on it
May 27, 2013 at 3:13 am #191066slot gacor hari iniMemberAhehe. Your avatar makes me feel awkward 😀
@autopilot can you help me with something? I seem to be getting ONLY the last line from the chatrom instead of the person’s whole message.Public Function GetLastLineTextChat(ByVal hwnd As IntPtr, ByRef iLastLine As Integer) As String() Dim iLineCount As Integer Dim strBuffer As New StringBuilder(255) Dim sText() As String = Nothing 'Get Line count iLineCount = SendMessage(hwnd, EM_GETLINECOUNT, 0, 0) ' if first time run, ignore previous chat If iLastLine = 0 Then iLastLine = iLineCount ' Only process if new lines are present If iLineCount > iLastLine Then ' Process till no new lines are left Do While iLastLine <= iLineCount ' Increase Last Line Count iLastLine = iLastLine + 1 ' Check string array If sText Is Nothing Then 'set up string array with 1 element ReDim sText(0) Else ' redim array with 1 extra element ReDim Preserve sText(sText.Length) End If 'get line text in last element of string array sText(sText.Length - 1) = ReadLine(hwnd, iLastLine - 2) If iLastLine = iLineCount Then Exit Do End If Loop ' If last line is greater then line count, ' set last line = line count and then ' process last line ElseIf iLineCount < iLastLine Then iLastLine = iLineCount ReDim sText(0) 'get line text sText(sText.Length - 1) = ReadLine(hwnd, iLastLine - 2) End If Return sText End Function
Example:
Deeva2: hello all and have
a good day(will only return “a good day”)
I’ll troubleshoot while I wait for a reply.May 26, 2013 at 1:49 pm #186798slot gacor hari iniMember@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
May 26, 2013 at 12:53 pm #191068slot gacor hari iniMember@antigeek wrote:
@Admin wrote:
OMG you r so rude lol but you straight up I like that 🙂
And antigeek if you here long enough you gonna learn to love chike he is a cool dude he just have a funny way of telling people things including me hehehe but I still love him 😀I really wouldn’t consider him as a cool person… First all he thinking he some kind of coder god when it coming to API… I drop the API, Now I’m just logging into Paltalk using a bot No need for API. Paltalk service was pretty easy to crack… Have fun guys using API…
I dont think the API is to crack paltalk..
May 26, 2013 at 9:46 am #186800slot gacor hari iniMember@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?May 25, 2013 at 9:20 pm #186802slot gacor hari iniMemberThe 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?
May 23, 2013 at 7:45 am #186805slot gacor hari iniMemberThanx 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.
May 22, 2013 at 10:25 pm #190300slot gacor hari iniMemberAnd finally….I’ve found the problem.
Select Case mdlPalInfo.PalMajorVer Case 10
Case 10 was missing. Finally I can rest!
May 22, 2013 at 8:05 pm #190301slot gacor hari iniMember@autopilot wrote:
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.
Alright dear sir, I’ll do just that. I’m still a total noob though, and much like complex algebra, I see the code but cant comprehend the meaning. However, I’ll do my best and keep you posted.
May 22, 2013 at 6:51 am #190303slot gacor hari iniMemberPlease help, I keep getting an error when testing the room selector in a new project. All I am testing is the room selector, I did not go past the room selector part of this tut.
A first chance exception of type System.ArgumentOutOfRangeException' occurred in System.Windows.Forms.dll
May 22, 2013 at 1:14 am #186808slot gacor hari iniMember@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!
May 21, 2013 at 10:31 pm #190304slot gacor hari iniMember@autopilot wrote:
@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.
Thanks auto. I managed to change the combobox style. After changing it, I started a new project and followed your steps to integrate but it fails to select rooms. Here is what I did:
1. I opened the palroomselector project, skinned the combobox, then saved the project
2. I opened a new project, added the mdl resources (4 total)
3. I added a reference and pointed to the newly-skinned room selector.dll
4. I added the new room selector.dll to the toolbox and dragged it onto form1
5. I double clicked form1 and on form1’s load event, I addedMe.CtrlRoomSelector1.SetWinClass(mdlPalInfo.ChatRoomClass)
6. I saved it, ran the project, but rooms do not appear in the dropdown.
What have I forgotten dear kind sir?
May 20, 2013 at 6:59 am #190664slot gacor hari iniMemberAha I got it now. Awesum!
May 20, 2013 at 6:53 am #190665slot gacor hari iniMember@ChiNa-Man wrote:
@deeva2 wrote:
@String wrote:
This is an update to my previous example. My example above is for versions of pal older than 10.2 485.
The example below is for 10.2 485 and, possibly, newer. I only tested this on 10.2 485.This isnt working in 10.3
You need to update the “Nicklist” Class Mate.. Paltalk had changes since 10.2, and especially the nicklist class is changed! If you dont know how to do it please report back…. But I am also new and I had to learn the basics myself, so give it a shot and find out how to update the nicklist class..
Alright China, ill do that now
-
AuthorPosts