Thread: annoying shop..

Results 1 to 4 of 4
  1. #1 annoying shop.. 
    🍕

    Linus's Avatar
    Join Date
    Dec 2008
    Age
    31
    Posts
    2,779
    Thanks given
    974
    Thanks received
    411
    Rep Power
    0
    item = 4151 Abyssal_whip A_weapon_from_the_abyss. 1 2000000 3

    Alright, lets say I want to have the whip in one store, for 2m and then have it in another shop for 1 tokkul, So it would read from the "1" nstead of "2m".. How would I do this?

    I have no clue what so ever..
    Last edited by Linus; 05-30-2010 at 09:10 PM. Reason: suck it.

    ╠╬╣
    ╦╦
    ╠╬╬╬╣
    ╠╬╬╬╬╬╬╣
    ╠╬╬╬╬╬╬╣
    ╚╩╩╩╩╩╩╝

    ╠╬╬╬╣



    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2008
    Posts
    203
    Thanks given
    1
    Thanks received
    3
    Rep Power
    6
    prices notepad 1st number is the id 2nd number is shop buy price


    just assuming your using project insanity
    BAM
    Reply With Quote  
     

  3. #3  
    🍕

    Linus's Avatar
    Join Date
    Dec 2008
    Age
    31
    Posts
    2,779
    Thanks given
    974
    Thanks received
    411
    Rep Power
    0
    I r against mainstream. Delta will have it's glory again.

    also.. That post is considered spam, cause I say that I want to know how to make it load the 1 instead of 2m..
    Not what to change in my item cfg..

    ╠╬╣
    ╦╦
    ╠╬╬╬╣
    ╠╬╬╬╬╬╬╣
    ╠╬╬╬╬╬╬╣
    ╚╩╩╩╩╩╩╝

    ╠╬╬╬╣



    Reply With Quote  
     

  4. #4  
    Registered Member Yodoxin's Avatar
    Join Date
    Sep 2008
    Age
    33
    Posts
    190
    Thanks given
    0
    Thanks received
    10
    Rep Power
    54
    Well you could just over-ride the item file inside your buying method for the specific shop by having something like:

    Code:
    if (itemId == 4151) {
    	price = 1;
    }
    or put the items from the tokkul shop in an array:

    Code:
    int[][] tokkulShop = {{4151, 1}, {1050, 2000}} etc.
    
    for (int i = 0; i < tokkulShop.length; i++) {
    	if (itemId == tokkulShop[i][0]) {
    		price = tokkulShop[i][1];
    	}
    }
    or something along those lines...


    or you could completely edit your item information loading technique and have a tokkul price included in the items file, but that could take a while.
    *Ahem* I will not be doing that again...
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

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