Angelmelody
-
Content Count
772 -
Joined
-
Last visited
-
Days Won
23
Posts posted by Angelmelody
-
-
Hi~Tokeiburu,
I'd like to suggest that adding word's copy feature on search result window
so that we can easily obtain the full file pathes without retyping again.
-
i just added sd->state.monster_ignore = 1; after setting autotrade to 1 in @autotrade atcommand.
pc.c find and add below
sd->state.standalone = 1;
sd->group = pcg->get_dummy_group();
sd->state.monster_ignore = 1;
-
/// Uncomment to switch the way map zones' "skill_damage_cap" functions.
/// When commented the cap takes place before modifiers, as to have them be useful.
/// When uncommented the cap takes place after modifiers.
//#define HMAP_ZONE_DAMAGE_CAP_TYPE
I can't get the description meaning, and I was wondering when I should uncomment the
define DAMAGE_CAP TYPE ?
-----------------------------------------------------------------------------------------------------
eit: Okay. I see... Thanks a lot for malufett's elaborate explanation.
-
addrid(0); //attached all onine players , you have to install addrid command
KILL variable = 0; // reset all online players' varaible
query_sql ("UPDATE `char_reg_num_db` SET `value` =0 WHERE `key` = 'KILL variable' " ); //reset offline players' variable
-
I think your client is 20120410, and 3 packet encryption keys are 0x1581359 0x452D6FFA 0x6AFB6E2E
but they are marked as brokean(red keys) , so all what you should do are
1. change your packetKeys to any set of green keys at line 2995 of packet.h and recompile your server
2. input your 3 keys(the green key you have chosen) when you diff client
-
This is determined by the mobs rude status skill. If an MVP is unable to reach the player, by walking then they will eventually use their " rude " skill, which just so happens to be teleport.
mob_skill_db.txt located in p(re)/folder
Examples:
1039,Baphomet@AL_TELEPORT,idle,26,1,10000,0,0,yes,self,rudeattacked,,,,,,,,1039,Baphomet@AL_TELEPORT,walk,26,1,5000,0,5000,yes,self,rudeattacked,,,,,,,,
You see that Baphomet like other MVPs will teleport away. So to prevent that from happening, just remove those 2 skills and they should stay there and get beat like the meanies they are D:
Thanks, but I m lazy to comment out every mvp's 'rude attack' TELEPORT skills.
Is it possible adding a custom option on monster_ai ?
0x800: mvp mobs wont teleport away when they are trapped by an ice wall
and how about stop mvp's moving by an icewall part? how can I reproduce that behavior
-
questactive command wasn't working properly, always show the Warnings when you use it
[Warning]: Found more arguments than necessary. unexpected arg type C_POS[Debug]: Function: __jump_zero[Debug]: Source (NPC): test123 at prontera(84,100)
relative topic: http://herc.ws/board/topic/7712-error-help-with-my-script/
BUILDIN(questactive) { struct map_session_data *sd = script->rid2sd(st); int q_id, n; if (sd == NULL) { script_pushint(st, -4); return true; } q_id = script_getnum(st, 2); if(q_id <=0) { script_pushint(st, -3); return true; } if(sd->avail_quests <=0) { script_pushint(st, -2); return true; } ARR_FIND(0, sd->avail_quests, n, sd->quest_log[n].quest_id == q_id ); if( n >= sd->avail_quests ) { script_pushint(st, -1); return true; } if(sd->quest_log[n].state == Q_ACTIVE;) script_pushint(st, 1); else script_pushint(st, 0); return true;}BUILDIN_DEF(questactive, "i"),
-
In the vedio, When the mvp was blocked by an ice wall and got hitten,the mvp was still under
chase state and won't use teleport skill ,I hope someone can help me ,thanks in-advance
-
You forgot to add sc in status.h,so you got stone curse
btw, your custom icon number is too big ,I think 801 is enough
and it would be better if icon number is the same as sc number
-
Hello!
I was updating my Hercules when suddendly got this errors on my map-server.bat, and don't know how to solve them D:
tion* 2016: if(BaseJob==Job_Wizard) bonus bMatk,15;* 2015: else if(BaseJob==Job_Sage) bonus bMatk,10;* 2014: bonus bMatk,(getrefine()*5); 2013: .@val = min(BaseLevel/10, 12); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^* 2012: if (.@val > 2) bonus bMatk,((.@val-2)*5);* 2011:[Error]: script error in file 're/item_db.conf' item ID 2168 parse_line: need ';' 2168: if (getrefine()>5) bonus2 bSubEle,Ele_Neutral,min(getrefine(),12)-5; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^[Error]: script error in file 're/item_db.conf' item ID 2474 parse_line: need ';'* 2476:* 2475: bonus bMaxSP,40; 2474: bonus bAgi,-7+min(getequiprefinerycnt(EQI_SHOES),8); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^* 2473:[Error]: script error in file 're/item_db.conf' item ID 2543 parse_callfunc: not enough arguments, expected ','* 2545:* 2544: bonus bMdef,3; 2543: bonus3 bAutoSpellWhenHit,AL_HEAL,max(getskilllv(AL_HEAL),1),20; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^* 2542:[Error]: script error in file 're/item_db.conf' item ID 2568 parse_line: need ';'* 2570:* 2569: bonus bFlee,5; 2568: .@val = max(getskilllv(AB_ORATIO), 2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^* 2567: bonus5 bAutoSpellWhenHit,AB_ORATIO,.@val,30,BF_WEAPON,0;* 2566: bonus5 bAutoSpellWhenHit,AB_ORATIO,.@val,40,BF_MAGIC,0;* 2565:[Error]: script error in file 're/item_db.conf' item ID 4371 parse_line: need ';'* 4373:* 4372: bonus bLuk,getrefine()-5; 4371: bonus bCritical,min(getrefine(),10); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^* 4370:[Error]: script error in file 're/item_db.conf' item ID 4404 parse_line: need ';'* 4405: 4404: bonus bMagicDamageReturn,min(getrefine(),10)*2; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^* 4403: if(BaseClass==Job_Mage) bonus bMdef,3;* 4402:[Error]: script error in file 're/item_db.conf' item ID 5774 parse_line: need ';'* 5777: bonus bStr,2;* 5776: bonus2 bAddMonsterDropItem,574,500;* 5775: bonus2 bAddItemHealRate,574,5; 5774: .@rate = min(getrefine(),10); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^* 5773: bonus bMaxHPrate,.@rate;* 5772: bonus bMaxSPrate,.@rate;* 5771: bonus3 bAutoSpellWhenHit,AL_INCAGI,.@rate,10;[Error]: script error in file 're/item_db.conf' item ID 13036 parse_callfunc: not enough arguments, expected ','*13039: bonus3 bAutoSpell,PR_LEXDIVINA,1,20;*13038: bonus bUnbreakableWeapon,0;*13037: if(getrefine()>5) { 13036: bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*13035: bonus2 bIgnoreDefRate,RC_DemiHuman,5;*13034: }*13033: if(getrefine()>8) bonus4 bAutoSpellOnSkill,RG_RAID,NPC_WIDEBLEEDING,1,250;[Error]: script error in file 're/item_db.conf' item ID 13076 parse_line: expect command, missing function name or calling undeclared function*13079:*13078: bonus bBaseAtk,(getrefine()*5);*13077: bonus bMatk,(getrefine()*2); 13076: .@val = min(BaseLevel/10, 12); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*13075: if (.@val > 2) bonus bBaseAtk,((.@val-2)*5);*13074:[Error]: script error in file 're/item_db.conf' item ID 13105 parse_callfunc: not enough arguments, expected ','*13108: bonus2 bIgnoreDefRate,RC_DemiHuman,20;*13107: bonus bUnbreakableWeapon,0;*13106: if(getrefine()>5) { 13105: bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*13104: bonus2 bIgnoreDefRate,RC_DemiHuman,5;*13103: }*13102: if(getrefine()>8) {[Error]: script error in file 're/item_db.conf' item ID 13170 parse_callfunc: not enough arguments, expected ','*13173: bonus2 bSkillAtk,GS_TRIPLEACTION,30;*13172: bonus bUnbreakableWeapon,0;*13171: if(getrefine()>5) { 13170: bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*13169: bonus2 bIgnoreDefRate,RC_DemiHuman,5;*13168: }*13167: if(getrefine()>8) {[Error]: script error in file 're/item_db.conf' item ID 13171 parse_callfunc: not enough arguments, expected ','*13174: bonus2 bSkillAtk,GS_TRIPLEACTION,30;*13173: bonus bUnbreakableWeapon,0;*13172: if(getrefine()>5) { 13171: bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),10)-4,2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*13170: bonus2 bIgnoreDefRate,RC_DemiHuman,5;*13169: }*13168: if(getrefine()>8) {[Error]: script error in file 're/item_db.conf' item ID 13171 parse_callfunc: not enough arguments, expected ','*13174: bonus2 bSkillAtk,GS_TRIPLEACTION,30;*13173: bonus bUnbreakableWeapon,0;*13172: if(getrefine()>5) { 13171: bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),10)-4,2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*13170: bonus2 bIgnoreDefRate,RC_DemiHuman,5;*13169: }*13168: if(getrefine()>8) {[Error]: script error in file 're/item_db.conf' item ID 13173 parse_callfunc: not enough arguments, expected ','*13176: bonus2 bSkillAtk,GS_TRIPLEACTION,30;*13175: bonus bUnbreakableWeapon,0;*13174: if(getrefine()>5) { 13173: bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),10)-4,2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*13172: bonus2 bIgnoreDefRate,RC_DemiHuman,5;*13171: }*13170: if(getrefine()>8) {[Error]: script error in file 're/item_db.conf' item ID 13300 parse_callfunc: not enough arguments, expected ','*13303: autobonus "{ bonus2 bSkillAtk,NJ_HUUMA,100; bonus2 bSkillAtk,NJ_ISSEN,100; }",50,10000;*13302: bonus bUnbreakableWeapon,0;*13301: if(getrefine()>5) { 13300: bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-3,2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*13299: bonus2 bIgnoreDefRate,RC_DemiHuman,5;*13298: }*13297: if(getrefine()>8) {[Error]: script error in file 're/item_db.conf' item ID 13311 parse_callfunc: not enough arguments, expected ','*13314:*13313: bonus bMatk,50;*13312: bonus bAtkEle,Ele_Water; 13311: bonus3 bAutoSpell,NJ_HYOUSYOURAKU,max(getskilllv(NJ_HYOUSYOURAKU),1),30; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*13310:[Error]: script error in file 're/item_db.conf' item ID 13312 parse_callfunc: not enough arguments, expected ','*13315:*13314: bonus bMatk,50;*13313: bonus bAtkEle,Ele_Wind; 13312: bonus3 bAutoSpell,NJ_RAIGEKISAI,max(getskilllv(NJ_RAIGEKISAI),1),30; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*13311:[Error]: script error in file 're/item_db.conf' item ID 13411 parse_callfunc: not enough arguments, expected ','*13414: bonus2 bIgnoreDefRate,RC_DemiHuman,20;*13413: bonus bUnbreakableWeapon,0;*13412: if(getrefine()>5) { 13411: bonus2 bAddRace,RC_DemiHuman,pow(min(getrefine(),14)-4,2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*13410: bonus2 bIgnoreDefRate,RC_DemiHuman,5;*13409: }*13408: if(getrefine()>6) bonus bAspdRate,5;[Error]: script error in file 're/item_db.conf' item ID 15036 parse_callfunc: not enough arguments, expected ','*15038:*15037: bonus bLuk,3; 15036: bonus3 bAutoSpell,ASC_METEORASSAULT,max(getskilllv(ASC_METEORASSAULT),1),20; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*15035:[Error]: script error in file 're/item_db.conf' item ID 15039 parse_line: need ';'*15040: 15039: .@rate = min(getrefine(), 10); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*15038: bonus bHit,.@rate;*15037: bonus bFlee,.@rate;*15036:[Error]: script error in file 're/item_db.conf' item ID 16015 parse_line: need ';'*16017:*16016: bonus bAtkEle,Ele_Dark; 16015: bonus3 bAutoSpell,WL_HELLINFERNO,1,max(getrefine(),1)*20; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*16014:[Error]: script error in file 're/item_db.conf' item ID 16020 parse_line: expect command, missing function name or calling undeclared function*16023:*16022: bonus bUnbreakableWeapon,0;*16021: bonus bBaseAtk,(getrefine()*5); 16020: .@val = min(BaseLevel/10, 12); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*16019: if (.@val > 2) bonus bBaseAtk,((.@val-2)*5);*16018:[Error]: script error in file 're/item_db.conf' item ID 18112 parse_line: expect command, missing function name or calling undeclared function*18115: if(BaseJob==Job_Hunter && Upper!=2) bonus bBaseAtk,10;*18114: bonus bBaseAtk,(getrefine()*3);*18113: bonus bLongAtkRate,getrefine(); 18112: .@val = max(BaseLevel/10, 12); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^*18111: if (.@val > 2) bonus bBaseAtk,((.@val-2)*5);*18110:
I'm sure there are more errors above.How to solve them :c?
Thank you
__
EDIT
__
Btw, I had to replace those to make my emulator to update.
that means cann't find custom fucntion min()
-
try grf editor
-
I'd like report a small typo bug ,That's the duplicate 'case 0x088A' ,but it won't show any compile warnings
if your PACKETVER <=20140402 ,or it will...
-
try thisHi hercules!
Could a kind scripter please be of help? I'm trying to attach a timer to the server and not to one character. I know how onclock and onminute work, but I am specifically looking for a script that will give a 2x drop bonus for the 24 hours after something was achieved.
I tried using sleep2 as well, but the unfortunate problem I run into is that as soon as the character logs off before (in this samples case) 10 seconds have passed, the bonus would just remain while I really want it to wear off whether the character is online or not.
Help is much appreciated!
[Etc...]announce "The server will now have the drop rates increased to 2x for the coming 24 hours!",bc_all; setbattleflag("item_rate_common", 200 ); dispbottom "Setting to 2x"; sleep2 10000; // not the accurate time atcommand "@reloadbattleconf"; end;
- xxxxx xxx,{ ........................ ........................ announce "The server will now have the drop rates increased to 2x for the coming 24 hours!",bc_all; setbattleflag("item_rate_common", 200 ); dispbottom "Setting to 2x"; $ExpireTime = gettimetick(2)+86400;//--->24 hours = 60*60*24 = 86400 seconds end;OnInit: if($ExpireTime && gettimetick(2) < $ExpireTime) { setbattleflag("item_rate_common", 200 ); end; }OnMinute1: OnMinute2: OnMinute3: OnMinute4: OnMinute5: OnMinute6: OnMinute7: OnMinute8: OnMinute9: OnMinute10:OnMinute11: OnMinute12: OnMinute13: OnMinute14: OnMinute15: OnMinute16: OnMinute17: OnMinute18: OnMinute19: OnMinute20:OnMinute21: OnMinute22: OnMinute23: OnMinute24: OnMinute25: OnMinute26: OnMinute27: OnMinute28: OnMinute29: OnMinute30:OnMinute31: OnMinute32: OnMinute33: OnMinute34: OnMinute35: OnMinute36: OnMinute37: OnMinute38: OnMinute39: OnMinute40:OnMinute41: OnMinute42: OnMinute43: OnMinute44: OnMinute45: OnMinute46: OnMinute47: OnMinute48: OnMinute49: OnMinute50:OnMinute51: OnMinute52: OnMinute53: OnMinute54: OnMinute55: OnMinute56: OnMinute57: OnMinute58: OnMinute59: OnMinute0: if($ExpireTime && gettimetick(2) >= $ExpireTime) { //--->Judging if the time is expired or not per minute $ExpireTime = 0 ; setbattleflag("item_rate_common", 100 ); } end;}
-
no, both male and female got same error,
even i'm not using custom palette, this client still asking for _1 sprite and act.
I found that issue was caused by weapon, if you equip a weapon and re-login ,it will occurs
I think Head gears too?
nope, Head gears work fine for me
-
no, both male and female got same error,
even i'm not using custom palette, this client still asking for _1 sprite and act.
I found that issue was caused by weapon, if you equip a weapon and re-login ,it will occurs
-
can anyone help me please...
i just download a fresh copy of Hercules, no modification,script,source added or change and no edit it's like download then recompile...
then i got this error when recompile..
..srcpluginsHPMHooking.c(77): fatal error C1189: #error : HPMHooking plugin needs to be compiled for a specific server type. Please make sure your Makefiles are up to date.
..srcmapclif.c(18316): warning C4244: '=' : conversion from 'short' to 'char', possible loss of data
..srcpluginsHPMHooking.c(77): fatal error C1189: #error : HPMHooking plugin needs to be compiled for a specific server type. Please make sure your Makefiles are up to date.
please need help!
-
yes,here is my plugins.confdo you have HPMHooking enabled via plugins.conf?
plugins_list: [ /* Enable HPMHooking when plugins in use rely on Hooking */ //"HPMHooking", //"db2sql", //"sample", //"other", //"HPMHooking_login", "HPMHooking_char", "HPMHooking_map", "plugin-atcommand", "plugin-script",]
ooo.. after updated git to latest ,Hooking now was working fine, problem got solvedthanks to devs
-
After updated to latest git ,My server shows these erros,How can I fix them or should I wait
devs to update HPMHooking_login ?
[Error]: HPM:AddHook Fail! 'plugin-atcommand' tried to hook to 'clif->spawn' but HPMHo
oking is disabled!
[Error]: HPM:AddHook Fail! 'plugin-atcommand' tried to hook to 'status->change_end_' b
ut HPMHooking is disabled!
[Error]: HPM:AddHook Fail! 'plugin-atcommand' tried to hook to 'status->change_start'
but HPMHooking is disabled!
[Error]: HPM:AddHook Fail! 'plugin-atcommand' tried to hook to 'battle->check_target'
but HPMHooking is disabled!
[Error]: HPM:AddHook Fail! 'plugin-atcommand' tried to hook to 'chat->join' but HPMHoo
king is disabled!
[Error]: HPM:AddHook Fail! 'plugin-atcommand' tried to hook to 'clif->getareachar_unit
' but HPMHooking is disabled! -
-
I got confused about sprite name that end with _h , for example the sprite name of monk is 몽크
but 몽크_h is ?
-
I have nothing against adding Traditional Chinese as well, just one question:my computer uses traditional chinese
As far I know, Traditional uses more strokes overall. Will that still be readable/legible with the font size used by OpenSetup right now?
yes, the font size of official setup UI seems the same size as OpenSetup
edit:
After test V-2.11.3 ,the fonts are still readable and legible.
-
I'm sorry, as I know, there are lots of different between Simplified and Traditional translate. So I just translated to Simplified. Still glad to see someone use Chinese here.my computer uses traditional chinese
Maybe you should change line 14
LANGUAGE LANG_CHINESE_TRADITIONAL, SUBLANG_CHINESE_TRADITIONAL
Ok, thanks a bunch..
我參考你的翻譯,有稍微調整一下名稱上的差異,總之謝謝你的翻譯...
-
-
Hi im trying to implement this PK area on my server but when i compile i got this errors
Can anyone help me plz?
I'm using this Src edition
I m not using clean emulator to create patch ,so ~ patch it by manual
this mod should be given criedit to Mr. Postman from Thailand
Display Name to item_db
in Database Releases
Posted
Could you make it to support KeepAfterUse ?
Thanks