Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Rusem on May 16, 2010, 11:15 AM

Title: Change : Color Ann and name of Blizzard Rep and SySop
Post by: Rusem on May 16, 2010, 11:15 AM
Hello, I wanted to know:
it's possible change the color of the announce?
I want to change where it says Blizzard Rep and sysop, it's possible change the name ?

Regards.
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: rabbit on May 16, 2010, 01:13 PM
Yes.
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: Rusem on May 16, 2010, 02:36 PM
how I make changes? what is the file for configure ?
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: Yegg on May 16, 2010, 07:33 PM
Quote from: Rusem on May 16, 2010, 02:36 PM
how I make changes? what is the file for configure ?
Each time an official client connects to Battle.net, it also connects to Battle.net's "ftp" server and downloads icons.bni (among other files). Each product icon including the blizzard rep icon and the rest of those kinds of icons are located in that file.
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: Rusem on May 17, 2010, 11:30 AM
what programs are used to modify these files?
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: Yegg on May 17, 2010, 03:30 PM
Quote from: Rusem on May 17, 2010, 11:30 AM
what programs are used to modify these files?

Why do you need to modify it? The server sends it to the client and the client reads from it to determine a few things, 1 of those things being which icon belongs to which client type.

http://bhfiles.com/files/Battle.net/IconView.exe

This is a small program made by Skywing ages ago and it is the only program I am aware of that does some kind of BNI file editing. However, I don't recall if you can edit the files in the way where you can insert new images into it.
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: Rusem on May 18, 2010, 07:45 AM
I just want to change the name:

Blizzard Rep> Administrator
SysOp> Moderator

And change the color of /ann
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: rabbit on May 18, 2010, 02:14 PM
I'm assuming you mean in a Blizzard client?
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: Rusem on May 18, 2010, 05:26 PM
I mean
Administrator appears in the default name of administrator> Blizzard Rep

and change from green to red the /ann
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: Yegg on May 18, 2010, 06:11 PM
Quote from: Rusem on May 18, 2010, 05:26 PM
I mean
Administrator appears in the default name of administrator> Blizzard Rep

and change from green to red the /ann
I'm having a lot of trouble fully understanding what you're asking. It's fine that English isn't your first language, but I really don't know what you're saying here. Can you explain it more in depth?
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: Rusem on May 18, 2010, 07:15 PM
I need to change the default name. In the server's chat apears "Blizzard Rep" i want to change it for "admin" and the same with sysop. By the way, thanks for understand that i don't speak in inglish.
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: rabbit on May 18, 2010, 07:59 PM
Quote from: Rusem on May 18, 2010, 07:15 PM
thanks for understand
We don't understand.
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: Yegg on May 18, 2010, 08:32 PM
Quote from: Rusem on May 18, 2010, 07:15 PM
I need to change the default name. In the server's chat apears "Blizzard Rep" i want to change it for "admin" and the same with sysop. By the way, thanks for understand that i don't speak in inglish.
If I understand correctly, do you want these changes to occur when you log on to Battle.net using the official game client? For example: you put your game CD in. you load up the game, you connect to a Battle.net server, and instead of the game showing "Blizzard" on the icon for Blizzard reps, you want it to appear as something else? Is that what you are trying to do?
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: Hdx on May 18, 2010, 08:47 PM
From the sounds of it he may be working on a PvPGN server. And wants to change the text that shows up when he sends an announcement.
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: Yegg on May 18, 2010, 09:14 PM
Quote from: Hdx on May 18, 2010, 08:47 PM
From the sounds of it he may be working on a PvPGN server. And wants to change the text that shows up when he sends an announcement.
I started thinking that same thing, and that does seem like it'd make the most sense with what he's saying. But it's hard to find out, lol. And if he is working on a PvPGN server, it's going to be even harder to assist him.
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: rabbit on May 19, 2010, 12:06 AM
The colors are hardcoded into the clients, so either way he's going to need to patch the game.
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: Rusem on May 19, 2010, 06:10 PM
this is what I do

(http://img62.imageshack.us/img62/9308/11635230.jpg) (http://img62.imageshack.us/i/11635230.jpg/)

(http://img64.imageshack.us/img64/1052/1234uk.jpg) (http://img64.imageshack.us/i/1234uk.jpg/)
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: Hdx on May 19, 2010, 08:08 PM
You can't without modifying the client. And I doubt anyone has the locations you'd need to change on hand.
Also it'd only work on modified clients, so its.. useless.
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: rabbit on May 19, 2010, 09:49 PM
You'd need to have a launcher for your server (sort of like how ICCup works) to change that.
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: Rusem on May 20, 2010, 12:36 AM
And that is what I would have to be modified? in any case it is possible to change the color of /ann ? is less complicated?
Title: Re: Change : Color Ann and name of Blizzard Rep and SySop
Post by: tA-Kane on May 26, 2010, 04:41 PM
The simplest way, in my opinion, would be to alter the incoming chat messages to filter for messages with the blizrep/sysop flags and then replace the originating sender as "Administrator" and "Moderator". I'm unfamiliar with pvpgn, so that doesn't help...

Edit
Ohhhh we're talking about d2 in game chat?.. Errrr nvm