Eucharist96 Posted December 9, 2011 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 54 Reputation: 2 Joined: 12/09/11 Last Seen: February 28, 2013 Share Posted December 9, 2011 can some one help me to make a Npc for newbie?? (Freebies) Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 1, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 03:39 PM Share Posted October 1, 2012 Hey guys, what if: 1: I'd like to make it so they can select one item from a list of about 6 items which one they wanted ( account based ) 2: It would be 1 random item from a list of 6 items ( also account based ) Thanks Solved ... http://rathena.org/board/topic/71749-welcome-packageitem/ just in case someone didnt notice it. xD Quote Link to comment Share on other sites More sharing options...
Yoona Posted July 13, 2013 Group: Members Topic Count: 153 Topics Per Day: 0.03 Content Count: 567 Reputation: 18 Joined: 04/15/13 Last Seen: April 21, 2016 Share Posted July 13, 2013 Please take note that IP address can be easily changed. Anyway, this is the script: amatsu,116,146,3 script Seyra 90,{ set .@n$, "[Seyra]"; setarray .@rwd[0],2115,1,2357,1,2421,1,2524,1; // Rewards: <item id>,<item amount> query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + getcharid(3) + "", .@lip$); if ( getd("$" + .@lip$ + "_NG") > 0 || #NewbieGift > 0) { mes .@n$; mes "I'm sorry, the rewards are exclusively for new players."; close; } mes .@n$; mes "Welcome! Here are some free gifts"; mes "for newcomers:"; for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 2 ) mes .@rwd[.@i+1] + " x " + getitemname(.@rwd[.@i]); close2; set #NewbieGift, 1; setd "$" + .@lip$ + "_NG", getd("$" + .@lip$ + "_NG") + 1; for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 2 ) getitem .@rwd[.@i], .@rwd[.@i+1]; end; OnInit: waitingroom "Newbie Gift!",0; end; } soo, if IP can easily changed is there any other way to prevent that? by using this script? please Quote Link to comment Share on other sites More sharing options...
whitehawk_ro Posted August 22, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 07/25/13 Last Seen: November 21, 2014 Share Posted August 22, 2013 it works!! yeahhh thx guysss Quote Link to comment Share on other sites More sharing options...
aimee Posted September 11, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 55 Reputation: 2 Joined: 09/11/13 Last Seen: February 21, 2024 Share Posted September 11, 2013 thanks Quote Link to comment Share on other sites More sharing options...
kenta212 Posted December 26, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 6 Reputation: 0 Joined: 11/26/13 Last Seen: January 1, 2014 Share Posted December 26, 2013 why not working? sux Quote Link to comment Share on other sites More sharing options...
aimee Posted August 25, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 55 Reputation: 2 Joined: 09/11/13 Last Seen: February 21, 2024 Share Posted August 25, 2014 Hello, how about freebies with choices?? Quote Link to comment Share on other sites More sharing options...
Ronald Posted August 25, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 250 Reputation: 21 Joined: 06/04/14 Last Seen: November 17, 2024 Share Posted August 25, 2014 (edited) Hello, how about freebies with choices?? prontera,142,170,5 script Freebies 936,{ mes "[Hello]"; mes "[I can give you a free gift based on your future job.]"; mes "[Please choose the correct item for the future job]"; if(!#Freebie) { mes "Select one:"; next; switch(select("Swordsman:Magician - Ninja:Archer - Gunslinger:Acolyte:Merchant - Taekwon :Thief")) { case 1: getitem 12537,1; getitem 7256,1500; getitem 7726,1500; //Item for Swordsman break; case 2: getitem 12537,1; getitem 7256,1500; getitem 7726,1500; //Item for Magician - Ninja break; case 3: getitem 12537,1; getitem 7256,1500; getitem 7726,1500; //Item for Archer - Gunslinger break; case 4: getitem 12537,1; getitem 7256,1500; getitem 7726,1500; //Item for Acolyte break; case 5: getitem 12537,1; getitem 7256,1500; getitem 7726,1500; //Item for Merchant - Taekwon break; case 6: getitem 12537,1; getitem 7256,1500; getitem 7726,1500; //Item for Thief break; } set #Freebie, 1; close; } OnInit: delwaitingroom; waitingroom "Get your freebies here ! ",0; end; } Just edit the Items. Edited August 25, 2014 by Ronald Quote Link to comment Share on other sites More sharing options...
aimee Posted August 26, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 55 Reputation: 2 Joined: 09/11/13 Last Seen: February 21, 2024 Share Posted August 26, 2014 yeah I already did it , thanks Quote Link to comment Share on other sites More sharing options...
Question
Eucharist96
can some one help me to make a Npc for newbie?? (Freebies)
Link to comment
Share on other sites
33 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.