Lordamax Posted February 6, 2012 Group: Members Topic Count: 71 Topics Per Day: 0.01 Content Count: 328 Reputation: 13 Joined: 11/27/11 Last Seen: July 2, 2016 Share Posted February 6, 2012 (edited) I requested a Donation NPC Script and it works fine.. here is the script..my problem is after i confirm the desired item..it causes gravity error to the reciever.. Please help prontera,155,181,5 script Sample 757,{ if( getgmlevel() < 80 ){ mes "I only serve GM Staffs"; }else{ mes "Input the Player Name "; mes "Player must ^FF0000ONLINE^000000"; mes "Type ^FF0000CANCEL^000000 to cancel."; input .@Name$; if( compare( .@Name$,"cancel" ) || !isloggedin( getcharid( 3,.@Name$ ) ) ) close; next; mes "What item to be Given ?"; do{ input .@ItemID,501,32767; if( getitemname( .@ItemID ) == "" ) mes "Invalid Item ID"; }while( getitemname( .@ItemID ) == "" ); mes "Input the Amount of "+getitemname( .@ItemID )+" to be given."; mes "Min. 1 ~ Max. 10"; input .@Amount,1,10; mes "If it is Equip...how much it should be Refined ?"; input .@Refine,0,10; next; mes "Receiver : ^0000FF"+.@Name$+"^000000"; mes "Item : ^FF0000"+getitemname( .@ItemID )+"^000000"; mes "Amount : ^FF0000"+.@Amount+"^000000"; mes "Refine : ^FF0000"+.@Refine+"^000000"; if( select("Confirm:Cancel") == 1 ){ announce "[ "+.@Name$+" ] gained "+.@Amount+" x "+getitemname( .@ItemID )+" from GM.",0; message .@Name$,"You have gained "+.@Amount+" x "+getitemname( .@ItemID )+" from GM."; getitem2 .@ItemID,.@Amount,1,.@Refine,0,0,0,0,0,getcharid( 3,.@Name$ ); } } close; } Edited February 6, 2012 by Fibonacci Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 6, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2372 Joined: 10/28/11 Last Seen: 14 hours ago Share Posted February 6, 2012 perhap it might be your custom item problems ?? have you tried making the item using @item at your own ?? Quote Link to comment Share on other sites More sharing options...
Lordamax Posted February 6, 2012 Group: Members Topic Count: 71 Topics Per Day: 0.01 Content Count: 328 Reputation: 13 Joined: 11/27/11 Last Seen: July 2, 2016 Author Share Posted February 6, 2012 yes sir emistry ! and everything works fine when I @item.. Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 6, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2372 Joined: 10/28/11 Last Seen: 14 hours ago Share Posted February 6, 2012 perhap your player doesnt update the patch and caused the gravity error ? try make the NPC give item to your another character to determine whether the problem is from the NPC or not.. but i dont think a NPC can caused Gravity Error stuffs.. Quote Link to comment Share on other sites More sharing options...
Lordamax Posted February 6, 2012 Group: Members Topic Count: 71 Topics Per Day: 0.01 Content Count: 328 Reputation: 13 Joined: 11/27/11 Last Seen: July 2, 2016 Author Share Posted February 6, 2012 (edited) i'm testing it with a fully updated kRO but when the player logged in he recieves the item... i got an itemizer script here! give an item to the same player and he recieves the item without error! SOLVED ! By Updating SVN Edited February 6, 2012 by Fibonacci Quote Link to comment Share on other sites More sharing options...
Question
Lordamax
I requested a Donation NPC Script and it works fine.. here is the script..my problem is after i confirm the desired item..it causes gravity error to the reciever.. Please help
Edited by FibonacciLink to comment
Share on other sites
4 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.