Elysium Posted April 23, 2016 Posted April 23, 2016 Hello, i would like to ask for a help on Emistry's Dynamic Shop. Which i add some additional script with weight checker however there is a problem on it. Will you check this ingame? How to fix the line: 150 http://pastebin.com/8pm7p5gq I don't know how to figure it out. Thank you Quote
0 REKT Posted April 23, 2016 Posted April 23, 2016 the script doesnt work because you have removed alot curley brackets from the script itself. by default the script itself already have the weight checking part, there isn't any need to add extra weight checking. http://pastebin.com/raw/zAw5KKqG Thank you Emistry. lastly in this part: dispbottom( "- "+ @bought_quantity[@i] +" x "+ getitemname( @bought_nameid[@i] ) +"", 0xFF6600 ); And this also: dispbottom( "[Notice] Purchased "+ getarraysize( @bought_nameid ) +" Item"+ ( getarraysize( @bought_nameid ) > 1 ? "s" : "") +".", 0xFF6600 ); How to make this things work out? Put this: dispbottom( "[Notice] Purchased : "+ @bought_quantity[.@i] +"x "+ getitemname(@bought_nameid[.@i]) +""+ (@bought_quantity[.@i] > 1 ? "s" : "") +".", 0xFF6600 ); That should work. Quote
0 Emistry Posted April 23, 2016 Posted April 23, 2016 the script doesnt work because you have removed alot curley brackets from the script itself. by default the script itself already have the weight checking part, there isn't any need to add extra weight checking. http://pastebin.com/raw/zAw5KKqG 1 Quote
0 Elysium Posted April 23, 2016 Author Posted April 23, 2016 the script doesnt work because you have removed alot curley brackets from the script itself. by default the script itself already have the weight checking part, there isn't any need to add extra weight checking. http://pastebin.com/raw/zAw5KKqG Thank you Emistry. lastly in this part: dispbottom( "- "+ @bought_quantity[@i] +" x "+ getitemname( @bought_nameid[@i] ) +"", 0xFF6600 ); And this also: dispbottom( "[Notice] Purchased "+ getarraysize( @bought_nameid ) +" Item"+ ( getarraysize( @bought_nameid ) > 1 ? "s" : "") +".", 0xFF6600 ); How to make this things work out? Quote
Question
Elysium
Hello, i would like to ask for a help on Emistry's Dynamic Shop.
Which i add some additional script with weight checker however there is a problem on it.
Will you check this ingame?
How to fix the line: 150
http://pastebin.com/8pm7p5gq
I don't know how to figure it out.
Thank you
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.