Jump to content

Freebies + warp


Recommended Posts


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   3
  • Joined:  09/04/16
  • Last Seen:  

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;
}
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

warp prontera,155,182;

change to

warp "prontera",155,182;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   3
  • Joined:  09/04/16
  • Last Seen:  

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


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

change

#claimed

to

claimed
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   3
  • Joined:  09/04/16
  • Last Seen:  

 

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;
}

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...