Jump to content

Can I Change The Logo On STC Telnet Chat Server?


hsncorrosion

Recommended Posts

It comes with a stc_logo.java, Change it and compile it into a class overwriting the stc_logo.class

thanx i'll try that

EDIT

I need to find a better decompiler.

i decompiled stc_logo.class and got this

public class stc_logo{



    public static final String version = "0.16";

    public static final String[] logo;

    public static final String cr = "Small Telnet Chat 0.16, Copyright (C) 2005 Wiesner ThomasnSmall Telnet Chat comes with ABSOLUTELY NO WARRANTY;nThis is free software, and you are welcome to redistribute itnunder certain conditions.n";



    static

    {

    }





    public stc_logo()

    {

    }



}

Still trying to decompile the .java file.

EDIT

Here is the .java file

/*

    Small Telnet Chatserver

    Copyright (C) 2005 Wiesner Thomas



    This program is free software; you can redistribute it and/or modify

    it under the terms of the GNU General Public License as published by

    the Free Software Foundation; either version 2 of the License, or

    (at your option) any later version.



    This program is distributed in the hope that it will be useful,

    but WITHOUT ANY WARRANTY; without even the implied warranty of

    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

    GNU General Public License for more details.



    You should have received a copy of the GNU General Public License

    along with this program; if not, write to the Free Software

    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

*/



public class stc_logo

{

    public static final String version = "0.16";

    

    // Logo with stars

    public static final String logo[] = 

    {VT100.fg_li_green+"                    .-------------.    .----------------.   .--------------.",

     "                   /             /|   /                /|  /              /|  ",

     "                  /    .--------: /  :-----.    .-----: /"+VT100.fg_li_grey+"."+VT100.fg_li_green+"/    .---------: /  ",

     "           "+VT100.fg_blue+"."+VT100.fg_li_green+"     /    /|________|/   |____/    /|_____|/ /    /|_________|/   ",

     "    "+VT100.fg_blue+"."+VT100.fg_li_green+"           /    / /     "+VT100.fg_li_blue+"."+VT100.fg_li_green+"           /    / /       /    / /            "+VT100.fg_li_blue+"."+VT100.fg_li_green+" ",

     "               /    '-'------.    "+VT100.fg_blue+"."+VT100.fg_li_green+"     /    / /       /    / /               ",

     "        "+VT100.fg_li_blue+"."+VT100.fg_li_green+"     /             /|         /    / /       /    / /     "+VT100.fg_blue+"."+VT100.fg_li_green+"          ",

     "             :--------.    / /        /    / /    "+VT100.fg_blue+"."+VT100.fg_li_green+"  /    / /                 ",

     "    "+VT100.fg_blue+"."+VT100.fg_li_green+"        |_______/    / /        /    / /       /    / /                  ",

     "              "+VT100.fg_blue+"."+VT100.fg_li_green+"     /    / /    "+VT100.fg_blue+"."+VT100.fg_li_green+"   /    / /       /    / /  "+VT100.fg_li_blue+"."+VT100.fg_li_green+"                ",

     "          .--------'    / /        /    / /     "+VT100.fg_li_blue+"."+VT100.fg_li_green+" /    '-'-------.    "+VT100.fg_blue+"."+VT100.fg_li_green+"       ",

     "         /             / /        /    / /       /              /|            ",

     "    "+VT100.fg_li_blue+"."+VT100.fg_li_green+"   :-------------: /     "+VT100.fg_li_grey+"."+VT100.fg_li_green+"  :----: /       :--------------: /            ",

     "        |_____________|/         |____|/     "+VT100.fg_blue+"."+VT100.fg_li_green+"  |______________|/             ",

     "                           "+VT100.fg_blue+"."+VT100.fg_li_green+"                                                  ",

     " "+VT100.fg_blue+"."+VT100.fg_li_green+"   .-----------------------------------------------------------.       "+VT100.fg_blue+"."+VT100.fg_li_green+"    ",

     "    /                                                           /|            ",

     "   /                   "+VT100.fg_li_grey+"SMALL TELNET CHAT "+version+VT100.fg_li_green+"                  / / "+VT100.fg_blue+"."+VT100.fg_li_green+"          ",

     "  /     "+VT100.fg_li_grey+"Written and Copyright (C) 2005 by Wiesner Thomas"+VT100.fg_li_green+"      / /             ",

     " /                                                           / /         "+VT100.fg_blue+"."+VT100.fg_li_green+"    ",

     ":-----------------------------------------------------------: /       "+VT100.fg_li_blue+"."+VT100.fg_li_green+"       ",

     "|___________________________________________________________|/  "+VT100.fg_blue+"."+VT100.fg_li_green+"              "+VT100.normal};



    public static final String cr = "Small Telnet Chat "+version+", Copyright (C) 2005 Wiesner ThomasnSmall Telnet Chat comes with ABSOLUTELY NO WARRANTY;nThis is free software, and you are welcome to redistribute itnunder certain conditions.n";



}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...