Easycore
-
Content Count
184 -
Joined
-
Days Won
6
Reputation Activity
-
Easycore reacted to smiths12 in Killer Cosmetics
Thanks, for your answer, and don't worry i got more mobs to add free.
-
-
Easycore reacted to SyncMaster in [Showcase] Skill Kuchyiose : Rashomon and Double Rashomon
A skill that invokes the single version or the double version of the Rashomon Shield. Works exactly like icewall, except that there is just one point to hit and kill to disable the way blocking.
Beside our differences, some customization like that could not be done without the amazing content that @Olrox provided for custom area. So, big part of the credit is his.
-
Easycore got a reaction from Happy in Trading an item and triggering a function
npc->event_doall_id( "OnTradeEvent", sd->bl.id ); npc->event_doall_id( "OnTradeEvent", tsd->bl.id ); // Save char RID of exchanger into @trader variable pc->setreg(sd,script->add_str("@trader"),tsd->status.account_id); pc->setreg(tsd,script->add_str("@trader"),sd->status.account_id); - script TradeTest FAKE_NPC,{ OnTradeEvent: mes "Has exchanged with the player "+rid2name(@trader); close; }
-
Easycore reacted to Mystery in May Digest 2017
May Digest 2017
The following digest covers the month of May 1st - May 31st 2017
Team Changes
hemagx has been moved from Core Developer to Community Contributors malufett has been moved from Core Developer to Community Contributors Pan has been moved from Core Developer to Community Contributors GreenBox has been moved from Core Developer to Community Contributors Susu has been moved from Core Developer to Community Contributors Kenpachi has been moved from Script Developers to Community Contributors Joseph has been moved from Script Developers to Community Contributors AnnieRuRu has been moved from Scripting Moderators to Community Contributors JayPee has been moved from Int'l Moderators to Community Contributors Mhalicot has been moved from Int'l Moderators to Community Contributors Mumbles has been moved from Global Moderators to Community Contributors Olrox has been moved from Graphics Moderators to Community Contributors These members had the 'Former' tag set on their group, however, due to the move towards IPB4, we scraped that Former Tag and figured it was best to just move them to CC.
Development Highlights
Fix a race condition when saving the storage on logout Fix saving of storage for non-stackable items Fix storage saving checks and amount update Normal Stat food can't override the effect of Cash Stat food add channel handler events Add storage_data reception, parsing and sending to/from the map-server allow to pass actual params to getparam add exponentiation operator update documentation for the exponentiation operator remove the pow buildin from existing scripts remove the pow buildin from item databases flag the pow() buildin as deprecated allow custom atcommands to have different permissions for each group add buildin add_group_command() add support for custom atcommands in can_use_command
Scripting Highlights
Optimize Uwe Kleine NPC, fix typos and an unintended fall through Updated npc/re/merchants/shadow_refiner.txt to version 2.0 Update npc/<re/>merchants/advanced_refiner.txt
Documentation
Updated *showscript documentation description Documentation update for getequippercentrefinery() and refine_db.confs document previously undocumented parameter of getparam
Database Highlights
Refine rate correction from kRO Update Exp Table
May Statistics
During the period there were 59 Commits. 10 Commits from Pull Requests with 2 Bugs* fixed from merged issues.
*Please note: Bug fixes are counted as references to issues; it does not include bugs that have been fixed without issue reference. The number of commits includes those that were merged.
-
Easycore got a reaction from Quazi in Avoid players to attack
Add a custom mapflag
http://herc.ws/wiki/Adding_New_Mapflag
And finally open battle.c, find:
switch (t_bl->type) { case BL_MOB: // Source => PC, Target => MOB if (pc_has_permission(s_sd, PC_PERM_DISABLE_PVM)) And replace for:
switch (t_bl->type) { case BL_MOB: // Source => PC, Target => MOB if (pc_has_permission(s_sd, PC_PERM_DISABLE_PVM) || map->list[m].flag.yourcustommapflag)
-
Easycore got a reaction from Legend in Avoid players to attack
Add a custom mapflag
http://herc.ws/wiki/Adding_New_Mapflag
And finally open battle.c, find:
switch (t_bl->type) { case BL_MOB: // Source => PC, Target => MOB if (pc_has_permission(s_sd, PC_PERM_DISABLE_PVM)) And replace for:
switch (t_bl->type) { case BL_MOB: // Source => PC, Target => MOB if (pc_has_permission(s_sd, PC_PERM_DISABLE_PVM) || map->list[m].flag.yourcustommapflag)
-
Easycore got a reaction from Legend in Trading an item and triggering a function
Open src/map/trade.c, find:
// save both player to avoid crash: they always have no advantage/disadvantage between the 2 players if (map->save_settings&1) { chrif->save(sd,0); chrif->save(tsd,0); } Add below:
npc->event_doall_id( "OnTradeEvent", sd->bl.id ); npc->event_doall_id( "OnTradeEvent", tsd->bl.id );
Test NPC:
- script TradeTest FAKE_NPC,{ OnTradeEvent: mes "Hello, world!"; close; }
-
Easycore reacted to Mystery in April 2017 Digest
April Digest 2017
The following digest covers the month of April 1st - April 30th 2017
Development Highlights
Implementation of unit controlling script commands Implementation of Item Options System Add missing non shuffle packets for 2014 - 2015 years. Unequip arrows when a bow is unequipped. (RE only) add getunits() buildin Fix a null pointer in guild->isallied() Fix wrong parameters in a call to mapif->party_broken() Monster Vulture's Eye and Snake's Eye removed Update Status ID Update NPC ID Implemented Official Summer 2 Costume Added oktoberfest_ignorepalette configuration Made prevent_logout effect on log-in optional Removed hard coded values on @cashmount and setcashmount. Added AB_HIGHNESSHEAL in skill_add_heal_rate configuration Removal of cashfood_use_interval setting. Status effects from Cash Food items cannot be removed by death. expose bank vault to the script engine Removal of rare_drop_announce config. Added job checks for @bodystyle command Tons of Packets Changes and Information Remove wrong and duplicate packets for 20150226 Fix non shuffle unused packets in 20140305. Fix shuffle packets for 2014-01-15eRagexe. Move packets ZC_SELECTCART and CZ_SELECTCART into past into correct date Fix shuffle packets for 2015-10-01aRagexe. Added the correct PACKETVER Date for MSG_NPC_WORK_IN_PROGRESS message. Add encryption packets for 2016 RE clients. New Packet Additions: 2015-01-07aRagexeRE | 2015-01-14aRagexe | 2015-01-28aRagexe | 2015-02-04aRagexe | 2015-02-25aRagexeRE | 2015-02-26aRagexeRE | 2015-03-11aRagexeRE | 2015-03-25aRagexe | 2015-04-01aRagexe | 2015-04-22aRagexeRE | 2015-04-29aRagexe | 2015-05-07bRagexe | 2015-05-27aRagexe | 2015-06-17aRagexeRE | 2015-06-18aRagexeRE | 2015-08-19aRagexeRE | 2015-08-26aRagexeRE | 2015-10-07aRagexeRE | 2015-10-14bRagexeRE | 2015-10-28cRagexeRE | 2015-11-18aRagexeRE | 2015-12-02bRagexeRE | 2015-12-23bRagexeRE Additional Shuffle Packets 2016-01-27bRagexeRE | 2016-02-03aRagexeRE | 2016-02-17cRagexeRE | 2016-03-02bRagexeRE | 2016-03-09aRagexeRE | 2016-03-30aRagexeRE | 2016-05-11aRagexeRE | 2016-05-25aRagexeRE | 2016-06-08aRagexeRE | 2016-06-15aRagexeRE | 2016-06-30aRagexeRE | 2016-07-06cRagexeRE | 2016-07-13bRagexeRE | 2016-07-20aRagexeRE | 2016-07-27bRagexeRE | 2016-08-31bRagexeRE | 2016-09-07aRagexeRE | 2016-09-21bRagexeRE | 2016-10-12aRagexeRE | 2016-10-26bRagexeRE | 2016-11-09bRagexeRE | 2016-12-07eRagexeRE | 2016-12-14bRagexeRE | 2016-12-21aRagexeRE
Database Highlights
Novice SP Table correction Fix wrong level check for MC_CHANGECART skill Implemented official Giant Fly Wing Effect Update GX Poison items Update Rune Knight Runes & Ores
New script commands: chr ord gettimer getunits getvariableofpc can_use_command has_permission addchannelhandler removechannelhandler setunitdata getunitdata getunitname setunitname getequipisenableopt getequippedoptioninfo getequipoptioninfo setequipoption navigateto Modified script commands (extra parameters): strcharinfo strnpcinfo addtimer deltimer addtimercount checkoption checkoption1 checkoption2 setoption warpparty warpguild classchange New params: BankVault
Big projects currently in development:
Implementation of the official Clan system Implementation of the official RoDEX system Implementation of the official Achievements system Complete rewrite of the map cache system
Thanks to Meko for posting this information and helping out!
April Statistics
During the period there were 147 Commits. 31 Commits from Pull Requests with 8 Bugs* fixed from merged issues.
*Please note: Bug fixes are counted as references to issues; it does not include bugs that have been fixed without issue reference. The number of commits includes those that were merged.
-
Easycore reacted to Dastgir in Hercules IRC
https://discord.gg/ZUzbRSp Blame discord UI for so much confusing...
-
Easycore got a reaction from caspe in Hercules Battlegrounds
I was referring to this image:
Some fixes and additions in PR:
You can try these changes here, until Smoke approve and merge this.
Report any errors, note that I'm beginner compared to Smoke.
-
Easycore reacted to Dastgir in Hercules Battlegrounds
New clients don't support emblems in bg map, i requested to Nemo long time ago, and he made a patch for it, check Nemo for that emblem thing -
Easycore got a reaction from caspe in Hercules Battlegrounds
I got the same error, It was solved by compiling with MSVS 2015.
I solved this, see this PR.
-
Easycore got a reaction from caspe in Hercules Battlegrounds
I made a command for switch BG Modes.
Open hBG\bg_common.txt and copy this before of OnBGStartCommand:
Find /* Player Commands */ and copy above:
Finally find // Team Building Mode : and copy above:
Usage: @bgmode <1-10> #1 - Random Mode #2 - Capture the Flag #3 - Eye of Storm #4 - Triple Inferno #5 - Team DeathMatch #6 - Bossnia #7 - Conquest #8 - Stone Control #9 - Domination #10 - Rush -
Easycore got a reaction from tedexx in Hercules Battlegrounds
I made a command for switch BG Modes.
Open hBG\bg_common.txt and copy this before of OnBGStartCommand:
Find /* Player Commands */ and copy above:
Finally find // Team Building Mode : and copy above:
Usage: @bgmode <1-10> #1 - Random Mode #2 - Capture the Flag #3 - Eye of Storm #4 - Triple Inferno #5 - Team DeathMatch #6 - Bossnia #7 - Conquest #8 - Stone Control #9 - Domination #10 - Rush -
Easycore reacted to Huitzilopotchli in bg_consume mapflag, "Battleground's items" that can only be used in BG
I just change line to the new syntax of recent hercule's version ^^
battlegroud.diff
-
Easycore reacted to PB&JJ in bBonusSkillLevel
Usage:
item script command:
bBonusSkillLevel,x,y; // x = skill_id y = skills level to add Example: (if you use double strafing, cast one that is two levels higher instead)
{ Id: 1715 AegisName: "Arbalest_" Name: "Arbalest" Type: 4 Buy: 48000 Weight: 1000 Atk: 90 Range: 5 Slots: 2 Job: { Archer: true Thief: true Hunter: true Rogue: true Bard: true } Loc: 34 WeaponLv: 3 EquipLv: 33 View: 11 Script: <" bonus bBonusSkillLevel,AC_DOUBLE,2; "> },
Note:
I Couldn't find the proper entry point for skill levels, I figured I should look around in unit.c / clif.c. For now it's overloading battle_calc_attack. if you happen to find any bugs. or skills it doesn't work on (when final skill level <= 10), or if you have any suggestions Please let me know!
-
Easycore reacted to Sephus in Refinery UI
kRO had released anew refinery interface for item refinement last year in their 2016-10-* clients.
Source:
A preview of my implementation:
I already have it working on my local Hercules branch. A big thanks to @Asheraf for providing information from kRO. This will be available for Hercules as and when it support the newer clients.
Just thought I'd share the info here
Hope for its release soon!
-
Easycore reacted to Sephus in Hercules Battlegrounds
Hercules Battlegrounds
A full conversion and enhancement of eAmod's Battlegrounds system into a easy-to-install Hercules plugin library.
Version: 1.0a (alpha)
Repository @ https://github.com/Smokexyz/HerculesBG
Installation
1) Place plugin files in plugin directory. (If you wish to re-compile the code, please do so the standard way.)
2) Place all script files in the default directory provided in the repository (or your own).
3) Place all database and config parts in their respective files.
4) in conf/plugins.conf add "hBG".
Instructions on installing Plugins - http://herc.ws/wiki/HPM#Building_a_plugin
Battleground Modes
Capture the Flag Eye of Storm Triple Inferno Team DeathMatch Bossnia Conquest Stone Control Domination Rush Free For All Why use it?
1) Prevents conflicts when updating Hercules.
2) Easy to install.
3) Can be easily modified for more functions/features in the future.
For contributors
If you wish to add a free BG script to the list of available battleground modes, please contact me.
Bug Reporting
Please feel free to open an issue on the repository and I'll get to it as soon as I can.
Donate to support the project and motivate updates.
-
Easycore got a reaction from nana in [Custom Skill] Happy Christmas!!
Hello Herc community,
Not long ago, I started to create paid skills, so I decided to create a Christmas-themed skill:
Happy Christmas!! [ALL_XMAS]
Max Lv: 2
Type: No damage/Target
SP/Cast/Delay: 0
Description:
Change clothes to xmas attire, if the target is in xmas attire, target will return to normal clothes. If you use the skill on Lv 2, "We Wish Song" will reproduce.
[Preview]:
Manual of Installation & configuration are adjunted to .zip.
Regards~
ALL_XMAS by Easycore.zip
-
Easycore got a reaction from Mystery in [Custom Skill] Happy Christmas!!
Hello Herc community,
Not long ago, I started to create paid skills, so I decided to create a Christmas-themed skill:
Happy Christmas!! [ALL_XMAS]
Max Lv: 2
Type: No damage/Target
SP/Cast/Delay: 0
Description:
Change clothes to xmas attire, if the target is in xmas attire, target will return to normal clothes. If you use the skill on Lv 2, "We Wish Song" will reproduce.
[Preview]:
Manual of Installation & configuration are adjunted to .zip.
Regards~
ALL_XMAS by Easycore.zip
-
Easycore got a reaction from Otonii in [Custom Skill] Happy Christmas!!
Hello Herc community,
Not long ago, I started to create paid skills, so I decided to create a Christmas-themed skill:
Happy Christmas!! [ALL_XMAS]
Max Lv: 2
Type: No damage/Target
SP/Cast/Delay: 0
Description:
Change clothes to xmas attire, if the target is in xmas attire, target will return to normal clothes. If you use the skill on Lv 2, "We Wish Song" will reproduce.
[Preview]:
Manual of Installation & configuration are adjunted to .zip.
Regards~
ALL_XMAS by Easycore.zip
-
Easycore got a reaction from Legend in [Custom Skill] Happy Christmas!!
Hello Herc community,
Not long ago, I started to create paid skills, so I decided to create a Christmas-themed skill:
Happy Christmas!! [ALL_XMAS]
Max Lv: 2
Type: No damage/Target
SP/Cast/Delay: 0
Description:
Change clothes to xmas attire, if the target is in xmas attire, target will return to normal clothes. If you use the skill on Lv 2, "We Wish Song" will reproduce.
[Preview]:
Manual of Installation & configuration are adjunted to .zip.
Regards~
ALL_XMAS by Easycore.zip
-
Easycore got a reaction from Khazou in Assumptio Cancel Kyrie if Kyrie level is < 11
In status.c, find:
case SC_ASSUMPTIO: status_change_end(bl, SC_KYRIE, INVALID_TIMER); status_change_end(bl, SC_KAITE, INVALID_TIMER); break; And comment these lines:
case SC_ASSUMPTIO: //status_change_end(bl, SC_KYRIE, INVALID_TIMER); //status_change_end(bl, SC_KAITE, INVALID_TIMER); break;
In skill.c, find:
case PR_KYRIE: case MER_KYRIE: case SU_TUNAPARTY: And replace for:
case PR_KYRIE: clif->skill_nodamage(bl, bl, skill_id, -1, sc_start(src, bl, type, 100, skill_lv, skill->get_time(skill_id, skill_lv))); if (tsc && tsc->data[SC_ASSUMPTIO] && tsc->data[SC_ASSUMPTIO]->val1 < 11) status_change_end(bl, SC_ASSUMPTIO, INVALID_TIMER); break; case MER_KYRIE: case SU_TUNAPARTY: Later find:
case HP_ASSUMPTIO: if( sd && dstmd ) clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); else clif->skill_nodamage(src,bl,skill_id,skill_lv, sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv))); break; And replace for:
case HP_ASSUMPTIO: if( sd && dstmd ) clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); else clif->skill_nodamage(src,bl,skill_id,skill_lv, sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv))); if (tsc && tsc->data[SC_KYRIE] && tsc->data[SC_KYRIE]->val1 < 11) status_change_end(bl, SC_KYRIE, INVALID_TIMER); break;
This will cancel these states if the target have kyrie/assumptio lower level than 11.
The problems with this:
- If player get Assumptio/Kyrie by a NPC/Script, buffs can be stacked.
- Cancellation of buffs only can work by skills.
-
Easycore got a reaction from prism in Assumptio Cancel Kyrie if Kyrie level is < 11
In status.c, find:
case SC_ASSUMPTIO: status_change_end(bl, SC_KYRIE, INVALID_TIMER); status_change_end(bl, SC_KAITE, INVALID_TIMER); break; And comment these lines:
case SC_ASSUMPTIO: //status_change_end(bl, SC_KYRIE, INVALID_TIMER); //status_change_end(bl, SC_KAITE, INVALID_TIMER); break;
In skill.c, find:
case PR_KYRIE: case MER_KYRIE: case SU_TUNAPARTY: And replace for:
case PR_KYRIE: clif->skill_nodamage(bl, bl, skill_id, -1, sc_start(src, bl, type, 100, skill_lv, skill->get_time(skill_id, skill_lv))); if (tsc && tsc->data[SC_ASSUMPTIO] && tsc->data[SC_ASSUMPTIO]->val1 < 11) status_change_end(bl, SC_ASSUMPTIO, INVALID_TIMER); break; case MER_KYRIE: case SU_TUNAPARTY: Later find:
case HP_ASSUMPTIO: if( sd && dstmd ) clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); else clif->skill_nodamage(src,bl,skill_id,skill_lv, sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv))); break; And replace for:
case HP_ASSUMPTIO: if( sd && dstmd ) clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); else clif->skill_nodamage(src,bl,skill_id,skill_lv, sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv))); if (tsc && tsc->data[SC_KYRIE] && tsc->data[SC_KYRIE]->val1 < 11) status_change_end(bl, SC_KYRIE, INVALID_TIMER); break;
This will cancel these states if the target have kyrie/assumptio lower level than 11.
The problems with this:
- If player get Assumptio/Kyrie by a NPC/Script, buffs can be stacked.
- Cancellation of buffs only can work by skills.