Skip to content

Question about Admin Bot

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #187676
    Random
    Member

    Hi there loco and departure …
    I’ve downloaded admin bot 9.1 and 9.2. when i use them, sometimes they work and sometimes they don’t. i’m thinking it’s kinda deppends on the operating system that i’m using or the operating system that you guys use to write the program. i’m using win 2000 pro. i’m not sure thou. 1 more questions. what is admin list and fast admin? … ok, that was 2 questions, lol. and what exactly they do?

    thanks guys

    #187692
    Admin
    Administrator

    🙂 well the fast admin is to add rooms codes so you can enter the room as and admin quickly just by clicking on the nick on the list 🙂

    I wrote the code in windows xp pro, the one thing what version you using the latest one I got is for paltalk 9.2? :swift:

    #187691
    Departure
    Member

    Could you explain more how it does’nt work?? does it give an error message ect…?

    Could be that windows 2000 might not have some API’s or an older version of the API that Windows XP have and Admin proberly used some of them API’s

    #187690
    Random
    Member

    hi guys again …
    ok … to answer to loco’s question. i use win 2k pro with sp4 and the pal version i used with both versions of the admin bot are … pal 9.1 build 205 for admin bot 9.1 and pal 9.2 build 236 with admin bot 9.2. they both gave me the same result.
    for departure … ok, i tried to use all options available in the bot. responder, auto bounce, auto red dot and greeter are the one the working on and off. no error message at all. it’s more like sometimes they just bypass the events. like for example the greeter won’t respond when a person enters the group, or auto bounce or auto reddot won’t respond to the nick that enters the room and is on the auto bounce or auto reddot list. and then again … sometimes they all works perfectly.

    #187689
    Chike
    Member

    @Random wrote:

    and then again … sometimes they all works perfectly.

    From the description it looks like the bot is missing lines. Either the room is very busy (at the time this happen,) the paltalk window is small or the machine is slow.
    I have suggested somewhere how to solve most of these problems, apart from when part of the room text is cleared.

    #187688
    Admin
    Administrator

    So, in other words ya guys mean that the lines use for xp might no be the same or I need add addicional lines so it works with 2000 :dave: I am thinking the room is prob real busy and thas an issue I need to solv with most of mine programs 😳

    #187687
    Chike
    Member

    I don’t see a reason for anything to be different with 2000, just somtimes you get a bunch of lines at once when ppl entering the room or typing text.

    I was actually starting to wonder how it at all work in basic because MSDN the first word of the buffer sent to EM_GETLINE MESSAGE should be it’s size. So I dunno if basic is making it work or it might sometimes be zero and nothing is returned or what the hell is going on.

    I’ll post a sample code for how to keep track of text without losing lines, but since I’m completely lost in basic, i’ll have to do it in my native lamguage C and you can find someone to translate it or do it yourself.

    I saw in music bot code there are 3 functions to retrive last line of text but didn’t look to see how or where they’re used (maybe whispers?) or if all 3 of them are needed. My code will only retrive one line at a time, so if you need those you’ll have to save the last 2 or 3 lines to access them.

    #187686
    Chike
    Member

    While I was playing with some code around losing lines from room text I observed that every time the text reach near 25k characters a few lines are deleted from the top.
    This make it (almost) imposible to write code that does not lose any lines’ at least without duplicates.
    The way around it could be clearing the text each time it gets over 24k.

    //edit: 250k not 25

    #187685
    Admin
    Administrator

    Umm, thanks for your C++ code for last line it’s going to help when I get into c++, umm so if I am not mestaking it cannot be done, so the next best thing is to make the timer better or better yet use an api timer for more faster lest cpu consuming 🙄

    #187684
    Chike
    Member

    It’s cannot be done only when the room text fill up over 240k characters, and lines are being deleted from the beggining of the text , but clearing it seems to work. You can port it to basic, the only thing I’m not sure about is how to put the word length at the beggining of the buffer before it is sent to EM_GETLINE.
    The timer interval is not important with this code, I have tested it with 1 second interval, all user enter/leave cam up/down notifications enabled in the room, and it still didn’t lose lines.

    #187683
    Chike
    Member

    @Chike wrote:

    the only thing I’m not sure about is how to put the word length at the beggining of the buffer before it is sent to EM_GETLINE

    I have found this example:

    lines = SendMessage(hWnd, EM_GETLINECOUNT, 0&, ByVal 0&)
    lastline = Chr$(0) & Chr$(255) & Space$(253)
    SendMessage hWnd, EM_GETLINE, lines - 1, ByVal lastline
    MsgBox lastline

    However taking into account intel machines use little-endian byte order, I think it should be:

    lastline = Chr$(255) & Chr$(0) & Space$(253)

    Another option could be using RtlMoveMemory kernel function to make the code compatible with any byte order.

    #187682
    Random
    Member

    hi guys …

    i’m sorry if i couldn’t respond to your posts, too much work everyday … not to mention eating, that takes hours too !!! lol
    to respond to loco and chike … even if there’s not too many people in the room and text is going slow, it still works sometimes and sometimes it doesn’t. it’s strange. i’ve tried to separate the functions of the bot to run each of them as a separate project. i thought that would make it easier to see what’s going on. guess what? it got too complicated for me and i got confused at the end, lol.
    i can’t figure it out and the bot is too good to let go.

    thanks guys and sorry about late respond again

    #187681
    Random
    Member

    hi people …

    i’m using adminbot 9.2 and i checked it out often in busy rooms with over 400-500 users in them. sure you noticed that sometimes few people comes in at the same time one right after another. when that happens, admin bot unique visitors in stats doesn’t get all of them, it might get 1 or 2 but not all if like 8-9 or 10 of them come in at the same time. is there any way to improve that? i tried a couple of ways with timer and could get the right amount when they come in every 1 or 2 seconds, but that’s all. can’t get it to read all 10 (for example)

    thanks

    #187680
    Chike
    Member

    @Random wrote:

    is there any way to improve that?

    Yes I have posted some code that will minimize the loss of lines retrived from room text, and is not depended on the timer, with the limitation that when room text fills up (above 240k characters) it needs to be cleared or the bot re-started.
    Program flow would also need to be changed, but it also simplify things, as you no longer look back (like you do now with whispers.)

    The best way to do it is by subclassing the names list, it is out of this scope, and not for basic.

    #187679
    Random
    Member

    thanks for the code chike … since i’m a newbie in vb, this is the question … this code goes to Form1 and take place of (username) and stats portion of the Timer1, am i right? i got a feeling that i’m not, lollol 😀
    i guess i’m trying to figure out how to use it 😀

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