Hi guys Im using this script (credit to the owner)
prontera,147,174,3 script Freebies 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;
}
Yeah its working fine on my test server. But I think this is Ip address bound, because when I try to create another account. The npc will not give me anymore freebies.
Because in some instances our players were playing on a computer shop in a same pc but different two people.
Question
rayleigh
Hi guys Im using this script (credit to the owner)
Yeah its working fine on my test server. But I think this is Ip address bound, because when I try to create another account. The npc will not give me anymore freebies.
Because in some instances our players were playing on a computer shop in a same pc but different two people.
How can I make this account bound?
Thanks for those who will reply.
Link to comment
Share on other sites
5 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.