-
Content Count
1677 -
Joined
-
Last visited
-
Days Won
247
Posts posted by AnnieRuru
-
-
Spoiler1st off, you modified the script
https://rathena.org/board/topic/118187-h-inserting-this-script-to-woe2/?do=findComment&comment=357391
originally it wasn't like that2nd, first edition woe use OnAgitStart:, second edition woe use OnAgitStart2:
on rathena (only), training edition woe use OnAgitStart3:
and you break that part againand 3rd, why did you put monsters on unconquered map again, when the official script already did the same thing ???
so the answer to your question is, I have absolutely no idea what you are doing
ok, read back the topic in rathena, I actually know what you are trying to make
but your script totally ruined it, and I have no idea where to start fixing that ... it just a total messso by the information what I gotten are ...
1. you just want to have guardians roaming in conquered castle
2. "guild_vs2" custom castle is actually not part of the code you want (I provide the template, and you failed to understand the template)is that correct ?
its much easier if I have spoon feed from the beginning -
already mentioned in script_commands.txt
*expandInventory(<value>) Adjust player inventory to given value. Maximum inventory size is MAX_INVENTORY. Minimum inventory size is FIXED_INVENTORY_SIZE. For supported clients it send inventory change packet. For old clients, this change is silent. Current max inventory size can be read by function getInventorySize().
-
pet eggs are not simple as that, there is also a `pet` table you have to worry about
you can't just *delitem ... have to list the pet owner, intimacy, ... etc fetch the pet information then use *delitem2 to delete the correct pet IDalso your script is a total mess, I have totally no idea what you are doing
// counting_sort_index <input array>, <output index>{, <total index>}; function script counting_sort_index { .@total = .@size = getarg( 2, getarraysize( getarg(0) ) ); copyarray .@arr, getarg(0), .@size; for ( .@i = 0; .@i < .@size; ++.@i ) setd ".@index_"+ .@arr[.@i] +"["+( .@tmp[.@arr[.@i]]++ )+"]", .@i; for ( ; .@size; --.@size ) { .@index = getarraysize(.@tmp) -1; .@out[.@size-1] = getd( ".@index_"+ .@index +"["+( --.@tmp[.@index] )+"]" ); } copyarray getarg(1), .@out, .@total; return; } prontera,155,185,5 script F_PetTrader 1_F_MARIA,{ disable_items; if ( getpetinfo(1) ) { mes "please return your pet into egg state to continue"; close; } getinventorylist; for ( .@i = 0; .@i < @inventorylist_count; ++.@i ) { if ( @inventorylist_card1[.@i] == -256 ) { .@egg_id[.@c] = @inventorylist_id[.@i]; .@pet_id[.@c] = @inventorylist_card2[.@i] + @inventorylist_card3[.@i] * ( 1 << 16 ); ++.@c; } } if ( !.@c ) { mes "your inventory doesn't have any pet egg"; close; } counting_sort_index .@petid, .@s, .@c; // never thought a time need a sorting algorithm for ( .@i = 0; .@i < .@c; ++.@i ) { .@petid[.@i] = .@pet_id[.@s[.@i]]; .@eggid[.@i] = .@egg_id[.@s[.@i]]; } .@pet_field$ = .@petid[0]; for ( .@i = 1; .@i < .@c; ++.@i ) .@pet_field$ += ","+ .@petid[.@i]; .@nb = query_sql( "select intimate, class, equip, name from pet where pet_id in ("+ .@pet_field$ +") order by pet_id", .@intimate, .@class, .@equipped, .@name$ ); if ( .@nb != .@c ) { mes "Error ... "; close; } mesf "There are %d pet egg inside your inventory", .@c; for ( .@i = 0; .@i < .@nb; ++.@i ) { mesf "\rPet ID : %d", .@petid[.@i]; mesf "Pet Name : %s", .@name$[.@i]; mesf "Pet Class : %d", .@class[.@i]; mesf "Egg ID : %d", .@eggid[.@i]; mesf "Intimacy : %d", .@intimate[.@i]; } next; for ( .@i = 0; .@i < .@nb; ++.@i ) .@menu$ += sprintf( ("[%d] %s:"), .@petid[.@i], replacestr( .@name$[.@i], ":", ";" ) ); .@s = select(.@menu$) -1; mesf "Selected #%d %s", .@petid[.@s], .@name$; // then decide what you want to do here mes "delete it ?"; next; if ( select( "Yes", "No" ) == 2 ) close; delitem2 .@eggid[.@s], 1,1,0,0, -256, .@petid[.@s] % ( 1 << 16 ), .@petid[.@s] / ( 1 << 16 ), 0; close; }
-
bonus bUnbreakableGarment,`n`; | Garment cannot be damaged/broken by any means bonus bUnbreakableWeapon,`n`; | Weapon cannot be damaged/broken by any means bonus bUnbreakableArmor,`n`; | Armor cannot be damaged/broken by any means bonus bUnbreakableHelm,`n`; | Helm cannot be damaged/broken by any means bonus bUnbreakableShield,`n`; | Shield cannot be damaged/broken by any means bonus bUnbreakableShoes,`n`; | Shoes cannot be damaged/broken by any means
there are already having item bonus to do this,
so maybe a 3rd solution is simply extend the armor protection to protect garment
and extend helm protection to protect shoes -
that means _$() or _() is equally detect by HULD, the only difference is it generate a comment in the pot file
means nothing big differences
... I actually thought _() unable to parse %s or something ... seems I was wrong@Myriad, soon we will roll out a new version of HULD, it already discuss on the staff level
old design -> http://herc.ws/board/topic/8687-hercules-ultimate-localization-design/
once the new design roll out, I willforcerecommend the community to adapt this new scripting styleand for your question, because sprintf("Test %s", .@var); isn't detect by HULD
and its sprintf(_("Text %s"), .@var); , only enclose the stringby the way, on a side note, I seriously think we should change all the ^000000 into F_MesColor(C_BLACK)
some machine translation can break
^000000 into ^ 000000 <-- can be solve by F_MesColor
%s into % s <-- nothing can be done with this, other than manually fix it -
1 sentence ->
I cannot understand your post
Spoilerlooks like spam, but I am turning this topic to other members who can understand him
btw if you are talking about having a long list of array, isn't that already in your 1st post
yeah, can't understand you, despite we live in the same countrycatch me in discord
https://discordapp.com/invite/ZUzbRSp -
23 hours ago, utofaery said:1. How to add exclusion on this script like another array which exclude items from being found?
prontera,155,185,5 script kjsdhfksjf 1_F_MARIA,{ disable_items; getinventorylist; for ( .@i = 0; .@i < @inventorylist_count; ++.@i ) { .@item_type = getiteminfo( @inventorylist_id[.@i], ITEMINFO_TYPE ); if ( ( .@item_type == IT_WEAPON || .@item_type == IT_ARMOR ) && !@inventorylist_equip[.@i] && !.costumeid[ @inventorylist_id[.@i] ] ) .@id[.@c++] = @inventorylist_id[.@i]; } mes "Equipments found that are not costumes"; if ( !.@c ) { mes "<none>"; close; } mesf "Total -> %d", .@c; for ( .@i = 0; .@i < .@c; ++.@i ) mes getitemname( .@id[.@i] ); close; OnInit: // SQL query to fetch all the costumes .@nb = query_sql( "select id from item_db where equip_locations & "+( EQP_COSTUME_HEAD_TOP|EQP_COSTUME_HEAD_MID|EQP_COSTUME_HEAD_LOW|EQP_COSTUME_GARMENT ), .@id ); // build the 'pointers' to compare later freeloop true; for ( .@i = 0; .@i < .@nb; ++.@i ) .costumeid[ .@id[.@i] ] = true; end; }
-
What is the difference between _("<string>") and _$("<string>") meant for HULD
I found a few clues in script.c
else if( strcmp(buildin->name, "mes") == 0 ) script->buildin_mes_offset = script->buildin_count; else if( strcmp(buildin->name, "mesf") == 0 ) script->buildin_mesf_offset = script->buildin_count; else if( strcmp(buildin->name, "select") == 0 ) script->buildin_select_offset = script->buildin_count; else if( strcmp(buildin->name, "_") == 0 ) script->buildin_lang_macro_offset = script->buildin_count; else if( strcmp(buildin->name, "_$") == 0 ) script->buildin_lang_macro_fmtstring_offset = script->buildin_count;
so its script->buildin_lang_macro_offset and script->buildin_lang_macro_fmtstring_offset
next, in generate-translations.c
if (!duplicate) { if (script->syntax.last_func == script->buildin_mes_offset || script->syntax.last_func == script->buildin_select_offset || script->syntax.lang_macro_active ) { is_translatable_string = true; } else if (script->syntax.last_func == script->buildin_mesf_offset || script->syntax.lang_macro_fmtstring_active ) { is_translatable_fmtstring = true; } }
now this make sense, _("<string>") is somehow group together with mes and select
_$("<string>") is somehow group together with mesfso this is my guess ...
_("<string>") is for those without %d %s ...
_$("<string>") is for those with %d %s ... like sprintf ... right ?so ... my next question is ... there are 3 types
<none>
c format
no c formatSpoiler- script asdf FAKE_NPC,{ .@a$ = _("test"); .@b$ = _$("nothing"); end; OnInit: bindatcmd "mobcount", strnpcinfo(NPC_NAME)+"::Onaaa"; end; Onaaa: if ( !.@atcmd_numparameters ) { dispbottom "input a mob ID"; end; } .@mobid = atoi( .@atcmd_parameters$ ); if ( getmonsterinfo( .@mobid, MOB_LV ) == -1 ) { dispbottom "invalid monster ID"; end; } .@size = getunits( BL_MOB, .@bl, false, strcharinfo(PC_MAP) ); for ( .@i = 0; .@i < .@size; ++.@i ) if ( getunitdata( .@bl[.@i], UDT_CLASS ) == .@mobid ) ++.@c; dispbottom sprintf(_("There are %1$dx %2$s in %3$s."), .@c, getmonsterinfo( .@mobid, MOB_NAME ), strcharinfo(PC_MAP) ); end; }
generate the file as
#: npc/zzz.txt # .@a$ = _("test"); msgctxt "asdf" msgid "test" msgstr "" #: npc/zzz.txt # .@b$ = _$("nothing"); #, c-format msgctxt "asdf" msgid "nothing" msgstr "" #: npc/zzz.txt # dispbottom sprintf(_("There are %1$dx %2$s in %3$s."), .@c, getmonsterinfo( .@mobid, MOB_NAME ), strcharinfo(PC_MAP) ); #, no-c-format msgctxt "asdf" msgid "There are %1$dx %2$s in %3$s." msgstr ""
what are those actually means then ?
if translate by hand, it probably doesn't mean anything ...
line 187 in generate-translations.c
is_translatable_fmtstring ? "#, c-format\n" : (has_percent_sign ? "#, no-c-format\n" : ""),
-
cannot reproduce, 0,9,14,31 .... all status GREEN
prontera,155,185,5 script kjsdhfksjf 1_F_MARIA,{ input .@a; setbattleflag "land_skill_limit", .@a; getmapxy .@map$, .@x, .@y, UNITTYPE_NPC; areamonster .@map$, .@x -10, .@y -10, .@x +10, .@y +10, "--ja--", NAGHT_SIEGER, 30, "", Size_Small, AI_ATTACK; areamonster .@map$, .@x -10, .@y -10, .@x +10, .@y +10, "--ja--", PORING_V, 30, "", Size_Small, AI_NONE; end; }
-
hmm ... its not backward compatible, like Hercules compile with Windows 8.1 SDK, will throw error
Spoiler1>------ Build started: Project: char-server, Configuration: Debug Win32 ------ 2>------ Build started: Project: login-server, Configuration: Debug Win32 ------ 2>grammar.c 2>libconfig.c 2>grammar.y(34): fatal error C1083: Cannot open include file: 'string.h': No such file or directory (compiling source file ..\3rdparty\libconfig\grammar.c) 2>d:\ragnarok\hercules\3rdparty\libconfig\libconfig.c(27): fatal error C1083: Cannot open include file: 'locale.h': No such file or directory 2>scanctx.c 2>scanner.c 2>d:\ragnarok\hercules\3rdparty\libconfig\libconfig.h(46): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory (compiling source file ..\3rdparty\libconfig\scanctx.c) 2>strbuf.c 2>d:\ragnarok\hercules\3rdparty\libconfig\strbuf.h(26): fatal error C1083: Cannot open include file: 'string.h': No such file or directory (compiling source file ..\3rdparty\libconfig\strbuf.c) 2>scanner.c(19): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory (compiling source file ..\3rdparty\libconfig\scanner.c) 2>des.c 2>mutex.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\mutex.c) 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\des.c) 2>thread.c 2>account.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\thread.c) 2>HPMlogin.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\login\account.c) 2>ipban.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\login\ipban.c) 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\login\HPMlogin.c) 2>lclif.c 2>login.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\login\lclif.c) 2>loginlog.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\login\login.c) 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\login\loginlog.c) 2>conf.c 2>core.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\conf.c) 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\core.c) 2>packets.c 2>console.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\packets.c) 2>db.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\console.c) 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\db.c) 2>ers.c 2>grfio.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\ers.c) 2>HPM.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\grfio.c) 2>memmgr.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\HPM.c) 2>md5calc.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\memmgr.c) 2>nullpo.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\md5calc.c) 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\nullpo.c) 2>random.c 2>showmsg.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\random.c) 2>socket.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\socket.c) 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\showmsg.c) 2>sql.c 2>strlib.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\strlib.c) 2>sysinfo.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\sql.c) 2>timer.c 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\sysinfo.c) 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\timer.c) 2>utils.c 2>mt19937ar.c 2>d:\ragnarok\hercules\3rdparty\mt19937ar\mt19937ar.c(46): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 2>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\utils.c) 2>Done building project "login-server.vcxproj" -- FAILED. 3>------ Build started: Project: map-server, Configuration: Debug Win32 ------ 1>grammar.c 1>libconfig.c 1>grammar.y(34): fatal error C1083: Cannot open include file: 'string.h': No such file or directory (compiling source file ..\3rdparty\libconfig\grammar.c) 1>d:\ragnarok\hercules\3rdparty\libconfig\libconfig.c(27): fatal error C1083: Cannot open include file: 'locale.h': No such file or directory 1>scanctx.c 1>scanner.c 1>d:\ragnarok\hercules\3rdparty\libconfig\libconfig.h(46): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory (compiling source file ..\3rdparty\libconfig\scanctx.c) 1>scanner.c(19): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory (compiling source file ..\3rdparty\libconfig\scanner.c) 1>strbuf.c 1>mt19937ar.c 1>d:\ragnarok\hercules\3rdparty\libconfig\strbuf.h(26): fatal error C1083: Cannot open include file: 'string.h': No such file or directory (compiling source file ..\3rdparty\libconfig\strbuf.c) 1>int_rodex.c 1>d:\ragnarok\hercules\3rdparty\mt19937ar\mt19937ar.c(46): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 1>conf.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\int_rodex.c) 1>core.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\conf.c) 1>packets.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\core.c) 1>console.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\console.c) 1>db.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\packets.c) 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\db.c) 1>des.c 1>ers.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\ers.c) 1>grfio.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\des.c) 1>HPM.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\HPM.c) 1>memmgr.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\memmgr.c) 1>mapindex.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\grfio.c) 1>md5calc.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\mapindex.c) 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\md5calc.c) 1>mutex.c 1>nullpo.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\nullpo.c) 1>random.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\mutex.c) 1>showmsg.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\random.c) 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\showmsg.c) 1>socket.c 1>sql.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\sql.c) 1>strlib.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\socket.c) 1>sysinfo.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\strlib.c) 1>thread.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\thread.c) 1>timer.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\sysinfo.c) 1>utils.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\timer.c) 1>HPMchar.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\utils.c) 1>char.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\HPMchar.c) 1>geoip.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\char.c) 1>int_achievement.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\geoip.c) 1>int_auction.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\int_achievement.c) 1>int_clan.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\int_clan.c) 1>int_elemental.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\int_auction.c) 1>int_guild.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\int_elemental.c) 1>int_homun.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\int_homun.c) 1>int_mail.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\int_guild.c) 1>int_mercenary.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\int_mail.c) 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\int_mercenary.c) 1>int_party.c 1>int_pet.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\int_pet.c) 1>int_quest.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\int_party.c) 1>int_storage.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\int_quest.c) 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\int_storage.c) 1>inter.c 1>loginif.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\loginif.c) 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\inter.c) 1>mapif.c 1>pincode.c 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\mapif.c) 1>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\char\pincode.c) 1>Done building project "char-server.vcxproj" -- FAILED. 4>------ Build started: Project: plugin-sample, Configuration: Debug Win32 ------ 4>sample.c 4>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 4>Done building project "plugin-sample.vcxproj" -- FAILED. 5>------ Build started: Project: plugin-HPMHooking_map, Configuration: Debug Win32 ------ 5>HPMHooking.c 5>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 5>Done building project "plugin-HPMHooking_map.vcxproj" -- FAILED. 6>------ Build started: Project: plugin-HPMHooking_char, Configuration: Debug Win32 ------ 6>HPMHooking.c 6>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 6>Done building project "plugin-HPMHooking_char.vcxproj" -- FAILED. 7>------ Build started: Project: plugin-HPMHooking_login, Configuration: Debug Win32 ------ 7>HPMHooking.c 7>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 7>Done building project "plugin-HPMHooking_login.vcxproj" -- FAILED. 8>------ Build started: Project: generate-translations, Configuration: Debug Win32 ------ 3>grammar.c 8>generate-translations.c 8>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 8>Done building project "generate-translations.vcxproj" -- FAILED. 9>------ Build started: Project: mapcache, Configuration: Debug Win32 ------ 3>libconfig.c 3>grammar.y(34): fatal error C1083: Cannot open include file: 'string.h': No such file or directory (compiling source file ..\3rdparty\libconfig\grammar.c) 3>scanctx.c 3>d:\ragnarok\hercules\3rdparty\libconfig\libconfig.c(27): fatal error C1083: Cannot open include file: 'locale.h': No such file or directory 3>scanner.c 3>d:\ragnarok\hercules\3rdparty\libconfig\libconfig.h(46): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory (compiling source file ..\3rdparty\libconfig\scanctx.c) 3>strbuf.c 3>scanner.c(19): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory (compiling source file ..\3rdparty\libconfig\scanner.c) 3>mt19937ar.c 3>d:\ragnarok\hercules\3rdparty\libconfig\strbuf.h(26): fatal error C1083: Cannot open include file: 'string.h': No such file or directory (compiling source file ..\3rdparty\libconfig\strbuf.c) 3>conf.c 3>d:\ragnarok\hercules\3rdparty\mt19937ar\mt19937ar.c(46): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 3>core.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\conf.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\core.c) 3>packets.c 3>console.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\console.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\packets.c) 3>db.c 3>des.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\db.c) 3>ers.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\des.c) 3>grfio.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\ers.c) 3>HPM.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\grfio.c) 3>memmgr.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\memmgr.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\HPM.c) 3>mapindex.c 3>md5calc.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\mapindex.c) 3>mutex.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\md5calc.c) 3>nullpo.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\mutex.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\nullpo.c) 3>random.c 3>showmsg.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\random.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\showmsg.c) 3>socket.c 3>sql.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\sql.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\socket.c) 3>strlib.c 3>sysinfo.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\sysinfo.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\strlib.c) 3>thread.c 3>timer.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\thread.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\timer.c) 3>utils.c 3>achievement.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\common\utils.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\achievement.c) 3>atcommand.c 3>battle.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\battle.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\atcommand.c) 3>battleground.c 3>buyingstore.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\buyingstore.c) 3>channel.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\battleground.c) 3>chat.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\channel.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\chat.c) 3>chrif.c 3>clan.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\clan.c) 3>clif.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\chrif.c) 3>date.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\clif.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\date.c) 3>duel.c 3>elemental.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\elemental.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\duel.c) 3>guild.c 3>intif.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\intif.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\guild.c) 3>irc-bot.c 3>itemdb.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\itemdb.c) 3>log.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\irc-bot.c) 3>mail.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\mail.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\log.c) 3>map.c 3>mapreg_sql.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\mapreg_sql.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\map.c) 3>homunculus.c 3>HPMmap.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\homunculus.c) 3>instance.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\HPMmap.c) 3>mercenary.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\instance.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\mercenary.c) 3>mob.c 3>npc.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\npc.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\mob.c) 3>npc_chat.c 3>party.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\party.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\npc_chat.c) 3>path.c 3>pc.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\path.c) 3>pc_groups.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\pc.c) 3>pet.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\pet.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\pc_groups.c) 3>quest.c 3>rodex.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\quest.c) 3>script.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\rodex.c) 3>searchstore.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\searchstore.c) 3>skill.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\script.c) 3>status.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\skill.c) 3>storage.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\status.c) 3>trade.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\storage.c) 3>unit.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\trade.c) 3>vending.c 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\vending.c) 3>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory (compiling source file ..\src\map\unit.c) 9>mapcache.c 3>Done building project "map-server.vcxproj" -- FAILED. 10>------ Build started: Project: zzz, Configuration: Debug Win32 ------ 9>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 9>Done building project "mapcache.vcxproj" -- FAILED. 11>------ Build started: Project: OnPCStatCalcEvent, Configuration: Debug Win32 ------ 10>zzz.c 10>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 10>Done building project "zzz.vcxproj" -- FAILED. 11>OnPCStatCalcEvent.c 11>d:\ragnarok\hercules\src\common\cbasetypes.h(127): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 11>Done building project "OnPCStatCalcEvent.vcxproj" -- FAILED. ========== Build: 0 succeeded, 11 failed, 0 up-to-date, 0 skipped ==========
same thing with rathena
Spoiler1>------ Build started: Project: libconfig, Configuration: Debug Win32 ------ 2>------ Build started: Project: yaml-cpp, Configuration: Debug Win32 ------ 2>binary.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>graphbuilder.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>graphbuilderadapter.cpp 1>grammar.c 1>grammar.y(33): fatal error C1083: Cannot open include file: 'string.h': No such file or directory 1>libconfig.c 1>d:\ragnarok\rathena\3rdparty\libconfig\libconfig.h(48): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 1>scanctx.c 1>d:\ragnarok\rathena\3rdparty\libconfig\libconfig.h(48): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 1>scanner.c 1>scanner.c(20): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 1>strbuf.c 1>d:\ragnarok\rathena\3rdparty\libconfig\strbuf.h(28): fatal error C1083: Cannot open include file: 'string.h': No such file or directory 1>Generating Code... 1>Done building project "libconfig.vcxproj" -- FAILED. 3>------ Build started: Project: common-minicore, Configuration: Debug Win32 ------ 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>convert.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>directives.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>emit.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>emitfromevents.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>emitter.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>emitterstate.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>emitterutils.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>exceptions.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>exp.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>memory.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>node.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>nodebuilder.cpp 2>d:\ragnarok\rathena\3rdparty\yaml-cpp\src\nodebuilder.cpp(1): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory 2>nodeevents.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>node_data.cpp 2>d:\ragnarok\rathena\3rdparty\yaml-cpp\src\node_data.cpp(1): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory 2>null.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>ostream_wrapper.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>parse.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>Generating Code... 2>Compiling... 2>parser.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>regex_yaml.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>scanner.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>scanscalar.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>scantag.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>scantoken.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>simplekey.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\cstddef(7): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory 2>singledocparser.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>stream.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>tag.cpp 2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 2>Generating Code... 3>cli.cpp 3>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 3>conf.cpp 3>d:\ragnarok\rathena\3rdparty\libconfig\libconfig.h(48): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 3>core.cpp 3>d:\ragnarok\rathena\src\common\core.cpp(12): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory 3>des.cpp 3>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 3>grfio.cpp 3>d:\ragnarok\rathena\src\common\grfio.cpp(6): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory 3>malloc.cpp 3>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 3>mapindex.cpp 3>d:\ragnarok\rathena\src\common\mmo.hpp(7): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 3>md5calc.cpp 3>d:\ragnarok\rathena\src\common\md5calc.cpp(14): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 3>msg_conf.cpp 3>d:\ragnarok\rathena\src\common\msg_conf.cpp(6): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 3>nullpo.cpp 3>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 3>random.cpp 3>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 3>showmsg.cpp 3>d:\ragnarok\rathena\3rdparty\libconfig\libconfig.h(48): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 3>strlib.cpp 3>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 3>utils.cpp 3>d:\ragnarok\rathena\src\common\utils.hpp(7): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 3>winapi.cpp 3>d:\ragnarok\rathena\src\common\winapi.hpp(48): fatal error C1083: Cannot open include file: 'io.h': No such file or directory 3>Generating Code... 3>Done building project "common-minicore.vcxproj" -- FAILED. 4>------ Build started: Project: mapcache, Configuration: Debug Win32 ------ 2>Done building project "yaml-cpp.vcxproj" -- FAILED. 5>------ Build started: Project: common, Configuration: Debug Win32 ------ 4>mapcache.cpp 5>cli.cpp 4>d:\ragnarok\rathena\src\tool\mapcache.cpp(4): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 4>Done building project "mapcache.vcxproj" -- FAILED. 5>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 5>conf.cpp 5>d:\ragnarok\rathena\3rdparty\libconfig\libconfig.h(48): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 5>core.cpp 5>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 5>db.cpp 5>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 5>des.cpp 5>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 5>ers.cpp 5>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 5>grfio.cpp 5>d:\ragnarok\rathena\src\common\grfio.cpp(6): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory 5>malloc.cpp 5>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 5>mapindex.cpp 5>d:\ragnarok\rathena\src\common\mmo.hpp(7): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 5>md5calc.cpp 5>d:\ragnarok\rathena\src\common\md5calc.cpp(14): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 5>msg_conf.cpp 5>d:\ragnarok\rathena\src\common\msg_conf.cpp(6): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 5>nullpo.cpp 5>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 5>random.cpp 5>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 5>showmsg.cpp 5>d:\ragnarok\rathena\3rdparty\libconfig\libconfig.h(48): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 5>socket.cpp 5>d:\ragnarok\rathena\src\common\winapi.hpp(48): fatal error C1083: Cannot open include file: 'io.h': No such file or directory 5>sql.cpp 5>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 5>strlib.cpp 5>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 5>timer.cpp 5>d:\ragnarok\rathena\src\common\timer.hpp(7): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 5>utils.cpp 5>d:\ragnarok\rathena\src\common\utils.hpp(7): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 5>winapi.cpp 5>d:\ragnarok\rathena\src\common\winapi.hpp(48): fatal error C1083: Cannot open include file: 'io.h': No such file or directory 5>Generating Code... 5>Compiling... 5>utilities.cpp 5>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 5>Generating Code... 5>Done building project "common.vcxproj" -- FAILED. 6>------ Build started: Project: login-server, Configuration: Debug Win32 ------ 7>------ Build started: Project: char-server, Configuration: Debug Win32 ------ 7>char.cpp 6>account.cpp 7>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 6>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 6>ipban.cpp 6>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 7>char_clif.cpp 7>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 7>char_cnslif.cpp 7>d:\ragnarok\rathena\src\char\char_cnslif.cpp(6): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory 7>char_logif.cpp 7>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 7>char_mapif.cpp 7>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 6>login.cpp 6>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 6>loginchrif.cpp 6>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 6>loginclif.cpp 6>d:\ragnarok\rathena\src\login\loginclif.cpp(6): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory 7>inter.cpp 7>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 7>int_achievement.cpp 7>d:\ragnarok\rathena\src\char\int_achievement.cpp(6): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 7>int_auction.cpp 7>d:\ragnarok\rathena\src\char\int_auction.cpp(6): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 7>int_clan.cpp 7>d:\ragnarok\rathena\src\char\int_clan.cpp(6): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory 7>int_elemental.cpp 7>d:\ragnarok\rathena\src\char\int_elemental.cpp(6): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory 7>int_guild.cpp 6>logincnslif.cpp 6>d:\ragnarok\rathena\src\login\logincnslif.cpp(6): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory 6>loginlog.cpp 6>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 6>Generating Code... 7>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 7>int_homun.cpp 7>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 7>int_mail.cpp 6>Done building project "login-server.vcxproj" -- FAILED. 8>------ Build started: Project: map-server, Configuration: Debug Win32 ------ 7>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 7>int_mercenary.cpp 7>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 7>int_party.cpp 7>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 7>int_pet.cpp 7>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 7>int_quest.cpp 7>d:\ragnarok\rathena\src\char\int_quest.cpp(6): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory 7>int_storage.cpp 7>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 7>Generating Code... 8>achievement.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>atcommand.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>battle.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>battleground.cpp 7>Done building project "char-server.vcxproj" -- FAILED. 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>buyingstore.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>cashshop.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>channel.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>chat.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>chrif.cpp 8>d:\ragnarok\rathena\src\map\chrif.hpp(7): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 8>clan.cpp 8>d:\ragnarok\rathena\src\common\mmo.hpp(7): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 8>clif.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>date.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>duel.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>elemental.cpp 8>d:\ragnarok\rathena\src\common\mmo.hpp(7): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 8>guild.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>homunculus.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>instance.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>intif.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>itemdb.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>log.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>Generating Code... 8>Compiling... 8>mail.cpp 8>d:\ragnarok\rathena\src\common\mmo.hpp(7): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 8>map.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>mapreg.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>mercenary.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>mob.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>npc.cpp 8>d:\ragnarok\rathena\src\common\timer.hpp(7): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 8>npc_chat.cpp 8>d:\ragnarok\rathena\src\common\timer.hpp(7): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 8>party.cpp 8>d:\ragnarok\rathena\src\common\mmo.hpp(7): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 8>path.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>pc.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>pc_groups.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>pet.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>quest.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>script.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>searchstore.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>skill.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>status.cpp 8>d:\ragnarok\rathena\src\common\mmo.hpp(7): fatal error C1083: Cannot open include file: 'time.h': No such file or directory 8>storage.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>trade.cpp 8>d:\ragnarok\rathena\src\map\trade.cpp(6): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory 8>unit.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>Generating Code... 8>Compiling... 8>vending.cpp 8>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 8>Generating Code... 8>Done building project "map-server.vcxproj" -- FAILED. ========== Build: 0 succeeded, 8 failed, 0 up-to-date, 0 skipped ==========
but after re-target to 10.0.17763.0, everything seems green
and no, I didn't get your Heal error after retarget to 17763 version
I try pull request then, see if they actually accept your suggestion or not
https://github.com/HerculesWS/Hercules/pull/2368 -
similar topic ->
and since you want method 3
prontera,155,185,5 script kjsdhfksjf 1_F_MARIA,{ disable_items; getinventorylist; for ( .@i = 0; .@i < @inventorylist_count; ++.@i ) { if ( .costumeid[ @inventorylist_id[.@i] ] && !.@compare[ @inventorylist_id[.@i] ] ) { .@found[.@c++] = @inventorylist_id[.@i]; .@compare[ @inventorylist_id[.@i] ] = true; } } if ( !.@c ) { mes "no costume found on your character"; close; } mesf "%d custome found on your character", .@c; for ( .@i = 0; .@i < .@c; ++.@i ) mes getitemname( .@found[.@i] ); close; OnInit: // SQL query to fetch all the costumes .@nb = query_sql( "select id from item_db where equip_locations & "+( EQP_COSTUME_HEAD_TOP|EQP_COSTUME_HEAD_MID|EQP_COSTUME_HEAD_LOW|EQP_COSTUME_GARMENT ), .@id ); // build the 'pointers' to compare later freeloop true; for ( .@i = 0; .@i < .@nb; ++.@i ) .costumeid[ .@id[.@i] ] = true; end; }
EDIT: no longer repeat the costume value
-
14 minutes ago, utofaery said:You could retarget project even if you are not on
Windows 10 SDK 10.0.15063
Windows 8.1 SDK
I used 10.0.17763.0
I need to test this, if this is true, this really save a lot of time ...
by the way, isn't this will make the emulator bug ? because our code isn't intended to be coded this way
-
thanks for the criticism, this post is better, +1
about visual studio 2017 guide in the image, yes I admit that part was the most frustrating one ...
it just ... this part took me 3 days to install .. download 2.5 GB is a lotdownload visual studio, 1 day ...
hercules need Windows 10 SDK 10.0.15063 ... download 1 day ...
rathena need Windows 8.1 SDK ... download another 1 day...in my experience, this part makes me very frustrated
https://rathena.org/board/topic/117966-how-to-find-nearest-enemyobtain-a-list-of-units-on-the-same-map-etc/?do=findComment&comment=356462
he's not patient about downloading another visual studio LOL ... he is currently sticking with visual studio 2013, and I kinda think it works
btw he does update his emulator project to the latest eventually... and he having problems with creating patch
https://rathena.org/board/topic/118036-how-to-reduce-monster-atk/?do=findComment&comment=3567622 hours ago, anacondaqq said:Yea, because I'm busy right now. Not sure if "something new" better. I checking github every signle day and read commits, changes, and I think after changing map flags, and touching other staff, rathena not stable at all right now, and have much more bugs, then before these changes. So 07 July 2018 = old, but not so bad.
100% agree, rathena kinda crash a lot in recent commits
PS : .... *click this*
-
I'll just pick a few to reply
1. you did a good job helping people to instantly setup a server, I wont deny that part
just like playing games online, for example, just download the package, plug and playwhat I did is post a proper guide for the community, same as many others before me,
http://herc.ws/board/topic/152-obtaining-hercules/
http://herc.ws/board/topic/968-guide-how-to-setup-hercules/#comment-6870
http://herc.ws/board/topic/93-guidehow-to-setup-a-ragnarok-onlineserver-side-only/your package can last forever, assuming members want to use an outdated emulator
mine will not last, and will wash just like any other guides2. I have A LOT OF MEMBERS asking me how to apply King of Emperium patch,
and when I ask how they setup their server, 90% of them say use your guideyour guide is plug and play, but it doesn't teach the process,
yes, there are a lot of bumpy road if take the hard way, but you actually learn something every time solve a problemfor example, following my guide, already learn how to update the server, apply patch, how to create grf, how to write SQL ... all in screenshots
3. and no, when comes to contributing, we have to use the latest/updated emulator ... same goes to rathena or hercules
for example, your current version which last update on 07 July 2018
it still having bugs on *inarray script command, and many of my scripts using this script command will throw error on your current packageyes, I told them to update to latest revision, and 3 people asked me how to do it, I just sigh ....
well at least 3 people doesn't understand the 9th minute part of your video4. I guess we just have a different opinion on the subject,
I prefer to do the traditional method, and you like to help newbies
some might prefer to follow my guide, but I think majority (especially newbies) will prefer yoursmake no mistakes, when I hear people say --> I just want to install RO just for childhood memory <-- I would still recommend your guide
5. I think its rude to come here and bash some other member's guide
I hope you won't do the same if there is another similar guide post on rathena forumthe rest are minor
compare windows to linux ... of course linux better ...
to be honest, I'm the only hercules staff member using windows, all other staff members use linuximgur ... no ... if I make this topic fully load with screenshots, it eats lots of bandwidth
how did I learn to ride bicycle ?
my father rent a bicycle and I ride on it while I was 7~8 years old,
nobody push at the back, no book, no guide, straight on to the real thing, fell a few times
... typical chinese teaching method ... yes I'm chineseEDIT: yes, how the chinese children learn how to swim -> throw them into the water
that's why western culture thinks chinese are child abuseanacondaq and evilpuncker reacted to this -
5. YES .... this system has implemented VERY long time ago that everyone now gotten used to it
2. just to be clear, what you mean is this ...
- "@summon 1956" 30 times and get 30 naght seiger
- "@monster 1914" and summon a crystal
- now the map-server should spam error ??
nope, can't reproduce, everything green and works fine
I even change land_skill_limit: 31, in the battle_config, everything works fineand others, get a test server and test yourself
btw, can you get a clean hercules and test on it before posting ?
you make hercules sounds like a crappy emulator because it gives you lots of error -
13 hours ago, utofaery said:apply patch failed, sorry can't help. You are on your own on this one
-
- script dsfsfsasda FAKE_NPC,{ OnInit: bindatcmd "mobcount", strnpcinfo(NPC_NAME)+"::Onaaa"; end; Onaaa: if ( !.@atcmd_numparameters ) { dispbottom "input a mob ID"; end; } .@mobid = atoi( .@atcmd_parameters$ ); if ( getmonsterinfo( .@mobid, MOB_LV ) == -1 ) { dispbottom "invalid monster ID"; end; } .@size = getunits( BL_MOB, .@bl, false, strcharinfo(PC_MAP) ); for ( .@i = 0; .@i < .@size; ++.@i ) if ( getunitdata( .@bl[.@i], UDT_CLASS ) == .@mobid ) ++.@c; dispbottom sprintf(_("There are %1$dx %2$s in %3$s."), .@c, getmonsterinfo( .@mobid, MOB_NAME ), strcharinfo(PC_MAP) ); end; }
On 2/8/2019 at 6:01 PM, utofaery said:I found this script
1. I hope to know how do I make a script to check for only a specific monster count from script without use bindatcmd?
like directly check for specific monster count in a map but not other monster on the same map.12 hours ago, utofaery said:Is there script way ?? apart from @mobsearch?
why you start your topic by saying NOT using bindatcmd, but then 2nd post says want to use bindatcmd ?
if using script way WITHOUT using bindatcmd, then its impossible -
1. it works fine, tested on "@monster 1914"
2. needs more info
3. https://github.com/HerculesWS/Hercules/blob/stable/doc/script_commands.txt#L1823
make the default value 0 or -1, depends on your script4. change the monster mode and it will move
prontera,155,185,5 script ksjdfhsd 1_F_MARIA,{ // .@mobid = monster("this", -1,-1, "--ja--", 1002, 1, ""); // .@mobid = monster("this", -1,-1, "--ja--", 1511, 1, ""); .@mobid = monster("this", -1,-1, "--ja--", 2042, 1, ""); setunitdata .@mobid, UDT_MASTERAID, getcharid(3); // setunitdata .@mobid, UDT_MASTERCID, getcharid(0); <-- doesn't work setunitdata .@mobid, UDT_MODE, getunitdata( .@mobid, UDT_MODE ) + 1; // setunitdata .@mobid, UDT_MODE, getunitdata( .@mobid, UDT_MODE ); end; }
5 yes
6. item_db2.conf
{ Id: 39999 AegisName: "Jellopy__" Name: "Jellopy__" Buy: 6 Weight: 10 BuyingStore: true Sprite: 909 },
https://github.com/HerculesWS/Hercules/blob/stable/doc/item_db.txt#L358-L360
-
3 hours ago, utofaery said:all I have is the tortoise git generated diff from main branch of hercules of what I changed in src folder.
I never did use any patch.
src folder diff generated from tortoise git
It's very long..!diff --git a/src/common/mmo.h b/src/common/mmo.h
index 4b8f49fa2..58218ae4a 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -64,7 +64,7 @@
// 20120307 - 2012-03-07aRagexeRE+ - 0x970
#ifndef PACKETVER
- #define PACKETVER 20141022
+ #define PACKETVER 20180620 //xsa
#endif // PACKETVER
//Uncomment the following line if your client is ragexeRE instead of ragexe (required because of conflicting packets in ragexe vs ragexeRE).
diff --git a/src/config/renewal.h b/src/config/renewal.h
index 6c45abc0e..e418fb121 100644
--- a/src/config/renewal.h
+++ b/src/config/renewal.h
@@ -57,7 +57,7 @@
/// example:
/// on a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a
/// "fixed cast time" which can only be reduced by specialist items and skills
-#define RENEWAL_CAST
+//#define RENEWAL_CAST //xsa
/// renewal drop rate algorithms
/// (disable by commenting the line)
@@ -72,7 +72,7 @@
///
/// leave this line to enable renewal item exp rate algorithms
/// while enabled a special modified based on the difference between the player and monster level is applied
-#define RENEWAL_EXP
+//#define RENEWAL_EXP //xsa
/// renewal level modifier on damage
/// (disable by commenting the line)
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 0a1fd6da3..1678ab45a 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -1948,11 +1948,11 @@ ACMD(go)
int x, y;
int min_match; ///< Minimum string length to match
} data[] = {
- { MAP_PRONTERA, 156, 191, 3 }, // 0 = Prontera
+ { MAP_PRONTERA, 156, 180, 3 }, // 0 = Prontera//xsa
{ MAP_MORROC, 156, 93, 4 }, // 1 = Morroc
{ MAP_GEFFEN, 119, 59, 3 }, // 2 = Geffen
{ MAP_PAYON, 162, 233, 3 }, // 3 = Payon
- { MAP_ALBERTA, 192, 147, 3 }, // 4 = Alberta
+ { MAP_ALBERTA, 117, 57, 3 }, // 4 = Alberta //xsa
#ifdef RENEWAL
{ MAP_IZLUDE, 128, 146, 3 }, // 5 = Izlude (Renewal)
#else
@@ -1966,7 +1966,7 @@ ACMD(go)
{ MAP_GONRYUN, 160, 120, 3 }, // 11 = Kunlun
{ MAP_UMBALA, 89, 157, 3 }, // 12 = Umbala
{ MAP_NIFLHEIM, 21, 153, 3 }, // 13 = Niflheim
- { MAP_LOUYANG, 217, 40, 3 }, // 14 = Luoyang
+ { MAP_LOUYANG, 210, 108, 3 }, // 14 = Luoyang //xsa
{ MAP_NOVICE, 53, 111, 3 }, // 15 = Training Grounds
{ MAP_JAIL, 23, 61, 3 }, // 16 = Prison
{ MAP_JAWAII, 249, 127, 3 }, // 17 = Jawaii
@@ -6475,8 +6475,8 @@ ACMD(summon)
if (duration < 1)
duration =1;
- else if (duration > 60)
- duration =60;
+ else if (duration > 600)
+ duration =600;
if ((mob_id = atoi(name)) == 0)
mob_id = mob->db_searchname(name);
@@ -6493,10 +6493,10 @@ ACMD(summon)
md->master_id = sd->bl.id;
md->special_state.ai = AI_ATTACK;
- md->deletetimer = timer->add(tick+(duration*60000),mob->timer_delete,md->bl.id,0);
+ md->deletetimer = timer->add(tick+(duration*600000),mob->timer_delete,md->bl.id,0);
clif->specialeffect(&md->bl,344,AREA);
mob->spawn(md);
- sc_start4(NULL,&md->bl, SC_MODECHANGE, 100, 1, 0, MD_AGGRESSIVE, 0, 60000);
+ sc_start4(NULL,&md->bl, SC_MODECHANGE, 100, 1, 0, MD_AGGRESSIVE, 0, 600000);
clif->skill_poseffect(&sd->bl,AM_CALLHOMUN,1,md->bl.x,md->bl.y,tick);
clif->message(fd, msg_fd(fd,39)); // All monster summoned!
@@ -6928,8 +6928,8 @@ ACMD(showmobs)
if (mob->db(mob_id)->status.mode&MD_BOSS && !pc_has_permission(sd, PC_PERM_SHOW_BOSS)) {
// If player group does not have access to boss mobs.
- clif->message(fd, msg_fd(fd,1251)); // Can't show boss mobs!
- return false;
+//xsa clif->message(fd, msg_fd(fd,1251)); // Can't show boss mobs!
+//xsa return false;
}
if (mob_id == atoi(mob_name)) {
diff --git a/src/map/itemdb.h b/src/map/itemdb.h
index 0c08efbeb..4018e0231 100644
--- a/src/map/itemdb.h
+++ b/src/map/itemdb.h
@@ -46,7 +46,7 @@ struct hplugin_data_store;
#endif
#ifndef MAX_ITEMDELAYS
-#define MAX_ITEMDELAYS 10 // The maximum number of item delays
+#define MAX_ITEMDELAYS 1 // The maximum number of item delays //xsa
#endif
#ifndef MAX_SEARCH
diff --git a/src/map/mob.c b/src/map/mob.c
index d82e49bcc..e0d59e89d 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -4716,7 +4716,9 @@ static int mob_read_randommonster(void)
DBPATH"mob_poring.txt",
DBPATH"mob_boss.txt",
"mob_pouch.txt",
- "mob_classchange.txt"};
+ "mob_classchange.txt", //xsa
+ "mob_customNormal.txt", //xsa
+ "mob_customMVP.txt"}; //xsa
memset(&summon, 0, sizeof(summon));
diff --git a/src/map/mob.h b/src/map/mob.h
index 4cb3877ed..f684e5619 100644
--- a/src/map/mob.h
+++ b/src/map/mob.h
@@ -30,12 +30,12 @@
struct hplugin_data_store;
-#define MAX_RANDOMMONSTER 5
+#define MAX_RANDOMMONSTER 9 //xsa // 5
// Change this to increase the table size in your mob_db to accommodate a larger mob database.
// Be sure to note that IDs 4001 to 4048 are reserved for advanced/baby/expanded classes.
// Notice that the last 1000 entries are used for player clones, so always set this to desired value +1000
-#define MAX_MOB_DB 5000
+#define MAX_MOB_DB 20000 // 5000 //xsa
//The number of drops all mobs have and the max drop-slot that the steal skill will attempt to steal from.
#define MAX_MOB_DROP 10
diff --git a/src/map/pc.c b/src/map/pc.c
index 5410ae96a..b03dbe035 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6091,10 +6091,11 @@ static int pc_checkallowskill(struct map_session_data *sd)
SC_EXEEDBREAK,
};
const enum sc_type scs_list[] = {
- SC_AUTOGUARD,
- SC_DEFENDER,
- SC_REFLECTSHIELD,
- SC_LG_REFLECTDAMAGE
+ SC_NONE
+//xsa SC_AUTOGUARD,
+//xsa SC_DEFENDER,
+//xsa SC_REFLECTSHIELD,
+//xsa SC_LG_REFLECTDAMAGE
};
int i;
nullpo_ret(sd);
diff --git a/src/map/pc.h b/src/map/pc.h
index 90e59edb2..803cc5679 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -42,7 +42,7 @@
/**
* Defines
**/
-#define MAX_PC_BONUS 10
+#define MAX_PC_BONUS 100 //xsa // 10
#define MAX_PC_FEELHATE 3
#define MAX_PC_DEVOTION 5 ///< Max amount of devotion targets
#define PVP_CALCRANK_INTERVAL 1000 ///< PVP calculation interval
diff --git a/src/map/skill.c b/src/map/skill.c
index 069db55df..012baad91 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1313,7 +1313,7 @@ static int skill_additional_effect(struct block_list *src, struct block_list *bl
// Automatic trigger of Blitz Beat
if (pc_isfalcon(sd) && sd->weapontype == W_BOW && (temp=pc->checkskill(sd,HT_BLITZBEAT))>0 &&
rnd()%1000 <= sstatus->luk*3 ) {
- rate = sd->status.job_level / 10 + 1;
+ rate = sd->status.job_level / 5 + 1; // xsa
skill->castend_damage_id(src,bl,HT_BLITZBEAT,(temp<rate)?temp:rate,tick,SD_LEVEL);
}
// Automatic trigger of Warg Strike [Jobbie]
@@ -1389,14 +1389,14 @@ static int skill_additional_effect(struct block_list *src, struct block_list *bl
/* Fall through */
case TF_POISON:
case AS_SPLASHER:
- if (!sc_start2(src,bl,SC_POISON,(4*skill_lv+10),skill_lv,src->id,skill->get_time2(skill_id,skill_lv))
+ if (!sc_start2(src,bl,SC_POISON,(4*skill_lv+30),skill_lv,src->id,skill->get_time2(skill_id,skill_lv))//xsa
&& sd && skill_id==TF_POISON
)
clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0);
break;
case AS_SONICBLOW:
- sc_start(src,bl,SC_STUN,(2*skill_lv+10),skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_STUN,(2*skill_lv+30),skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
break;
case WZ_FIREPILLAR:
@@ -1407,7 +1407,7 @@ static int skill_additional_effect(struct block_list *src, struct block_list *bl
#ifndef RENEWAL
case WZ_FROSTNOVA:
#endif
- if (!sc_start(src,bl,SC_FREEZE,skill_lv*3+35,skill_lv,skill->get_time2(skill_id,skill_lv))
+ if (!sc_start(src,bl,SC_FREEZE,skill_lv*3+350,skill_lv,skill->get_time2(skill_id,skill_lv))//xsa
&& sd && skill_id == MG_FROSTDIVER
)
clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0);
@@ -1415,7 +1415,7 @@ static int skill_additional_effect(struct block_list *src, struct block_list *bl
#ifdef RENEWAL
case WZ_FROSTNOVA:
- sc_start(src,bl,SC_FREEZE,skill_lv*5+33,skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_FREEZE,skill_lv*5+330,skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
break;
#endif
@@ -1428,7 +1428,7 @@ static int skill_additional_effect(struct block_list *src, struct block_list *bl
* Storm Gust counter was dropped in renewal
**/
#ifdef RENEWAL
- sc_start(src,bl,SC_FREEZE,65-(5*skill_lv),skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_FREEZE,650-(5*skill_lv),skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
#else
//On third hit, there is a 150% to freeze the target
if(tsc->sg_counter >= 3 &&
@@ -1443,23 +1443,27 @@ static int skill_additional_effect(struct block_list *src, struct block_list *bl
break;
case WZ_METEOR:
- sc_start(src,bl,SC_STUN,3*skill_lv,skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_STUN,30*skill_lv,skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
break;
case WZ_VERMILION:
- sc_start(src,bl,SC_BLIND,4*skill_lv,skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_BLIND,40*skill_lv,skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
break;
case HT_FREEZINGTRAP:
+ sc_start(src,bl,SC_FREEZE,(30*skill_lv+35),skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
+ break;//xsa
case MA_FREEZINGTRAP:
sc_start(src,bl,SC_FREEZE,(3*skill_lv+35),skill_lv,skill->get_time2(skill_id,skill_lv));
break;
case HT_FLASHER:
- sc_start(src,bl,SC_BLIND,(10*skill_lv+30),skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_BLIND,(100*skill_lv+30),skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
break;
case HT_LANDMINE:
+ sc_start(src,bl,SC_STUN,(50*skill_lv+30),skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
+ break;//xsa
case MA_LANDMINE:
sc_start(src,bl,SC_STUN,(5*skill_lv+30),skill_lv,skill->get_time2(skill_id,skill_lv));
break;
@@ -1469,25 +1473,32 @@ static int skill_additional_effect(struct block_list *src, struct block_list *bl
break;
case HT_SANDMAN:
+ sc_start(src,bl,SC_SLEEP,(100*skill_lv+40),skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
+ break;//xsa
case MA_SANDMAN:
sc_start(src,bl,SC_SLEEP,(10*skill_lv+40),skill_lv,skill->get_time2(skill_id,skill_lv));
break;
case TF_SPRINKLESAND:
- sc_start(src,bl,SC_BLIND,20,skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_BLIND,200,skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
break;
case TF_THROWSTONE:
- if( !sc_start(src,bl,SC_STUN,3,skill_lv,skill->get_time(skill_id,skill_lv)) )
- sc_start(src,bl,SC_BLIND,3,skill_lv,skill->get_time2(skill_id,skill_lv));
+ if( !sc_start(src,bl,SC_STUN,30,skill_lv,skill->get_time(skill_id,skill_lv)) )//xsa
+ sc_start(src,bl,SC_BLIND,30,skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
break;
case NPC_DARKCROSS:
+ sc_start(src,bl,SC_BLIND,3*skill_lv,skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
+ break;//xsa
case CR_HOLYCROSS:
- sc_start(src,bl,SC_BLIND,3*skill_lv,skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_BLIND,30*skill_lv,skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
break;
case CR_GRANDCROSS:
+ if(!dstsd && (battle->check_undead(tstatus->race,tstatus->def_ele) || tstatus->race == RC_DEMON))//xsa
+ sc_start(src,bl,SC_BLIND,1000,skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
+ break;//xsa
case NPC_GRANDDARKNESS:
//Chance to cause blind status vs demon and undead element, but not against players
if(!dstsd && (battle->check_undead(tstatus->race,tstatus->def_ele) || tstatus->race == RC_DEMON))
@@ -1507,7 +1518,7 @@ static int skill_additional_effect(struct block_list *src, struct block_list *bl
break;
case CR_SHIELDCHARGE:
- sc_start(src,bl,SC_STUN,(15+skill_lv*5),skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_STUN,(150+skill_lv*5),skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
break;
case PA_PRESSURE:
@@ -1515,28 +1526,28 @@ static int skill_additional_effect(struct block_list *src, struct block_list *bl
break;
case RG_RAID:
- sc_start(src,bl,SC_STUN,(10+3*skill_lv),skill_lv,skill->get_time(skill_id,skill_lv));
- sc_start(src,bl,SC_BLIND,(10+3*skill_lv),skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_STUN,(100+3*skill_lv),skill_lv,skill->get_time(skill_id,skill_lv));//xsa
+ sc_start(src,bl,SC_BLIND,(100+3*skill_lv),skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
#ifdef RENEWAL
- sc_start(src,bl,SC_RAID,100,7,5000);
+ sc_start(src,bl,SC_RAID,1000,7,5000);//xsa
break;
case RG_BACKSTAP:
- sc_start(src,bl,SC_STUN,(5+2*skill_lv),skill_lv,skill->get_time(skill_id,skill_lv));
+ sc_start(src,bl,SC_STUN,(50+2*skill_lv),skill_lv,skill->get_time(skill_id,skill_lv));//xsa
#endif
break;
case BA_FROSTJOKER:
- sc_start(src,bl,SC_FREEZE,(15+5*skill_lv),skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_FREEZE,(150+5*skill_lv),skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
break;
case DC_SCREAM:
- sc_start(src,bl,SC_STUN,(25+5*skill_lv),skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_STUN,(250+5*skill_lv),skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
break;
case BD_LULLABY:
- sc_start(src,bl,SC_SLEEP,15,skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_SLEEP,150,skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
break;
case DC_UGLYDANCE:
@@ -1629,13 +1640,13 @@ static int skill_additional_effect(struct block_list *src, struct block_list *bl
//Any enemies hit by this skill will receive Stun, Darkness, or external bleeding status ailment with a 5%+5*skill_lv% chance.
switch(rnd()%3) {
case 0:
- sc_start(src,bl,SC_BLIND,(5+skill_lv*5),skill_lv,skill->get_time2(skill_id,1));
+ sc_start(src,bl,SC_BLIND,(50+skill_lv*5),skill_lv,skill->get_time2(skill_id,1));//xsa
break;
case 1:
- sc_start(src,bl,SC_STUN,(5+skill_lv*5),skill_lv,skill->get_time2(skill_id,2));
+ sc_start(src,bl,SC_STUN,(50+skill_lv*5),skill_lv,skill->get_time2(skill_id,2));//xsa
break;
default:
- sc_start2(src,bl,SC_BLOODING,(5+skill_lv*5),skill_lv,src->id,skill->get_time2(skill_id,3));
+ sc_start2(src,bl,SC_BLOODING,(50+skill_lv*5),skill_lv,src->id,skill->get_time2(skill_id,3));//xsa
}
break;
@@ -4477,20 +4488,20 @@ static int skill_castend_damage_id(struct block_list *src, struct block_list *bl
if( skill_id == MO_EXTREMITYFIST ) {
mbl = src;
i = 3; // for Asura(from caster)
- status->set_sp(src, 0, STATUS_HEAL_DEFAULT);
- status_change_end(src, SC_EXPLOSIONSPIRITS, INVALID_TIMER);
+//xsa status->set_sp(src, 0, STATUS_HEAL_DEFAULT);
+//xsa status_change_end(src, SC_EXPLOSIONSPIRITS, INVALID_TIMER);
status_change_end(src, SC_BLADESTOP, INVALID_TIMER);
-#ifdef RENEWAL
- sc_start(src, src,SC_EXTREMITYFIST2,100,skill_lv,skill->get_time(skill_id,skill_lv));
-#endif // RENEWAL
+//xsa#ifdef RENEWAL
+//xsa sc_start(src, src,SC_EXTREMITYFIST2,100,skill_lv,skill->get_time(skill_id,skill_lv));
+//xsa#endif // RENEWAL
} else {
status_change_end(src, SC_NJ_NEN, INVALID_TIMER);
status_change_end(src, SC_HIDING, INVALID_TIMER);
-#ifdef RENEWAL
- status->set_hp(src, max(status_get_max_hp(src)/100, 1), STATUS_HEAL_DEFAULT);
-#else // not RENEWAL
- status->set_hp(src, 1, STATUS_HEAL_DEFAULT);
-#endif // RENEWAL
+//xsa#ifdef RENEWAL
+//xsa status->set_hp(src, max(status_get_max_hp(src)/100, 1), STATUS_HEAL_DEFAULT);
+//xsa#else // not RENEWAL
+//xsa status->set_hp(src, 1, STATUS_HEAL_DEFAULT);
+//xsa#endif // RENEWAL
}
dir = map->calc_dir(src,bl->x,bl->y);
if( dir > 0 && dir < 4) x = -i;
@@ -5847,10 +5858,10 @@ static int skill_castend_id(int tid, int64 tick, int id, intptr_t data)
sc = &sd->sc;
if (sc->count) {
//End states
- status_change_end(src, SC_EXPLOSIONSPIRITS, INVALID_TIMER);
+//xsa status_change_end(src, SC_EXPLOSIONSPIRITS, INVALID_TIMER);
status_change_end(src, SC_BLADESTOP, INVALID_TIMER);
#ifdef RENEWAL
- sc_start(src, src, SC_EXTREMITYFIST2, 100, ud->skill_lv, skill->get_time(ud->skill_id, ud->skill_lv));
+//xsa sc_start(src, src, SC_EXTREMITYFIST2, 100, ud->skill_lv, skill->get_time(ud->skill_id, ud->skill_lv));
#endif
}
if (target && target->m == src->m) {
@@ -6098,7 +6109,8 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list *
if (skill_id == AB_HIGHNESSHEAL) {
heal = heal * (17 + 3 * skill_lv) / 10;
}
- if (status->isimmune(bl) || (dstmd != NULL && (dstmd->class_ == MOBID_EMPELIUM || mob_is_battleground(dstmd))))
+ if ( dstmd->class_ == mob_is_battleground(dstmd))//xsa
+//xsa if (status->isimmune(bl) || (dstmd != NULL && (dstmd->class_ == MOBID_EMPELIUM || mob_is_battleground(dstmd))))
heal = 0;
if (sd != NULL && dstsd != NULL && sd->status.partner_id == dstsd->status.char_id && (sd->job & MAPID_UPPERMASK) == MAPID_SUPER_NOVICE && sd->status.sex == 0)
@@ -7496,11 +7508,11 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list *
//Rate in percent
if ( skill_id == ST_FULLSTRIP ) {
- rate = 5 + 2*skill_lv + (sstatus->dex - tstatus->dex)/5;
+ rate = 50 + 2*skill_lv + (sstatus->dex - tstatus->dex)/5;//xsa
} else if( skill_id == SC_STRIPACCESSARY ) {
- rate = 12 + 2 * skill_lv + (sstatus->dex - tstatus->dex)/5;
+ rate = 120 + 2 * skill_lv + (sstatus->dex - tstatus->dex)/5;//xsa
} else {
- rate = 5 + 5*skill_lv + (sstatus->dex - tstatus->dex)/5;
+ rate = 50 + 5*skill_lv + (sstatus->dex - tstatus->dex)/5;//xsa
}
if (rate < 5) rate = 5; //Minimum rate 5%
@@ -8259,7 +8271,7 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list *
if( tstatus->mode&MD_BOSS
#ifndef RENEWAL
/** Renewal dropped the 3/4 hp requirement **/
- || tstatus-> hp > tstatus->max_hp*3/4
+ || tstatus-> hp > tstatus->max_hp*99/100//xsa
#endif // RENEWAL
) {
if (sd) clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0);
@@ -8270,7 +8282,7 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list *
sc_start4(src,bl,type,100,skill_lv,skill_id,src->id,skill->get_time(skill_id,skill_lv),1000));
#ifndef RENEWAL
if (sd)
- skill->blockpc_start(sd, skill_id, skill->get_time(skill_id, skill_lv) + 3000);
+ skill->blockpc_start(sd, skill_id, skill->get_time(skill_id, skill_lv) /2 );//xsa
#endif
break;
@@ -8422,7 +8434,7 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list *
map->freeblock_unlock();
return 0;
}
- if (rnd() % 100 > skill_lv * 8 || (dstmd && ((dstmd->guardian_data && dstmd->class_ == MOBID_EMPELIUM) || mob_is_battleground(dstmd)))) {
+ if (rnd() % 100 > skill_lv * 80 || (dstmd && ((dstmd->guardian_data && dstmd->class_ == MOBID_EMPELIUM) || mob_is_battleground(dstmd)))) {//xsa
if (sd != NULL)
clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0);
@@ -8449,8 +8461,8 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list *
break;
case 3: // 1000 damage, random armor destroyed
{
- status_fix_damage(src, bl, 1000, 0);
- clif->damage(src,bl,0,0,1000,0,BDT_NORMAL,0);
+ status_fix_damage(src, bl, 10000, 0);//xsa
+ clif->damage(src,bl,0,0,10000,0,BDT_NORMAL,0);//xsa
if( !status->isdead(bl) ) {
int where[] = { EQP_ARMOR, EQP_SHIELD, EQP_HELM, EQP_SHOES, EQP_GARMENT };
skill->break_equip(bl, where[rnd() % ARRAYLENGTH(where)], 10000, BCT_ENEMY);
@@ -8461,7 +8473,7 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list *
sc_start(src,bl,SC_INCATKRATE,100,-50,skill->get_time2(skill_id,skill_lv));
break;
case 5: // 2000HP heal, random teleported
- status->heal(src, 2000, 0, STATUS_HEAL_DEFAULT);
+ status->heal(src, 20000, 0, STATUS_HEAL_DEFAULT);//xsa
if( !map_flag_vs(bl->m) )
unit->warp(bl, -1,-1,-1, CLR_TELEPORT);
break;
@@ -8474,37 +8486,37 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list *
case 7: // stop freeze or stoned
{
enum sc_type sc[] = { SC_STOP, SC_FREEZE, SC_STONE };
- sc_start(src,bl,sc[rnd() % ARRAYLENGTH(sc)],100,skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,sc[rnd() % ARRAYLENGTH(sc)],1000,skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
}
break;
case 8: // curse coma and poison
- sc_start(src,bl,SC_COMA,100,skill_lv,skill->get_time2(skill_id,skill_lv));
- sc_start(src,bl,SC_CURSE,100,skill_lv,skill->get_time2(skill_id,skill_lv));
- sc_start(src,bl,SC_POISON,100,skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_COMA,1000,skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
+ sc_start(src,bl,SC_CURSE,1000,skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
+ sc_start(src,bl,SC_POISON,1000,skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
break;
case 9: // confusion
- sc_start(src,bl,SC_CONFUSION,100,skill_lv,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_CONFUSION,1000,skill_lv,skill->get_time2(skill_id,skill_lv));//xsa
break;
case 10: // 6666 damage, atk matk halved, cursed
- status_fix_damage(src, bl, 6666, 0);
- clif->damage(src,bl,0,0,6666,0,BDT_NORMAL,0);
+ status_fix_damage(src, bl, 66666, 0);//xsa
+ clif->damage(src,bl,0,0,66666,0,BDT_NORMAL,0);//xsa
sc_start(src,bl,SC_INCATKRATE,100,-50,skill->get_time2(skill_id,skill_lv));
sc_start(src,bl,SC_INCMATKRATE,100,-50,skill->get_time2(skill_id,skill_lv));
sc_start(src,bl,SC_CURSE,skill_lv,100,skill->get_time2(skill_id,skill_lv));
break;
case 11: // 4444 damage
- status_fix_damage(src, bl, 4444, 0);
- clif->damage(src,bl,0,0,4444,0,BDT_NORMAL,0);
+ status_fix_damage(src, bl, 44444, 0);//xsa
+ clif->damage(src,bl,0,0,44444,0,BDT_NORMAL,0);//xsa
break;
case 12: // stun
- sc_start(src,bl,SC_STUN,100,skill_lv,5000);
+ sc_start(src,bl,SC_STUN,1000,skill_lv,5000);//xsa
break;
case 13: // atk,matk,hit,flee,def reduced
- sc_start(src,bl,SC_INCATKRATE,100,-20,skill->get_time2(skill_id,skill_lv));
- sc_start(src,bl,SC_INCMATKRATE,100,-20,skill->get_time2(skill_id,skill_lv));
- sc_start(src,bl,SC_INCHITRATE,100,-20,skill->get_time2(skill_id,skill_lv));
- sc_start(src,bl,SC_INCFLEERATE,100,-20,skill->get_time2(skill_id,skill_lv));
- sc_start(src,bl,SC_INCDEFRATE,100,-20,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_INCATKRATE,100,-50,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_INCMATKRATE,100,-50,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_INCHITRATE,100,-50,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_INCFLEERATE,100,-50,skill->get_time2(skill_id,skill_lv));
+ sc_start(src,bl,SC_INCDEFRATE,100,-50,skill->get_time2(skill_id,skill_lv));
sc_start(src,bl,type,100,skill_lv,skill->get_time2(skill_id,skill_lv));
break;
default:
@@ -12471,7 +12483,7 @@ static int skill_unit_onplace(struct skill_unit *src, struct block_list *bl, int
clif->fixpos(bl);
sg->val2 = bl->id;
} else {
- sec = 3000; //Couldn't trap it?
+ sec = 10000; //Couldn't trap it?//xsa
}
sg->limit = DIFF_TICK32(tick,sg->tick)+sec;
}
@@ -16270,24 +16282,24 @@ static int skill_autospell(struct map_session_data *sd, uint16 skill_id)
if(!skill_lv || !lv) return 0; // Player must learn the skill before doing auto-spell [Lance]
- if(skill_id==MG_NAPALMBEAT) maxlv=3;
+ if(skill_id==MG_NAPALMBEAT) maxlv=10;//xsa
else if(skill_id==MG_COLDBOLT || skill_id==MG_FIREBOLT || skill_id==MG_LIGHTNINGBOLT){
if (sd->sc.data[SC_SOULLINK] && sd->sc.data[SC_SOULLINK]->val2 == SL_SAGE)
maxlv =10; //Soul Linker bonus. [Skotlex]
- else if(skill_lv==2) maxlv=1;
- else if(skill_lv==3) maxlv=2;
- else if(skill_lv>=4) maxlv=3;
+ else if(skill_lv==2) maxlv=10;//xsa
+ else if(skill_lv==3) maxlv=10;//xsa
+ else if(skill_lv>=4) maxlv=10;//xsa
}
else if(skill_id==MG_SOULSTRIKE){
if(skill_lv==5) maxlv=1;
- else if(skill_lv==6) maxlv=2;
- else if(skill_lv>=7) maxlv=3;
+ else if(skill_lv==6) maxlv=10;//xsa
+ else if(skill_lv>=7) maxlv=10;//xsa
}
else if(skill_id==MG_FIREBALL){
if(skill_lv==8) maxlv=1;
- else if(skill_lv>=9) maxlv=2;
+ else if(skill_lv>=9) maxlv=10;//xsa
}
- else if(skill_id==MG_FROSTDIVER) maxlv=1;
+ else if(skill_id==MG_FROSTDIVER) maxlv=10;//xsa
else return 0;
if(maxlv > lv)
diff --git a/src/map/status.c b/src/map/status.c
index 65b52cbcf..9119be641 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -298,10 +298,10 @@ static void initChangeTables(void)
add_sc( MO_BLADESTOP , SC_BLADESTOP_WAIT );
add_sc( MO_BLADESTOP , SC_BLADESTOP );
status->set_sc( MO_EXPLOSIONSPIRITS , SC_EXPLOSIONSPIRITS, SI_EXPLOSIONSPIRITS, SCB_CRI|SCB_REGEN );
- status->set_sc( MO_EXTREMITYFIST , SC_EXTREMITYFIST , SI_BLANK , SCB_REGEN );
-#ifdef RENEWAL
- status->set_sc( MO_EXTREMITYFIST , SC_EXTREMITYFIST2 , SI_EXTREMITYFIST , SCB_NONE );
-#endif
+//xsa status->set_sc( MO_EXTREMITYFIST , SC_EXTREMITYFIST , SI_BLANK , SCB_REGEN );
+//xsa#ifdef RENEWAL
+//xsa status->set_sc( MO_EXTREMITYFIST , SC_EXTREMITYFIST2 , SI_EXTREMITYFIST , SCB_NONE );
+//xsa#endif
add_sc( SA_MAGICROD , SC_MAGICROD );
status->set_sc( SA_AUTOSPELL , SC_AUTOSPELL , SI_AUTOSPELL , SCB_NONE );
status->set_sc( SA_FLAMELAUNCHER , SC_PROPERTYFIRE , SI_PROPERTYFIRE , SCB_ATK_ELE );
@@ -3502,7 +3502,7 @@ static int status_calc_homunculus_(struct homun_data *hd, enum e_status_calc_opt
homun->calc_skilltree(hd, 0);
if ( (skill_lv = homun->checkskill(hd, HAMI_SKIN)) > 0 )
- hstatus->def += skill_lv * 4;
+ hstatus->def += skill_lv * 40;//xsa
if ( (skill_lv = homun->checkskill(hd, HVAN_INSTRUCT)) > 0 ) {
hstatus->int_ += 1 + skill_lv / 2 + skill_lv / 4 + skill_lv / 5;
@@ -3510,10 +3510,10 @@ static int status_calc_homunculus_(struct homun_data *hd, enum e_status_calc_opt
}
if ( (skill_lv = homun->checkskill(hd, HAMI_SKIN)) > 0 )
- hstatus->max_hp += skill_lv * 2 * hstatus->max_hp / 100;
+ hstatus->max_hp += 10 * skill_lv * 2 * hstatus->max_hp / 100;//xsa
if ( (skill_lv = homun->checkskill(hd, HLIF_BRAIN)) > 0 )
- hstatus->max_sp += (1 + skill_lv / 2 - skill_lv / 4 + skill_lv / 5) * hstatus->max_sp / 100;
+ hstatus->max_sp += 10 * (1 + skill_lv / 2 - skill_lv / 4 + skill_lv / 5) * hstatus->max_sp / 100;//xsa
if ( opt&SCO_FIRST ) {
hd->battle_status.hp = hom->hp;
@@ -3610,7 +3610,7 @@ static void status_calc_regen(struct block_list *bl, struct status_data *st, str
if (bl->type == BL_HOM) {
struct homun_data *hd = BL_UCAST(BL_HOM, bl);
if( (skill_lv = homun->checkskill(hd,HAMI_SKIN)) > 0 ) {
- val = regen->hp*(100+5*skill_lv)/100;
+ val = regen->hp*10*(100+5*skill_lv)/100;//xsa
regen->hp = cap_value(val, 1, SHRT_MAX);
}
if( (skill_lv = homun->checkskill(hd,HLIF_BRAIN)) > 0 ) {
@@ -4658,7 +4658,7 @@ static unsigned short status_calc_str(struct block_list *bl, struct status_chang
if(sc->data[SC_LEADERSHIP])
str += sc->data[SC_LEADERSHIP]->val1;
if(sc->data[SC_SHOUT])
- str += 4;
+ str += 10;//xsa
if(sc->data[SC_TRUESIGHT])
str += 5;
if(sc->data[SC_STRUP])
@@ -5927,7 +5927,7 @@ static unsigned short status_calc_speed(struct block_list *bl, struct status_cha
if( sc->data[SC_RUN] )
val = max( val, 55 );
if( sc->data[SC_HLIF_AVOID] )
- val = max( val, 10 * sc->data[SC_HLIF_AVOID]->val1 );
+ val = max( val, 100 * sc->data[SC_HLIF_AVOID]->val1 );//xsa
if( sc->data[SC_INVINCIBLE] && !sc->data[SC_INVINCIBLEOFF] )
val = max( val, 75 );
if( sc->data[SC_CLOAKINGEXCEED] )
@@ -5969,7 +5969,8 @@ static unsigned short status_calc_speed(struct block_list *bl, struct status_cha
if( sc->data[SC_STEELBODY] )
speed = 200;
if( sc->data[SC_DEFENDER] )
- speed = max(speed, 200);
+ speed += speed - ( 35 - ( 5 * pc->checkskill(sd, CR_DEFENDER) ) ) ;//xsa
+//xsa speed = max(speed, 200);
if( sc->data[SC_WALKSPEED] && sc->data[SC_WALKSPEED]->val1 > 0 ) // ChangeSpeed
speed = speed * 100 / sc->data[SC_WALKSPEED]->val1;
@@ -7103,26 +7104,58 @@ static int status_get_sc_def(struct block_list *src, struct block_list *bl, enum
//Status that are blocked by Golden Thief Bug card or Wand of Hermod
if (status->isimmune(bl))
switch (type) {
- case SC_DEC_AGI:
+ case SC_EXTREMITYFIST:
+ case SC_EXTREMITYFIST2:
+ case SC_STOP:
+ case SC_ANKLESNARE:
+ case SC_STONE:
+ case SC_FREEZE:
+ case SC_STUN:
+ case SC_SLEEP:
+ case SC_POISON:
+ case SC_CURSE:
case SC_SILENCE:
+ case SC_CONFUSION:
+ case SC_BLIND:
+ case SC_BLOODING:
+ case SC_DPOISON:
+ case SC_FEAR:
+ case SC_COLD:
+ case SC_BURNING:
+ case SC_DEEP_SLEEP:
+ case SC_DEC_AGI:
+ case SC_BROKENARMOR:
+ case SC_BROKENWEAPON:
+ case SC_NOEQUIPWEAPON:
+ case SC_NOEQUIPSHIELD:
+ case SC_NOEQUIPARMOR:
+ case SC_NOEQUIPHELM:
+ case SC__STRIPACCESSARY:
+ case SC_PROPERTYUNDEAD:
+ case SC_ORCISH:
+ case SC_BERSERK:
+ case SC_SKE:
+ case SC_SWOO:
+ case SC_SKA:
+//xsa case SC_SILENCE:
case SC_COMA:
- case SC_INC_AGI:
- case SC_BLESSING:
+//xsa case SC_INC_AGI:
+//xsa case SC_BLESSING:
case SC_SLOWPOISON:
case SC_IMPOSITIO:
case SC_LEXAETERNA:
- case SC_SUFFRAGIUM:
- case SC_BENEDICTIO:
+//xsa case SC_SUFFRAGIUM:
+//xsa case SC_BENEDICTIO:
case SC_PROVIDENCE:
- case SC_KYRIE:
- case SC_ASSUMPTIO:
- case SC_ANGELUS:
- case SC_MAGNIFICAT:
- case SC_GLORIA:
- case SC_WINDWALK:
+//xsa case SC_KYRIE:
+//xsa case SC_ASSUMPTIO:
+//xsa case SC_ANGELUS:
+//xsa case SC_MAGNIFICAT:
+//xsa case SC_GLORIA:
+//xsa case SC_WINDWALK:
case SC_MAGICROD:
case SC_ILLUSION:
- case SC_STONE:
+//xsa case SC_STONE:
case SC_QUAGMIRE:
case SC_NJ_SUITON:
case SC_SWING:
@@ -7256,7 +7289,7 @@ static int status_get_sc_def(struct block_list *src, struct block_list *bl, enum
break;
case SC_ANKLESNARE:
if(st->mode&MD_BOSS) // Lasts 5 times less on bosses
- tick /= 5;
+//xsa tick /= 5;
sc_def = st->agi*50;
break;
case SC_MAGICMIRROR:
@@ -7414,6 +7447,8 @@ static int status_get_sc_def(struct block_list *src, struct block_list *bl, enum
//Minimum durations
switch (type) {
case SC_ANKLESNARE:
+ tick = max(tick, 7000); //Minimum duration 5s//xsa
+ break;//xsa
case SC_BURNING:
case SC_MARSHOFABYSS:
case SC_STASIS:
@@ -8017,21 +8052,21 @@ static int status_change_start(struct block_list *src, struct block_list *bl, en
tick += pc->checkskill(sd,GC_RESEARCHNEWPOISON)*3000;
break;
case SC_POISONREACT:
- val2=(val1+1)/2 + val1/10; // Number of counters [Skotlex]
- val3=50; // + 5*val1; //Chance to counter. [Skotlex]
+ val2= ( (val1+1)/2 + val1/10 ) * 10; // Number of counters [Skotlex]//xsa
+ val3=75; // + 5*val1; //Chance to counter. [Skotlex]//xsa
break;
case SC_MAGICROD:
val2 = val1*20; //SP gained
break;
case SC_KYRIE:
- val2 = APPLY_RATE(st->max_hp, (val1 * 2 + 10)); //%Max HP to absorb
+ val2 = APPLY_RATE(st->max_hp, (val1 * 2 + 10 * 10 )); //%Max HP to absorb//xsa
// val4 holds current about of party memebers when casting AB_PRAEFATIO,
// as Praefatio's barrier has more health and blocks more hits than Kyrie Elesion.
if( val4 < 1 ) //== PR_KYRIE
- val3 = (val1 / 2 + 5); // Hits
+ val3 = (val1 / 2 + 15); // Hits//xsa
else { //== AB_PRAEFATIO
val2 += val4 * 2; //Increase barrier strength per party member.
- val3 = 6 + val1;
+ val3 = 16 + val1;//xsa
}
if( sd )
val1 = min(val1,pc->checkskill(sd,PR_KYRIE)); // use skill level to determine barrier health.
@@ -8290,7 +8325,7 @@ static int status_change_start(struct block_list *src, struct block_list *bl, en
break;
case SC_CHASEWALK:
val2 = tick>0?tick:10000; //Interval at which SP is drained.
- val3 = 35 - 5 * val1; //Speed adjustment.
+ val3 = 45 - 5 * val1; //Speed adjustment.//xsa
if (sc->data[SC_SOULLINK] && sc->data[SC_SOULLINK]->val2 == SL_ROGUE)
val3 -= 40;
val4 = 10+val1*2; //SP cost.
@@ -8481,12 +8516,12 @@ static int status_change_start(struct block_list *src, struct block_list *bl, en
break;
case SC_SWORDREJECT:
val2 = 15*val1; //Reflect chance
- val3 = 3; //Reflections
+ val3 = 6; //Reflections//xsa
tick = INFINITE_DURATION;
break;
case SC_MEMORIZE:
- val2 = 5; //Memorized casts.
+ val2 = 10; //Memorized casts.//xsa
tick = INFINITE_DURATION;
break;
@@ -10321,7 +10356,7 @@ static bool status_end_sc_before_start(struct block_list *bl, struct status_data
break;
case SC_KYRIE:
//Cancels Assumptio
- status_change_end(bl, SC_ASSUMPTIO, INVALID_TIMER);
+//xsa status_change_end(bl, SC_ASSUMPTIO, INVALID_TIMER);
break;
case SC_MAGNIFICAT:
//Cancels Offertorium
@@ -10361,7 +10396,7 @@ static bool status_end_sc_before_start(struct block_list *bl, struct status_data
#endif
break;
case SC_ASSUMPTIO:
- status_change_end(bl, SC_KYRIE, INVALID_TIMER);
+//xsa status_change_end(bl, SC_KYRIE, INVALID_TIMER);
status_change_end(bl, SC_KAITE, INVALID_TIMER);
break;
case SC_KAITE:
Another thing I found crash server is heal (28) skill
in when use that skill heal (28) on self or others map server instant restartcan't test your patch because you convert the [tab] into [space]
try upload your patch somewhere else, like github, google drive or https://pastebin.com/
or just use <Code> tag ... seriously -
"@mobsearch" ??
-
ima going to put this as Rejected
btw you should tell what is your OS ...
I'm using Windows 7 SP1, map-server.bat will always restart,
to not make it restart, run from the MS-DOS -
every time there is a crash, I always see that window come out
if the window doesn't come out, no idea .... I used this method to debug my test server ever since I used visual studio 2010I think you should show us the patch what have you done on your server...
and we hercules don't use patch, everything should be plugin29 minutes ago, 4144 said:Replace
Nydhogg's Memory
to
Nydhogg''s Memory
in MySQL is
Nydhogg\'s Memory
perhaps different syntax
-
rathena seems sort of ... changing everything from 32-bit into 64-bit
rathena can crash my arathi basin script ... ->https://rathena.org/board/topic/104325-wow-arathi-basin/?do=findComment&comment=356135 fixed
also crash my MVP ladder script ... -> https://github.com/rathena/rathena/issues/3881
these 2 bugs are just fixed recentlyyeah I just found 3rd bug ... as you can see from the crash dump, it has something to do with array
hercules works just fine ....
com;on I'm quick to report bugs on hercules, you know it -
11 hours ago, utofaery said:how can this minor edit be crashy or is it critical??
any kind of source edit can be critical
good timing, I just reproduce a crash with rathena test server,
not going to tell how to reproduce, let's see how long they take to find this bugso, here's the screenshots
you should get this window when there's a crash, select Debug the Program
Open a new instance with Visual Studio
then you can see the trace from Visual Studio, the Call Stack field matters a lot
Some upcoming hercules features
in Repository News
Posted
wait a moment ... why the *expandInventory has the I as capital letter ?
I remember there was a script standardization topic, forgot where issit now, discussed years ago
1. all constants should be CAPITAL LETTERS -> QUEUEOPT_LOGOUT, IOT_PARTY, GETTIME_WEEKDAY ...
2. all functions start with F_, and Capitial Letters only on word -> F_MesInfo, F_MesColor, F_InsertComma, F_SaveQuestSkills
3. all script commands should be low cap
4. and the ... no idea when ... variables ...
for example your *getInventorySize() has I and S capital, opposed to *getinventorylist() all low cap
hercules script engine is case-sensitive, so we have to be extra be careful when apply the capital letters
... although there are already some controversial ... like the "All" vs "all" ... reported #784