Jump to content
  • 0

freebies


kitty14

Question


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

i dont know what to type in search, so i posted new topic,,

im looking for a freebies script . that is free for all account however when theyv reach level 230 freebies npc will remove the freebies so they will hunt their own items. is it possible?

Link to comment
Share on other sites

17 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

Yes it's possible.

But are you not better off making an item that unequips itself and can't be used at level 230+

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

They can get the freebies many times as long as their base level is < 230?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

@-SkittleNugget- : i prefer to remove freebies soon as they reach level 230 for them to learn, not to depend on freebies.
do you have script? please share. :D

@patskie: 1 freebies per character as long as their base level <230. 
so if they have 9 character all can gett freebies and  freebies will be remove when ther base levl >230. :D


 

Edited by kitty14
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

[paste=367gpro4h24l]

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

pastkie how can i apply that to this script?

 

//===================================================================
new_1-1,53,111,5 script Freebies 811,{
 if ( Freebies || BaseLevel > 230 ) end;{
mes "[Zubelle]";
mes "Nice to meet you "+ strcharinfo ( 0 ) +", my name is Zubelle";
mes "Welcome to ^E066FFYour RO!^000000";
mes "I see that you're new here so to help you out I'd like to give you these";
mes "items as a gift to show how much we appreciate you here!";
next;
mes "[Paulinds]";
mes "Have fun!";
getitem2 8000,1,1,0,0,0,0,0,0;
getitem2 8001,1,1,0,0,0,0,0,0;
getitem2 8002,1,1,0,0,0,0,0,0;
getitem2 8002,1,1,0,0,0,0,0,0;
getitem2 8003,1,1,0,0,0,0,0,0;
set Zeny,Zeny+5000000;
set #freebie_quest,1;
savepoint "prontera",155,181;
next;
announce "Let's welcome " + strcharinfo(0) + " for joining our server ! ",0;
warp "prontera",155,181;
close;
}
if(#freebie_quest == 1) {
mes "[Zubelle]";
mes "Have fun in ^E066FFYourRO!^000000";
next;
warp "prontera",155,181;
close;
}
}

i dont know if i did it right, but when i reach level 230 freebies are still with me, what i wanted is that ill bew warped near to the freebies npc  then the npc will get back the freebies  :D

with a message, like
you are strong now , you dont need freebies anymore..
good luck on your journey.. 

:D
Edited by Capuche
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

We can use an NPC to delete the exact amount or what is left, once the player has reached level 230.

If its just equipment you want to remove from players at 230, we can make it delete itself upon reaching 230 in item script.

 

provide us the item id's and amounts you are going to use so we can place it into a script for you if needed.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

here
[1] 8000,Newbie_Articwings,Newbie Artic Wings,4,20,,0,,0,,1,0xFFFFFFFF,63,2,1,,0,0,1000,{ bonus ballstats,10; },{},{}
[1] 8001,Newbie_Valkyrie_Helm,Newbie Valkyrie Helm,4,20,,0,,0,,1,0xFFFFFFFF,63,2,256,,0,0,1001,{ bonus ballstats,10; },{},{}
[2 pcs] 8002,Newbiejard,Newbiejard,4,20,,0,,0,,1,0xFFFFFFFF,63,2,136,,0,0,0,{ bonus ballstats,10; },{},{}
[1] 8003,NewbieBrynhild,Newbie Brynhild,4,20,,0,,0,,1,0xFFFFFFFF,63,2,16,,0,0,0,{ bonus bMaxHP,10*BaseLevel; },{},{}

still there?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  


