McNeri Posted October 17, 2012 Posted October 17, 2012 Hi, Can anybody edit this one, unclickable npc... And can you add the script, npc will give gpacks to each guild member if the guild already have 8 members online, and it will record the account id not IP. Guild_Pack_Giver.txt Quote
Emistry Posted October 17, 2012 Posted October 17, 2012 you are missing 1 "}" at the end of the script... and..what is the usage of this part ...? it never run in your script.. set .@Minimum, 8; query_sql("SELECT `account_id` FROM `char` WHERE `guild_id` = "+getcharid(2)+";",.@i); if (getarraysize(.@i) < .@Minimum) { mes "Your guild must have at least "+.@Minimum+" members for you to receive a guild pack."; close; } i believe it should be below this line.. case 1: Quote
McNeri Posted October 17, 2012 Author Posted October 17, 2012 NO NPC APPEAR SIR Guild_Pack_Giver.txt Quote
Emistry Posted October 17, 2012 Posted October 17, 2012 L_AG: mes "^616D7EYou Already Given a Package"; close; { change to L_AG: mes "^616D7EYou Already Given a Package"; close; } Quote
Spre Posted October 17, 2012 Posted October 17, 2012 you need to look at your map-server while it is loading, it will inform you of all NPC errors/incorrect syntax. Quote
McNeri Posted October 19, 2012 Author Posted October 19, 2012 thanks emistry its working.. but i have a questions; - This script gives gpacks to each guild members not to guild master? - This script also gives gpacks, the 8 members of guild must be online? And the other members of guild were offline will not recieve the gpack. thanks in advance... bump ??? any response? Quote
Spre Posted October 19, 2012 Posted October 19, 2012 first. set .@frnd2$,strcharinfo(0); where is this used? I do not see it, but you have it set. and I am confused you contradict yourself, do you want ONLY the guild master to recieve said items, OR is it everyone BUT the guildmaster recieves them? Quote
McNeri Posted October 19, 2012 Author Posted October 19, 2012 first. set .@frnd2$,strcharinfo(0); where is this used? I do not see it, but you have it set. and I am confused you contradict yourself, do you want ONLY the guild master to recieve said items, OR is it everyone BUT the guildmaster recieves them? yes, is it everyone BUT the guildmaster recieves them. Quote
Question
McNeri
Hi,
Can anybody edit this one, unclickable npc...
And can you add the script, npc will give gpacks to each guild member if the guild already have 8 members online,
and it will record the account id not IP.
Guild_Pack_Giver.txt
9 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.