Elysium Posted April 23, 2016 Share 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 Link to comment Share on other sites More sharing options...
0 Keysito Posted April 23, 2016 Share 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[[email protected]] +"x "+ getitemname(@bought_nameid[[email protected]]) +""+ (@bought_quantity[[email protected]] > 1 ? "s" : "") +".", 0xFF6600 ); That should work. Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted April 23, 2016 Share 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 Link to comment Share on other sites More sharing options...
0 Elysium Posted April 23, 2016 Author Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites