Q

Results 1 to 8 of 8
  1. #1
    Valued Member Shad0w is offline
    MemberRank
    Mar 2008 Join Date
    136Posts

    Q

    Hello,

    sorry for this post, but i was searching long time and i didnt find any guide, how to make bank NPC ( exchange money to some bank note and back). If some1 can help me, thanks =)


  2. #2
    Apprentice lolol_107 is offline
    MemberRank
    Mar 2007 Join Date
    19Posts

    Re: Q

    simply make an item . buy price 1kkk .. sell price 1kkk
    and make NPC for it :D

  3. #3
    Valued Member Shad0w is offline
    MemberRank
    Mar 2008 Join Date
    136Posts

    Re: Q

    lol :D yes thats good idea xD lmao im really noob

  4. #4
    Valued Member Shad0w is offline
    MemberRank
    Mar 2008 Join Date
    136Posts

    Re: Q

    Oh shit, i made this NPC, everything is good. everything works. When i wanna sell the item, i got right money (example 100kk bank note = sold for 100kk), but when im buying this item, i dont buy it for 100kk but just for like 14565621 or something like that. Can some1 say me, how can i fix it?

    here is my inititem:
    100kk bank note
    (item (name 6000) (Index 6100) (Image "item6100") (desc 6100) (class general etc) (code 4 9 0 0) (country 2) (use 1) (plural 1) (buy 100000000) (sell 100000000) )
    500kk bank note
    (item (name 6001) (Index 6101) (Image "item6101") (desc 6101) (class general etc) (code 4 9 0 0) (country 2) (use 1) (plural 1) (buy 500000000) (sell 500000000) )
    1kkk bank note
    (item (name 6002) (Index 6102) (Image "item6102") (desc 6102) (class general etc) (code 4 9 0 0) (country 2) (use 1) (plural 1) (buy 1000000000) (sell 1000000000) )
    Thanks for help

  5. #5
    Banned WhiteStripes is offline
    BannedRank
    Jun 2008 Join Date
    141Posts

    Re: Q

    Try changing "plural" or "use" to "0" or something

  6. #6
    Valued Member Shad0w is offline
    MemberRank
    Mar 2008 Join Date
    136Posts

    Re: Q

    i tried plurar use
    1 1
    1 0
    0 1
    0 0

    and its same. everytime im buying it for 14kk and something. dunno why :/

  7. #7
    Alpha Member Flohle is offline
    MemberRank
    Oct 2006 Join Date
    GermanyLocation
    1,942Posts

    Re: Q

    make it not like this :D you have to "sell" over quest.txt

    Code:
    Example from KalMax Repack:
    
    ;@@@@@@@@@@@@@@@@@Banker
    
    ;Geons to Bronze Geon bar
    (quest (index 7000 96)
    	(case (if (item (31 10000000)))
    		(then (item (out 31 10000000) (in 4001 0 1))))
    	(case (then (html )))
    )
    
    ;Geons to Silver Geon bar
    (quest (index 7000 97)
    	(case (if (item (31 50000000)))
    		(then (item (out 31 50000000) (in 4002 0 1))))
    	(case (then (html )))
    )
    
    ;Geons to Gold Geon bar
    (quest (index 7000 98)
    	(case (if (item (31 100000000)))
    		(then (item (out 31 100000000) (in 4003 0 1))))
    	(case (then (html )))
    )
    
    ;Bronze Geon ber to geons
    (quest (index 7000 99)
    	(case (if (item (4001 1)))
    		(then (item (out 4001 1) (in 31 0 10000000))))
    	(case (then (html )))
    )
    
    ;Silver Geon ber to geons
    (quest (index 7000 100)
    	(case (if (item (4002 1)))
    		(then (item (out 4002 1) (in 31 0 50000000))))
    	(case (then (html )))
    )
    
    ;Gold Geon ber to geons
    (quest (index 7000 101)
    	(case (if (item (4003 1)))
    		(then (item (out 4003 1) (in 31 0 100000000))))
    	(case (then (html )))
    )

  8. #8
    Valued Member Shad0w is offline
    MemberRank
    Mar 2008 Join Date
    136Posts

    Re: Q

    aha :D thanks very much ^^



Advertisement