lzgames Posted October 19, 2016 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 11/04/15 Last Seen: December 8, 2016 Share Posted October 19, 2016 (edited) hi i need help about use this script : https://github.com/rathena/rathena/blob/master/npc/custom/quests/quest_shop.txt Original NPC and Callfunc : // Shop NPCs -- supplying no argument displays entire menu. // callfunc "qshop"{,<shop ID>{,<shop ID>{,...}}}; //============================================================ prontera,164,203,6 script Quest Shop#1 998,{ callfunc "qshop"; } Original NPC Shop ID : // ----------------------------------------------------------- // Shop IDs -- to add shops, copy dummy data at bottom of file. // setarray .Shops$[1],"<Shop 1>","<Shop 2>"{,...}; // ----------------------------------------------------------- setarray .Shops$[1],"Headgears","Weapons","Other"; Original Shop Item : // ----------------------------------------------------------- // Quest items -- do NOT use a reward item more than once! // Add(<shop ID>,<reward ID>,<reward amount>, // <Zeny cost>,<point cost>, // <required item ID>,<required item amount>{,...}); // ----------------------------------------------------------- Add(1,5022,1,0,0,7086,1,969,10,999,40,1003,50,984,2); Add(1,5032,1,0,0,1059,250,2221,1,2227,1,7063,600); Add(1,5027,1,0,0,2252,1,1036,400,7001,50,4052,1); Add(1,5045,1,0,0,2252,1,1054,450,943,1200); Add(2,1224,1,0,0,7297,30,969,10,999,50,714,10); Add(2,1225,1,0,0,7292,30,969,10,999,50,714,10); Add(3,531,1,3,0,512,1,713,1); Add(3,532,1,3,0,513,1,713,1); Add(3,533,1,3,0,514,1,713,1); Add(3,534,1,3,0,515,1,713,1); Original Dummy Shop Data : // Dummy shop data -- copy as needed. //============================================================ - shop qshop1 -1,909:-1 - shop qshop2 -1,909:-1 - shop qshop3 -1,909:-1 - shop qshop4 -1,909:-1 - shop qshop5 -1,909:-1 what should i do if i want to make 3 npc with defferent place and callfunc like : prontera,162,203,6 script Headgears and Weapons 998,{ callfunc "qshop"; } <- sale shop 1 & 2 item prontera,164,203,6 script Headgears and Other 998,{ callfunc "qshop"; } <- sale shop 1 & 3 item prontera,168,203,6 script Weapons and Other 998,{ callfunc "qshop"; } <- sale shop 2 & 3 item Thankyouuuuuuuuuuuuuuuuu Edited October 19, 2016 by lzgames Quote Link to comment Share on other sites More sharing options...
0 Sryx Posted October 19, 2016 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 520 Reputation: 64 Joined: 11/19/11 Last Seen: October 19, 2024 Share Posted October 19, 2016 Here's the guide. callfunc "qshop"{,<shop ID>{,<shop ID>{,...}}}; Anway try this. prontera,162,203,6 script Headgears and Weapons 998,{ callfunc "qshop",1,2; } <- sale shop 1 & 2 item prontera,164,203,6 script Headgears and Other 998,{ callfunc "qshop",1,3; } <- sale shop 1 & 3 item prontera,168,203,6 script Weapons and Other 998,{ callfunc "qshop",2,3; } <- sale shop 2 & 3 item Quote Link to comment Share on other sites More sharing options...
0 lzgames Posted October 19, 2016 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 11/04/15 Last Seen: December 8, 2016 Author Share Posted October 19, 2016 (edited) Here's the guide. callfunc "qshop"{,<shop ID>{,<shop ID>{,...}}}; Anway try this. prontera,162,203,6 script Headgears and Weapons 998,{ callfunc "qshop",1,2; } <- sale shop 1 & 2 item prontera,164,203,6 script Headgears and Other 998,{ callfunc "qshop",1,3; } <- sale shop 1 & 3 item prontera,168,203,6 script Weapons and Other 998,{ callfunc "qshop",2,3; } <- sale shop 2 & 3 item OMG i try with : prontera,162,203,6 script Headgears and Weapons 998,{ callfunc "qshop"{,1{,2}; before hahaha big thanks dudeeeee. SOLVED Edited October 19, 2016 by lzgames Quote Link to comment Share on other sites More sharing options...
Question
lzgames
hi i need help about use this script : https://github.com/rathena/rathena/blob/master/npc/custom/quests/quest_shop.txt
Original NPC and Callfunc :
Original NPC Shop ID :
Original Shop Item :
Original Dummy Shop Data :
what should i do if i want to make 3 npc with defferent place and callfunc like :
Thankyouuuuuuuuuuuuuuuuu
Edited by lzgamesLink to comment
Share on other sites
2 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.