Results 1 to 10 of 26

Thread: Renaming bots

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    I made some progress to rename them. (1.3)

    PHP Code:
    sub_80B85CE(&dest, (unsigned int)"challenge"v6);
    if ( (
    unsigned __int8)sub_80B2FAA("fs_restrict") )
    {
      
    v7 = (unsigned int)sub_80B8108(&dest, (int)"sv_keywords");
      
    sub_80B7F0A(&s0x400u"demo %s"v7);
      
    sub_80B85CE(&dest, (unsigned int)"sv_keywords", (int)&s);

    Info_SetValueForKey = 0x080B85CE

    PHP Code:
    result sub_808BAF8();
    v3 result;
    if ( 
    result )
    {
      
    sub_8060DEA("userinfo\n");
      
    sub_8060DEA("--------\n");
      
    result sub_80614EA(v3 12); 
    =
    PHP Code:
    cl SV_GetPlayerByName();
    if ( !
    cl ) {
        return;
    }

    Com_Printf"userinfo\n" );
    Com_Printf"--------\n" );
    Info_Printcl->userinfo ); 
    Now i only need to set the name to the client struct.

    In SV_GetPlayerByName function:
    PHP Code:
    sub_80B7AB6(&dest, (const char *)13421664); 
    =
    PHP Code:
    Q_strncpyzcleanNamecl->namesizeof(cleanName) ); 
    Last edited by Mitch; 4th September 2014 at 12:58.

  2. The Following User Says Thank You to Mitch For This Useful Post:

    filthy_freak_ (4th September 2014)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •