Cash Point - Not linked to client?

Results 1 to 6 of 6
  1. #1
    Mulau Shinobi-X is offline
    MemberRank
    Jan 2010 Join Date
    SabahLocation
    201Posts

    information Cash Point - Not linked to client?



    using the command /pc addcash the table in the "loginserver>accounts" database seems to work, but my cash point in-game still 0. Is it a bug or i'm on the wrong db table here ? Appreciated ur help, thx


  2. #2
    Mulau Shinobi-X is offline
    MemberRank
    Jan 2010 Join Date
    SabahLocation
    201Posts

    Re: Cash Point - Not linked to client?

    Well i guess a workaround will just be using a web panel for the db, lol

  3. #3
    Apprentice el411961 is offline
    MemberRank
    May 2015 Join Date
    14Posts

    Re: Cash Point - Not linked to client?

    issue solved. Thanks.
    Last edited by el411961; 16-01-18 at 04:50 PM.

  4. #4
    Enthusiast chongtianlong is offline
    MemberRank
    Dec 2013 Join Date
    42Posts

    Re: Cash Point - Not linked to client?

    Quote Originally Posted by el411961 View Post
    issue solved. Thanks.
    how solved it pls?

  5. #5
    Apprentice el411961 is offline
    MemberRank
    May 2015 Join Date
    14Posts

    Re: Cash Point - Not linked to client?

    Quote Originally Posted by chongtianlong View Post
    how solved it pls?
    You can use GM command '/pc giftonline [itemID] [stack]' to get a pearl box, like itemID = 17076 would give you 10,000+1,500 pearl box.

  6. #6
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: Cash Point - Not linked to client?

    You can dig further into the real issue.

    Temporary work around:
    com\bdoemu\core\network\receivable\CMCash.java

    Code:
    import com.bdoemu.commons.network.ReceivablePacket;
    import com.bdoemu.commons.network.SendablePacket;
    import com.bdoemu.core.network.GameClient;
    import com.bdoemu.core.network.sendable.SMCash;
    import com.bdoemu.gameserver.model.creature.player.Player;
    
    public class CMCash extends ReceivablePacket<GameClient> {
        public CMCash(final short opcode) {
            super(opcode);
        }
    
        protected void read() {
        }
    
        public void runImpl() {
            final Player player = this.getClient().getPlayer();
            //if (player != null && !player.getBanController().checkChat()) { // The getBanController.checkChat() method caused cash not to be shown in pearl shop after adding to db
            if (player != null) { // Temporary replaced above line with this. Cash Points show in game if added to db via web or direct modification of db
                this.getClient().sendPacket(new SMCash(player.getAccountId()));
            }
        }
    }



Advertisement