Huitzilopotchli
Members-
Content Count
17 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Huitzilopotchli
-
Show 1 Regen HP/SP, how to remove it?
Huitzilopotchli replied to Daraen's question in Source Support
Finaly find it, it come from this: In status.c, status_calc_regen, minimum value is 1, means all job whatever if they have skill or sitting regen bonus, will display this "1" heal regen if (regen->skill != NULL) { regen->skill->hp = cap_value(regen->skill->hp, 1, INT16_MAX); regen->skill->sp = cap_value(regen->skill->sp, 1, INT16_MAX); } if (regen->sitting != NULL) { regen->sitting->hp = cap_value(regen->sitting->hp, 1, INT16_MAX); regen->sitting->sp = cap_value(regen->sitting->sp, 1, INT16_MAX); } We've change for this and it's work fine if (regen->skill != NULL) { regen->skill->hp = cap_value(regen->skill->hp, 0, INT16_MAX); regen->skill->sp = cap_value(regen->skill->sp, 0, INT16_MAX); } if (regen->sitting != NULL) { regen->sitting->hp = cap_value(regen->sitting->hp, 0, INT16_MAX); regen->sitting->sp = cap_value(regen->sitting->sp, 0, INT16_MAX); } -
Hercules Battlegrounds
Huitzilopotchli replied to Sephus's topic in PvP, WoE, GvG, & Battleground Releases
Do you speak about this ? http://herc.ws/board/topic/425-bg-consume-mapflag-battlegrounds-items-that-can-only-be-used-in-bg/ -
Hercules Battlegrounds
Huitzilopotchli replied to Sephus's topic in PvP, WoE, GvG, & Battleground Releases
The sword icon is the BG Emblem, no ? Can find it in clif.c: clif->sendbgemblem_area(sd); clif->sendbgemblem_single(sd->fd,tsd); -
Hercules Battlegrounds
Huitzilopotchli replied to Sephus's topic in PvP, WoE, GvG, & Battleground Releases
hBGg_warp must be hBG_warp ^^ -
Hercules Battlegrounds
Huitzilopotchli replied to Sephus's topic in PvP, WoE, GvG, & Battleground Releases
Hit', about the bg_flavius_td.txt error : i think there is an error in the pull request : change this : .@guillaume, hBG_get_data($@BG_Team1, 0); .@croix, hBG_get_data($@BG_Team2, 0); to: .@guillaume = hBG_get_data($@BG_Team1, 0); .@croix = hBG_get_data($@BG_Team2, 0); For the first error, you have to disable official BG npc ^^ -
Hercules Battlegrounds
Huitzilopotchli replied to Sephus's topic in PvP, WoE, GvG, & Battleground Releases
@hit, about this error : [Warning]: mob_readdb_mobavail: Unknown mob id 2100. [Error]: sv_readdb: Could not process contents of line 45 of "db/mob_avail.txt". have you add this in your mob_db.conf ? https://github.com/Smokexyz/HerculesBG/blob/master/db/pre-re/mob_db.conf -
Hercules Battlegrounds
Huitzilopotchli replied to Sephus's topic in PvP, WoE, GvG, & Battleground Releases
Here there is no step about the conf, i've got the same error the first time i install a plugin, you have to declare the plugin in conf->plugin.conf ^^ -
Hercules Battlegrounds
Huitzilopotchli replied to Sephus's topic in PvP, WoE, GvG, & Battleground Releases
Hi, i don't know how use the pull request, i'm on github since somes day for my server ^^ And for the immunity check it doesn't work ^^'. So after many try and research(i'm bad in C ^^'), i've finaly fix it BUILDIN(hBG_monster_immunity) { struct mob_data *md; struct block_list *mbl; struct hBG_mob_data *hBGmd; int id = script_getnum(st, 2), flag = script_getnum(st, 3); if (id == 0 || (mbl = map->id2bl(id)) == NULL || mbl->type != BL_MOB) { script_pushint(st, 0); return false; } md = (TBL_MOB *)mbl; if (!(hBGmd = getFromMOBDATA(md, 0))) { CREATE(hBGmd, struct hBG_mob_data, 1); addToMOBDATA(md, hBGmd, 0, true); } hBGmd->state.immunity = flag; return true; } int battle_check_target_post(int retVal, struct block_list *src, struct block_list *target, int flag) { if (retVal == 1 && target->type == BL_MOB) { struct hBG_mob_data *hBGmd; if ((hBGmd = getFromMOBDATA((TBL_MOB*)target, 0))) if (hBGmd && (hBGmd->state.immunity > 0)) { return -1; } } return retVal; } -
Hercules Battlegrounds
Huitzilopotchli replied to Sephus's topic in PvP, WoE, GvG, & Battleground Releases
Hi ! for the After cast delay of guild skill i've fix it : int skillnotok_pre(uint16 *skill_id, struct map_session_data **sd) { int16 idx, m; nullpo_retr(1, *sd); m = (*sd)->bl.m; idx = skill->get_index(*skill_id); if (idx == 0) return 1; if (map->list[m].flag.battleground && *skill_id >= GD_SKILLBASE && *skill_id <= GD_DEVELOPMENT) if ((*sd)->blockskill[idx] || !(map->list[m].flag.battleground)) { clif->skill_fail(*sd, *skill_id, USESKILL_FAIL_SKILLINTERVAL, 0); hookStop(); return 1; } return 0; return (map->list[m].flag.noskill); } but for the hBg_monster_immunity flag, i've tryed somethings but it result nothing ^^' -
Hercules Battlegrounds
Huitzilopotchli replied to Sephus's topic in PvP, WoE, GvG, & Battleground Releases
For deathmatch it's about this : set .@guillaume, hBG_get_data($@BG_Team1, 0); set .@croix, hBG_get_data($@BG_Team2, 0); i change to : .@guillaume = hBG_get_data($@BG_Team1, 0); .@croix = hBG_get_data($@BG_Team2, 0); and no more spam in console ^^ -
Hercules Battlegrounds
Huitzilopotchli replied to Sephus's topic in PvP, WoE, GvG, & Battleground Releases
Can you maybe extract it again and try? This is a separate function. Maybe another plugin could incorporate this. I'd like to keep hBG as free of unrelated things as possible. I think it's about this ^^ -Bossnia: MvP are not immune when the center flag is neutral. Error in console is : And the MvP name is not the same as MvP Sprite. For this it's just in mob_avail.txt -Guild Skill have no ACD These look like simple script issues, maybe someone could push a PR with fixes (if they are so generous). Or if in the future I find the time for it I will add it in. For console error, yes it's "easy" to fix it, maybe i can give you the line that i've add ? But for the after cast delay of guild skill i think it's in the hBG.c : line 3702: guild->block_skill(sd, skill->get_time2(*skill_id, *skill_lv)); It's special acd for guild skill, but i don't know how to fix it in the plugin ^^' And for monster immunity, it look like to be in hBG.c too : because in the script, the command script hBG_monster_immunity is correctly config. -
Hercules Battlegrounds
Huitzilopotchli replied to Sephus's topic in PvP, WoE, GvG, & Battleground Releases
I find another think, when you take a Flag or a Stone, i see that you can use skill and normaly it's not possible. I find this : http://herc.ws/board/topic/11020-add-pcblockattack-pcblockskill-pcblockchat-pcimmune-script-commands/ i don't know if you can add this in your plugin. i've add this in my emulator and it work nicely ! -
Hercules Battlegrounds
Huitzilopotchli replied to Sephus's topic in PvP, WoE, GvG, & Battleground Releases
Nice work, no more map crash. I have some other issue . -Rush: If a team break the Emperium, the other team may be warp to the therapist, no ? I think it's about this ^^ -Bossnia: MvP are not immune when the center flag is neutral. Error in console is : And the MvP name is not the same as MvP Sprite. For this it's just in mob_avail.txt -Guild Skill have no ACD -
Hercules Battlegrounds
Huitzilopotchli replied to Sephus's topic in PvP, WoE, GvG, & Battleground Releases
Hi, i have some crash with map-server too when i hit barricades in Conquest and MvP in Bossnia. -
I've disable this line too and when i arrow shower on my traps, traps knockback normaly but i do damage on and sniper is not suppose to do damage on his traps. I've try another think when "nullpo_ret(bst);" is enable : -It's to put marine sphere card on my sniper, and when i cast magnum break on my traps i do damage on it, and it knockback normaly. So i don't know what is wrong.
-
Hi, i've the same error when i use arrow shower on traps and i don't use any plugins. Setting: pre-renewal Error : [Error]: --- nullpo info -------------------------------------------- [Error]: skill.c:12185: 'bst' in function `Unkown' [Error]: --- end nullpo info ---------------------------------------- Line in skill.c: tstatus = status->get_status_data(bl); nullpo_ret(tstatus); bst = status->get_base_status(bl); 12185-> nullpo_ret(bst); type = status->skill2sc(sg->skill_id); skill_id = sg->skill_id;