Hi all
I see much people making a flyff p server, but i dont know if they know how to change the rates, thats why i'm gonna make this guide
Go to your resource folder, then go to the luafunc FOLDER
In there, you find a eventfunc.lua
Open it with notepad
This is what you will see in the lowest of the code.
The red numbers are the rates
The 1st 400 is the rate for EXP
The second 400 is for Drop rate
The third is for quest drop or something
And the last one is the penya rate
This was my guide, i hope i helped you :laugh:
Greetz
I see much people making a flyff p server, but i dont know if they know how to change the rates, thats why i'm gonna make this guide
Go to your resource folder, then go to the luafunc FOLDER
In there, you find a eventfunc.lua
Open it with notepad
Code:
-- °æÇèÄ¡ ¹è¼ö
function SetExpFactor( fExpFactor )
local nEventId = table.getn(tEvent)
tEvent[nEventId].fExpFactor = fExpFactor
end
function GetExpFactor()
local tList = GetEventList()
local fExpFactor = [COLOR="Red"]400[/COLOR]
for i in pairs(tList) do
if( tEvent[tList[i]].fExpFactor ~= nil ) then
fExpFactor = fExpFactor * tEvent[tList[i]].fExpFactor
end
end
return fExpFactor
end
-- ¾ÆÀÌÅÛ µå·Ó·ü ¹è¼ö
function SetItemDropRate( fItemDropRate )
local nEventId = table.getn(tEvent)
tEvent[nEventId].fItemDropRate = fItemDropRate
end
function GetItemDropRate()
local tList = GetEventList()
local fItemDropRate = [COLOR="Red"]400[/COLOR]
for i in pairs(tList) do
if( tEvent[tList[i]].fItemDropRate ~= nil ) then
fItemDropRate = fItemDropRate * tEvent[tList[i]].fItemDropRate
end
end
return fItemDropRate
end
-- °³º° ¾ÆÀÌÅÛ µå·Ó·ü ¹è¼ö
function SetPieceItemDropRate( fPieceItemDropRate )
local nEventId = table.getn(tEvent)
tEvent[nEventId].fPieceItemDropRate = fPieceItemDropRate
end
function GetPieceItemDropRate()
local tList = GetEventList()
local fPieceItemDropRate = [COLOR="Red"]400[/COLOR]
for i in pairs(tList) do
if( tEvent[tList[i]].fPieceItemDropRate ~= nil ) then
fPieceItemDropRate = fPieceItemDropRate * tEvent[tList[i]].fPieceItemDropRate
end
end
return fPieceItemDropRate
end
-- Æä³Ä µå·Ó ¹è¼ö
function SetGoldDropFactor( fGoldDropFactor )
local nEventId = table.getn(tEvent)
tEvent[nEventId].fGoldDropFactor = fGoldDropFactor
end
function GetGoldDropFactor()
local tList = GetEventList()
local fGoldDropFactor = [COLOR="Red"]400[/COLOR]
for i in pairs(tList) do
if( tEvent[tList[i]].fGoldDropFactor ~= nil ) then
fGoldDropFactor = fGoldDropFactor * tEvent[tList[i]].fGoldDropFactor
end
end
return fGoldDropFactor
end
This is what you will see in the lowest of the code.
The red numbers are the rates
The 1st 400 is the rate for EXP
The second 400 is for Drop rate
The third is for quest drop or something
And the last one is the penya rate
This was my guide, i hope i helped you :laugh:
Greetz