-
Posts
9,746 -
Joined
-
Days Won
305
Community Answers
-
Emistry's post in R> Kafra Shop was marked as the answer
https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/merchants/cash_trader.txt -
Emistry's post in Request for Old payon Novending&Chat was marked as the answer
try these
mapname mapflag novending mapname mapflag nochat
-
Emistry's post in requesting script for tame item that can catch all pet was marked as the answer
http://rathena.org/board/topic/60076-possible-1-taming-item-for-several-pet/page__view__findpost__p__84541 -
Emistry's post in Request NPC was marked as the answer
you mean this type of NPC ?
prontera,155,181,5 script Sample 757,{ atcommand "@feelreset"; mes "Hatred Reseted."; close; }
Edit : Fixed Typo ...>.< nvr used this command before...
-
Emistry's post in Custom Item Seller NPC (Vpoints and Cpoints) was marked as the answer
a normal CashShop will do this...
just setup a cashshop like this
npc/merchants/cash_trader.txt
for your Vote Point Seller...
go find Dynamic Shop ...
-
Emistry's post in Bravery to Valor Badge Trader was marked as the answer
try this
http://pastebin.com/raw.php?i=bQtqMC5P
-
Emistry's post in custom droprate was marked as the answer
since you post at script release section...i assume you looking for a script to make a custom rate..
then you can try it in this way.....
remove the Card from the Monster in the mob_db.txt
then load this script
[ Pastebin ] Custom Item Rate
you can add as many as you want..
but do not add more than hundred i think there is still a limit..
// CustomRateCard( <MobID>,<CardID>,<Rate> ); // Rate : 1 = 0.01% / 1000 = 10% / 10000 = 100%
Item Drop Rate wont be shown using @mi since the database has been edited..and @mi only read from the mob_db.txt
and please do let me know if you found the limit....
Re-Edit : Update Announce Problem
-
Emistry's post in Request for a anti-bot that work on a specific map! was marked as the answer
try this
[ Pastebin ] AntiBot in 1 Map
and yes...what arcencial said is true....
no script can anti bot perfectly...
-
Emistry's post in Quest NPC [EASY CONFIG] was marked as the answer
You can check my post...perhap it might suit you if you interest with it..
Emistry's Script Collection
Quest : Chained Quest Template
Dynamic Shop : Multi Currency Shop
-
Emistry's post in Only GM can equip was marked as the answer
you can do it like this
........{},{ if( getgmlevel() < 80 ) nude; },{}
or
........{},{ if( getgmlevel() < 80 ) unequip <equipment slot>; },{}
for untradeable...
do it like what tron said..
the configuration explaination has been listed inside the
db/item_notrade.txt
-
Emistry's post in Deleting Items was marked as the answer
you can just remove it from the item_db.txt
then the item will turn out into an "Apple" if i was right xD
guess..player wont keep apple haha
anyway..there is still alternate way to do this..
use SQL script..
-
Emistry's post in GM + WOE Request was marked as the answer
not so sure with this 1...but i think you can try...
[ Pastebin ] Kick GM during WOE
-
Emistry's post in Refine Deed Refiner was marked as the answer
so it is the refiner that need 1 items to refine to +8 or etc....
well..same thing that can be apply on my refine function..
http://rathena.org/board/topic/53320-%E2%99%A5-e-m-i-s-t-r-y-s-s-c-r-i-p-t-s-%E2%99%A5/page__st__40__p__71628#entry71628
-
Emistry's post in How to make a customized box like obb? was marked as the answer
..
501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "CustomBox"; },{},{}
function script CustomBox { setarray .BoxItems[0],501,502,503; set .Random, getarraysize( .BoxItems ); getitem .BoxItems[ rand( .Random ) ], 1; announce "["+strcharinfo(0)+"] has just obtained a ["+getitemname(.BoxItems[ .Random ])+"] from a Custom Box.",0; end; }
edit item list here
setarray .BoxItems[0],501,502,503;
Re-Edit : Fixed Announcement Problems
-
Emistry's post in Requesting Gold room was marked as the answer
http://rathena.org/board/topic/58282-gold-room-request/page__hl__%2Bgold+%2Broom__fromsearch__1 -
Emistry's post in [request] King Of Hill Emperium was marked as the answer
http://rathena.org/board/topic/57128-king-of-the-hill/ -
Emistry's post in invasion script was marked as the answer
try this..
- script Sample -1,{ OnClock0200: OnClock0400: OnClock0600: OnClock0800: announce "Monster Invasion Event Started at prontera.",0; monster "prontera",0,0,"--ja--",1002,100,strnpcinfo(0)+"::OnNormalKilled"; monster "prontera",0,0,"--ja--",1502,10,strnpcinfo(0)+"::OnBossKilled"; end; OnNormalKilled: dispbottom "Sorry, i am not the Boss"; end; OnBossKilled: getitem 7227,10; dispbottom "You killed 1 Boss"; end; }
-
Emistry's post in Item scrips ^^ was marked as the answer
load this script in npc folder.
function Sample { mes "Where you want to warp ?"; do{ input [email protected]$; }while( getmapmobs( [email protected]$ ) < 0 ); mes "input Coordinate X and Y"; input [email protected]; input [email protected]; warp [email protected]$,[email protected],[email protected]; end; }
use this command to call the function..put in the item_db for that specific items..
and make the item usable..perhap using type 11.
callfunc "Sample";
use this command to give player a 7 day period rental items.
rentitem 501,10080;
-
Emistry's post in [R] PVP npc was marked as the answer
try this
prontera,155,181,5 script Sample 757,{ mes "Choose your Destination"; switch( select("Solo PVP:Party PVP:Baby PVP") ){ Case 1: if( getmapusers("pvp_n_1-1") >= 2 ){ mes "Room Full."; break; }else{ warp "pvp_n_1-1",0,0; end; } Case 2: if( !getcharid(1) ){ mes "You didnt have Party"; break; }else{ warp "pvp_n_1-2",0,0; end; } Case 3: if( Upper != 2 && Upper != 6 ){ mes "You are not Baby Class"; break; }else{ warp "pvp_n_1-3",0,0; end; } } close; }
-
Emistry's post in Anybody has a advance refiner? was marked as the answer
https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/merchants/refine.txt
change all the callfunc value to 1
prt_in,63,60,0 script Hollgrehenn 85,{ callfunc "refinemain","Hollgrehenn",1; end; } morocc_in,73,38,6 script Aragham 99,{ callfunc "refinemain","Aragham",1; end; } payon,144,173,5 script Antonio 88,{ callfunc "refinemain","Antonio",1; end; } alberta_in,28,58,0 script Fredrik 85,{ callfunc "refinemain","Fredrik",1; end; } yuno_in01,171,21,4 script Lambert 88,{ callfunc "refinemain","Lambert",1; end; } ein_in01,24,87,5 script Manthasman 826,{ callfunc "refinemain","Manthasman Pruhag",1; end; } lhz_in02,282,20,7 script Fulerr 869,{ callfunc "refinemain","Fulerr",1; end; }
-
Emistry's post in [Request] Quest NPC was marked as the answer
use this command to replace the regular getitem command
*getnameditem(<item id>,"<name to inscribe>"); *getnameditem("<item name>","<name to inscribe>");
-
Emistry's post in [request] Rebirth NPC was marked as the answer
try this ?
prontera,155,181,5 script Sample 757,{ if( BaseLevel < 99 || JobLevel < 70 ){ mes "You need 99 Level and 70 Job Level to Rebirth."; }else{ mes "Do you want to rebirth ?"; if( select("Rebirth:Cancel") == 2 ) close; resetlvl 1; resetstatus; resetskill; set Rebirth,Rebirth + 1; set StatusPoint,StatusPoint + ( Rebirth * 100 ); mes "Done."; getitem 607,1; } close; OnNPCKillEvent: if( Rebirth ){ set [email protected], ( getmonsterinfo( killedrid,3 ) * 70 ) / 100; set [email protected], ( getmonsterinfo( killedrid,4 ) * 70 ) / 100; getexp [email protected],[email protected]; } end; }
the current setting should be reduce 70% or Monster EXP...
for the EXP...i dunno how much you wanna reduce..
perhap give a clearer figure maybe i can help..
anyway..to make use of reduce the EXP per rebirth..
i think Source Mod would be better than using Script way..
because if we use script method...
the only way i can think of it..
player get EXP , then use getmonsterinfo to get the monster's EXP and reduce the EXP from the character after he gain the exp.
beside, if you want to reduce EXP per rebirth...i think you should provide what is the Limit of Rebirth that 1 character can have..
otherwise...a wrong calculation in reducing EXP might be malfunction ...>.<
-
Emistry's post in Instant 99/70 Job Changer was marked as the answer
topic :http://www.eathena.ws/board/index.php?showtopic=269869
script :http://www.eathena.w...pe=post&id=9688
- script ClassHelper -1,{ OnPCLoginEvent:
change header to this
prontera,155,181,5 script ClassHelper 757,{