You last visited: Today at 08:46
Advertisement
Virtuos V19 Files Error/Bug Report
Discussion on Virtuos V19 Files Error/Bug Report within the Flyff Private Server forum part of the Flyff category.
View Poll Results: Sinnvoller Thread ? Usefull Thread?
Ja/Yes
32
65.31%
Nein/No
17
34.69%
05/22/2014, 08:51
#46
elite*gold: 0
Join Date: May 2011
Posts: 29
Received Thanks: 1
Any fixes for
- Settings doesnt save (allow inventory view, infopang on/off etc)
- Skills doesnt show cooldown effect only timer.
05/23/2014, 12:49
#47
elite*gold: 0
Join Date: Apr 2009
Posts: 86
Received Thanks: 9
skill three isn't working of the 4th jobs characters. No skills show up. What to do?
annddd no icon next to the name
and btw how do i add [ADMIN] and [GM] Taggs?
05/23/2014, 13:29
#48
elite*gold: 0
Join Date: Jan 2010
Posts: 40
Received Thanks: 2
- Settings doesnt save (allow inventory view, infopang on/off etc)
Quote:
In Neuz > VersionCommon.h
Quote:
re compile^^.
Bug.
- Lord skill not move to taskbar.
- Daynight not work.
- Model Chang not save.
05/23/2014, 16:05
#49
elite*gold: 20
Join Date: Jun 2013
Posts: 445
Received Thanks: 76
Hier passiert 0 xD
05/23/2014, 16:39
#50
elite*gold: 0
Join Date: Apr 2009
Posts: 86
Received Thanks: 9
Quote:
Originally Posted by
wanyen
- Settings doesnt save (allow inventory view, infopang on/off etc)
In Neuz > VersionCommon.h
re compile^^.
Bug.
- Lord skill not move to taskbar.
- Daynight not work.
thx ^^
btw day&night is easy to fix just look for a release of day&night
and for that skill, make sure you haven't clicked that lock button on the taskbar
05/25/2014, 17:34
#51
elite*gold: 0
Join Date: Jan 2010
Posts: 40
Received Thanks: 2
I sure i don't clicked that lock button on the taskbar. Skill Lord does not match it, move forward one name.
05/29/2014, 20:09
#52
elite*gold: 0
Join Date: May 2011
Posts: 211
Received Thanks: 52
Ich habe aktuell folgenden Fehler:
2014/ 5/29 16:26:39 GuildHouseTender.lua:46: attempt to call global 'SetGHQuest' (a nil value)
2014/ 5/29 16:26:39 GuildHouseTender.lua Load Failed!!!
Ich habe die aktuellste GuildHouseTender.lua und nutze Armas Source 1.01.
Der Fehler tritt auf wenn ich den WorldServer starte, denn dieser crasht sich dann auch sofort wieder. Irgentwas in der GuildHouse Funktion oder .lua fehlt. Habe schon alle Threads danach durchgeschaut.
Inhalt der GilldHouseTender.lua:
----------------------------------------------------------------------
----------------------------------------------------------------------
dofile(".\\LuaFunc\\GuildHouseFunc.lua")
----------------------------------------------------------------------
----------------------------------------------------------------------
AddTender( "WI_GUILDHOUSE_MIDDLE" )
--{
SetMaxHouse( 20 )
SetMinPenya( 500000000 )
SetChargeRate( 0.85 )
IsBeginNoticeTime = "Mon 10:00"
IsEndNoticeTime = "Mon 15:00"
IsBeginTenderTime = "Mon 16:00"
IsEndTenderTime = "Mon 17:00"
SetNpc= "MaFl_GUILDHOUSESALE 1"
SetNpc= "MaSa_GUILDHOUSESALEROA 2"
SetNpc= "MaEw_GUILDHOUSESALETROY 3"
--}
-- Flaris Guildhouse Notices
SetGHInfo( "MaFl_GUILDHOUSNOTICE_01", "WI_GUILDHOUSE_MIDDLE", GH_AREA_FLARIS , "Testtest Gildenhaus Flaris 1" )
SetGHInfo( "MaFl_GUILDHOUSNOTICE_02", "WI_GUILDHOUSE_MIDDLE", GH_AREA_FLARIS , "Testtest Gildenhaus Flaris 2" )
SetGHInfo( "MaFl_GUILDHOUSNOTICE_03", "WI_GUILDHOUSE_MIDDLE", GH_AREA_FLARIS , "Testtest Gildenhaus Flaris 3" )
SetGHInfo( "MaFl_GUILDHOUSNOTICE_04", "WI_GUILDHOUSE_MIDDLE", GH_AREA_FLARIS , "Testtest Gildenhaus Flaris 4" )
SetGHInfo( "MaFl_GUILDHOUSNOTICE_05", "WI_GUILDHOUSE_MIDDLE", GH_AREA_FLARIS , "Testtest Gildenhaus Flaris 5" )
-- Saint Morning Guildhouse Notices
SetGHInfo( "MaSa_GUILDHOUSNOTICE_01", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 1" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_02", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 2" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_03", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 3" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_04", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 4" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_05", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 5" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_06", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 6" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_07", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 7" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_08", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 8" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_09", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 9" )
-- Elriun Guildhouse Notices
SetGHInfo( "MaEw_GUILDHOUSNOTICE_01", "WI_GUILDHOUSE_MIDDLE", GH_AREA_ELLIUN , "Testtest Gildenhaus Elliun 1" )
SetGHInfo( "MaEw_GUILDHOUSNOTICE_02", "WI_GUILDHOUSE_MIDDLE", GH_AREA_ELLIUN , "Testtest Gildenhaus Elliun 2" )
SetGHInfo( "MaEw_GUILDHOUSNOTICE_03", "WI_GUILDHOUSE_MIDDLE", GH_AREA_ELLIUN , "Testtest Gildenhaus Elliun 3" )
----------------------------------------------------------------------
----------------------------------------------------------------------
SetGHQuest( "QUEST_GUILDHOUSE_TRN3", "WI_GUILDHOUSE_MIDDLE", 130 )
Zeilen die ich auskommentiert habe damit der Server nicht direkt crasht:
void CGuildHouseMng::LoadScript()
{
if( m_Lua.RunScript( "GuildHouseTender.lua" ) != 0 )
{
Error( "GuildHouseTender.lua Load Failed!!!" );
exit(0);
}
m_Lua.GetGloabal( "tTender" );
m_Lua.PushNil();
while( m_Lua.TableLoop( -2 ) )
{
DWORD dwGHType = static_cast<DWORD>( CScript::GetDefineNum( m_Lua.GetFieldToString( -1, "strGHType" ) ) );
TENDER_DATA TenderData;
TenderData.nMaxHouse = static_cast<int>( m_Lua.GetFieldToNumber( -1, "nMaxHouse" ) );
TenderData.nMinPenya = static_cast<int>( m_Lua.GetFieldToNumber( -1, "nMinPenya" ) );
TenderData.nChargeRate = static_cast<int>( m_Lua.GetFieldToNumber( -1, "nChargeRate" ) );
TenderData.dwPrevNoticeTick = static_cast<DWORD>( m_Lua.GetFieldToNumber( -1, "nPrevNoticeTick" ) );
TenderData.dwTenderNoticeTick = static_cast<DWORD>( m_Lua.GetFieldToNumber( -1, "nTenderNoticeTick" ) );
MAP_TENDER_DATA::iterator it = m_mapTenderData.insert( MAP_TENDER_DATA::value_type( dwGHType, TenderData ) ).first;
m_Lua.GetField( -1, "tNpc" );
m_Lua.PushNil();
while( m_Lua.TableLoop( -2 ) )
{
OBJID objNpcId = static_cast<OBJID>( CScript::GetDefineNum( m_Lua.GetFieldToString( -1, "strNpcId" ) ) );
int nAreaIndex = static_cast<int>( m_Lua.GetFieldToNumber( -1, "nAreaIndex" ) );
if( prj.GetMoverProp( objNpcId ) == NULL )
{
Error( "Invalid GuildHouse NpcId : %d", objNpcId );
}
it->second.mapNpc.insert( map<OBJID, int>::value_type( objNpcId, nAreaIndex ) );
m_Lua.Pop( 1 );
}
m_Lua.Pop( 1 );
m_Lua.Pop( 1 );
}
m_Lua.GetGloabal( "tGHInfo" );
m_Lua.PushNil();
while( m_Lua.TableLoop( -2 ) )
{
GUILDHOUSE_DATA GHData;
GHData.objGHId = static_cast<OBJID>( CScript::GetDefineNum( m_Lua.GetFieldToString( -1, "strNpcId" ) ) );
GHData.dwGHType = static_cast<DWORD>( CScript::GetDefineNum( m_Lua.GetFieldToString( -1, "strGHType" ) ) );
GHData.nAreaIndex = static_cast<int>( m_Lua.GetFieldToNumber( -1, "nAreaIndex" ) );
_tcscpy( GHData.szTitle, m_Lua.GetFieldToString( -1, "strTitle" ) );
m_mapGHData.insert( MAP_GH_DATA::value_type( GHData.objGHId, GHData ) );
m_Lua.Pop( 1 );
}
#ifdef __WORLDSERVER
m_Lua.GetGloabal( "tGHQuest" );
m_Lua.PushNil();
while( m_Lua.TableLoop( -2 ) )
{
int nQuestId = static_cast<OBJID>( CScript::GetDefineNum( m_Lua.GetFieldToString( -1, "strQuestId" ) ) );
GUILDHOUSE_QUEST GHQuest;
GHQuest.dwGHType = static_cast<DWORD>( m_Lua.GetFieldToNumber( -1, "dwGHType" ) );
GHQuest.nLevel = static_cast<int>( m_Lua.GetFieldToNumber( -1, "nLevel" ) );
m_mapGHQuest.insert( MAP_GH_QUEST::value_type( nQuestId, GHQuest ) );
m_Lua.Pop( 1 );
}
#endif // __WORLDSERVER
m_Lua.Pop( 0 );
}
05/29/2014, 22:48
#53
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Quote:
Originally Posted by
Sonorpearl
Ich habe aktuell folgenden Fehler:
2014/ 5/29 16:26:39 GuildHouseTender.lua:46: attempt to call global 'SetGHQuest' (a nil value)
2014/ 5/29 16:26:39 GuildHouseTender.lua Load Failed!!!
Ich habe die aktuellste GuildHouseTender.lua und nutze Armas Source 1.01.
Der Fehler tritt auf wenn ich den WorldServer starte, denn dieser crasht sich dann auch sofort wieder. Irgentwas in der GuildHouse Funktion oder .lua fehlt. Habe schon alle Threads danach durchgeschaut.
Inhalt der GilldHouseTender.lua:
----------------------------------------------------------------------
----------------------------------------------------------------------
dofile(".\\LuaFunc\\GuildHouseFunc.lua")
----------------------------------------------------------------------
----------------------------------------------------------------------
AddTender( "WI_GUILDHOUSE_MIDDLE" )
--{
SetMaxHouse( 20 )
SetMinPenya( 500000000 )
SetChargeRate( 0.85 )
IsBeginNoticeTime = "Mon 10:00"
IsEndNoticeTime = "Mon 15:00"
IsBeginTenderTime = "Mon 16:00"
IsEndTenderTime = "Mon 17:00"
SetNpc= "MaFl_GUILDHOUSESALE 1"
SetNpc= "MaSa_GUILDHOUSESALEROA 2"
SetNpc= "MaEw_GUILDHOUSESALETROY 3"
--}
-- Flaris Guildhouse Notices
SetGHInfo( "MaFl_GUILDHOUSNOTICE_01", "WI_GUILDHOUSE_MIDDLE", GH_AREA_FLARIS , "Testtest Gildenhaus Flaris 1" )
SetGHInfo( "MaFl_GUILDHOUSNOTICE_02", "WI_GUILDHOUSE_MIDDLE", GH_AREA_FLARIS , "Testtest Gildenhaus Flaris 2" )
SetGHInfo( "MaFl_GUILDHOUSNOTICE_03", "WI_GUILDHOUSE_MIDDLE", GH_AREA_FLARIS , "Testtest Gildenhaus Flaris 3" )
SetGHInfo( "MaFl_GUILDHOUSNOTICE_04", "WI_GUILDHOUSE_MIDDLE", GH_AREA_FLARIS , "Testtest Gildenhaus Flaris 4" )
SetGHInfo( "MaFl_GUILDHOUSNOTICE_05", "WI_GUILDHOUSE_MIDDLE", GH_AREA_FLARIS , "Testtest Gildenhaus Flaris 5" )
-- Saint Morning Guildhouse Notices
SetGHInfo( "MaSa_GUILDHOUSNOTICE_01", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 1" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_02", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 2" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_03", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 3" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_04", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 4" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_05", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 5" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_06", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 6" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_07", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 7" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_08", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 8" )
SetGHInfo( "MaSa_GUILDHOUSNOTICE_09", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING , "Testtest Gildenhaus Saint Morning 9" )
-- Elriun Guildhouse Notices
SetGHInfo( "MaEw_GUILDHOUSNOTICE_01", "WI_GUILDHOUSE_MIDDLE", GH_AREA_ELLIUN , "Testtest Gildenhaus Elliun 1" )
SetGHInfo( "MaEw_GUILDHOUSNOTICE_02", "WI_GUILDHOUSE_MIDDLE", GH_AREA_ELLIUN , "Testtest Gildenhaus Elliun 2" )
SetGHInfo( "MaEw_GUILDHOUSNOTICE_03", "WI_GUILDHOUSE_MIDDLE", GH_AREA_ELLIUN , "Testtest Gildenhaus Elliun 3" )
----------------------------------------------------------------------
----------------------------------------------------------------------
SetGHQuest( "QUEST_GUILDHOUSE_TRN3", "WI_GUILDHOUSE_MIDDLE", 130 )
Zeilen die ich auskommentiert habe damit der Server nicht direkt crasht:
void CGuildHouseMng::LoadScript()
{
if( m_Lua.RunScript( "GuildHouseTender.lua" ) != 0 )
{
Error( "GuildHouseTender.lua Load Failed!!!" );
exit(0);
}
m_Lua.GetGloabal( "tTender" );
m_Lua.PushNil();
while( m_Lua.TableLoop( -2 ) )
{
DWORD dwGHType = static_cast<DWORD>( CScript::GetDefineNum( m_Lua.GetFieldToString( -1, "strGHType" ) ) );
TENDER_DATA TenderData;
TenderData.nMaxHouse = static_cast<int>( m_Lua.GetFieldToNumber( -1, "nMaxHouse" ) );
TenderData.nMinPenya = static_cast<int>( m_Lua.GetFieldToNumber( -1, "nMinPenya" ) );
TenderData.nChargeRate = static_cast<int>( m_Lua.GetFieldToNumber( -1, "nChargeRate" ) );
TenderData.dwPrevNoticeTick = static_cast<DWORD>( m_Lua.GetFieldToNumber( -1, "nPrevNoticeTick" ) );
TenderData.dwTenderNoticeTick = static_cast<DWORD>( m_Lua.GetFieldToNumber( -1, "nTenderNoticeTick" ) );
MAP_TENDER_DATA::iterator it = m_mapTenderData.insert( MAP_TENDER_DATA::value_type( dwGHType, TenderData ) ).first;
m_Lua.GetField( -1, "tNpc" );
m_Lua.PushNil();
while( m_Lua.TableLoop( -2 ) )
{
OBJID objNpcId = static_cast<OBJID>( CScript::GetDefineNum( m_Lua.GetFieldToString( -1, "strNpcId" ) ) );
int nAreaIndex = static_cast<int>( m_Lua.GetFieldToNumber( -1, "nAreaIndex" ) );
if( prj.GetMoverProp( objNpcId ) == NULL )
{
Error( "Invalid GuildHouse NpcId : %d", objNpcId );
}
it->second.mapNpc.insert( map<OBJID, int>::value_type( objNpcId, nAreaIndex ) );
m_Lua.Pop( 1 );
}
m_Lua.Pop( 1 );
m_Lua.Pop( 1 );
}
m_Lua.GetGloabal( "tGHInfo" );
m_Lua.PushNil();
while( m_Lua.TableLoop( -2 ) )
{
GUILDHOUSE_DATA GHData;
GHData.objGHId = static_cast<OBJID>( CScript::GetDefineNum( m_Lua.GetFieldToString( -1, "strNpcId" ) ) );
GHData.dwGHType = static_cast<DWORD>( CScript::GetDefineNum( m_Lua.GetFieldToString( -1, "strGHType" ) ) );
GHData.nAreaIndex = static_cast<int>( m_Lua.GetFieldToNumber( -1, "nAreaIndex" ) );
_tcscpy( GHData.szTitle, m_Lua.GetFieldToString( -1, "strTitle" ) );
m_mapGHData.insert( MAP_GH_DATA::value_type( GHData.objGHId, GHData ) );
m_Lua.Pop( 1 );
}
#ifdef __WORLDSERVER
m_Lua.GetGloabal( "tGHQuest" );
m_Lua.PushNil();
while( m_Lua.TableLoop( -2 ) )
{
int nQuestId = static_cast<OBJID>( CScript::GetDefineNum( m_Lua.GetFieldToString( -1, "strQuestId" ) ) );
GUILDHOUSE_QUEST GHQuest;
GHQuest.dwGHType = static_cast<DWORD>( m_Lua.GetFieldToNumber( -1, "dwGHType" ) );
GHQuest.nLevel = static_cast<int>( m_Lua.GetFieldToNumber( -1, "nLevel" ) );
m_mapGHQuest.insert( MAP_GH_QUEST::value_type( nQuestId, GHQuest ) );
m_Lua.Pop( 1 );
}
#endif // __WORLDSERVER
m_Lua.Pop( 0 );
}
GuildHouseTender.lua:
Code:
-- ÃʱâÈ* ----------------------------------------------------------
--------------------------------------------------------------------
dofile( ".\\LuaFunc\\GuildHouseFunc.lua" )
--------------------------------------------------------------------
--[[
SetNoticeTime( 2, "15:00", 4, "15:00" ) -- °øÁö ½ÃÀÛ, Á¾·á
SetTenderTime( 4, "15:00", 0, "15:00" ) -- ÀÔÂû ½ÃÀÛ, Á¾·á
SetTenderInfo( "WI_GUILDHOUSE_MIDDLE" )
--{
SetMaxTender( 5 ) -- ȸÂ÷´ç ÃÖ´ë ¹°·®
SetMinTenderPenya( 100000000 ) -- ÀÔÂû ÃÖ¼Ò Æä³Ä
SetChargeRate( 1 ) -- ¹Ýȯ ¼ö¼ö·áÀ²( % )
SetNpc( strNpcId, nAreaIndex )
:
--}
SetGuildHouseInfo( strGHId, strNpcId, strGHType, nAreaIndex, strTitle )
--]]
--------------------------------------------------------------------
--------------------------------------------------------------------
-- 0 = Sunday, 1 = Monday, 2 = Tuesday, 3 = Wednesday, 4 = Thursday, 5 = Friday, 6 = Saturday
SetNoticeTime( 2, "15:00", 4, "15:00" )
SetTenderTime( 4, "15:00", 0, "14:00" )
SetTenderInfo( "WI_GUILDHOUSE_MIDDLE" )
--{
SetMaxTender( 5 )
SetMinTenderPenya( 100000000 )
SetChargeRate( 1 )
SetNoticeTick( MIN(60), MIN(60) )
SetNpc( "MI_MAFL_GUILDWAR04", GH_AREA_FLARIS )
SetNpc( "MI_MaSa_ROA", GH_AREA_SAINTMORNING )
SetNpc( "MI_MaEw_RODELLA", GH_AREA_ELIUN )
--}
SetGuildHouseInfo( "MI_MaFl_GUILDHOUSE_DOOR_01", "MI_MaFl_GUILDHOUSE_NOTICE_01", "WI_GUILDHOUSE_MIDDLE", GH_AREA_FLARIS, "TID_MMI_MAFL_GUILDHOUSE_DOOR_01" )
SetGuildHouseInfo( "MI_MaFl_GUILDHOUSE_DOOR_02", "MI_MaFl_GUILDHOUSE_NOTICE_02", "WI_GUILDHOUSE_MIDDLE", GH_AREA_FLARIS, "TID_MMI_MAFL_GUILDHOUSE_DOOR_02" )
SetGuildHouseInfo( "MI_MaFl_GUILDHOUSE_DOOR_03", "MI_MaFl_GUILDHOUSE_NOTICE_03", "WI_GUILDHOUSE_MIDDLE", GH_AREA_FLARIS, "TID_MMI_MAFL_GUILDHOUSE_DOOR_03" )
SetGuildHouseInfo( "MI_MaFl_GUILDHOUSE_DOOR_04", "MI_MaFl_GUILDHOUSE_NOTICE_04", "WI_GUILDHOUSE_MIDDLE", GH_AREA_FLARIS, "TID_MMI_MAFL_GUILDHOUSE_DOOR_04" )
SetGuildHouseInfo( "MI_MaFl_GUILDHOUSE_DOOR_05", "MI_MaFl_GUILDHOUSE_NOTICE_05", "WI_GUILDHOUSE_MIDDLE", GH_AREA_FLARIS, "TID_MMI_MAFL_GUILDHOUSE_DOOR_05" )
SetGuildHouseInfo( "MI_MaSa_GUILDHOUSE_DOOR_01", "MI_MaSa_GUILDHOUSE_NOTICE_01", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING, "TID_MMI_MASA_GUILDHOUSE_DOOR_01" )
SetGuildHouseInfo( "MI_MaSa_GUILDHOUSE_DOOR_02", "MI_MaSa_GUILDHOUSE_NOTICE_02", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING, "TID_MMI_MASA_GUILDHOUSE_DOOR_02" )
SetGuildHouseInfo( "MI_MaSa_GUILDHOUSE_DOOR_03", "MI_MaSa_GUILDHOUSE_NOTICE_03", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING, "TID_MMI_MASA_GUILDHOUSE_DOOR_03" )
SetGuildHouseInfo( "MI_MaSa_GUILDHOUSE_DOOR_04", "MI_MaSa_GUILDHOUSE_NOTICE_04", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING, "TID_MMI_MASA_GUILDHOUSE_DOOR_04" )
SetGuildHouseInfo( "MI_MaSa_GUILDHOUSE_DOOR_05", "MI_MaSa_GUILDHOUSE_NOTICE_05", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING, "TID_MMI_MASA_GUILDHOUSE_DOOR_05" )
SetGuildHouseInfo( "MI_MaSa_GUILDHOUSE_DOOR_06", "MI_MaSa_GUILDHOUSE_NOTICE_06", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING, "TID_MMI_MASA_GUILDHOUSE_DOOR_06" )
SetGuildHouseInfo( "MI_MaSa_GUILDHOUSE_DOOR_07", "MI_MaSa_GUILDHOUSE_NOTICE_07", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING, "TID_MMI_MASA_GUILDHOUSE_DOOR_07" )
SetGuildHouseInfo( "MI_MaSa_GUILDHOUSE_DOOR_08", "MI_MaSa_GUILDHOUSE_NOTICE_08", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING, "TID_MMI_MASA_GUILDHOUSE_DOOR_08" )
SetGuildHouseInfo( "MI_MaSa_GUILDHOUSE_DOOR_09", "MI_MaSa_GUILDHOUSE_NOTICE_09", "WI_GUILDHOUSE_MIDDLE", GH_AREA_SAINTMORNING, "TID_MMI_MASA_GUILDHOUSE_DOOR_09" )
SetGuildHouseInfo( "MI_MaEw_GUILDHOUSE_DOOR_01", "MI_MaEw_GUILDHOUSE_NOTICE_01", "WI_GUILDHOUSE_MIDDLE", GH_AREA_ELIUN, "TID_MMI_MAEW_GUILDHOUSE_DOOR_01" )
SetGuildHouseInfo( "MI_MaEw_GUILDHOUSE_DOOR_02", "MI_MaEw_GUILDHOUSE_NOTICE_02", "WI_GUILDHOUSE_MIDDLE", GH_AREA_ELIUN, "TID_MMI_MAEW_GUILDHOUSE_DOOR_02" )
SetGuildHouseInfo( "MI_MaEw_GUILDHOUSE_DOOR_03", "MI_MaEw_GUILDHOUSE_NOTICE_03", "WI_GUILDHOUSE_MIDDLE", GH_AREA_ELIUN, "TID_MMI_MAEW_GUILDHOUSE_DOOR_03" )
SetGuildHouseQuest( "QUEST_GUILDHOUSE_TRN1", "WI_GUILDHOUSE_MIDDLE", 1, "CI_MIDDLE_GUILDHOUSE_DOOR_01" )
SetGuildHouseQuest( "QUEST_GUILDHOUSE_TRN2", "WI_GUILDHOUSE_MIDDLE", 2, "CI_MIDDLE_GUILDHOUSE_DOOR_02" )
SetGuildHouseQuest( "QUEST_GUILDHOUSE_TRN3", "WI_GUILDHOUSE_MIDDLE", 3, "CI_MIDDLE_GUILDHOUSE_DOOR_03" )
GuildHouseFunc.lua:
Code:
function MIN( a ) return a * 1000 * 60 end
--------------------------------------------------------------------
GH_AREA_FLARIS = 1
GH_AREA_SAINTMORNING = 2
GH_AREA_ELIUN = 3
--------------------------------------------------------------------
tTender = {}
tNpc = {}
tGHInfo = {}
tGHQuest = {}
tNoticeTime = {}
tTenderTime = {}
function GetTimeToNumber( strTime )
local strTemp = ""
local j = 0
for i in string.gfind( strTime, "%d+" ) do
j = j + 1
if( (j~=1) and (tonumber(i)<10) ) then
i = "0"..tonumber(i)
end
strTemp = strTemp..i
end
return tonumber( strTemp )
end
function SetNoticeTime( nBeginDay, strBeginTime, nEndDay, strEndTime )
tNoticeTime.nBeginDay = nBeginDay
tNoticeTime.strBeginTime = strBeginTime
tNoticeTime.nEndDay = nEndDay
tNoticeTime.strEndTime = strEndTime
end
function SetTenderTime( nBeginDay, strBeginTime, nEndDay, strEndTime )
tTenderTime.nBeginDay = nBeginDay
tTenderTime.strBeginTime = strBeginTime
tTenderTime.nEndDay = nEndDay
tTenderTime.strEndTime = strEndTime
end
function IsNoticeTime()
local nCurrentDay = tonumber( os.date("%w") )
local nCurrentTime = tonumber( os.date("%H%M") )
local nBeginTime = GetTimeToNumber( tNoticeTime.strBeginTime )
local nEndTime = GetTimeToNumber( tNoticeTime.strEndTime )
if( nCurrentDay == tNoticeTime.nBeginDay ) then
if( nCurrentTime >= nBeginTime ) then
return true
end
end
if( nCurrentDay == tNoticeTime.nEndDay ) then
if( nCurrentTime <= nEndTime ) then
return true
end
end
if( tNoticeTime.nEndDay < tNoticeTime.nBeginDay ) then
if( (nCurrentDay > tNoticeTime.nBeginDay) and (nCurrentDay < tNoticeTime.nEndDay + 7) ) then
return true
end
end
if( tNoticeTime.nEndDay > tNoticeTime.nBeginDay ) then
if( (nCurrentDay > tNoticeTime.nBeginDay) and (nCurrentDay < tNoticeTime.nEndDay) ) then
return true
end
end
return false
end
function IsTenderTime()
local nCurrentDay = tonumber( os.date("%w") )
local nCurrentTime = tonumber( os.date("%H%M") )
local nBeginTime = GetTimeToNumber( tTenderTime.strBeginTime )
local nEndTime = GetTimeToNumber( tTenderTime.strEndTime )
if( nCurrentDay == tTenderTime.nBeginDay ) then
if( nCurrentTime >= nBeginTime ) then
return true
end
end
if( nCurrentDay == tTenderTime.nEndDay ) then
if( nCurrentTime <= nEndTime ) then
return true
end
end
if( tTenderTime.nEndDay < tTenderTime.nBeginDay ) then
if( (nCurrentDay > tTenderTime.nBeginDay) and (nCurrentDay < tTenderTime.nEndDay + 7) ) then
return true
end
end
if( tTenderTime.nEndDay > tTenderTime.nBeginDay ) then
if( (nCurrentDay > tTenderTime.nBeginDay) and (nCurrentDay < tTenderTime.nEndDay) ) then
return true
end
end
return false
end
function SetTenderInfo( strGHType )
local nIndex = table.getn( tTender ) + 1
tTender[nIndex] = {}
tTender[nIndex].strGHType = strGHType
tTender[nIndex].nMaxHouse = 1
tTender[nIndex].nMinPenya = 1
tTender[nIndex].nChargeRate = 1
tTender[nIndex].nPrevNoticeTick = 0
tTender[nIndex].nTenderNoticeTick = 0
tTender[nIndex].tNpc = {}
end
function SetMaxTender( nMaxHouse )
local nIndex = table.getn( tTender )
tTender[nIndex].nMaxHouse = nMaxHouse
end
function SetMinTenderPenya( nMinPenya )
local nIndex = table.getn( tTender )
tTender[nIndex].nMinPenya = nMinPenya
end
function SetChargeRate( nChargeRate )
local nIndex = table.getn( tTender )
tTender[nIndex].nChargeRate = nChargeRate
end
function SetNoticeTick( nPrevNoticeTick, nTenderNoticeTick )
local nIndex = table.getn( tTender )
tTender[nIndex].nPrevNoticeTick = nPrevNoticeTick
tTender[nIndex].nTenderNoticeTick = nTenderNoticeTick
end
function SetNpc( strNpcId, nAreaIndex )
local nIndex = table.getn( tTender )
local nNIndex = table.getn( tTender[nIndex].tNpc ) + 1
tTender[nIndex].tNpc[nNIndex] = {}
tTender[nIndex].tNpc[nNIndex].strNpcId = strNpcId
tTender[nIndex].tNpc[nNIndex].nAreaIndex = nAreaIndex
end
function SetGuildHouseInfo( strGHId, strNpcId, strGHType, nAreaIndex, strTitle )
local nIndex = table.getn( tGHInfo ) + 1
tGHInfo[nIndex] = {}
tGHInfo[nIndex].strGHId = strGHId
tGHInfo[nIndex].strNpcId = strNpcId
tGHInfo[nIndex].strGHType = strGHType
tGHInfo[nIndex].nAreaIndex = nAreaIndex
tGHInfo[nIndex].strTitle = strTitle
end
function SetGuildHouseQuest( strQuestId, strGHType, nLevel, strDoorId )
local nIndex = table.getn( tGHQuest ) + 1
tGHQuest[nIndex] = {}
tGHQuest[nIndex].strQuestId = strQuestId
tGHQuest[nIndex].strGHType = strGHType
tGHQuest[nIndex].nLevel = nLevel
tGHQuest[nIndex].strDoorId = strDoorId
end
06/07/2014, 01:18
#54
elite*gold: 0
Join Date: May 2012
Posts: 43
Received Thanks: 16
Attached Images
flyff00018.jpg
(121.1 KB, 107 views)
06/23/2014, 02:39
#55
elite*gold: 0
Join Date: Jan 2013
Posts: 7
Received Thanks: 8
Has anyone else noticed this? (It occurs with the bag/bank/guild bank) When adding an item to slot 1 (defined as slot 0 in the database) it disappears after restarting the server, yet is still in the database.
Can anyone explain this? I've tried everything. It must be something that the three things have in common, such as the item structure for those. I know the inventory uses a slightly different item structure.
11/07/2014, 11:56
#56
elite*gold: 0
Join Date: Sep 2013
Posts: 41
Received Thanks: 1
hello,
A big thank you to everyone for your work.
I have two, three, problem solving, there seems to be a problem with the vagabond skil and others that do not work: /
03/08/2015, 23:12
#57
elite*gold: 400
Join Date: May 2012
Posts: 156
Received Thanks: 37
#
- Bereits bekannt und gefixt -
Similar Threads
Virtuos Files v19 error
03/04/2014 - Flyff Private Server - 3 Replies
hallo
i can't seem to make accountserver, this is the error i got from it:
http://i59.tinypic.com/24pl550.png
how can i fix it? som1 tels me to instal SP1 but,
well jeah, thads the problem..
Virtuos Files v4
05/04/2012 - Flyff Private Server - 2 Replies
Hallo leute hat einer von euch noch die virtuos files v4 + Sourcen ??
Google die ganze zeit aber finde sie einfach nicht :rtfm::rtfm::rtfm:
Oder eine alternative außer Bloodyflyff files?????
Crossfire error send error report? was kann man tun
08/24/2011 - CrossFire - 14 Replies
wenn ich crossfire starte kommt nach den hgw game watcher diese nachricht
All times are GMT +1. The time now is 08:47 .