Jump to content
Deviszh

Freebies + warp

Recommended Posts

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;
	
    [email protected] = 100 * Weight / MaxWeight;
    if (50 <= [email protected]) {
	 mes "[ Newbie Assistance ]";
     mes "You are currently overweight.";
	 mes "Current weight: "[email protected];
	 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;
}
Link to comment
Share on other sites

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 by dnkip1
Link to comment
Share on other sites

 

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;
	
    [email protected] = 100 * Weight / MaxWeight;
    if (50 <= [email protected]) {
	 mes "[ Newbie Assistance ]";
     mes "You are currently overweight.";
	 mes "Current weight: "[email protected];
	 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;
}

image.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.