Deviszh Posted September 9, 2016 Group: Members Topic Count: 51 Topics Per Day: 0.02 Content Count: 173 Reputation: 3 Joined: 09/04/16 Last Seen: November 6, 2016 Share Posted September 9, 2016 I cant get my reward, warp doesn't work. anyone can resript this? // ------------------------------------------------------------------------------------------------- // Script by: Panda - GM Kazehaya // - Knights Ragnarok Online - // v1.0 - Simple Freebie NPC, gives out bound rewards and and checks weight. // - Modification End - // ------------------------------------------------------------------------------------------------- iz_int,100,91,3 script Get your Freebies 864,{ if(#claimed == 1){ goto Claimed; } mes "[ Newbie Assistance ]"; mes "Thank you for playing ^FF0000RO^000000."; mes "Please have these items as our welcome present."; next; .@weight = 100 * Weight / MaxWeight; if (50 <= .@weight) { mes "[ Newbie Assistance ]"; mes "You are currently overweight."; mes "Current weight: "+.@weight; mes "Please store some of your items in your storage."; close; } getitembound 20307,1; getitembound 14545,10; getitembound 12301,10; getitembound 12523,10; getitembound2 12522,10; emotion e_thx; set #claimed,1; sleep2 1000; warp prontera,155,182; close; Claimed: mes "[ Newbie Assistance ]"; mes "Thank you for playing ^FF0000RO^000000."; mes "Please play moderately."; emotion e_no1; sleep2 1000; warp prontera,155,182;; close; end; OnInit: waitingroom "Newbie Equipment!",0; shop: warp "turbo_room" ,99,100; end; } Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 9, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: 14 hours ago Share Posted September 9, 2016 warp prontera,155,182; change to warp "prontera",155,182; Quote Link to comment Share on other sites More sharing options...
Deviszh Posted September 9, 2016 Group: Members Topic Count: 51 Topics Per Day: 0.02 Content Count: 173 Reputation: 3 Joined: 09/04/16 Last Seen: November 6, 2016 Author Share Posted September 9, 2016 (edited) warp prontera,155,182; change to warp "prontera",155,182; thanks! another question, how to not limit getting rewards? sample 1 account per freebie reward. I want to make it every new character will get freebie reward. Edited September 9, 2016 by dnkip1 Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 9, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: 14 hours ago Share Posted September 9, 2016 change #claimed to claimed Quote Link to comment Share on other sites More sharing options...
Deviszh Posted September 9, 2016 Group: Members Topic Count: 51 Topics Per Day: 0.02 Content Count: 173 Reputation: 3 Joined: 09/04/16 Last Seen: November 6, 2016 Author Share Posted September 9, 2016 change #claimed to claimed is there something wrong in my script? prontera,151,192,3 script Get your Freebies 864,{ if(claimed == 1){ goto Claimed; } mes "[ Newbie Assistance ]"; mes "Thank you for playing ^FF0000RO^000000."; mes "Please have these items as our welcome present."; next; .@weight = 100 * Weight / MaxWeight; if (50 <= .@weight) { mes "[ Newbie Assistance ]"; mes "You are currently overweight."; mes "Current weight: "+.@weight; mes "Please store some of your items in your storage."; close; } getitembound 14545,10; getitembound 12301,10; getitembound 12523,10; getitembound 12522,10; emotion e_thx; set #claimed,1; sleep2 1000; warp "prontera",155,181; close; Claimed: mes "[ Newbie Assistance ]"; mes "Thank you for playing ^FF0000RO^000000."; mes "Please play moderately."; emotion e_no1; sleep2 1000; warp "prontera",155,181; close; end; OnInit: waitingroom "Newbie Equipment!",0; } Quote Link to comment Share on other sites More sharing options...
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.