- script script -1,{

OnPCBaseLvUpEvent:

if(!freebie)

if ( #freebie_quest && BaseLevel >= 230 ) {

delitem 8000,1;

delitem 8001,1;

delitem 8002,2;

delitem 8003,1;

set(freebie,1);

}

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

-	script	freebies	1,{

OnPCLoginEvent:
	if(BaseLevel<230 && !Freebie){
	 getitembound 8000,1,1,getcharid(3);
	 getitembound 8001,1,1,getcharid(3);
	 getitembound 8002,1,1,getcharid(3);
	 getitembound 8003,1,1,getcharid(3);
	 set Freebie,1;
	}

OnPCBaseLvUpEvent:
	if (BaseLevel>230 && Freebie==1){
	 delitem 8000,1;
	 delitem 8001,1;
	 delitem 8002,1;
	 delitem 8003,1;
	 set Freebie,2;
	}
	
}

Never tested it, dont have a test server running at the moment.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

hmm. its not working.. :'(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

I did not get error. What i did is that i @lvu 229. Then kill monters to lvl up to 230 items are still with me.

Edited by kitty14
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

Errors on map server ?

Also it would delete at 231 unless you change to the following : if(BaseLevel>=230

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

http://rathena.org/board/topic/75015-asking-for-a-prize-npc/?p=160227

oh I actually means

set baselevel, 150; or @lvup 150 <-- will not trigger OnPCBaseLvUpEvent:

however

getexp ... set baseexp, baseexp + n; ... or killing a monster <-- will trigger OnPCBaseLvUpEvent:

so if you got quest script, of course can trigger this event label

EDIT

oh wait, you said level229 and KILL MONSTER to level 230 ...

I try again ...

EDIT2:

nvm...

I'll take this

EDIT3: here it is

script

[paste=ob19boj5gsk]

rathena\db\import\item_trade.txt

8000,507,100
8001,507,100
8002,507,100
8003,507,100

for debugging

item_avail

8000,5068
8001,2254
8002,2607
8003,2305
replace into item_db_re values
( 8000, 'Newbie_Articwings', 'Newbie Artic Wings', 4, 20, null, 0, null, 0, null, 1, 0xFFFFFFFF, 63, 2, 1, null, 0, 0, 152, 'bonus ballstats,10;', null, null ),
( 8001, 'Newbie_Valkyrie_Helm', 'Newbie Valkyrie Helm', 4, 20, null, 0, null, 0, null, 1, 0xFFFFFFFF, 63, 2, 256, null, 0, 0, 38, 'bonus ballstats,10;', null, null ),
( 8002, 'Newbiejard', 'Newbiejard', 4, 20, null, 0, null, 0, null, 1, 0xFFFFFFFF, 63, 2, 136, null, 0, 0, 0, 'bonus ballstats,10;', null, null ),
( 8003, 'NewbieBrynhild', 'Newbie Brynhild', 4, 20, null, 0, null, 0, null, 1, 0xFFFFFFFF, 63, 2, 16, null, 0, 0, 0, 'bonus bMaxHP,10*BaseLevel;', null, null );
prontera,157,184,5	script	ksjhfksdfj	100,{
	baseexp = baseexp + 2147000000;
}

@-SkittleNugget-

getbounditem <-- don't trust whatever script_commands.txt said

it still can drop on the floor

and why you guys loves to use up a variable ?

rathena script engine has 256 limits on permanent player variable and 96 in account variable

Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

@

AnnieRuru:

do i need to include "(" ")"

and also i want this script
new_1-1,53,111,5 script Freebies 811,{
if ( Freebies || BaseLevel > 230 ) end;{
mes "[Zubelle]";
mes "Nice to meet you "+ strcharinfo ( 0 ) +", my name is Zubelle";
mes "Welcome to ^E066FFYour RO!^000000";
mes "I see that you're new here so to help you out I'd like to give you these";
mes "items as a gift to show how much we appreciate you here!";
next;
mes "[Paulinds]";
mes "Have fun!";
getitem2 8000,1,1,0,0,0,0,0,0;
getitem2 8001,1,1,0,0,0,0,0,0;
getitem2 8002,1,1,0,0,0,0,0,0;
getitem2 8002,1,1,0,0,0,0,0,0;
getitem2 8003,1,1,0,0,0,0,0,0;
set Zeny,Zeny+5000000;
set #freebie_quest,1;
savepoint "prontera",155,181;
next;
announce "Let's welcome " + strcharinfo(0) + " for joining our server ! ",0;
warp "prontera",155,181;
close;
}
if(#freebie_quest == 1) {
mes "[Zubelle]";
mes "Have fun in ^E066FFYourRO!^000000";
next;
warp "prontera",155,181;
close;
}
}

but its per account i want per character. im sorry its my first server. but i do really i appreciate much.
cuz im learning alot.. checkin on scripts,, 

 

Edited by kitty14
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

[paste=62g693li049i]

 

this script has no protection against item deleter npc though

if your server has item deleter npc, this script going to be hard to read

 

and ... of course no need to set a variable ...

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

thanks!

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
Answer this question...

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