-
Posts
587 -
Joined
-
Last visited
-
Days Won
4
Community Answers
-
QQfoolsorellina's post in safe zone on a specific pvp map was marked as the answer
I have ever seen similar topic in Ea forums
and use ~AnnieRuru~'s code
battle.c
in function int battle_check_target
find
//Alliance state takes precedence over enemy one. else if( state&BCT_ENEMY && strip_enemy && state&(BCT_SELF|BCT_PARTY|BCT_GUILD) ) state&=~BCT_ENEMY;
and add after
if ( map_getcell( src->m, src->x, src->y, CELL_CHKBASILICA ) || map_getcell( target->m, target->x, target->y, CELL_CHKBASILICA ) || map_getcell( s_bl->m, s_bl->x, s_bl->y, CELL_CHKBASILICA ) || map_getcell( t_bl->m, t_bl->x, t_bl->y, CELL_CHKBASILICA ) ) state &= ~BCT_ENEMY;
-
QQfoolsorellina's post in Auto Woe Reward was marked as the answer
try to replace
OnAGME:
with
OnAgitEnd:
-
QQfoolsorellina's post in Need help! using toasty's woe controller was marked as the answer
try this
change
setarray .woe_state_0[0],0,8,0,0,0,0,0;
to
setarray .woe_state_0[0],0,0,0,16,0,0,0;
-
QQfoolsorellina's post in sql warning was marked as the answer
maybe relate to strcharinfo scriptcommand
-
QQfoolsorellina's post in How to patch New Iteminfo.lua using Thor Patcher ? was marked as the answer
1. create a new folder named INPUTD ,and put new iteminfo.lub into INPUTD
2 setting input and output stuff...... input directory point to INPUTD
3 after pushing down generate button --->select other option-->type /System
-
QQfoolsorellina's post in How to remove the broadcast thing when GM pm's someone was marked as the answer
clif.c search this line
WFIFOL(fd,28) = (pc_get_group_level(ssd) == 99) ? 1 : 0; // isAdmin; if nonzero, also displays text above char
change to
WFIFOL(fd,28) = (pc_get_group_level(ssd) == 99) ? 0 : 0; // isAdmin; if nonzero, also displays text above char
don't forget to recompile
-
QQfoolsorellina's post in @alootid command of script was marked as the answer
Oninit: + setarray .lootidarray[0],501,502,503; + .size = getarraysize(.lootidarray); end;
and
mes "[Treasurer]"; mes "Alright I will now send you to the Treasure Room, Take Care!."; next; set Zeny,Zeny-1000000; +atcommand "@alootid reset"; +for ( .@i = 0; .@i < .size; .@i++ ) + atcommand "@alootid +"+.lootidarray[.@i]; warp "ordeal_2-2",156,155; emotion 21; -
QQfoolsorellina's post in Manually adding checkidle was marked as the answer
add this line in script.c
#include "../common/socket.h" -
QQfoolsorellina's post in How to use array as a Menu was marked as the answer
setarray .item$[0],"Apple","Chocolate";
set .@menu$,implode(.item$, ":");
set .@selection, select(.@menu$) -1;
-
QQfoolsorellina's post in ~AnnieRuru~'s Private MVP Room v1.4 was marked as the answer
Annie has updated her script to rev 1.4a
http://rathena.org/board/topic/72376-mvp-summon-script/?p=146696
-
QQfoolsorellina's post in how to know if my costume effect are active was marked as the answer
Reduce damage taken from demi human by 3%
bonus2 bSubRace,7,3;
Max HP + 3%
bonus bMaxHPrate,3;
Max SP + 2%
bonus bMaxSPrate,2;
Increase Physical and Magical damage to demi humans by 3%
bonus2 bAddRace,7,3;
bonus2 bMagicAddRace,7,3;
-
QQfoolsorellina's post in REQ ' equip2 ' command was marked as the answer
http://rathena.org/board/files/file/2240-release-script-command-equip2/
-
QQfoolsorellina's post in Royal Guard Inspiration Skill effect was marked as the answer
try to modify status.c
case SC_INSPIRATION: if( sd ) { val2 = (40 * val1) + (3 * sd->status.job_level); // ATK bonus - val3 = (sd->status.job_level / 10) * 2 + 12; // All stat bonus + val3 = 25 ; // All stat bonus } val4 = tick / 1000; tick_time = 1000; // [GodLesZ] tick time status_change_clear_buffs(bl,3); //Remove buffs/debuffs break; -
QQfoolsorellina's post in GetDirection()... was marked as the answer
try this ...
BUILDIN_FUNC(getdirection) { int udir; struct block_list* bl; bl = map_id2bl(script_getnum(st,2)); if( bl == NULL ){ script_pushint(st,-1); return 0; } udir = (bl->type == BL_NPC ? ((TBL_NPC*)bl)->ud.dir :unit_bl2ud(bl)->dir); script_pushint(st,udir); return 0; } BUILDIN_DEF(getdirection,"i"), -
QQfoolsorellina's post in @afk command mod was marked as the answer
- script test123456 -1,{
end;
OnInit:
.mindistance=3;
setarray .npcnamelist$[0],"aaaa","bbbb","CCC";
bindatcmd "afk", strnpcinfo(0)+"::OnAFK";
end;
OnAFK:
.@size=getarraysize(.npcnamelist$);
getmapxy(.@mp$,.@mpx,.@mpy,0);
for(;.@i<.@size;.@i++){
if(!getmapxy(.@mn$,.@mnx,.@mny,1,.npcnamelist$[.@i])){
if( distance(.@mpx,.@mpy,.@mnx,.@mny) < .mindistance){
dispbottom " you can't use @afk command ,cause You're too near the npc";
end;
}
}
}
atcommand "@afk";
end;
}
-
QQfoolsorellina's post in Ammunition not working was marked as the answer
pc.h
EQI_AMMO must equal EQI_MAX-1 position in the enum equip_index { }
EQP_AMMO must be the last one position in the enum equip_pos {} -
QQfoolsorellina's post in Newbie set was marked as the answer
Here you go..
The newbie set was from China and credit to 妖西(Yocci)
Newbie Set.7z
-
QQfoolsorellina's post in How to disable @storage on all guild castles? was marked as the answer
- script Sample -1,{ end; OnInit: bindatcmd "storage",strnpcinfo(0)+"::OnAtcommand"; end; OnAtcommand: if(getmapflag(strcharinfo(3),mf_gvg)) end; openstorage; end; }
edit: edit typo thanks to Capuche
-
QQfoolsorellina's post in about mob and itemdrop. was marked as the answer
static int mob_delay_item_drop(int tid, unsigned int tick, int id, intptr_t data)
-
QQfoolsorellina's post in Idle Santuary Place was marked as the answer
Thank you for pointing out that mistakes
OnTouch: if( @idtime ) end; while (getmapxy(.@map$,.@x,.@y,0) == 0 ) { // check distance if (.npc_map$!=.@map$ || distance(.@x,.@y, .npc_x,.npc_y) > 2 ) { set @idtime,0; break; } set @idtime,@idtime+1; if (@idtime >=3600) { getexp 100,100; set @idtime,0; } sleep2 1000; } end;
-
QQfoolsorellina's post in Head distance fix? was marked as the answer
try this ,put the file into
data\sprite\Àΰ£Á·\¸öÅë\¿©
sura.7z
-
QQfoolsorellina's post in Prontera Snow was marked as the answer
check client stuff about data\etcinfo.txt
to remove snow effect
-
QQfoolsorellina's post in Check items before entering a Map was marked as the answer
if(!countitem(itemid)){ mes "you don't have ticket!" close; }