-
Posts
10015 -
Joined
-
Days Won
396
Community Answers
-
Emistry's post in Looking for somthing to either FullStrip or unequip/disable weapons was marked as the answer
OnPCLoadMapEvent: while( strcharinfo(3) == "mapname" ){ unequip EQI_HAND_L; unequip EQI_HAND_R; sleep2 5000; } end; FCP status can be bypass if they enter the map without wearing any equipment/weapons ...
this kind of request should be done through source mod ....
-
Emistry's post in party points was marked as the answer
OnNPCKillEvent:
.@party = getcharid(1);
.@map$ = strcharinfo(3);
if( .@party ){
addrid( 2,0,.@party );
if( HP > 1 && strcharinfo(3) == .@map$ ){
#CASHPOINTS += 20;
}
}
end;
-
Emistry's post in Need help on get array size was marked as the answer
like this ?
setarray .@items[0],15000,15001,15002,15003; .@item_size = getarraysize( .@items ); for( .@i = 0; .@i < .@item_size; .@i++ ){ if( !countitem( .@items[.@i] ) ){ dispbottom "You dont have "+getitemname( .@items[.@i] ); end; }else if( !isequipped( .@items[.@i] ) ){ dispbottom "You didnt equip with "+getitemname( .@items[.@i] ); end; } } -
Emistry's post in Sell shop NPC was marked as the answer
create a custom npc script...
*callshop "<name>",<option>; These are a series of commands used to create dynamic shops. The 'callshop' function calls an invisible shop (view -1) as if the player clicked on it. The options are: 0 = The normal window (buy, sell and cancel) 1 = The buy window 2 = The sell window -
Emistry's post in Can't load scripts_custom.conf was marked as the answer
npc/re/scripts_main.conf#L46
make sure it's loaded ...
-
Emistry's post in who can edit this please? was marked as the answer
input .@amount;
if( ( .@amount % 10 ) > 0 ){
mes "Enter multiple of 10...";
close;
}
-
Emistry's post in pc_bonus warnings was marked as the answer
src/map/pc.h#L23
#define MAX_PC_BONUS 10 -
Emistry's post in 2nd Sec, system was marked as the answer
use ur gm char...talk with the npc and select create table ..
-
Emistry's post in Killable when you wear specific item was marked as the answer
.......{},{ atcommand "@killable"; },{ atcommand "@killable"; } or i think you also also try the karma system...but the karma system required both player to have negative karma in order to be able to hit each others...
-
Emistry's post in suggestion and bugs reporting npc was marked as the answer
just an npc to inform gm ??
https://rathena.org/board/index.php?/files/file/2498-%7B?%7D/
-
Emistry's post in Coin Trader was marked as the answer
https://rathena.org/board/index.php?/files/file/2821-%7B?%7D/
Exchanger [ Cashpoint to Coins ] Exchanger [ Poring Coin - Zeny ] Exchanger [ Points to Tickets ] Exchanger [ Item to Item ] Exchanger [ Item to Item ] Exchanger [ Multi Item to 1 Item ] -
Emistry's post in Random TEXT at Waiting ROOM.. was marked as the answer
OnInit:
setarray .message$,
"Hello",
"Good Morning";
set .message_size,getarraysize( .message$ );
while( .message_size ){
delwaitingroom;
waitingroom ""+.message$[ rand( .message_size ) ],0;
sleep 60000;
}
end;
-
Emistry's post in @order command, how to enable was marked as the answer
- script Sample -1,{
OnInit:
bindatcmd "order",strnpcinfo(3)+"::OnAtCommand";
end;
OnAtCommand:
.@guild_id = getcharid(2);
if( .@guild_id && getcharid(0) == getguildmasterid( .@guild_id ) ){
.@name$ = strcharinfo(0);
.@message$ = implode( .@atcmd_parameters$," " );
.@size = query_sql( "SELECT `account_id`,`char_id` FROM `guild_member` WHERE `guild_id` = "+.@guild_id+" AND `online` = 1 ORDER BY `position` ASC",.@aid,.@cid );
while( .@i < .@size ){
if( isloggedin( .@aid[.@i],.@cid[.@i] ) )
if( attachrid( .@aid[.@i] ) ){
announce .@name$+": "+.@message$,bc_self;
.@received++;
}
.@i++;
}
attachrid( .@aid[0] );
dispbottom "Message sent.."+.@received+" received";
}
end;
}
@order <messages>
-
Emistry's post in request please was marked as the answer
Case 1:
soundeffect "1234567890123456789.wav",0;
sc_start SC_INCATKRATE,( .Duration * 1000 ),100;
sc_start SC_INCMATKRATE,( .Duration * 1000 ),100;
break;
-
Emistry's post in Death Penalty was marked as the answer
inside trunk/src/map/pc.c , find these...
base_penalty = (unsigned int) ((double)pc_nextbaseexp(sd) * (double)battle_config.death_penalty_base/10000); base_penalty = (unsigned int) ((double)sd->status.base_exp * (double)battle_config.death_penalty_base/10000); base_penalty = (unsigned int) ((double)pc_nextjobexp(sd) * (double)battle_config.death_penalty_job/10000); base_penalty = (unsigned int) ((double)sd->status.job_exp * (double)battle_config.death_penalty_job/10000); just edit these 4 line by adding another IF-ELSE condition to check for GM Level / Group ID for different penalty..
-
Emistry's post in Euphys Quest Shop - Announce Name For Complete Quest was marked as the answer
trunk/npc/custom/quests/quest_shop.txt
// ----------------------------------------------------------- // Basic shop settings. // ----------------------------------------------------------- set .Announce,1; // Announce quest completion? (1: yes / 0: no) -
Emistry's post in Leveling Room was marked as the answer
prt_fild00,0,0,0,0 monster Poring 1002,40,0,0,"Leveling Room::OnLevelUp"
-
Emistry's post in MVP Cash Points -> Party Share? was marked as the answer
try
http://pastebin.com/raw.php?i=5FL1ktcy
-
Emistry's post in Help with Item Script please was marked as the answer
Job_Minstrel 4068 Job_Minstrel_T 4075 there are 2 type of 3rd job class...regular / transcendent
-
Emistry's post in auto refiner npc was marked as the answer
trunk/npc/merchants/refine.txt
callfunc "refinemain","Hollgrehenn",1; callfunc "refinemain","Aragham",1; callfunc "refinemain","Antonio",1; callfunc "refinemain","Fredrik",1; callfunc "refinemain","Lambert",1; callfunc "refinemain","Manthasman Pruhag",1; callfunc "refinemain","Fulerr",1; -
Emistry's post in Poring Coin NPC Please was marked as the answer
https://rathena.org/board/index.php?/files/file/2504-%7B?%7D/
'or euphy questshop