Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [RU] Warcraft → news text on logon welcome screen

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 9

1

Topic: news text on logon welcome screen

how to set up the news server that we like the picture

http://i52.tinypic.com/a1h5xe.jpg

there is only one news and it is our own server

2

Re: news text on logon welcome screen

Path to this file defined in bnetd.conf

newsfile    = conf\news.txt

p.s. please, set topic title based on its content

Do not ask for support in PM.

3

Re: news text on logon welcome screen

HarpyWar wrote:

Path to this file defined in bnetd.conf

newsfile    = conf\news.txt

p.s. please, set topic title based on its content

I've managed to make news in my server there's only one and only news from my server only
The following partial source code in news.cpp

date->tm_year=std::atoi(buff)-1900;
    if (date->tm_year>2100) //limited due to 32bit t_time
    {
eventlog(eventlog_level_error,__FUNCTION__,"found invalid year (%i) (>4000) in news date.  on line %u",date->tm_year+1900,line);
return -1;
    }

on news.txt setting time :
{01/01/3011}

and will automatically turn into 07 February 2106

only successfully on linux debian 32 bit but on 64 bit not successful

whats the solutions???

4

Re: news text on logon welcome screen

I don't understand what do you want and why do you set date in 3011? Check this.

To display news in warcraft 3 you must set current date in news.txt. After the first show content from news.txt cached on a client side (bncache.dat in the game directory).

Do not ask for support in PM.

5

Re: news text on logon welcome screen

http://image.uzdc.uz/pictures/8a43a6692e5f4923c155895641450f86.jpg
Как это поменять можно
Сори за оффтоп не стал создать и для эту отдельную тему. Спасибо заранее wink

6

Re: news text on logon welcome screen

Для начала поменяй хостинг картинок

http://gyazo.com/a933a73674419f756797a5f27d0a8515.png

Do not ask for support in PM.

7

Re: news text on logon welcome screen

Куда советуешь залить? А то я не знаю

8

Re: news text on logon welcome screen

www.google.com/search?q=image+hosting

9

Re: news text on logon welcome screen

3Dmonster wrote:

http://image.uzdc.uz/pictures/8a43a6692e5f4923c155895641450f86.jpg
Как это поменять можно
Сори за оффтоп не стал создать и для эту отдельную тему. Спасибо заранее wink

Я могу тебе помоч! shaxbozbek91@mail.ru  smile

Posts: 9

Pages 1

You must login or register to post a reply

Who now at forum

Currently view post: 1 guest, 0 registered users

forums.pvpgn.pro → [RU] Warcraft → news text on logon welcome screen