Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Lottery Event Problem

Newbie Spellweaver
Joined
Jan 2, 2013
Messages
52
Reaction score
2
Hello guys,
i got some problem regarding Lottery Event on V2240.

When i put down my lottery event like this( default one) it's work
=====
9918 0
9919 0

[9918]
2001 40 1
[9919]
1911 5 1
=====

once i add new line for new item it's crash
=====
9918 0
9919 0
75000 0


[9918]
2001 40 1
[9919]
1911 5 1
=====

From Log (original)
[Ty-ERR][Tm-2019-06-21 22:53:26][Ex-복권 이벤트 스크립트에 알맞은 섹션이 없습니다. ItemID:9464][Rt-CLotteryEvent::Initialize][FN-D:\SS\v.2240]\Server\RylServerProject\RylGameLibrary\GameEvent\LotteryEvent\LotteryEvent.cpp][LN-63]
[Ty-ERR][Tm-2019-06-21 22:53:26][Ex-복권 이벤트 초기화에 실패하였습니다.][Rt-CGameEventMgr::Initialize][FN-D:\SS\v.2240]\Server\RylServerProject\RylGameLibrary\GameEvent\GameEventMgr.cpp][LN-25]
[Ty-ERR][Tm-2019-06-21 22:53:26][Ex-게임 이벤트 초기화에 실패하였습니다.][Rt-CRylGameServer::InitializeGameObject][FN-D:\SS\v.2240]\Server\RylServerProject\RylGameServer\ManageGameObject.cpp][LN-138]
[Ty-ERR][Tm-2019-06-21 22:53:26][Ex-this:0x006BEFD0/RylGameServer initialize failed : Gameobjects load failed][Rt-CRylGameServer::ApplicationSpecificInit][FN-D:\SS\v.2240]\Server\RylServerProject\RylGameServer\RylGameServer.cpp][LN-105]
[Ty-ERR][Tm-2019-06-21 22:53:26][Ex-this:0x006BEFD0/ServerWindowFramework initialize failed - ApplicationSpecificInit failed][Rt-CServerWindowFramework::Initialize][FN-D:\SS\v.2240]\Server\RylServerProject\RylServerLibrary\Utility\ServerAppFrameWork\ServerWindowFramework.cpp][LN-214]
[Ty-NOR][로그를 끝냅니다.]

Translate One

[Ty-ERR][Tm-2019-06-21 22:53:26][Ex-There are no appropriate sections in the lottery event script.ItemID:9464][Rt-CLotteryEvent::Initialize][FN-D:\SS\v.2240]\Server\RylServerProject\RylGameLibrary\GameEvent\LotteryEvent\LotteryEvent.cpp][LN-63]
[Ty-ERR][Tm-2019-06-21 22:53:26][Ex-The lottery event initialization failed.][Rt-CGameEventMgr::Initialize][FN-D:\SS\v.2240]\Server\RylServerProject\RylGameLibrary\GameEvent\GameEventMgr.cpp][LN-25]
[Ty-ERR][Tm-2019-06-21 22:53:26][Ex-Game event initialization failed.][Rt-CRylGameServer::InitializeGameObject][FN-D:\SS\v.2240]\Server\RylServerProject\RylGameServer\ManageGameObject.cpp][LN-138]
[Ty-ERR][Tm-2019-06-21 22:53:26][Ex-this:0x006BEFD0/RylGameServer initialize failed : Gameobjects load failed][Rt-CRylGameServer::ApplicationSpecificInit][FN-D:\SS\v.2240]\Server\RylServerProject\RylGameServer\RylGameServer.cpp][LN-105]
[Ty-ERR][Tm-2019-06-21 22:53:26][Ex-this:0x006BEFD0/ServerWindowFramework initialize failed - ApplicationSpecificInit failed][Rt-CServerWindowFramework::Initialize][FN-D:\SS\v.2240]\Server\RylServerProject\RylServerLibrary\Utility\ServerAppFrameWork\ServerWindowFramework.cpp][LN-214]
[Ty-NOR][End the log.]

Thank You ^___^
 
Last edited:
Newbie Spellweaver
Joined
Jan 2, 2013
Messages
52
Reaction score
2
Fix it
1.Just make sure your code structure not have any extra space
2. Item ID not in range 70k+
idk about the minimum but 40k still acceptable for lottery event

this is from my experience, not the actual solution but work for me
thank you ^___^
 
Newbie Spellweaver
Joined
Nov 25, 2008
Messages
50
Reaction score
5
Hello guys,
i got some problem regarding Lottery Event on V2240.

When i put down my lottery event like this( default one) it's work
=====
9918 0
9919 0

[9918]
2001 40 1
[9919]
1911 5 1
=====

once i add new line for new item it's crash
=====
9918 0
9919 0
75000 0


[9918]
2001 40 1
[9919]
1911 5 1
=====

From Log (original)


Translate One



Thank You ^___^

All ItemIDs referenced in the script must exist. All ItemIDs in the first section must be of item EVENT_LOTTERY.
Second Sections describes the EVENT_LOTTERY Item and the containing ItemIDs, Amount and Chance of dropping.

The default Syntax for LotteryEvent.txt is the following:
1st section:
<LotteryEventItemID> <ChanceOfSuccess(0-100)>

Example:
9000 90

Explanation:
ItemID 9000 from Itemscript.txt must be a EVENT_LOTTERY ItemType
90 <- % rate of success

2nd section:
[<LotteryEventItemID>]
<ItemID> <Chance> <Amount>

Example:
[9000]
1971 25 1
1972 25 1
1973 25 1
1974 25 1

The ItemID 9000 has the possibility of dropping 1971, 1972, 1973, 1974 each for 25% with the amount of 1.
You can separate each drop with a new line. It will still work.

If you've posted the complete LotteryEvent.txt then you have the following error:
ItemID 75000 is declared as a lotteryevent item but the drops of it (2nd section) are missing.
Add them and start your server again.
 
Initiate Mage
Joined
Sep 3, 2018
Messages
4
Reaction score
0
[QUOTE = akulahstatik; 8952050] Corrigir
1. Apenas certifique-se de que sua estrutura de código não tenha espaço extra
2. O ID do item não está no intervalo 70k +
idk sobre o mínimo, mas 40k ainda aceitável para eventos de loteria,

isso é da minha experiência, não do real solução, mas trabalho para mim
obrigado ^ ___ ^ [/ QUOTE]
 
Back
Top