Jump to content
  • 0

An item which make the rate drop


cmsm94

Question


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

Okay here i want to know if this is possible or not first. A script will automate give a player a item when they reach level 90, without whisper or etc to them, it automate just give.

 

Then the rate of the server is 100kx100kx100k, when someone use this npc item it will minus their rate so it will go like 90kx90kx90k, so basically the item drop 10k of the rates if they use the item. Only for them the rates will minus. P.S. This item cannot be remove,sell,store, anything it is permanent into that character plus it it a etc item non-usable item(etc item)

 

This is an interesting script plus the item who make this is awesome. Thank i want this so muchhhhhhhhh1!!!!!!! please make p.s. im not sure i am in the right area of this rathena also or not, anyway it have scripting so ill post it here PLEASE HELP ME THANKS.



/////////////////////////////EDIT////////////////////////////

Simple if you don't understand,

Let say Item ID# 731 , this item will drop the players experience rate(from100x100x100x to 90x90x90x).

A npc will automatically give the player this item once he/she reach level 90. 

The item cannot be drop,sell,vend,store, or etc ITS character bond.

Edited by cmsm94
Link to comment
Share on other sites

21 answers to this question

Recommended Posts


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

Try

-    script    Sample    -1,{
    OnPCBaseLvUpEvent:
        if ( BaseLevel != 90 || Gave ) end;
        getitem 731,1; // item that gives the minus drop rate
        set Gave, 1;
        end;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

Try

-    script    Sample    -1,{
    OnPCBaseLvUpEvent:
        if ( BaseLevel != 90 || Gave ) end;
        getitem 731,1; // item that gives the minus drop rate
        set Gave, 1;
        end;
}

your script only effect for level 90 only, if they accidently went higher then 90 it wont get the item how do u make sure 100% they get once they past level 90

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

I am requesting a item which will drop a players exp, A NON USABLE ITEM.

 How to do this?

Link to comment
Share on other sites


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

OnPCBaseLvUpEvent:
sc_start SC_ITEMBOOST,99999999,-10;
if( BaseLevel >= 90 && !countitem( 731 ) ){
   getitem 731,1;
} 
end;

the part where you mention the item will drop the exp rate of their ...

i think you need to use source mod ...

 

not sure if this sc_status can help in reducing exp ..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

OnPCBaseLvUpEvent:
sc_start SC_ITEMBOOST,99999999,-10;
if( BaseLevel >= 90 && !countitem( 731 ) ){
   getitem 731,1;
} 
end;

the part where you mention the item will drop the exp rate of their ...

i think you need to use source mod ...

 

not sure if this sc_status can help in reducing exp ..

I dont understand

how do you reduce, exp by item? cannot/?

OnPCBaseLvUpEvent:
sc_start SC_ITEMBOOST,99999999,-10;
if( BaseLevel >= 90 && !countitem( 731 ) ){
   getitem 731,1;
} 
end;

the part where you mention the item will drop the exp rate of their ...

i think you need to use source mod ...

 

not sure if this sc_status can help in reducing exp ..

 

Thats a buff, but onces u die it will gone, my suggestion is to make that item  by using the script. I mean if you die the buff gone but with the item still in your inventory the buff will not gone.

Anyone can help?

helloooo bumb T.T please help me those ppl

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

BUMB HELP T>T

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  63
  • Reputation:   2
  • Joined:  08/10/12
  • Last Seen:  

does the item necessary? i get the idea that you want to reduce the rate when the player reaches level 90.

 

it can be done w/o using an item.

like what i've done in my server

it works like a freebie item script

if that is your only goal then try this script.

 

but make sure to edit first your base and job exp rate to 90k

in your /trunk/conf/battle/exp.conf

 

// Rate at which exp. is given. (Note 2)
base_exp_rate: 9000000

// Rate at which job exp. is given. (Note 2)
job_exp_rate: 9000000

then change map,x,y

like what is written in your starting point

map,x,y,4	script	rate	111,7,7,{
	
OnTouch:
if( !newchar ){
	set newchar,1;
	sc_start SC_EXPBOOST,86400000,111;
	sc_start SC_JEXPBOOST,86400000,111;
	sc_start SC_ITEMBOOST,86400000,111;

}
end;

}


OnPCBaseLvUpEvent:
if( BaseLevel >= 90 ){
	sc_end SC_EXPBOOST;
	sc_end SC_JEXPBOOST;
	sc_end SC_ITEMBOOST;
} 
end;

 

 

bonus exp will last for 24 hours
but it will be remove once they reach level 90.
10k reduce exp is nearly 11% of 90k that's why i use 111.
 
 
in my own opinion, it is better to use this script base on their class.
because once they reached level 90 in their 2nd job.
then there will be no bonus expi after rebirth.
 
i hope this solves your problem. :D
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

does the item necessary? i get the idea that you want to reduce the rate when the player reaches level 90.

 

it can be done w/o using an item.

like what i've done in my server

it works like a freebie item script

if that is your only goal then try this script.

 

but make sure to edit first your base and job exp rate to 90k

in your /trunk/conf/battle/exp.conf

 

// Rate at which exp. is given. (Note 2)
base_exp_rate: 9000000

// Rate at which job exp. is given. (Note 2)
job_exp_rate: 9000000

then change map,x,y

like what is written in your starting point

map,x,y,4	script	rate	111,7,7,{
	
OnTouch:
if( !newchar ){
	set newchar,1;
	sc_start SC_EXPBOOST,86400000,111;
	sc_start SC_JEXPBOOST,86400000,111;
	sc_start SC_ITEMBOOST,86400000,111;

}
end;

}


OnPCBaseLvUpEvent:
if( BaseLevel >= 90 ){
	sc_end SC_EXPBOOST;
	sc_end SC_JEXPBOOST;
	sc_end SC_ITEMBOOST;
} 
end;

 

 

bonus exp will last for 24 hours
but it will be remove once they reach level 90.
10k reduce exp is nearly 11% of 90k that's why i use 111.
 
 
in my own opinion, it is better to use this script base on their class.
because once they reached level 90 in their 2nd job.
then there will be no bonus expi after rebirth.
 
i hope this solves your problem. :D

How do you reduce a exp rate for 11kx11kx11k to 1kx1kx11k onces the player reach level 130? And it is 3rd job not 2nd job. And can you make it more then 24 hours? maybe 10 days? i dont get your script sry care to help me? XD

Edited by cmsm94
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:  

Hmm you could do this with an item...

 

-	script	rates	-1,{
OnPCLoginEvent:
OnPCBaseLvUpEvent:
sc_end SC_EXPBOOST;
sc_end SC_JEXPBOOST;
sc_end SC_ITEMBOOST;
if(!itemget) { set itemget, 1; rentitem 731,60*60*24*10; }
OnNPCTimerEvent:
	if( countitem(731) ) {
		switch( BaseLevel/((BaseLevel>=130)?65:90) ) {
			case 0:
				sc_start SC_EXPBOOST,86400000,1000;
				sc_start SC_JEXPBOOST,86400000,1000;
				sc_start SC_ITEMBOOST,86400000,1000;
				break;
				
			case 1:
				sc_start SC_EXPBOOST,86400000,900;
				sc_start SC_JEXPBOOST,86400000,900;
				sc_start SC_ITEMBOOST,86400000,900;
				break;
				
			case 2:
				sc_start SC_EXPBOOST,86400000,10;
				sc_start SC_JEXPBOOST,86400000,10;
				sc_start SC_ITEMBOOST,86400000,10;
		}
		end;
	}
	addtimer 86400000,"rates::OnNPCTimerEvent";
	sc_start SC_EXPBOOST,86400000,1000;
	sc_start SC_JEXPBOOST,86400000,1000;
	sc_start SC_ITEMBOOST,86400000,1000;
}

 

Same concept as before so you'd need a base experience rate lower or equal to the lowest rate here.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  63
  • Reputation:   2
  • Joined:  08/10/12
  • Last Seen:  

How do you reduce a exp rate for 11kx11kx11k to 1kx1kx11k onces the player reach level 130? And it is 3rd job not 2nd job. And can you make it more then 24 hours? maybe 10 days? i dont get your script sry care to help me? XD

 

set this in your /trunk/conf/battle/exp.conf

 

// Rate at which exp. is given. (Note 2)
base_exp_rate: 100000

// Rate at which job exp. is given. (Note 2)
job_exp_rate: 100000

here is the script

map,x,y,4	script	rate	111,7,7,{
	
OnTouch:
if( !newchar ){
	set newchar,1;
	sc_start SC_EXPBOOST,864000000,1000;
	sc_start SC_JEXPBOOST,864000000,1000;
	sc_start SC_ITEMBOOST,864000000,1000;

}
end;

}


OnPCBaseLvUpEvent:
if( BaseLevel >= 130 ){
	sc_end SC_EXPBOOST;
	sc_end SC_JEXPBOOST;
	sc_end SC_ITEMBOOST;
} 
end;

map,x,y, <--- starting point, where the new characters first respawn

 

 

try sir Skorm's script i think that's what you've exactly looking for

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

Hmm you could do this with an item...

 

-	script	rates	-1,{
OnPCLoginEvent:
OnPCBaseLvUpEvent:
sc_end SC_EXPBOOST;
sc_end SC_JEXPBOOST;
sc_end SC_ITEMBOOST;
if(!itemget) { set itemget, 1; rentitem 731,60*60*24*10; }
OnNPCTimerEvent:
	if( countitem(731) ) {
		switch( BaseLevel/((BaseLevel>=130)?65:90) ) {
			case 0:
				sc_start SC_EXPBOOST,86400000,1000;
				sc_start SC_JEXPBOOST,86400000,1000;
				sc_start SC_ITEMBOOST,86400000,1000;
				break;
				
			case 1:
				sc_start SC_EXPBOOST,86400000,900;
				sc_start SC_JEXPBOOST,86400000,900;
				sc_start SC_ITEMBOOST,86400000,900;
				break;
				
			case 2:
				sc_start SC_EXPBOOST,86400000,10;
				sc_start SC_JEXPBOOST,86400000,10;
				sc_start SC_ITEMBOOST,86400000,10;
		}
		end;
	}
	addtimer 86400000,"rates::OnNPCTimerEvent";
	sc_start SC_EXPBOOST,86400000,1000;
	sc_start SC_JEXPBOOST,86400000,1000;
	sc_start SC_ITEMBOOST,86400000,1000;
}

 

Same concept as before so you'd need a base experience rate lower or equal to the lowest rate here.

hmm sir your script didnt stop, when my character went over lvl 130, hmm I want it to stop when it reach level 130 @.@ why huh, is it that the item that is given to the player that when it dissapear the skill will also gone?

 

How do you reduce a exp rate for 11kx11kx11k to 1kx1kx11k onces the player reach level 130? And it is 3rd job not 2nd job. And can you make it more then 24 hours? maybe 10 days? i dont get your script sry care to help me? XD

 

set this in your /trunk/conf/battle/exp.conf

 

// Rate at which exp. is given. (Note 2)
base_exp_rate: 100000

// Rate at which job exp. is given. (Note 2)
job_exp_rate: 100000

here is the script

map,x,y,4	script	rate	111,7,7,{
	
OnTouch:
if( !newchar ){
	set newchar,1;
	sc_start SC_EXPBOOST,864000000,1000;
	sc_start SC_JEXPBOOST,864000000,1000;
	sc_start SC_ITEMBOOST,864000000,1000;

}
end;

}


OnPCBaseLvUpEvent:
if( BaseLevel >= 130 ){
	sc_end SC_EXPBOOST;
	sc_end SC_JEXPBOOST;
	sc_end SC_ITEMBOOST;
} 
end;

map,x,y, <--- starting point, where the new characters first respawn

 

 

try sir Skorm's script i think that's what you've exactly looking for

Awesome script bro :) but it will effect when the players alt + f4[This will not save the buff] out not [ESC-> Character Selection -> cancel -> exit this will save the buff]

