Jump to content
  • 0
renzmart

Cash Shop Items are Not Showing

Question

Hi guys,

 

I'm having a hard time on cash shop button beside the map. when i click it, items are not showing but my script's correct. I'm using 2013 ragexe

 

 

//================= Hercules Database =====================================//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright © 2013-2015  Hercules Dev Team
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program.  If not, see <http://www.gnu.org/licenses/>.
//================= More Information ======================================
//= http://herc.ws/board/topic/367-introducing-cash-shop-support/
//================= Description ===========================================
// This file handles the entire Cashshop. You can simply
// add in any amount of items you like within each category.
// Please keep in mind that the Cashshop does not work
// with ragexere clients.
// Categories can be empty or even missing, but, if
// present, their names must be kept as cat_<n>, where
// <n> is a valid tab index, as descripbed in 'enum
// CASH_SHOP_TABS' in clif.c (normally 0 through 7)
//=========================================================================


    cat_0: { //Vip Cards
        ID:4603:1000
        ID4604:500
        ID4590:500
        ID4635:400
        ID4602:400
        ID4603:400
        ID4604:400
        ID4606:500
        ID4633:120
        ID4634:120
        ID4635:200
        ID4651:200
        ID4649:200
        ID4650:200
        ID4658:200
        ID4662:600
    }


    cat_1: { //New Cards
        ID4603:100
        ID4579:100
        ID4593:100
        ID4594:100
        ID4595:100
        ID4596:100
        ID4597:100
        ID4574:100
        ID4575:100
        ID4577:100
        ID4578:100
        ID4581:100
        ID4692:100
        ID4694:200
        ID4575:200
        ID4577:200
        ID4578:300
        ID4581:100
        ID4692:100
        ID4691:100
        ID4693:100
        ID4694:100
        ID4683:100
        ID4671:500
        ID4672:500
        ID4570:500
        ID4564:500
        ID4566:500
        ID4567:500
        ID4568:500
        ID4569:500
        ID4582:150
        ID4584:100
        ID4585:100
        ID4586:100
        ID4587:100
        ID4588:100
        ID4589:100
        ID4590:100
        ID4592:100
        ID4607:100
        ID4608:100
        ID4629:100
        ID4630:100
        ID4631:100
        ID4632:100
        ID4628:100


    }


    cat_2: { //Limited
        ID2997:1000
        ID2999:300
    }


    cat_3: { //Rental
        ID515:100
        Carrot_Juice:250
    }


    cat_4: { //Permanent
        Green_Herb:100
        ID510:250
    }


    cat_5: { //Scroll
        ID501:100
        ID502:250
    }


    cat_6: { //Usable
        White_Potion:150
        Blue_Potion:500
    }


    cat_7: { //Other
        ID909:400
        ID907:500
    }
}
)
 

 

 
Please Help :D
Edited by Dastgir
Codebox

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Due to error in db?

please see map-server , you would get error easily,

 

 

The one I can spot is

 

ID:4603:1000
 

should be

ID4603: 1000

 


 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.