• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Wheel of Fortune

Junior Spellweaver
Joined
Jul 9, 2014
Messages
168
Reaction score
53
Hi, guys.
Did anyone have idea, how to enable wheel of fortune(seems to be related to SlotMachine in databases/enum in scripts)?
It's funny thing in shop, which allow to choose random item once per day and other random items for 39d(seems to be non-static price).
You can show it client-side using GameBarFrame:Show(), client-side logic can be found in worldxml/gamebarframe.xml/.lua.
Also you can look for functions GameBar_CanPlay, GetGameBarFreeCount, GameBar_GoFree and so on in IDA.
 
Newbie Spellweaver
Joined
Jul 8, 2014
Messages
58
Reaction score
10
most likely it's enablem through [ImportDB].[dbo].[SysKeyValue] as diamond npcand many other things, but maybe also it should be enabled in disabled_tag_%lang%.ini inside data.fdb, i don't know exactly
 
Junior Spellweaver
Joined
Apr 27, 2015
Messages
176
Reaction score
107
Ah right-o. Havn't used a dissasembler since my old Commodore 64. Spending time myself trying to get the Wheel of Fortune going, stuffing variables everywhere in the database, trying various scripts, looking through everything that comes to mind to find what triggers the wheel to show in the itemshop window without having to manual do it.
I put info in SlotMachineBase and SlotMachine_TypeInfo to fill the wheel with items, works for one spin then it reloads it will numbers after, no items drop into the bags and it charges Zero dias to spin and each spin always ends up on the same item.
 
Junior Spellweaver
Joined
Jul 9, 2014
Messages
168
Reaction score
53
Try to check server code, may be it would help.
 
Newbie Spellweaver
Joined
Jan 19, 2015
Messages
90
Reaction score
17
Hi, guys.
Did anyone have idea, how to enable wheel of fortune(seems to be related to SlotMachine in databases/enum in scripts)?
It's funny thing in shop, which allow to choose random item once per day and other random items for 39d(seems to be non-static price).
You can show it client-side using GameBarFrame:Show(), client-side logic can be found in worldxml/gamebarframe.xml/.lua.
Also you can look for functions GameBar_CanPlay, GetGameBarFreeCount, GameBar_GoFree and so on in IDA.

Hey Turmalin,

when I want to open the Frame with /run GameBarFrame:Show() nothing happens...what did I made wrong?
 
Junior Spellweaver
Joined
Jul 9, 2014
Messages
168
Reaction score
53
It would be showed inside shop as one of the tab when you would configure it correctly in database. Till you wouldn't do it, GameBarFrame:Show() would display it, but wouldn't work.
 
Newbie Spellweaver
Joined
Jan 19, 2015
Messages
90
Reaction score
17
It would be showed inside shop as one of the tab when you would configure it correctly in database. Till you wouldn't do it, GameBarFrame:Show() would display it, but wouldn't work.

Thanx for this. But what means configure correctly? I have to fill SlotMachineType and Base I know but what is correctly?? ;-)
I tried many things but nothing is good for now :-(
 
Junior Spellweaver
Joined
Apr 27, 2015
Messages
176
Reaction score
107
Its a mystery this one.
Same as getting siege wars working. waste so much time working on it.
 
Junior Spellweaver
Joined
Jul 9, 2014
Messages
168
Reaction score
53
Yep. Got it working only when got some example configs. SW must be dedicated server, also it must have same gateway with base server.
 
Back
Top