Edited by cmsm94
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  63
  • Reputation:   2
  • Joined:  08/10/12
  • Last Seen:  

-    script    rates    -1,{
	
OnPCLoginEvent:
if( BaseLevel <= 129 ){
	sc_start SC_EXPBOOST,864000000,1000;
	sc_start SC_JEXPBOOST,864000000,1000;
	sc_start SC_ITEMBOOST,864000000,1000;

}
end;

}


OnPCBaseLvUpEvent:
if( BaseLevel >= 130 ){
	sc_end SC_EXPBOOST;
	sc_end SC_JEXPBOOST;
	sc_end SC_ITEMBOOST;
} 
end;

here is your script :D

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:  

hmm sir your script didnt stop, when my character went over lvl 130, hmm I want it to stop when it reach level 130 @.@ why huh, is it that the item that is given to the player that when it dissapear the skill will also gone?

 

 

Half the time these things are just a big guessing game.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

-    script    rates    -1,{
	
OnPCLoginEvent:
if( BaseLevel <= 129 ){
	sc_start SC_EXPBOOST,864000000,1000;
	sc_start SC_JEXPBOOST,864000000,1000;
	sc_start SC_ITEMBOOST,864000000,1000;

}
end;

}


OnPCBaseLvUpEvent:
if( BaseLevel >= 130 ){
	sc_end SC_EXPBOOST;
	sc_end SC_JEXPBOOST;
	sc_end SC_ITEMBOOST;
} 
end;

