Wheel of Fortune

Results 1 to 13 of 13
  1. #1
    Proficient Member Turmalin is offline
    MemberRank
    Jul 2014 Join Date
    168Posts

    Wheel of Fortune

    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.


  2. #2
    Member happyhorror is offline
    MemberRank
    Jul 2014 Join Date
    59Posts

    Re: Wheel of Fortune

    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

  3. #3
    Proficient Member Drewww is offline
    MemberRank
    Apr 2015 Join Date
    164Posts

    Re: Wheel of Fortune

    Turmalin, what do you mean by IDA.

  4. #4
    Proficient Member Turmalin is offline
    MemberRank
    Jul 2014 Join Date
    168Posts

  5. #5
    Proficient Member Drewww is offline
    MemberRank
    Apr 2015 Join Date
    164Posts

    Re: Wheel of Fortune

    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.

  6. #6
    Proficient Member Turmalin is offline
    MemberRank
    Jul 2014 Join Date
    168Posts

    Re: Wheel of Fortune

    Try to check server code, may be it would help.

  7. #7
    Member Reaperman is offline
    MemberRank
    Jan 2015 Join Date
    89Posts

    Re: Wheel of Fortune

    Quote Originally Posted by Turmalin View Post
    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?

  8. #8
    Proficient Member Turmalin is offline
    MemberRank
    Jul 2014 Join Date
    168Posts

    Re: Wheel of Fortune

    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.

  9. #9
    Member Reaperman is offline
    MemberRank
    Jan 2015 Join Date
    89Posts

    Re: Wheel of Fortune

    Quote Originally Posted by Turmalin View Post
    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 :-(

  10. #10
    Proficient Member Turmalin is offline
    MemberRank
    Jul 2014 Join Date
    168Posts

    Re: Wheel of Fortune

    Sry, but I'm not sure for 100%, how to make it work.

  11. #11
    Member Reaperman is offline
    MemberRank
    Jan 2015 Join Date
    89Posts

    Re: Wheel of Fortune

    No problem yet many thanks to you.

  12. #12
    Proficient Member Drewww is offline
    MemberRank
    Apr 2015 Join Date
    164Posts

    Re: Wheel of Fortune

    Its a mystery this one.
    Same as getting siege wars working. waste so much time working on it.

  13. #13
    Proficient Member Turmalin is offline
    MemberRank
    Jul 2014 Join Date
    168Posts

    Re: Wheel of Fortune

    Yep. Got it working only when got some example configs. SW must be dedicated server, also it must have same gateway with base server.



Advertisement