Topic: news text on logon welcome screen
how to set up the news server that we like the picture
there is only one news and it is our own server
PvPGN Community Forums |
forums.pvpgn.pro → [RU] Warcraft → news text on logon welcome screen
how to set up the news server that we like the picture
there is only one news and it is our own server
Path to this file defined in bnetd.conf
newsfile = conf\news.txt
p.s. please, set topic title based on its content
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???
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).
Как это поменять можно
Сори за оффтоп не стал создать и для эту отдельную тему. Спасибо заранее
Для начала поменяй хостинг картинок
Куда советуешь залить? А то я не знаю
Как это поменять можно
Сори за оффтоп не стал создать и для эту отдельную тему. Спасибо заранее
Я могу тебе помоч! shaxbozbek91@mail.ru
forums.pvpgn.pro → [RU] Warcraft → news text on logon welcome screen