shop.xml

Results 1 to 17 of 17
  1. #1
    Account Upgraded | Title Enabled! randy1234 is offline
    MemberRank
    Mar 2009 Join Date
    SingaporeLocation
    1,196Posts

    shop.xml

    just a question

    i added a shortgun in the shop and it dosnt show

    Code:
    shop.xml:
    <SELL itemid="500031
    Code:
    zitem.xml
    
    <ITEM id="500031" name="Green SG" mesh_name="shotgun70" totalpoint="0" type="range" res_sex="a" res_level="0" slot="range" weapon="shotgun" weight="16" iscashitem="true" bt_price="0" delay="900" damage="10" ctrl_ability="85" magazine="5" reloadtime="5" slug_output="true" gadget_id="0" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" color="#FFFFFFFF" image_id="2" bullet_image_id="0" magazine_image_id="0" desc="Green Shotgun." snd_reload="we_shotgunpa_reload" snd_fire="we_shotgunpa_fire" snd_dryfire="762arifle_dryfire" maxbullet="10" effect_id="7" />
    I Used the cp and send it to myself and it works fine.

    it dosnt show and no i dont want to replce the id codes with other shortgun

    and no i dont want to build a new shop.xml

    if i do i will have to delte the GM STUFF and its stupid

    i just want to fix this


    Thanks

    Randy ~
    Last edited by randy1234; 03-11-09 at 04:04 PM.


  2. #2
    Account Upgraded | Title Enabled! lxchadxl is offline
    MemberRank
    Nov 2008 Join Date
    Hai 2 u, i r Chad.Location
    442Posts

    Re: shop.xml

    Anyitem above 500000 is considered a Cash item. so change it's ID to be below 500000 and it'l show up.

  3. #3
    Account Upgraded | Title Enabled! randy1234 is offline
    MemberRank
    Mar 2009 Join Date
    SingaporeLocation
    1,196Posts

    Re: shop.xml

    what can i do to make it 9999?

  4. #4
    Account Upgraded | Title Enabled! lxchadxl is offline
    MemberRank
    Nov 2008 Join Date
    Hai 2 u, i r Chad.Location
    442Posts

    Re: shop.xml

    you mean 999999. For the answer to that, check out gregon's thread.
    But I doubt you'd ever have more than 500 thousand items. So this isn't really a "barrier"

  5. #5
    Account Upgraded | Title Enabled! randy1234 is offline
    MemberRank
    Mar 2009 Join Date
    SingaporeLocation
    1,196Posts

    Re: shop.xml

    is there a tut on it?

  6. #6
    Account Upgraded | Title Enabled! lxchadxl is offline
    MemberRank
    Nov 2008 Join Date
    Hai 2 u, i r Chad.Location
    442Posts

    Re: shop.xml

    I'm not very sure. Use the search button.

  7. #7
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: shop.xml

    Quote Originally Posted by lxchadxl View Post
    Anyitem above 500000 is considered a Cash item. so change it's ID to be below 500000 and it'l show up.
    Maybe you should read the zitem code he posted first instead of saying what you just did. The bounty price is 0 in it. It should work perfectly.

    This will solve your problem. You didn't add the Shop code properly.

    The correct way to add it to the shop (in the shop.xml) is:
    Code:
    <SELL itemid="500031" />

    EDIT: 800th post! yay!

    Hit the button if I helped.

  8. #8
    Account Upgraded | Title Enabled! lxchadxl is offline
    MemberRank
    Nov 2008 Join Date
    Hai 2 u, i r Chad.Location
    442Posts

    Re: shop.xml

    Quote Originally Posted by phoenix_147 View Post
    Maybe you should read the zitem code he posted first instead of saying what you just did. The bounty price is 0 in it. It should work perfectly.

    This will solve your problem. You didn't add the Shop code properly.

    The correct way to add it to the shop (in the shop.xml) is:
    Code:
    <SELL itemid="500031" />

    EDIT: 800th post! yay!

    Hit the button if I helped.
    o ye, overlooked that part =/.
    My bad.

  9. #9
    Animu Addicted Number12 is offline
    MemberRank
    Apr 2008 Join Date
    Old Sunny CALocation
    1,264Posts

    Re: shop.xml

    Quote Originally Posted by phoenix_147 View Post
    Maybe you should read the zitem code he posted first instead of saying what you just did. The bounty price is 0 in it. It should work perfectly.

    This will solve your problem. You didn't add the Shop code properly.

    The correct way to add it to the shop (in the shop.xml) is:
    Code:
    <SELL itemid="500031" />

    EDIT: 800th post! yay!

    Hit the button if I helped.
    congrads on the 800th post <3

  10. #10
    Account Upgraded | Title Enabled! randy1234 is offline
    MemberRank
    Mar 2009 Join Date
    SingaporeLocation
    1,196Posts

    Re: shop.xml

    K i will try

    btw note do you remeber me?

    ---------- Post added at 02:59 AM ---------- Previous post was at 02:28 AM ----------

    dosnt work!!

    HELP?

  11. #11
    Account Upgraded | Title Enabled! lxchadxl is offline
    MemberRank
    Nov 2008 Join Date
    Hai 2 u, i r Chad.Location
    442Posts

    Re: shop.xml

    Did you do what i said? or what pheonix said.

  12. #12
    Account Upgraded | Title Enabled! randy1234 is offline
    MemberRank
    Mar 2009 Join Date
    SingaporeLocation
    1,196Posts

    Re: shop.xml

    i did what pheonix said i will try yours later and see if it works i am on TV ATM.

  13. #13
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: shop.xml

    Ooops I too overlooked your zitem. It's funny the way no one spotted it till now xD.

    Change
    Code:
    iscashitem="true"
    To
    Code:
    iscashitem="false"
    Yes, your way of adding it in the shop.xml was also wrong so here it is, again:

    Code:
    <SELL itemid="500031" />
    Hit the button if I helped.
    Last edited by Phoenix; 04-11-09 at 05:03 PM.

  14. #14
    人◕ ‿‿ ◕人 Forean is offline
    MemberRank
    Jul 2008 Join Date
    1,183Posts

    Re: shop.xml

    How about you start working on the item id's from a lower point.

    or put iscashitem=false

    Then

    start all items from a low id (That isnt taken)

    such as

    10402

    and go up from there

    10403
    10404
    10405

    and so on. should work.. If it just doesnt show up like it shows in shop but the pic isnt right. then you are doing the model part wrong.

  15. #15
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: shop.xml

    Keeping a low ID wont matter. His way of adding it to the shop was totally wrong and iscashitem was still true. What I said woulda solved his problem.

  16. #16
    Account Upgraded | Title Enabled! randy1234 is offline
    MemberRank
    Mar 2009 Join Date
    SingaporeLocation
    1,196Posts

    Re: shop.xml

    phoenix_147

    Thanks!

  17. #17
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: shop.xml

    Quote Originally Posted by randy1234 View Post
    phoenix_147

    Thanks!
    Hit the thanks button please.



Advertisement