|
You last visited: Today at 12:11
Advertisement
Event.Lua errors help
Discussion on Event.Lua errors help within the Flyff Private Server forum part of the Flyff category.
07/21/2018, 05:44
|
#1
|
elite*gold: 0
Join Date: Sep 2014
Posts: 78
Received Thanks: 0
|
Event.Lua errors help
I have some errors any body help fixing it?
when i use female to lvl up to 15 i will get the gift but these error keep poping up. same issue when i use male
2018/ 7/21 11:42:14 LUA - Event - ID:1, Title:Flyff - Level Up EVENT!, State:1
2018/ 7/21 11:42:41 CEventLua::SetLevelUpGift() - nSex not valid. nSex = "0"
Code:
AddEvent( "Flyff - Level Up EVENT!" )
--{
SetTime( "2010-02-23 00:00", "2099-12-25 23:59" )
SetTime( "2010-02-23 00:00", "2099-12-25 23:59" )
SetLevelUpGift( 15, "all", "II_SYS_SYS_SCR_BXFYUKATASET", 1, 1)
SetLevelUpGift( 15, "all", "II_SYS_SYS_SCR_BXMYUKATASET", 1, 0)
SetLevelUpGift( 30, "all", "II_SYS_MOUNT_TEST6", 1, 2)
SetLevelUpGift( 30, "all", "II_GEN_FOO_COO_DDUKGUKHOT_02", 1, 2)
SetLevelUpGift( 60, "all", "II_SYS_SYS_SCR_EVEAMPESS", 15, 2)
SetLevelUpGift( 120, "all", "II_SYS_SYS_SCR_EVEAMPESS", 30, 2 )
SetKeepConnectEvent( MIN(60), "II_SYS_SYS_FORTUNETOKEN_GOLD", 5 )
SetRainEvent( 2, "(2x) Exp Rain Event" )
SetSnowEvent( 2, "(2x) Exp Snow Event" )
--}
|
|
|
07/21/2018, 15:17
|
#2
|
elite*gold: 0
Join Date: Jul 2018
Posts: 93
Received Thanks: 59
|
Quote:
Originally Posted by ahrv
I have some errors any body help fixing it?
when i use female to lvl up to 15 i will get the gift but these error keep poping up. same issue when i use male
2018/ 7/21 11:42:14 LUA - Event - ID:1, Title:Flyff - Level Up EVENT!, State:1
2018/ 7/21 11:42:41 CEventLua::SetLevelUpGift() - nSex not valid. nSex = "0"
Code:
AddEvent( "Flyff - Level Up EVENT!" )
--{
SetTime( "2010-02-23 00:00", "2099-12-25 23:59" )
SetTime( "2010-02-23 00:00", "2099-12-25 23:59" )
SetLevelUpGift( 15, "all", "II_SYS_SYS_SCR_BXFYUKATASET", 1, 1)
SetLevelUpGift( 15, "all", "II_SYS_SYS_SCR_BXMYUKATASET", 1, 0)
SetLevelUpGift( 30, "all", "II_SYS_MOUNT_TEST6", 1, 2)
SetLevelUpGift( 30, "all", "II_GEN_FOO_COO_DDUKGUKHOT_02", 1, 2)
SetLevelUpGift( 60, "all", "II_SYS_SYS_SCR_EVEAMPESS", 15, 2)
SetLevelUpGift( 120, "all", "II_SYS_SYS_SCR_EVEAMPESS", 30, 2 )
SetKeepConnectEvent( MIN(60), "II_SYS_SYS_FORTUNETOKEN_GOLD", 5 )
SetRainEvent( 2, "(2x) Exp Rain Event" )
SetSnowEvent( 2, "(2x) Exp Snow Event" )
--}
|
Correct me if I'm wrong but,
I think your SetLevelUpGift is missing the last value?
SetLevelUpGift( 60, "all", "II_SYS_SYS_SCR_EVEAMPESS", 15, 2)
change to:
SetLevelUpGift( 60, "all", "II_SYS_SYS_SCR_EVEAMPESS", 15, 2, 2 )
, 15, 2, 2 )
1: Amount
2: Sex (0 male , 1 female, 2 sexless)
3: Soullinked or not
|
|
|
 |
Similar Threads
|
Please - Change in .lua files and compress files without errors KOM to create mods.
06/07/2015 - Elsword - 3 Replies
What's up guys,
I do not understand much about this MoonLoader, but I think he is paid.
I do not know if they are members of this forum are managing to modify the files .lua Elsword and compress the KOM files without errors.
Well, if you know how to package KOM files without giving the error in Elsword could create a tutorial here?
And another thing could make a modification to increase the level ones like absurdly ... 1500% EXP and ED, please, I want to play pvp but people here in...
|
hilfe bei lua script/ need help with lua script
10/06/2014 - General Coding - 2 Replies
Hi leute ich versuche ein script in für mein Iphone zu schreiben und könnte ein bisschen hilfe von einem Experten gebrauchen können also wenn jemand was von lua versteht bitte bei mir per pn melden!
Hey guys im trying to write a lua script on my iphone and need some help at some points by an expert so if anybody knows lua better than me pls pn me!
|
[LUA] need help in decrypting / encrypting lua
08/12/2013 - General Coding - 7 Replies
The title pretty much says it all but ill explain a bit more as to what Im in need, basically I have decompiled a script using this website, i've got the code etc but it contains some really werid stuff like etc , I wanted to decrypt the file simply to change some stuff in it, I did so but then I did not know how to encrypt it back so I messaged my friend and he gave me this
local code_to_decode = "script to encrypt"
local output = ""
for i = 1, #code_to_decode do
output = output...
|
[Guide] 2 Fixes on Sro-Errors (no bot-errors)
03/04/2011 - SRO Guides & Templates - 5 Replies
Hey guys,
here are 2 fixes for silkroad-errors (not bot-errors!). I know they dont appear for many people but some guys have problems with it.
1st Fix: "Server is undergoing inspection..."
Why does this error appear?
Because Joymax has some problems with the Login-Servers.
Fix:
Step1): Click on "Start" then on "Run"
|
All times are GMT +1. The time now is 12:12.
|
|