Jniko Posted April 23, 2017 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 42 Reputation: 2 Joined: 03/24/17 Last Seen: February 4, 2020 Share Posted April 23, 2017 Good day! Does anybody knows how to achieve this? or does anybody have a script for an NPC to convert a player_ID = 0 to player_ID = 1 for 12hours to enable Super Player privileges ? Thank you! Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted April 23, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted April 23, 2017 (edited) prontera,155,181,5 script Sample#vip 4_F_KAFRA1,{ OnTalk: if ( vip_status(0) ) { mes "You're VIP."; } else { mes "Buy VIP ?"; .@i = select( .vip_day[0] + " Days", .vip_day[1] + " Days", .vip_day[2] + " Days" ) - 1; mes "VIP "+.vip_day[.@i]+" Days"; mes "Cost: "+.vip_cashpoint[.@i]+" or "+.vip_pod[.@i]+"x "+getitemname( .pod_id ); if ( select( "Pay by CashPoint","Pay by "+getitemname( .pod_id ) ) == 1 ) { if ( #CASHPOINTS < .vip_cashpoint[.@i] ) { mes "Not enough cash point. You got only "+#CASHPOINTS; } else { #CASHPOINTS -= .vip_cashpoint[.@i]; vip_time ( .vip_day[.@i] * 1440 ); } } else { if ( countitem( .pod_id ) < .vip_pod[.@i] ) { mes "Not enough "+getitemname( .pod_id )+". You got only "+countitem( .pod_id ); } else { delitem .pod_id,.vip_pod[.@i]; vip_time ( .vip_day[.@i] * 1440 ); } } } close; OnCheck: if (vip_status(0)) { dispbottom "Expire Time : "+vip_status(3); } end; OnInit: .pod_id = 7179; setarray .vip_day,1,7,30; setarray .vip_cashpoint,4000,7000,10000; setarray .vip_pod,1,2,3; bindatcmd("vip", strnpcinfo(3)+"::OnTalk"); bindatcmd("vipstatus", strnpcinfo(3)+"::OnCheck"); end; } this script for 1,7,30 vip subscription, with commands @vip @vipstatus //credits to emistry 2617,auto_trade_voucher,Voucher of autotrade,2,10000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ atcommand "@autotrade"; },{},{} this is autotrade coupon Edited April 23, 2017 by Cyro 1 Quote Link to comment Share on other sites More sharing options...
0 Jniko Posted April 25, 2017 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 42 Reputation: 2 Joined: 03/24/17 Last Seen: February 4, 2020 Author Share Posted April 25, 2017 On 4/24/2017 at 1:48 AM, Cyro said: prontera,155,181,5 script Sample#vip 4_F_KAFRA1,{ OnTalk: if ( vip_status(0) ) { mes "You're VIP."; } else { mes "Buy VIP ?"; .@i = select( .vip_day[0] + " Days", .vip_day[1] + " Days", .vip_day[2] + " Days" ) - 1; mes "VIP "+.vip_day[.@i]+" Days"; mes "Cost: "+.vip_cashpoint[.@i]+" or "+.vip_pod[.@i]+"x "+getitemname( .pod_id ); if ( select( "Pay by CashPoint","Pay by "+getitemname( .pod_id ) ) == 1 ) { if ( #CASHPOINTS < .vip_cashpoint[.@i] ) { mes "Not enough cash point. You got only "+#CASHPOINTS; } else { #CASHPOINTS -= .vip_cashpoint[.@i]; vip_time ( .vip_day[.@i] * 1440 ); } } else { if ( countitem( .pod_id ) < .vip_pod[.@i] ) { mes "Not enough "+getitemname( .pod_id )+". You got only "+countitem( .pod_id ); } else { delitem .pod_id,.vip_pod[.@i]; vip_time ( .vip_day[.@i] * 1440 ); } } } close; OnCheck: if (vip_status(0)) { dispbottom "Expire Time : "+vip_status(3); } end; OnInit: .pod_id = 7179; setarray .vip_day,1,7,30; setarray .vip_cashpoint,4000,7000,10000; setarray .vip_pod,1,2,3; bindatcmd("vip", strnpcinfo(3)+"::OnTalk"); bindatcmd("vipstatus", strnpcinfo(3)+"::OnCheck"); end; } this script for 1,7,30 vip subscription, with commands @vip @vipstatus //credits to emistry 2617,auto_trade_voucher,Voucher of autotrade,2,10000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ atcommand "@autotrade"; },{},{} this is autotrade coupon Thank you again Cyro will try this tomorrow Quote Link to comment Share on other sites More sharing options...
0 core Posted January 3, 2018 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 135 Reputation: 1 Joined: 05/21/17 Last Seen: June 11, 2018 Share Posted January 3, 2018 On 4/23/2017 at 10:48 AM, Cyro said: prontera,155,181,5 script Sample#vip 4_F_KAFRA1,{ OnTalk: if ( vip_status(0) ) { mes "You're VIP."; } else { mes "Buy VIP ?"; .@i = select( .vip_day[0] + " Days", .vip_day[1] + " Days", .vip_day[2] + " Days" ) - 1; mes "VIP "+.vip_day[.@i]+" Days"; mes "Cost: "+.vip_cashpoint[.@i]+" or "+.vip_pod[.@i]+"x "+getitemname( .pod_id ); if ( select( "Pay by CashPoint","Pay by "+getitemname( .pod_id ) ) == 1 ) { if ( #CASHPOINTS < .vip_cashpoint[.@i] ) { mes "Not enough cash point. You got only "+#CASHPOINTS; } else { #CASHPOINTS -= .vip_cashpoint[.@i]; vip_time ( .vip_day[.@i] * 1440 ); } } else { if ( countitem( .pod_id ) < .vip_pod[.@i] ) { mes "Not enough "+getitemname( .pod_id )+". You got only "+countitem( .pod_id ); } else { delitem .pod_id,.vip_pod[.@i]; vip_time ( .vip_day[.@i] * 1440 ); } } } close; OnCheck: if (vip_status(0)) { dispbottom "Expire Time : "+vip_status(3); } end; OnInit: .pod_id = 7179; setarray .vip_day,1,7,30; setarray .vip_cashpoint,4000,7000,10000; setarray .vip_pod,1,2,3; bindatcmd("vip", strnpcinfo(3)+"::OnTalk"); bindatcmd("vipstatus", strnpcinfo(3)+"::OnCheck"); end; } this script for 1,7,30 vip subscription, with commands @vip @vipstatus //credits to emistry 2617,auto_trade_voucher,Voucher of autotrade,2,10000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ atcommand "@autotrade"; },{},{} this is autotrade coupon sir where do i put this >>>>> 2617,auto_trade_voucher,Voucher of autotrade,2,10000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ atcommand "@autotrade"; },{},{} Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted January 3, 2018 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted January 3, 2018 in your itemdb.txt Quote Link to comment Share on other sites More sharing options...
0 core Posted January 11, 2018 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 135 Reputation: 1 Joined: 05/21/17 Last Seen: June 11, 2018 Share Posted January 11, 2018 On 1/3/2018 at 11:49 AM, Cyro said: in your itemdb.txt not working sir @vip working but > @vipstatus not working can buy but the status not working Quote Link to comment Share on other sites More sharing options...
Question
Jniko
Good day!
Does anybody knows how to achieve this?
or does anybody have a script for an NPC to convert a player_ID = 0 to player_ID = 1 for 12hours to enable Super Player privileges ?
Thank you!
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.