balanar12321 Posted September 27, 2020 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 20 Reputation: 0 Joined: 04/11/15 Last Seen: August 13, 2021 Share Posted September 27, 2020 //Event Reward prontera,196,173 script Reward 99,{ mes "[You Win]"; close2; warp "Save",0,0; if ( getcharid(2) == $eventgid ) getitem 969, 1; } How can i make this NPC Event Reward Giver to make it IP base? Quote Link to comment Share on other sites More sharing options...
0 Start_ Posted September 28, 2020 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 928 Reputation: 170 Joined: 04/05/13 Last Seen: 1 hour ago Share Posted September 28, 2020 Use getcharip (\doc\script_commands.txt line 2530) Quote Link to comment Share on other sites More sharing options...
0 TheDerpySupport Posted September 28, 2020 Group: Members Topic Count: 13 Topics Per Day: 0.01 Content Count: 208 Reputation: 60 Joined: 09/23/17 Last Seen: July 28, 2021 Share Posted September 28, 2020 11 hours ago, balanar12321 said: //Event Reward prontera,196,173 script Reward 99,{ mes "[You Win]"; close2; warp "Save",0,0; if ( getcharid(2) == $eventgid ) getitem 969, 1; } How can i make this NPC Event Reward Giver to make it IP base? It's a bad idea to do IP based rewards. People in a lot of countries have dynamic IPs or should I say, it's simple to change you static IP as well. The best thing you can do is create rewards that cant be traded, dropped, sold, or storaged. All your request would do is make an inconvenience to dual clienters or people in the same household who play the same server. Quote Link to comment Share on other sites More sharing options...
0 balanar12321 Posted September 29, 2020 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 20 Reputation: 0 Joined: 04/11/15 Last Seen: August 13, 2021 Author Share Posted September 29, 2020 (edited) On 9/27/2020 at 11:06 PM, TheDerpySupport said: It's a bad idea to do IP based rewards. People in a lot of countries have dynamic IPs or should I say, it's simple to change you static IP as well. The best thing you can do is create rewards that cant be traded, dropped, sold, or storaged. All your request would do is make an inconvenience to dual clienters or people in the same household who play the same server. i just want to make it IP Based to avoid abuse of prize every event if ($eventgid) { .@aid = getcharid(3, getguildmaster($eventgid)); if (.@aid && isloggedin(.@aid)) { getitem 1080, 10, .@aid; } } how to make this every guild member instead of guild master only, to recieve prizes at the end of the event Edited September 29, 2020 by balanar12321 Quote Link to comment Share on other sites More sharing options...
Question
balanar12321
//Event Reward
prontera,196,173 script Reward 99,{
mes "[You Win]";
close2;
warp "Save",0,0;
if ( getcharid(2) == $eventgid )
getitem 969, 1;
}
How can i make this NPC Event Reward Giver to make it IP base?
Link to comment
Share on other sites
3 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.