Jump to content

Utility: Freebies NPC with Gepard Function (UniqueID)


BeWan

Recommended Posts


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

Freebies NPC with Gepard Function (UniqueID)


Freebies NPC with gepard function (UniqueID)

In response to this post 

Quote

Contact:

Discord: BeWan#8988

Website: https://www.foxhosting.xyz/store/

 


  • Submitter
  • Submitted
    12/26/19
  • Category
  • Video
  • Content Author
    BeWan

 

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   0
  • Joined:  12/02/19
  • Last Seen:  

hi @BeWan or anybody,

 

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

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  737
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

can you explain how is UniqueID work?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  737
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

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 ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  737
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

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
 

Link to comment
Share on other sites


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

3 hours ago, Bringer said:

my server already have gepard even on test server

you need to contact @Functor

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  737
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

10 hours ago, sader1992 said:

you need to contact @Functor

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  737
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

1 hour ago, Bringer said:

local and online same src with gepard

use the script on your hosted server. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  737
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

On 1/16/2020 at 12:54 PM, BeWan said:

use the script on your hosted server. 

same error

@BeWan this freebies can be reset?

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

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

  • 2 months later...

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   2
  • Joined:  07/26/17
  • Last Seen:  

Hi Bewan,

 

How can i make this script per account?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   2
  • Joined:  07/26/17
  • Last Seen:  

Yes correct every account even same ip/unique

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   2
  • Joined:  07/26/17
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

6 minutes ago, daShiru said:

Hi Bewan,

I can't click npc in game

can you post the error message?

  • MVP 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   2
  • Joined:  07/26/17
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

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;
 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  81
  • Reputation:   17
  • Joined:  07/18/16
  • Last Seen:  

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)

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   2
  • Joined:  07/26/17
  • Last Seen:  

Fixed. Thank you!!

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