Mhalicot
-
Content Count
1971 -
Joined
-
Last visited
-
Days Won
37
Reputation Activity
-
-
Mhalicot reacted to Angelmelody in [Solved] Launcher Error
客戶端程式錯誤,請使用正常的客戶端程式#
Incorrect client. Please run a normal client#
-
Mhalicot got a reaction from Happy 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;} -
Mhalicot got a reaction from Happy in Costume System
Are you sure you did not encounter any error after compiling?
-
Mhalicot got a reaction from Happy in rentitem2 plugins
yes, because the only available @command for this plugins is @rentitem..
-
Mhalicot got a reaction from Happy in rentitem2 plugins
Kindly read at first page, rentitem2 is for script command no @command for this.
available @command is @rentitem.
-
Mhalicot got a reaction from Happy 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;} -
Mhalicot got a reaction from Like it~* 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
-
Mhalicot got a reaction from Happy 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
-
Mhalicot got a reaction from Happy 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
-
Mhalicot got a reaction from Legacy in [Gabay] Paano mag set up ng 2013 kRO Client
Malinaw na Gabay sa pag Set-up ng kRO 2013 Client
Talaan ng nilalaman Imporanteng Files na dapat meron ka Gabay sa pag setup ng iyong files Credits Useful Links & Downloads Kadalasang tanong (FAQ "Frequently Asked Question")
I. Importanteng files na dapat meron ka:
II. Gabay sa pag Setup ng iyong files:
III. Creadits IV. Useful Links & Downloads
V. Kadalasang Tanong
-
-
-
Mhalicot got a reaction from Happy in Costume Item Plugins
^ what problem is it? Sorry I'm kinda busy on work XD
-
-
Mhalicot got a reaction from Happy in Costume Item Plugins
huh? I think you post in a wrong topic. this is for Costume Plugins
-
Mhalicot got a reaction from Happy 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.
-
Mhalicot got a reaction from Happy 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.
-
Mhalicot got a reaction from Christian [epicRO] 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
-
Mhalicot got a reaction from Happy 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.
-
Mhalicot reacted to Dastgir in About Item delay.
Its clientSide Error
Get MsgString for respective client (https://github.com/ROClientSide/Translation/tree/master/Data/MsgString)
If you are using from (https://github.com/ROClientSide/Translation/tree/master/Data/) , it has reversed order for 2 lines, and is used for newer clients..
-
-
Mhalicot got a reaction from gidzdlcrz in [Gabay] Paano mag set up ng 2013 kRO Client
Tama, Ire-replace mo kasi Korean ang language ng original nun pag di mo pinalitan ng English translation.
3. eto po yung client patcher, gamit sa pag Diff ng client. NEMO client patcher.
4. kailangan mo po kasi i-open yung sarili mong Data.grf gamit ang grf editor para makita mo yan.
may mga ready made na po na client maki-kita mo naman yun sa Client-side Release yung may nakalagay na Full client.. basahin mo nalang po yung mga comment para malaman mo yung status ng Client na pipiliin mo..
TIP: Basahin mo rin tong guide ni Patskie sa pag setup ng server.. baka maka tulong > [GUIDE] How to Setup Hercules
-
Mhalicot got a reaction from gidzdlcrz in [Gabay] Paano mag set up ng 2013 kRO Client
Malinaw na Gabay sa pag Set-up ng kRO 2013 Client
Talaan ng nilalaman Imporanteng Files na dapat meron ka Gabay sa pag setup ng iyong files Credits Useful Links & Downloads Kadalasang tanong (FAQ "Frequently Asked Question")
I. Importanteng files na dapat meron ka:
II. Gabay sa pag Setup ng iyong files:
III. Creadits IV. Useful Links & Downloads
V. Kadalasang Tanong
-
Mhalicot reacted to quesoph in [AtCommand] afk
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "../common/HPMi.h"#include "../common/timer.h"#include "../map/script.h"#include "../map/pc.h"#include "../map/clif.h"#include "../map/battle.h"#include "../map/status.h"#include "../common/HPMDataCheck.h"/*1.0 Initial Script [Mhalicot] Topic: http://goo.gl/vbmQnr2.0 Added Map restriction "izlude", GVG/PVP. You can't use @afk when your dead. [Mhalicot]2.1 Update compilation compatibility in latest rev. 13300 [Mhalicot]2.2 Fixed bug when using @afk. [Mhalicot]2.3 Fixed map crash when using @afk [Mhalicot]3.0 Added unable to use @afk when receiving damage. [Mhalicot]*/HPExport struct hplugin_info pinfo = { "afk", // Plugin name SERVER_TYPE_MAP,// Which server types this plugin works with? "3.0", // Plugin version HPM_VERSION, // HPM Version (don't change, macro is automatically updated)};ACMD(afk) { if(sd->bl.m == map->mapname2mapid("izlude")) { clif->message(fd, "@afk is not allowed on this map."); return true; } if( pc_isdead(sd) ) { clif->message(fd, "Cannot use @afk if you are dead."); return true; } if(DIFF_TICK(timer->gettick(),sd->canlog_tick) < battle->bc->prevent_logout) { clif->message(fd, "Failed to use @afk, please try again later."); //<- (10s)10000ms delay to edit look for conf/battle/player.conf search for prevent_logout return true; } if( map->list[sd->bl.m].flag.autotrade == battle->bc->autotrade_mapflag ) { if(map->list[sd->bl.m].flag.pvp || map->list[sd->bl.m].flag.gvg){ clif->message(fd, "You may not use the @afk maps PVP or GVG."); return true; } sd->state.autotrade = 1; sd->state.monster_ignore = 1; pc_setsit(sd); skill->sit(sd,1); clif->sitting(&sd->bl); clif->changelook(&sd->bl,LOOK_HEAD_TOP,471); clif->specialeffect(&sd->bl, 234,AREA); if( battle->bc->at_timeout ) { int timeout = atoi(message); status->change_start(NULL, &sd->bl, SC_AUTOTRADE, 10000, 0, 0, 0, 0, ((timeout > 0) ? min(timeout,battle->bc->at_timeout) : battle->bc->at_timeout) * 60000, 0); } clif->chsys_quit(sd); clif->authfail_fd(sd->fd, 15); } else clif->message(fd, "@afk is not allowed on this map."); return true;}/* Server Startup */HPExport void plugin_init (void){ clif = GET_SYMBOL("clif"); skill = GET_SYMBOL("skill"); script = GET_SYMBOL("script"); pc = GET_SYMBOL("pc"); battle = GET_SYMBOL("battle"); map = GET_SYMBOL("map"); status = GET_SYMBOL("status"); timer = GET_SYMBOL("timer"); addAtcommand("afk",afk);}