-
Content Count
170 -
Joined
-
Last visited
-
Days Won
8
Reputation Activity
-
Happy reacted to Mhalicot in [Tulong] pag gawa ng hercules server
Basahin mo po itong mga Guide na ito.. baka maka tulong
Una po mag Setup ka po muna,
Download Hercules using SVN
[Gabay] Paano mag Update/Setup ng Server
Pag may Server ka na Basahin mo naman po ito
Setup Clients at [Gabay] Paano mag Setup ng Client
Kung may mga tanong ka po feel free to post
-
Happy reacted to Mhalicot in Costume System
it should be merge like this
int pc_equippoint(struct map_session_data *sd,int n){ int ep = 0, char_id = 0; nullpo_ret(sd); if(!sd->inventory_data[n]) return 0; if (!itemdb->isequip2(sd->inventory_data[n])) return 0; //Not equippable by players. ep = sd->inventory_data[n]->equip; if(sd->inventory_data[n]->look == W_DAGGER || sd->inventory_data[n]->look == W_1HSWORD || sd->inventory_data[n]->look == W_1HAXE) { if( (pc->checkskill(sd,AS_LEFT) > 0 || (sd->class_&MAPID_UPPERMASK) == MAPID_ASSASSIN || (sd->class_&MAPID_UPPERMASK) == MAPID_KAGEROUOBORO) ) { //Kagerou and Oboro can dual wield daggers. [Rytech] if( ep == EQP_HAND_R ) return EQP_ARMS; if( ep == EQP_SHADOW_WEAPON ) return EQP_SHADOW_ARMS; } } if( battle_config.reserved_costume_id && sd->status.inventory[n].card[0] == CARD0_CREATE && (char_id = MakeDWord(sd->status.inventory[n].card[2],sd->status.inventory[n].card[3])) == battle_config.reserved_costume_id ) { // Costume Item - Converted if( ep&EQP_HEAD_TOP ) { ep &= ~EQP_HEAD_TOP; ep |= EQP_COSTUME_HEAD_TOP; } if( ep&EQP_HEAD_LOW ) { ep &= ~EQP_HEAD_LOW; ep |= EQP_COSTUME_HEAD_LOW; } if( ep&EQP_HEAD_MID ) { ep &= ~EQP_HEAD_MID; ep |= EQP_COSTUME_HEAD_MID; } } return ep;} -
Happy reacted to Mhalicot in Costume System
Are you sure you did not encounter any error after compiling?
-
Happy reacted to Mhalicot in rentitem2 plugins
yes, because the only available @command for this plugins is @rentitem..
-
Happy reacted to Mhalicot in rentitem2 plugins
Kindly read at first page, rentitem2 is for script command no @command for this.
available @command is @rentitem.
-
Happy reacted to Mhalicot in rentitem2 plugins
Update: 3.0
*getequipexpiretick(<equipment slot>)Returns the number of seconds before the item expires.0 means it never expires (not a rental item)-1 means no item is equipped Sample Script:
if (getequipexpiretick(.@part)) { mes "Sorry. I don't sign rental items."; emotion e_sry; close;} -
Happy reacted to Mhalicot in rentitem2 plugins
File Name: rentitem2 plugins
File Submitter: Mhalicot
File Submitted: 04 Jan 2014
File Category: Plugins
HPM (Script command: rentitem2) (AtCommand: @rentitem) complete package.
Compatible with Windows System Only
if you are using Linux, ignore other files and use only rentitem2.c
Instruction.
1. Download and extract files using 7z or any application that can extract it.
2. extract it in your server directory ex: C:/RO Server/Hercules/
2.1. edit conf/plugins.conf and add rentitem2
3. find rentitem2/rentitem2.sln and recompile it.
4. You can now start using your ready made plugins
if you are using VS2010/VS2009/vs2013 or whatsoever and you are failing to compile because of platform issue.
this is what you need to do.
Note: Recompile if you modify the script.
Sample Script:
// Structure*rentitem2 <Item_ID>,<time>, <identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>;*rentitem2 "<Item_Name>",<time>, <identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>;// Scriptrentitem2 @inventorylist_id[.@item],.rentime,@inventorylist_identify[.@item],@inventorylist_refine[.@item],@inventorylist_attribute[.@item],@inventorylist_card1[.@item],@inventorylist_card2[.@item],@inventorylist_card3[.@item],@inventorylist_card4[.@item];
Note: cannot rent pet eggs/armor, stackable items.
// AtCommand Structureusage: @rentitem <item name/ID> <Minutes>
*getequipexpiretick(<equipment slot>)
Returns the number of seconds before the item expires.0 means it never expires (not a rental item)-1 means no item is equipped
Sample Script:
if (getequipexpiretick(.@part)) { mes "Sorry. I don't sign rental items."; emotion e_sry; close; }
If you have any questions feel free to drop a comment.
for more info on how to to use HPM visit Here
(Tested on Hercules rev. 137**)
Credit: Original file by Brian and converted by Me
Click here to download this file
-
Happy reacted to Mhalicot in Party Script Plugins
File Name: Party Script Plugins
File Submitter: Mhalicot
File Submitted: 16 Apr 2014
File Category: Plugins
Works only in HERCULES.
Due to insistent public demand
HPM party script complete package released.
Compatible with Windows System Only
if you are using Linux, ignore other files and use only partyscript.c
Instruction.
1. Download and extract files using 7z or any application that can extract it.
2. extract it in your server directory ex: C:/RO Server/Hercules/
2.1. edit conf/plugins.conf and add partyscript
3. Your done. you can now try your plugins
if you are using VS2010/VS2009/vs2013 or whatsoever and you are failing to compile because of platform issue.
this is what you need to do.
In Recompiling:
If you are using other MSVS/C
Note: Recompile if you modify the script.
List of Script Commands
List of AtCommands
If you have any questions feel free to drop a comment.
NOTE: I do not own the whole script, I only convert it into plugins. Thanks to Mr. Ind, Mumbles, Haru, for making this Plugins possible.
for more info on how to to use HPM visit Here
(Tested on Hercules rev. 141**)
Special thanks to the original Author Cydh
Click here to download this file
-
Happy reacted to Mhalicot in modified @dance
^ Obviously you do it wrong... because in your file there are 2 plugins_list
try this one
//====================================================//== Topic Discussion ================================//== http://herc.ws/board/topic/549-introducing-hercules-plugin-manager///====================================================//== Description =====================================//The plugin system allows you to create customized scripts //outside of the source. These scripts won't conflict with any //future source updates - think of it as a /conf/import/ for the source. //====================================================/* --------------- Format ---------------After you have listed your plugin(s) in "quotations", you need to put in a comma, to separate the plugins.-----------------------------------------plugins_list: [ "example", "other",]-----------------------------------------Please note that your scripts need to be savedin the .c (source code) extension and placed in the /src/plugin/ folder.-----------------------------------------*/plugins_list: [ /* Enable HPMHooking when plugins in use rely on Hooking */ "dance", //"db2sql", //"sample", //"other",] Please be careful of this code /* */ for commenting purpose
-
-
-
Happy reacted to Mhalicot in Costume Item Plugins
^ what problem is it? Sorry I'm kinda busy on work XD
-
-
Happy reacted to Mhalicot in Costume Item Plugins
huh? I think you post in a wrong topic. this is for Costume Plugins
-
Happy reacted to Mhalicot in Costume Item Plugins
Is your server updated? the source of error is not in costumeitem.c. I cant reproduce your problem, This plugins is working and tested in both Linux and Windows.
-
Happy reacted to schan in Costume Item Plugins
Hi,
Tried this plugin and found this error:
CC costumeitem.cIn file included from costumeitem.c:20:../common/HPMDataCheck.h:10: error: array type has incomplete element type../common/HPMDataCheck.h:127: error: empty scalar initializer../common/HPMDataCheck.h:127: error: (near initialization for ‘HPMDataCheck’)make[1]: *** [../../plugins/costumeitem.so] Error 1 How to fix this?
-
Happy reacted to Mhalicot in Costume Item Plugins
^ Did you add "HPMHooking", in plugins.conf? costumeitem.c is using Hook so you must enable HPMHooking in plugins.conf
Aside from that, I cant reproduce your problem.
-
Happy reacted to Mhalicot in Costume Item Plugins
File Name: Costume Item Plugins
File Submitter: Mhalicot
File Submitted: 10 Feb 2014
File Category: Plugins
HPM @costumeitem complete package.
Compatible with Windows System Only
if you are using Linux, ignore other files and use only afk.c
Instruction.
1. Download and extract files using 7z or any application that can extract it.
2. extract it in your server directory ex: C:/RO Server/Hercules/
2.1. edit conf/plugins.conf and add costumeitem
3. Your done. you can now try your plugins
if you are using VS2010/VS2009/vs2013 or whatsoever and you are failing to compile because of platform issue.
this is what you need to do.
In Recompiling:
If you are using other MSVS/C
Quote
Note: Recompile if you modify the script.
If you have any questions feel free to drop a comment.
NOTE: You done have to edit your src to add this custom features(Less conflict when you want to update your server). Thanks to Mr. Ind for making this Plugins possible, This Plugins will convert your items to costume(item stats/combos/bonuses will also copied)
for more info on how to to use HPM visit Here
(Tested on Hercules rev. 146**)
Script Release: Costume System
Click here to download this file
-
Happy reacted to Mhalicot in Plugin to disable costume item effects
Actually its available in source mod. all you need to do is search..
let me help you.. Costume System.