McNeri Posted October 17, 2012 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 98 Reputation: 2 Joined: 01/24/12 Last Seen: May 17, 2015 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted October 17, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 22 hours ago Share 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 Link to comment Share on other sites More sharing options...
McNeri Posted October 17, 2012 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 98 Reputation: 2 Joined: 01/24/12 Last Seen: May 17, 2015 Author Share Posted October 17, 2012 NO NPC APPEAR SIR Guild_Pack_Giver.txt Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 17, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 22 hours ago Share 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 Link to comment Share on other sites More sharing options...
Spre Posted October 17, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 103 Reputation: 28 Joined: 09/20/12 Last Seen: January 14, 2019 Share 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 Link to comment Share on other sites More sharing options...
McNeri Posted October 19, 2012 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 98 Reputation: 2 Joined: 01/24/12 Last Seen: May 17, 2015 Author Share 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 Link to comment Share on other sites More sharing options...
Spre Posted October 19, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 103 Reputation: 28 Joined: 09/20/12 Last Seen: January 14, 2019 Share 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 Link to comment Share on other sites More sharing options...
McNeri Posted October 19, 2012 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 98 Reputation: 2 Joined: 01/24/12 Last Seen: May 17, 2015 Author Share 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 Link to comment Share on other sites More sharing options...
McNeri Posted October 24, 2012 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 98 Reputation: 2 Joined: 01/24/12 Last Seen: May 17, 2015 Author Share Posted October 24, 2012 SOLVED Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted February 9, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted February 9, 2013 SOLVED can u share it ? Quote Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.