Deviszh Posted September 9, 2016 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
Emistry Posted September 9, 2016 Posted September 9, 2016 warp prontera,155,182; change to warp "prontera",155,182; Quote
Deviszh Posted September 9, 2016 Author 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
Deviszh Posted September 9, 2016 Author 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
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.