-
Posts
143 -
Joined
-
Last visited
-
Days Won
2
Community Answers
-
Jarek's post in Hp on ranged attack kill was marked as the answer
src\map\skil.cpp
int skill_counter_additional_effect ... if( (attack_type&(BF_WEAPON|BF_SHORT)) == (BF_WEAPON|BF_SHORT) ) { sp += sd->bonus.sp_gain_value; sp += sd->sp_gain_race[status_get_race(bl)] + sd->sp_gain_race[RC_ALL]; hp += sd->bonus.hp_gain_value; } If you change condition like this
if( attack_type&BF_WEAPON ) It will work with physical melee and ranged attacks
-
Jarek's post in Status ATK Formula was marked as the answer
\src\map\status.cpp
unsigned short status_base_atk ... str = (dstr*10 + dex*10/5 + status->luk*10/3 + ((TBL_PC*)bl)->status.base_level*10/4)/10;
-
Jarek's post in Ultimate Guild Ranker was marked as the answer
Replace GETTIME_DAYOFMONTH with DT_DAYOFMONTH,
GETTIME_MONTH with DT_MONTH,
GETTIME_YEAR with DT_YEAR,
etc..
-
Jarek's post in Requesting item +20 resetter using sql was marked as the answer
UPDATE `cart_inventory`,`inventory`,`storage`,`guild_storage` SET `refine` = 5 WHERE `refine` = 20
-
Jarek's post in Rathena Jobchanger was marked as the answer
Find
while(1) { mes "Select an option."; next; set .@i, select(" ~ ^0055FFRebirth^000000:"+((.ThirdClass)?" ~ ^FF0000Third Class^000000":"")+": ~ ^777777Cancel^000000"); if (.@i==3) close; mes "[Job Master]"; mes "Are you sure?"; next; Job_Menu(((.@i==1)?4001:roclass(.@eac|EAJL_THIRD))); mes "[Job Master]"; } Replace with
while(1) { mes "Select an option."; next; if (select(" ~ ^0055FFRebirth^000000: ~ ^777777Cancel^000000") == 2) close; mes "[Job Master]"; mes "Are you sure?"; next; Job_Menu(4001); mes "[Job Master]"; } -
Jarek's post in Scripting help. was marked as the answer
You must use AND instead of OR
I mean
if(countitem(5107) >= 10 && countitem(6153) >= 10) instead of
if(countitem(5107) >= 10 || countitem(6153) >= 10) -
Jarek's post in Warp cost differentiation in toasty warper was marked as the answer
1) usercount
replace
set .@output$, .@output$ + ((.@enable)?(.@nodeName$ +((.showNodeUserCount)?(" [^0000FF" + .@userCount + "^000000]"):"")):""); with
set .@output$, .@output$ + ((.@enable)?(.@nodeName$ +((.showNodeUserCount && (getgmlevel()==99))?(" [^0000FF" + .@userCount + "^000000]"):"")):""); 2)zeny
replace
set Zeny, Zeny - .@cost; with
set @price, 1000*(BaseLevel<30?0:BaseLevel<60?1:BaseLevel<80?2:3); if (Zeny<@price){ mes "Not enough Zeny"; close; } set Zeny, Zeny - @price;
P.S.: Namaste, если еще будут вопросы по теме - пиши сразу в личку (=
-
Jarek's post in requesting 31239,SwordBarrier item script was marked as the answer
omg, must be AC_CONCENTRATION
-
Jarek's post in is this normal for new morroc map? was marked as the answer
yep
http://ratemyserver.net/worldmap.php
-
Jarek's post in Alchemist jobchange quest was marked as the answer
I think you should insert
changequest 2033,2039;in this part mes "[Darwin]"; mes "^666666*Gasp...*^000000";
mes "You are now";
mes "an Alchemist!!";
mes "Go to the Union";
mes "and cast away the last";
mes "vestiges of Merchant life!!";
set ALCH_Q,40;
+ changequest 2033,2039;
close;
And report to bug tracker -
Jarek's post in Looking for a @mobs command was marked as the answer
http://rathena.org/board/topic/64368-mapmoblistml-gm-command/ -
Jarek's post in Mobsearch(no coords)for players was marked as the answer
Sorry, i made a mistake with copy\paste
Please, replace
snprintf(atcmd_output, sizeof(atcmd_output), "-[%s] %s", number, "alive", md->name);withsnprintf(atcmd_output, sizeof(atcmd_output), "%2d[%s] %s", number, "alive", md->name); -
Jarek's post in How to put time interval before player can talk to the NPC? was marked as the answer
-
Jarek's post in Warning Onpcloginevent was marked as the answer
You can increase MAX_EVENTQUEUE in src\map\map.h
-
Jarek's post in where can i get homunculus embryo? was marked as the answer
produce_db.txt
//-- Embryo <-- AM_PHARMACY & Potion Creation Guide & 1 Seed of Life, 1 Morning Dew of Yggdrasil, 1 Glass Tube
7142,22,228,1,7144,0,7140,1,7141,1,7143,1
-
Jarek's post in custom @monster command was marked as the answer
atcommand.c
ACMD_FUNC(monster) ...
memset(name, '\0', sizeof(name));
memset(monster, '\0', sizeof(monster));
memset(atcmd_output, '\0', sizeof(atcmd_output));
+ if((pc_get_group_level(sd) < 99) && (map[sd->bl.m].flag.town))
+ return -1;
if (!message || !*message) {
...