Credit points

Results 1 to 21 of 21
  1. #1
    Proficient Member mytzu is offline
    MemberRank
    Aug 2012 Join Date
    Iasi, RomaniaLocation
    160Posts

    Credit points

    Hy i use 11.11.82 files with sql 2000.
    How can i add for example 500 credit points for each user?


  2. #2

    Re: Credit points

    try with SCF Editor or something

  3. #3
    Don Corleone Cryingsoul is offline
    MemberRank
    Mar 2009 Join Date
    DenmarkLocation
    702Posts

    Re: Credit points

    You need to run a query for the existing users, but for future users you can do the following step. Enterprise manager --> MuOnline --> Tables --> right click MEMB_INFO and click Design, find the column for credits and change the default value to 500 :)

  4. #4
    Newbie daezugun is offline
    MemberRank
    Feb 2011 Join Date
    127.0.0.1Location
    787Posts

    Re: Credit points

    can you give a query for that?
    Last edited by daezugun; 18-12-12 at 04:10 PM.

  5. #5
    Don Corleone Cryingsoul is offline
    MemberRank
    Mar 2009 Join Date
    DenmarkLocation
    702Posts

    Re: Credit points

    The following command should give 5000 credits for all existing account, haven't tested it but it should work.

    Code:
    UPDATE MEMB_INFO SET credits=5000

  6. #6
    Proficient Member mytzu is offline
    MemberRank
    Aug 2012 Join Date
    Iasi, RomaniaLocation
    160Posts

    Re: Credit points

    I what to know for sure if this points will be added on existing for example one user has 30 credits after it will have 5030 ?

  7. #7
    Don Corleone Cryingsoul is offline
    MemberRank
    Mar 2009 Join Date
    DenmarkLocation
    702Posts

    Re: Credit points

    Quote Originally Posted by mytzu View Post
    I what to know for sure if this points will be added on existing for example one user has 30 credits after it will have 5030 ?
    Nope it sets a standard value for everyone.

  8. #8
    Newbie daezugun is offline
    MemberRank
    Feb 2011 Join Date
    127.0.0.1Location
    787Posts

    Re: Credit points

    Quote Originally Posted by Cryingsoul View Post
    The following command should give 5000 credits for all existing account, haven't tested it but it should work.

    Code:
    UPDATE MEMB_INFO SET credits=5000
    theres an error and when i checked MEMB_INFO there was no credits in column?!
    do i need to create one?

    also "credits" column is in MEMB_CREDITS,
    Last edited by daezugun; 21-12-12 at 03:23 AM.

  9. #9
    Am i? ScriptKid is online now
    MemberRank
    Oct 2006 Join Date
    $Location="??";Location
    1,810Posts

    Re: Credit points

    All credits is in the MEMB_Credits table

  10. #10
    Don Corleone Cryingsoul is offline
    MemberRank
    Mar 2009 Join Date
    DenmarkLocation
    702Posts

    Re: Credit points

    Code:
    UPDATE MEMB_Credits SET credits=5000

  11. #11
    Enthusiast varcush is offline
    MemberRank
    Jun 2008 Join Date
    <?=$Romania;?>Location
    45Posts

    Re: Credit points

    i think for having extra 5000 credits this should be.

    UPDATE MEMB_Credits SET credits=credits + 5000

  12. #12
    Proficient Member mytzu is offline
    MemberRank
    Aug 2012 Join Date
    Iasi, RomaniaLocation
    160Posts

    Re: Credit points

    I just want to add to all members bonus credits as christmas gift.

    So can anyone tell me for sure if: UPDATE MEMB_Credits SET credits=credits + 5000 would work? or what query i need to run for adding 5000 extra credit for all users?
    I really need this fast. Thank you !

  13. #13
    Yes please. Wortex is offline
    MemberRank
    Nov 2008 Join Date
    268Posts

    Re: Credit points

    Quote Originally Posted by mytzu View Post
    I just want to add to all members bonus credits as christmas gift.

    So can anyone tell me for sure if: UPDATE MEMB_Credits SET credits=credits + 5000 would work? or what query i need to run for adding 5000 extra credit for all users?
    I really need this fast. Thank you !
    Yes, this is query works as it should (will add 5k credits). Also, I'm not sure what actual use will your players get from credits. My current credit table is empty and I saw no use for it, even the cash shop doesn't use it...

  14. #14
    Newbie daezugun is offline
    MemberRank
    Feb 2011 Join Date
    127.0.0.1Location
    787Posts

    Re: Credit points

    how bout in DmN_Shop_Credits?

  15. #15
    Yes please. Wortex is offline
    MemberRank
    Nov 2008 Join Date
    268Posts

    Re: Credit points

    Quote Originally Posted by daezugun View Post
    how bout in DmN_Shop_Credits?
    Not sure what that is lol. Haven't seen any similar table name or collumn in my db.

  16. #16
    Newbie daezugun is offline
    MemberRank
    Feb 2011 Join Date
    127.0.0.1Location
    787Posts

    Re: Credit points

    Quote Originally Posted by Darkisss View Post
    Not sure what that is lol. Haven't seen any similar table name or collumn in my db.
    its for Dmn Webshop, and if you are using Mu Core Vote rewards, instead of memb_credits to add some credits must change to Dmn_shop_credits.

  17. #17
    wWw.F403.OrG S37uP!Update is offline
    MemberRank
    Oct 2008 Join Date
    F403.ORGLocation
    1,304Posts

    Re: Credit points

    Code:
    UPDATE MEMB_INFO SET credits = credits + 5000
    This will add you extra credits, for example if you already have 500 credits, after using the query you will have 5500 credits.

  18. #18
    Enthusiast varcush is offline
    MemberRank
    Jun 2008 Join Date
    <?=$Romania;?>Location
    45Posts

    Re: Credit points

    UPDATE MEMB_Credits SET credits=credits + 5000 where memb___id=your_character_name
    your_character_name - input an admin char for example

    try this and go to database tables

    1. make sure you remember the credits of that character ( ex. selected character has = 12 credits)
    2. run the query upper
    3.go to database tables and check for that character
    4. if the character has ( ex. selected character has = 5012 credits)
    Than next query will definitely work on all characters

    UPDATE MEMB_Credits SET credits=credits + 5000

  19. #19
    Valued Member mudev is offline
    MemberRank
    Oct 2012 Join Date
    127Posts

    Re: Credit points

    To add 5000 credits to all existing users:

    use muonline
    UPDATE MEMB_Credits
    SET credits=credits + 5000
    where credits > -1

  20. #20
    Proficient Member mytzu is offline
    MemberRank
    Aug 2012 Join Date
    Iasi, RomaniaLocation
    160Posts

    Re: Credit points

    Quote Originally Posted by S37uP!Update View Post
    Code:
    UPDATE MEMB_INFO SET credits = credits + 5000
    This will add you extra credits, for example if you already have 500 credits, after using the query you will have 5500 credits.
    Thats working fine. Use it with trust. Thank You!

  21. #21
    wWw.F403.OrG S37uP!Update is offline
    MemberRank
    Oct 2008 Join Date
    F403.ORGLocation
    1,304Posts

    Re: Credit points

    Ur welcome m8, Happy New Year!



Advertisement