MuEmu source S8- function to update the resetcount.

Results 1 to 4 of 4
  1. #1
    Member BlackPaper is offline
    MemberRank
    Jun 2016 Join Date
    75Posts

    MuEmu source S8- function to update the resetcount.

    Well I'm using MuEmu S8 Source, and I've written a "buy leatherset" command, which buys for you a leather set for 60 resets.
    so for taking the resets I use :
    lpObj->Reset -= 60;
    while ingame, if a character has 70 resets, he would be able to use the command once, and if he tries again it will say that he doesn't have enough resets.
    If he reconnects, however, he can buy the set again.
    This is happening because this line (lpObj->Reset -= 20;) doesn't update the sql value of his resets.
    I need some kind of a function like the zen's GCMoneySend.
    If someone knows this function in MuEmu source, please tell, and if not, guide me on how to write one myself.

    Thanks in advance.

    btw, I've tried
    GCNewCharacterInfoSend(lpObj);
    but to no avail.

    - - - Updated - - -

    Fixed, close the thread.


  2. #2
    Alpha Member ianvalls90 is offline
    MemberRank
    Apr 2007 Join Date
    ArgentinaLocation
    1,829Posts

    Re: MuEmu source S8- function to update the resetcount.

    Maybe share solution before closure?

    Enviado desde mi LG-H340AR mediante Tapatalk

  3. #3
    Don't be afraid to ask! RevolGaming is offline
    MemberRank
    Jun 2012 Join Date
    1,458Posts

    Re: MuEmu source S8- function to update the resetcount.

    I dont understand this kind of coding, I mean its not minecraft to request /kit monster.. :D

    On 60 reset who want leatherset :D Or you are making really really low exp server?

    Anyway as ianvalls90 wrote, please share the solution, because if somebody else want to do the same, he will find on the forum.

    But with this information I am not sure about anybody can help for you. You ask for answer and you share "lpObj->Reset -= 60;" this code part only?:D I mean I am working on mu sources since 2013, and I have no idea totally where you do this, why you do this. :D

  4. #4
    Account Upgraded | Title Enabled! magtjr is offline
    MemberRank
    Apr 2013 Join Date
    241Posts

    Re: MuEmu source S8- function to update the resetcount.

    I recommend you study the MASTER RESET with it you can get to what you need.



Advertisement