here is your script :D

How do u make hmm like base level exp and drop exp will last until level 130 and job buff will gone once the player reach job level 70?

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:  

How do u make hmm like base level exp and drop exp will last until level 130 and job buff will gone once the player reach job level 70?

 

-	script	rates	-1,{
OnPCLoginEvent:
OnPCBaseLvUpEvent:
	if( BaseLevel < 130 ) {
		sc_start SC_EXPBOOST,864000000,1000;
		sc_start SC_JEXPBOOST,864000000,1000;
		sc_start SC_ITEMBOOST,864000000,1000;

	}
	If( BaseLevel >= 70 ) {
		sc_end SC_JEXPBOOST;
		if( BaseLevel >= 130 ) {
			sc_end SC_EXPBOOST;
			sc_end SC_ITEMBOOST;
		} 
	}
	end;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  63
  • Reputation:   2
  • Joined:  08/10/12
  • Last Seen:  

How do u make hmm like base level exp and drop exp will last until level 130 and job buff will gone once the player reach job level 70?

 

-	script	rates	-1,{
OnPCLoginEvent:
OnPCBaseLvUpEvent:
	if( BaseLevel < 130 ) {
		sc_start SC_EXPBOOST,864000000,1000;
		sc_start SC_JEXPBOOST,864000000,1000;
		sc_start SC_ITEMBOOST,864000000,1000;

	}
	If( BaseLevel >= 70 ) {
		sc_end SC_JEXPBOOST;
		if( BaseLevel >= 130 ) {
			sc_end SC_EXPBOOST;
			sc_end SC_ITEMBOOST;
		} 
	}
	end;
}

sir skorm i think it should be 

If( JobLevel >= 70 ) {

 

@cmsm94

-    script    rates    -1,{
	
OnPCLoginEvent:
if( BaseLevel <= 129 ){
	sc_start SC_EXPBOOST,864000000,1000;
	sc_start SC_ITEMBOOST,864000000,1000;
	if( JobLevel <= 69 ){
		sc_start SC_JEXPBOOST,864000000,1000;
	}
}
end;

}


OnPCBaseLvUpEvent:
if( BaseLevel >= 130 ){
	sc_end SC_EXPBOOST;
	sc_end SC_ITEMBOOST;
} 
end;

OnPCJobLvUpEvent:
if( JobLevel >= 70 ){
	sc_end SC_JEXPBOOST;
} 
end;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

 

How do u make hmm like base level exp and drop exp will last until level 130 and job buff will gone once the player reach job level 70?

 

-	script	rates	-1,{
OnPCLoginEvent:
OnPCBaseLvUpEvent:
	if( BaseLevel < 130 ) {
		sc_start SC_EXPBOOST,864000000,1000;
		sc_start SC_JEXPBOOST,864000000,1000;
		sc_start SC_ITEMBOOST,864000000,1000;

	}
	If( BaseLevel >= 70 ) {
		sc_end SC_JEXPBOOST;
		if( BaseLevel >= 130 ) {
			sc_end SC_EXPBOOST;
			sc_end SC_ITEMBOOST;
		} 
	}
	end;
}

sir skorm i think it should be 

If( JobLevel >= 70 ) {

 

@cmsm94

-    script    rates    -1,{
	
OnPCLoginEvent:
if( BaseLevel <= 129 ){
	sc_start SC_EXPBOOST,864000000,1000;
	sc_start SC_ITEMBOOST,864000000,1000;
	if( JobLevel <= 69 ){
		sc_start SC_JEXPBOOST,864000000,1000;
	}
}
end;

}


OnPCBaseLvUpEvent:
if( BaseLevel >= 130 ){
	sc_end SC_EXPBOOST;
	sc_end SC_ITEMBOOST;
} 
end;

OnPCJobLvUpEvent:
if( JobLevel >= 70 ){
	sc_end SC_JEXPBOOST;
} 
end;

I reach job level 70 its not working and baselevel 130 this also not working

How do u make hmm like base level exp and drop exp will last until level 130 and job buff will gone once the player reach job level 70?

 

-	script	rates	-1,{
OnPCLoginEvent:
OnPCBaseLvUpEvent:
	if( BaseLevel < 130 ) {
		sc_start SC_EXPBOOST,864000000,1000;
		sc_start SC_JEXPBOOST,864000000,1000;
		sc_start SC_ITEMBOOST,864000000,1000;

	}
	If( BaseLevel >= 70 ) {
		sc_end SC_JEXPBOOST;
		if( BaseLevel >= 130 ) {
			sc_end SC_EXPBOOST;
			sc_end SC_ITEMBOOST;
		} 
	}
	end;
}

Skom yours work but it is on base level can u make it into job level?

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:  

Like he said change

BaseLevel >= 70

 

to

JobLevel >= 70

I didn't realize you wanted it for joblevel when I read it first.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

Like he said change

BaseLevel >= 70

 

to

JobLevel >= 70

I didn't realize you wanted it for joblevel when I read it first.

It does not work, and there is no error in the script also 

 

-    script    rates    -1,{
OnPCLoginEvent:
OnPCBaseLvUpEvent:
    if( BaseLevel < 130 ) {
        sc_start SC_EXPBOOST,864000000,1000;
        sc_start SC_JEXPBOOST,864000000,1000;
        sc_start SC_ITEMBOOST,864000000,1000;
 
    }
    If( JobLevel >= 70 ) {
        sc_end SC_JEXPBOOST;
        if( BaseLevel >= 130 ) {
            sc_end SC_EXPBOOST;
            sc_end SC_ITEMBOOST;
        
    }
    end;
}
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:  

It does not work, and there is no error in the script also 

 

 

-	script	rates	-1,{
OnPCLoginEvent:
OnPCJobLvUpEvent:
OnPCBaseLvUpEvent:
	if( BaseLevel < 130 ) {
		sc_start SC_EXPBOOST,864000000,1000;
		sc_start SC_JEXPBOOST,864000000,1000;
		sc_start SC_ITEMBOOST,864000000,1000;
	}

	if( JobLevel >= 70 )
		sc_end SC_JEXPBOOST;
	if( BaseLevel >= 130 ) {
		sc_end SC_EXPBOOST;
		sc_end SC_JEXPBOOST;
		sc_end SC_ITEMBOOST;
	}
	end;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

nice 

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