Jump to content

Recommended Posts

  • 2 weeks later...
Posted (edited)
1 hour ago, Schmerz said:

hi @BeWan or anybody,

 

Can I ask how can I allow like 2 or 3 time a Unique Id can get my freebie?

 

find:

if(getd("$ID_" + .@unique_id$) > 0 || #FreebiesReward > 0){
		mes "[Freebies NPC]";
		mes "You have already claimed your Freebies.";
		close;
	}
#FreebiesReward = 1;

and replace with this :

if(getd("$ID_" + .@unique_id$) == 3 || #FreebiesReward == 3){
		mes "[Freebies NPC]";
		mes "You have already claimed your Freebies.";
		close;
	}
#FreebiesReward = ++1;

 

Edited by BeWan
  • MVP 1
Posted (edited)
4 hours ago, Bringer said:

can you explain how is UniqueID work?

this function is to avoid spam even if you use proxy. Like getting the mac address or the private ip of your laptop or desktop.

Edited by BeWan
Posted
14 minutes ago, BeWan said:

this function is to avoid spam even if you use proxy. Like getting the mac address or the private ip of your laptop or desktop.

do you have version for bounditem ?

Posted (edited)
9 hours ago, Bringer said:

do you have version for bounditem ?

Find:

getitem .items[.@i],.items[.@i+1];

and replace with this :

getitembound .items[.@i],.items[.@i+1],1;

 

Edited by BeWan
  • MVP 1
Posted
On 1/12/2020 at 10:36 PM, BeWan said:

Find:


getitem .items[.@i],.items[.@i+1];

and replace with this :


getitembound .items[.@i],.items[.@i+1],1;

 

my server already have gepard even on test server
image.thumb.png.c57eb31c815cf2f73c751eb164382930.png
 

Posted
20 minutes ago, Bringer said:

i already DM @Functor
image.thumb.png.f4025e379b637e5caf37c0e5d335edd5.png
 

the script is 100% working in gepard. may i ask if you run this on your localhost?

your error generate only if there's no gepard function install on your src.

Posted
2 minutes ago, BeWan said:

the script is 100% working in gepard. may i ask if you run this on your localhost?

your error generate only if there's no gepard function install on your src.

local and online same src with gepard

  • 2 weeks later...
Posted (edited)
On 1/25/2020 at 10:55 AM, Bringer said:

@BeWan this freebies can be reset?

ofcourse. update this 

 

#FreebiesReward1 > 0

and

#FreebiesReward1 = 1;

 

Edited by BeWan
  • 2 months later...
Posted
1 hour ago, daShiru said:

Hi Bewan,

 

How can i make this script per account?

this is per account already or you want every account can claim even same ip/unique id?

Posted (edited)
17 hours ago, daShiru said:

Yes correct every account even same ip/unique

you need to use different script. cuz as the title says it use gepard function (unique_id)

anyway other version of freebies npc.

jupe_ele,41,34,5	script	Freebies	435,{

if(#freebies1 == 1) goto F_1;

if (BaseLevel < 1) goto L_1;
mes "[Freebies NPC]"; 
mes "Hi! "+strcharinfo(0)+"";
mes "You will recieve 1 Krane Ragnarok Online Freebies";
mes "Thanks For Joining Here , Wish Too See You in the Future.";
next;

//ITEM CONFIG
getitem 512,1;

emotion ET_THX;
set #freebies1,1;
close;

OnInit:
waitingroom "Freebies NPC",0;
end;

L_1:
mes "[Freebies NPC]";
mes "You must be level 1 to Enjoy Our Freebies";
emotion ET_THX;
close;

F_1:
mes "[Freebies NPC]";
mes "Enjoy Playing Krane-RO !";
emotion ET_STARE;
close;

}

 

Edited by BeWan
  • MVP 1
Posted
7 hours ago, BeWan said:

you need to use different script. cuz as the title says it use gepard function (unique_id)

anyway other version of freebies npc.


jupe_ele,41,34,5	script	Freebies	435,{

if(#freebies1 == 1) goto F_1;

if (BaseLevel < 1) goto L_1;
mes "[Freebies NPC]"; 
mes "Hi! "+strcharinfo(0)+"";
mes "You will recieve 1 Krane Ragnarok Online Freebies";
mes "Thanks For Joining Here , Wish Too See You in the Future.";
next;

//ITEM CONFIG
getitem 512,1;

emotion ET_THX;
set #freebies1,1;
close;

OnInit:
waitingroom "Freebies NPC",0;
end;

L_1:
mes "[Freebies NPC]";
mes "You must be level 1 to Enjoy Our Freebies";
emotion ET_THX;
close;

F_1:
mes "[Freebies NPC]";
mes "Enjoy Playing Krane-RO !";
emotion ET_STARE;
close;

}

 

Hi Bewan,

I can't click npc in game

Posted
21 minutes ago, daShiru said:

Actually there was no error. but when i try to replace the getitem - getitembound it doesn't work hmm how do i make the items bound?

getitembound 1202,1,Bound_Account;
getitembound 1202,1,Bound_Guild;
getitembound 1202,1,Bound_Party;
getitembound 1202,1,Bound_Char;
 

Posted
15 minutes ago, daShiru said:

Actually there was no error. but when i try to replace the getitem - getitembound it doesn't work hmm how do i make the items bound?

you need to write which BOUND use want to use
more detail at doc/script_command.txt
image.png.9029e7e03b836c1ce0863421e3aee769.png

 

//Example
getitembound 501,1,Bound_Char; // This will give 1 Red Potion(Character Bound)

 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...