Urgent help request - Event cash

Results 1 to 8 of 8
  1. #1
    Genesis?Is it a new drug? renan7899 is offline
    MemberRank
    Apr 2010 Join Date
    BrazilLocation
    519Posts

    Urgent help request - Event cash

    Hello everyone,

    I need to know where the Event Cash of an account is stored.

    Why is that urgent? Because when a player reaches a huge amount of event cash in the account (my server has free event cash), the map crashes when he/she purchases an item in the event shop.

    I never thought I'd see these stupid map crashes again, but I managed to find out this bug, and I'm having to block the accounts with excessive amount of event cash.

    Thanks for your attention.


  2. #2
    Account Upgraded | Title Enabled! Jacknife is offline
    MemberRank
    Nov 2011 Join Date
    1.3.6 LandLocation
    718Posts

    Re: Urgent help request - Event cash

    Quote Originally Posted by renan7899 View Post
    Hello everyone,

    I need to know where the Event Cash of an account is stored.

    Why is that urgent? Because when a player reaches a huge amount of event cash in the account (my server has free event cash), the map crashes when he/she purchases an item in the event shop.

    I never thought I'd see these stupid map crashes again, but I managed to find out this bug, and I'm having to block the accounts with excessive amount of event cash.

    Thanks for your attention.
    Wouldn't it be simpler to reduce the prices and the ammount of event gold that they recieve? so they wont be able anymore to get a huge ammount?
    Its just an suggestion. im sorry i can't awnser the question.

  3. #3
    Genesis?Is it a new drug? renan7899 is offline
    MemberRank
    Apr 2010 Join Date
    BrazilLocation
    519Posts

    Re: Urgent help request - Event cash

    Quote Originally Posted by Jacknife View Post
    Wouldn't it be simpler to reduce the prices and the ammount of event gold that they recieve? so they wont be able anymore to get a huge ammount?
    Its just an suggestion. im sorry i can't awnser the question.
    Well, the problem is, that every character in the account can get the event cash, which will sum in the account's event cash number. If we reduce it, the players won't be able to purchase many items, like materials, etc.

    Basically, as we thought from the beggining, it's easier to increase the amount of cash that they receive than to edit the value and quantity of every item in the event shop.

    Aside from that, there may be more players or innactive accounts with a huge amount of cash, and that may cause problems in the future. So we need to find them (something that, NOW, is only possible after they purchase something and we find it in the logs).

    Anyway, thanks for your attention, Jack.

  4. #4
    Angelemu founder tbnanubis is offline
    MemberRank
    Mar 2011 Join Date
    Unicorn ForestLocation
    527Posts

    Re: Urgent help request - Event cash

    since the event gold value in quests is unsigned, there is no way to directly remove it. As it is bugging out sometimes, i guess the internal storage is signed, so i guesss adding a value of >int32.max might actually substract from the stored value.

  5. #5
    Genesis?Is it a new drug? renan7899 is offline
    MemberRank
    Apr 2010 Join Date
    BrazilLocation
    519Posts

    Re: Urgent help request - Event cash

    Quote Originally Posted by tbnanubis View Post
    since the event gold value in quests is unsigned, there is no way to directly remove it. As it is bugging out sometimes, i guess the internal storage is signed, so i guesss adding a value of >int32.max might actually substract from the stored value.
    Let's hope it's really int32 then...

    Basically, we have to create a quest that adds > 4.294.967.296 (int32 / 2^32) event cash in the account to subtract it?

    Don't blame me if it's wrong, I don't know much of programming and those kinds of stuff xD

  6. #6
    Angelemu founder tbnanubis is offline
    MemberRank
    Mar 2011 Join Date
    Unicorn ForestLocation
    527Posts

    Re: Urgent help request - Event cash

    if it is currently negative, it might become positive this way. You can check the current event gold values with the userbrief export function of gamedbd. I think its the cash2 value.

  7. #7
    Genesis?Is it a new drug? renan7899 is offline
    MemberRank
    Apr 2010 Join Date
    BrazilLocation
    519Posts

    Re: Urgent help request - Event cash

    Quote Originally Posted by tbnanubis View Post
    if it is currently negative, it might become positive this way. You can check the current event gold values with the userbrief export function of gamedbd. I think its the cash2 value.
    We used that function just before you posted. We were searching for useful gamedbd functions and we thought that this one could give as a hint. But, "cash2" column have some very rounded values, and let's say... random values. So that led us to nothing. =/

  8. #8
    Apprentice Haodemon is offline
    MemberRank
    Mar 2013 Join Date
    Moscow, RussiaLocation
    6Posts

    Re: Urgent help request - Event cash

    And how many gold user must have, to crash a map?
    Can we try to raise that value? Or the value is not only tied in one place?



Advertisement