Thread: Zenith shop help! rep++ and thanking!!

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Zenith shop help! rep++ and thanking!! 
    im 12 idk what this is.

    Join Date
    Jul 2013
    Posts
    233
    Thanks given
    39
    Thanks received
    4
    Rep Power
    18
    please help! zenith source how can i make a shop buy from but not sell back to?
    i tryed to change false to true and true to false not working! yes im deleting packedshops.ib or we the ex is
    8478825d568a5005d1b5aa8a47abdb04.png
    plz help i rep++ and thanks!

    atleast a way i can make items unsellable ?
    Reply With Quote  
     

  2. #2  
    Donator
    hero x sword's Avatar
    Join Date
    Apr 2012
    Age
    28
    Posts
    863
    Thanks given
    93
    Thanks received
    100
    Rep Power
    26
    Quote Originally Posted by nusenia View Post
    please help! zenith source how can i make a shop buy from but not sell back to?
    i tryed to change false to true and true to false not working! yes im deleting packedshops.ib or we the ex is
    8478825d568a5005d1b5aa8a47abdb04.png
    plz help i rep++ and thanks!
    normaly it would be

    Code:
    public boolean sellItem(int itemID, int fromSlot, int amount) {
    Code:
    					if (c.myShopId == 31) {
    					c.sendMessage("Sorry, I dont buy my stock from Noobs like you. Try players");
    						return false;
    		}
    change the number 31 to your shop number.
    Reply With Quote  
     

  3. #3  
    im 12 idk what this is.

    Join Date
    Jul 2013
    Posts
    233
    Thanks given
    39
    Thanks received
    4
    Rep Power
    18
    Quote Originally Posted by hero x sword View Post
    normaly it would be

    Code:
    public boolean sellItem(int itemID, int fromSlot, int amount) {
    Code:
    					if (c.myShopId == 31) {
    					c.sendMessage("Sorry, I dont buy my stock from Noobs like you. Try players");
    						return false;
    		}
    change the number 31 to your shop number.
    what file do i find it?
    Reply With Quote  
     

  4. #4  
    Donator
    hero x sword's Avatar
    Join Date
    Apr 2012
    Age
    28
    Posts
    863
    Thanks given
    93
    Thanks received
    100
    Rep Power
    26
    Quote Originally Posted by nusenia View Post
    what file do i find it?
    Shopassistant.java
    Reply With Quote  
     

  5. #5  
    im 12 idk what this is.

    Join Date
    Jul 2013
    Posts
    233
    Thanks given
    39
    Thanks received
    4
    Rep Power
    18
    Quote Originally Posted by hero x sword View Post
    Shopassistant.java
    all i have a05da0e1305090bc44fe90df170b9867.png
    Reply With Quote  
     

  6. #6  
    Donator
    hero x sword's Avatar
    Join Date
    Apr 2012
    Age
    28
    Posts
    863
    Thanks given
    93
    Thanks received
    100
    Rep Power
    26
    Quote Originally Posted by nusenia View Post
    Shophandler i gues
    Reply With Quote  
     

  7. #7  
    im 12 idk what this is.

    Join Date
    Jul 2013
    Posts
    233
    Thanks given
    39
    Thanks received
    4
    Rep Power
    18
    Quote Originally Posted by hero x sword View Post
    Shophandler i gues
    nope :/ but thanks anyways
    Reply With Quote  
     

  8. #8  
    Donator
    hero x sword's Avatar
    Join Date
    Apr 2012
    Age
    28
    Posts
    863
    Thanks given
    93
    Thanks received
    100
    Rep Power
    26
    Quote Originally Posted by nusenia View Post
    nope :/ but thanks anyways
    sorry idk how its called in that revision
    Reply With Quote  
     

  9. #9  
    Super Donator
    Kova+'s Avatar
    Join Date
    Jan 2012
    Posts
    937
    Thanks given
    124
    Thanks received
    249
    Rep Power
    13
    Do what he said ^ in shop.java

    The boolean in unpackedShops is if it's a general store or not, meaning you can sell everything to it or only things in the shop.

    So add:


    Code:
    if (name == "Shop name")
    return;
    "Real programmers don't comment their code. If it was hard to write, it should be hard to understand." - Unkown
    “ Any fool can write code that a computer can understand. Good programmers write code that humans can understand. ” - Martin Fowler
    Reply With Quote  
     

  10. #10  
    Registered Member
    maffia-rpg's Avatar
    Join Date
    Jul 2011
    Posts
    2,775
    Thanks given
    587
    Thanks received
    759
    Rep Power
    120
    Wrong section.
    Quote Originally Posted by Nando View Post
    why would I care about trying to get you to care about me homosexual?
    back to coding shit revisions
    1080% lost.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 2
    Last Post: 08-18-2013, 08:45 PM
  2. Replies: 0
    Last Post: 08-18-2013, 05:07 PM
  3. Cleaner Shops? - Will Rep And Thank! -
    By Tharlew in forum Help
    Replies: 5
    Last Post: 12-28-2012, 08:33 PM
  4. Replies: 2
    Last Post: 12-04-2012, 12:51 AM
  5. Help (rep++ and thank)
    By Norcotic in forum Application Development
    Replies: 4
    Last Post: 12-11-2011, 01:47 PM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •