how can i ste it up so that it changes from day to night every 1-2 hours or so and that it makes the birds chriping and the crickets and the screen gets lighter and darker
also any know how to raise the hitting probilty of weapons in sorce
help setting up day and night
lol that's a funny question. Never been asked how to make the birds chirp xD
OnTimer in the HG
It's in the 2.20 hg.
OnTimer in the HG
Code: Select all
if ((dwTime - m_dwGameTime2) > 3000) {
CheckClientResponseTime();
SendMsgToGateServer(MSGID_GAMESERVERALIVE, NULL);
CheckDayOrNightMode();
Code: Select all
void CGame::CheckDayOrNightMode()
{
SYSTEMTIME SysTime;
char cPrevMode;
int i;
// ÇöÀç ½Ã°£¿¡ µû¶ó ³· ȤÀº ¹ãÀ» °áÁ¤ÇÑ´Ù.
// ÁÖ, ¾ß°£ ¸ðµå ¼³Á¤
cPrevMode = m_cDayOrNight;
GetLocalTime(&SysTime);
if (SysTime.wMinute >= DEF_NIGHTTIME)
m_cDayOrNight = 2;
else m_cDayOrNight = 1;
if (cPrevMode != m_cDayOrNight) {
// ÁÖ, ¾ß°£ ¸ðµå°¡ º¯°æµÇ¾ú´Ù. ÁÖ, ¾ß°£ ¸ðµåÀÇ ¿µÇâÀ» ¹Þ´Â ¸Ê¿¡ Á¸ÀçÇϴ Ŭ¶óÀÌ¾ðÆ®µé¿¡°Ô ¾Ë¸°´Ù.
for (i = 1; i < DEF_MAXCLIENTS; i++)
if ((m_pClientList[i] != NULL) && (m_pClientList[i]->m_bIsInitComplete == TRUE)) {
if ((m_pClientList[i]->m_cMapIndex >= 0) &&
(m_pMapList[m_pClientList[i]->m_cMapIndex] != NULL) &&
(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_bIsFixedDayMode == FALSE))
SendNotifyMsg(NULL, i, DEF_NOTIFY_TIMECHANGE, m_cDayOrNight, NULL, NULL, NULL);
}
}
}

<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia
</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.

Nice. I had wondered what had happened to that. There's loads of things that v3.51+ doesn't have that v2.20 has. The bird's chirping and the crickets..
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->charlie says:<br>i may own outpost but im not a nerd<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->(locobans @ Mar 12 2007, 10:48 PM) <br>"Remember while peeing, If you shake it more than twice you playing with it..." <br><!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
That's just the day changing you dumbshit >.>Sentinel wrote: Nice. I had wondered what had happened to that. There's loads of things that v3.51+ doesn't have that v2.20 has. The bird's chirping and the crickets..
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia
</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.

Like I didn't know that fucktard. I only read the topic title... I also read "void CGame::CheckDayOrNightMode" Kinda obvious, don't you think?bone-you wrote:That's just the day changing you dumbshit >.>Sentinel wrote: Nice. I had wondered what had happened to that. There's loads of things that v3.51+ doesn't have that v2.20 has. The bird's chirping and the crickets..
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->charlie says:<br>i may own outpost but im not a nerd<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->(locobans @ Mar 12 2007, 10:48 PM) <br>"Remember while peeing, If you shake it more than twice you playing with it..." <br><!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
No dumbass, changing the day and night IS the crickets and birds.Sentinel wrote:Like I didn't know that fucktard. I only read the topic title... I also read "void CGame::CheckDayOrNightMode" Kinda obvious, don't you think?bone-you wrote:That's just the day changing you dumbshit >.>Sentinel wrote: Nice. I had wondered what had happened to that. There's loads of things that v3.51+ doesn't have that v2.20 has. The bird's chirping and the crickets..
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia
</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.

I just hosted a 2.19 server, dam was that fun, normal bhammers and such, and when u recall or zone, ur screen warps open instead of going fast lol sweet.Sentinel wrote: Nice. I had wondered what had happened to that. There's loads of things that v3.51+ doesn't have that v2.20 has. The bird's chirping and the crickets..
So miss the old times, where we used to teleport with summons at the D2 golem pit to D3 hahaha sweet.
And to help kahn out
Just in case u might have noticed his second question. xDalso any know how to raise the hitting probilty of weapons in sorce
Cheers Tester
I support a woman's right to choose<br><br>- In the Mouth?<br>- In the Ass ?<br>- In the Vagina?<br>- Between the Tits?
lmao <a href='http://sentinel.justgotowned.com' target='_blank'>owned</a>!bone-you wrote:No dumbass, changing the day and night IS the crickets and birds.Sentinel wrote:Like I didn't know that fucktard. I only read the topic title... I also read "void CGame::CheckDayOrNightMode" Kinda obvious, don't you think?bone-you wrote: That's just the day changing you dumbshit >.>
<span style='color:blue'><span style='font-size:19pt;line-height:100%'><u><b>FUCK Helbreath!</b></u></span></span><br><br><span style='color:gray'><a href='http://www2.analystica.com/users/anttu/online/ngd' target='_blank'>ngdnetwork</a> OFFICIAL WEBSITE OF Northern Game Developers. Do visit! (THEY ARE UP!)<br><a href='http://project3d.x.am' target='_blank'>Project3d development forum</a> plz join and discuss,develop,give ideas,feedback. Anything goes as long it helps the project!</span><br><br>Zepto Znote 6625WD: 1.8Ghz dual core, 2GB, 512mb graphics card(dedicated), 160GB HDD<br><img src='http://www.signaturebar.com/uploads/images/10111.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/13229.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/8852.png' border='0' alt='user posted image' />