Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-10-25 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
October 24, 2012, 10:16:00 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Request: [War3Source] to [WC3] or [W3S] or [WCS]  (Read 480 times)
Elistor
Newbie
*
Posts: 7


View Profile
« on: July 19, 2010, 06:22:04 AM »

My request is:
Change [War3Source] tag to [WC3] or [W3S] or [WCS].
Delete [War3Source] tag from menus.
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #1 on: July 19, 2010, 08:12:50 AM »

maybe
Logged

DarkEnergy
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #2 on: August 14, 2010, 03:16:02 PM »

anthony said no
Logged

DarkEnergy
Necavi
Full Member
***
Posts: 223


View Profile
« Reply #3 on: September 27, 2010, 06:20:52 PM »

Considering the open source nature of this product, you are able to change it manually by altering your War3Source interface file, simply change this line:

Code:
stock War3_ChatMessage(target,const String:szMsg[],any:...)
{
    if(strlen(szMsg)>176)
    {
        LogError("Disallow string len(%d)>176",strlen(szMsg));
        return;
    }
    decl String:buffer[192];
    VFormat(buffer,sizeof(buffer),szMsg,3);
    Format(buffer,191,"%c[War3Source] %c%s\n",0x04,0x01,buffer);
    new Handle:hBf;
    if(target==0)
        hBf=StartMessageAll("SayText");
    else
        hBf=StartMessageOne("SayText",target);
    if(hBf!=INVALID_HANDLE)
    {
        BfWriteByte(hBf, 0);
        BfWriteString(hBf, buffer);
        EndMessage();
    }
}   
To
Code:
stock War3_ChatMessage(target,const String:szMsg[],any:...)
{
    if(strlen(szMsg)>176)
    {
        LogError("Disallow string len(%d)>176",strlen(szMsg));
        return;
    }
    decl String:buffer[192];
    VFormat(buffer,sizeof(buffer),szMsg,3);
    Format(buffer,191,"%c[W3S] %c%s\n",0x04,0x01,buffer);
    new Handle:hBf;
    if(target==0)
        hBf=StartMessageAll("SayText");
    else
        hBf=StartMessageOne("SayText",target);
    if(hBf!=INVALID_HANDLE)
    {
        BfWriteByte(hBf, 0);
        BfWriteString(hBf, buffer);
        EndMessage();
    }
}   
Logged

Schmarotzer
Full Member
***
Posts: 189


Ich schmarotze dich!

258631507
View Profile WWW
« Reply #4 on: September 28, 2010, 02:16:07 AM »

I've done this long ago
Logged

Welcome to my server
Necavi
Full Member
***
Posts: 223


View Profile
« Reply #5 on: September 28, 2010, 12:27:42 PM »

But you didn't post how to Tongue
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!