Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server > Flyff PServer Guides & Releases
You last visited: Today at 02:49

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Source Release]Day & Night System

Discussion on [Source Release]Day & Night System within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old 10/25/2012, 13:21   #46
 
elite*gold: 0
Join Date: Jan 2012
Posts: 332
Received Thanks: 7
Quote:
C:\Flyff\Source\Source\_Common\World3D.cpp(1775): error C2601: 'CWorld::IsNight' : local function definitions are illegal
C:\Flyff\Source\Source\_Common\World3D.cpp(1779): error C2601: 'CWorld::GetRealTime' : local function definitions are illegal
Zeile 1775-1779 in der World3D.cpp:
Quote:
bool CWorld::IsNight(){
return ( g_GameTimer.m_nHour-1 <= 6 || g_GameTimer.m_nHour-1 >= 18 );
}
FLOAT CWorld::GetRealTime()
{
Brauche bitte schnell hilfe.
Vollschrecker222 is offline  
Old 10/25/2012, 14:07   #47
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Funktionen werden in Headerdateien definiert, nicht in den cpp Dateien.
xTwiLightx is offline  
Old 04/29/2013, 02:17   #48
 
elite*gold: 0
Join Date: Apr 2013
Posts: 3
Received Thanks: 0
Can you make an English version for this.
InvectusTM is offline  
Old 04/29/2013, 05:47   #49
 
elite*gold: 0
Join Date: Apr 2013
Posts: 70
Received Thanks: 18
You can use google translate to understand words!
W.o.F is offline  
Old 07/11/2014, 16:55   #50
 
elite*gold: 0
Join Date: Dec 2013
Posts: 38
Received Thanks: 3
Sir

Quote:
Originally Posted by Jopsi332 View Post
ich würd ja mal die augen aufmachen

Edit für die nachwelt :
wobei mir pumba auch nur 3snippets gegeben hat was ich damit machen muss mnusstte ich selber zusehen. also das war was er mir geschickt hat (genau so)
Code:
#ifdef __DAY_NIGHT
if( !m_bIsIndoor ){
m_fFogStartValue = 10.0F;
m_fFogEndValue = 70.0F + GetRealTime() * 30.0F;
m_fFogDensity = 0.0F;
m_v3LightDir.x = 0.0F;
m_v3LightDir.y = -1.0F;
m_v3LightDir.z = 0.0F;
}
#endif // __DAY_NIGHT
#ifdef __CLIENT
bool CWorld::IsNight(){
return ( g_GameTimer.m_nHour-1 <= 6 || g_GameTimer.m_nHour-1 >= 18 ); 
}
FLOAT CWorld::GetRealTime()
{
FLOAT nRlTime = 0;
nRlTime = (FLOAT)(g_GameTimer.m_nHour-1)*2;
if( g_GameTimer.m_nMin < 30 )
--nRlTime;
if( g_GameTimer.m_nHour-1 == 23 && g_GameTimer.m_nMin > 45 )
nRlTime+=0.5F;
if( nRlTime > 24 )
{
return ((-1)*(nRlTime - 48 ));
}
return nRlTime;
}
#endif
if( m_bIsIndoor
#ifdef __DAY_NIGHT
|| IsNight()
#endif // __DAY_NIGHT
)


sir do you have a screenshot of day and night system.? becuase i see lot of release., and the same output .,

i want some like unique day and nigt.,




sorry for my bad english
jeklordzxc is offline  
Old 08/15/2014, 09:16   #51
 
elite*gold: 0
Join Date: Jul 2014
Posts: 167
Received Thanks: 7
what files Put the code?
randeljohnvalencia is offline  
Reply


Similar Threads Similar Threads
[Source] v16 Map System
08/06/2023 - Flyff PServer Guides & Releases - 105 Replies
.
[RELEASE] Source for old ip farm system
03/14/2011 - League of Legends - 8 Replies
Hay guys here i give u my beta bot version for old lol GUI style. Its programe in AutoIT its made by simple functions, maybe some of u guys need it, i end with LOL so i can release it here u have ;#include <GuiConstants.au3> #include <INet.au3> #include <GUIConstantsEx.au3> #include <EditConstants.au3>
[Release] Socket System for Hybrids Source!
05/12/2010 - CO2 PServer Guides & Releases - 22 Replies
Apple Pie is amazing!!!!
[Release] event handler / system message for 5165 source
05/01/2010 - CO2 PServer Guides & Releases - 10 Replies
i was partially made this and completed by pringle, i dont know if pringle is in here in this forum. but still credit to him. Go to Program.cs and find:public static Random Rnd = new Random(); Above this add:public static DateTime SystemMsgTime = new DateTime(); scroll down and you found this static void ServerStuff_Execute() { try { if (World.BroadCastCount > 0 && DateTime.Now > World.LastBroadCast.AddMinutes(1)) {



All times are GMT +1. The time now is 02:50.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.