Mhalicot
Community Contributors-
Content Count
1971 -
Joined
-
Last visited
-
Days Won
37
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Mhalicot
-
^tell Mr. goddameit about that because its his script.
-
actually you can use item_group.conf for this. // Structure of file:/* <Container_Item_Name>: ( "Item_Name" or ("Item_Name",Repeat_Count) )*/ example Old_Card_Album: ( // <= <Container_Item_Name> ("Poring_Card",8), // <= entries can be either ( "<Item_Name>", <Repeat_Count> ) "Sting_Card" // <= or "<Item_Name>" (no repeat)) for more information read this: Official Item Group/Package/Chain
-
havnt test it yet, try this // Copyright (c) Hercules Dev Team, licensed under GNU GPL.// See the LICENSE file// Sample Hercules Plugin#include <stdio.h>#include <stdlib.h>#include <string.h>#include "../common/HPMi.h"#include "../map/script.h"#include "../map/pc.h"#include "../map/map.h"#include "../map/battleground.h"HPExport struct hplugin_info pinfo = { "BG2",// Plugin name SERVER_TYPE_MAP,// Which server types this plugin works with? "1.0", // Plugin version HPM_VERSION, // HPM Version (don't change, macro is automatically updated)};static int bg_create2( unsigned short bg_id, unsigned short mapindex, short rx, short ry, const char *ev, const char *dev ) { struct battleground_data *bgd = bg->team_search(bg_id); if ( bgd ) return 0; CREATE(bgd, struct battleground_data, 1); bgd->bg_id = bg_id; bgd->count = 0; bgd->mapindex = mapindex; bgd->x = rx; bgd->y = ry; safestrncpy(bgd->logout_event, ev, sizeof(bgd->logout_event)); safestrncpy(bgd->die_event, dev, sizeof(bgd->die_event)); memset(&bgd->members, 0, sizeof(bgd->members)); idb_put(bg->team_db, bg_id, bgd); return bgd->bg_id;}/* to check for the bonus *//* createbgid <battleground ID>, <respawn map>, <respawn x>, <respawn y>, <On Quit event>, <On Death event>;*/BUILDIN(createbgid) { int map_index; const char* str = script_getstr(st,3); map_index = mapindex->name2id(str); if ( bg_create2( script_getnum(st,2), map_index, script_getnum(st,4), script_getnum(st,5), script_getstr(st,6), script_getstr(st,7) ) > 0 ) script_pushint( st, script_getnum(st,2) ); else script_pushint( st, 0 ); return true;} // setbgid <battleground ID> {, <player name> };BUILDIN(setbgid) { unsigned short bg_id = script_getnum(st,2); struct battleground_data *bgd = bg->team_search(bg_id); TBL_PC* sd; if ( bg_id < 0 || bg_id > 1000 ) { script_pushint( st, -4 ); return 0; } if ( script_hasdata(st,3) ) sd = map->nick2sd( script_getstr(st,3) ); else sd = script->rid2sd(st); if ( sd == NULL ) { script_pushint( st, -3 ); return 0; } if ( bg_id > 0 && bg == NULL ) { script_pushint( st, -1 ); return 0; } if ( sd->bg_id == bg_id && bg_id != 0 ) { script_pushint( st, -5 ); return 0; } if ( sd->bg_id ) bg->team_leave(sd,0); if ( bg_id == 0 ) { script_pushint( st, 0 ); return 0; } if ( bg->team_join( bg_id, sd ) == 0 ) script_pushint( st, -2 ); else script_pushint( st, bg_id ); return true;}/*void battleground_defaults(void) { bg->team_counter = 1000; bg->create2 = bg_create2;}*/HPExport void plugin_init (void){ map = GET_SYMBOL("map"); mapindex = GET_SYMBOL("mapindex"); bg = GET_SYMBOL("battleground"); pc = GET_SYMBOL("pc"); addScriptCommand("createbgid","isiiss",createbgid); addScriptCommand("setbgid","i?",setbgid);}
-
Released : http://herc.ws/board/topic/2706-itemmap/
-
Masao(Shopstreet) - Original Mall Script problem
Mhalicot replied to mrlongshen's question in Script Support
@mrlongshen any update on this? is your problem solved? -
@Frost, any update to your problem? or is it solved?
-
^ obviously its a typo-error. it must be GD_PK_TITLE not GD_OK_TITLE in your script search for GD_OK_TITLE and replace with GD_PK_TITLE
-
help i got this error when i tried to add @autoattack
Mhalicot replied to kerbiii's question in Source Support
any update to your problem? -
KoE hitting Emperium Not Compatible to Hercules
Mhalicot replied to Shatowolf's question in Source Support
same topic > http://herc.ws/board/topic/1856-solved-koe-patch/#entry22094 -
costume in garments is a very different process, as of now, NO.
-
make sure your setup and 2013 client in your RO files has an administrator privilage. Right Click -> Properties -> Compatibility Tab -> Check Run this program as an administrator
-
babaan mo lang yung defense. mga around 10~12 siguro.
-
No, not advisable, pero kung custom items yan okay lang aslong as hindi sobra-sobra yung def kasi pwede kang maka receive ng (-) negative defense..
-
dipende, accessible naman lahat ng map kung available sa server mo trough @go/@warp command, or kung sa NPC access naman, makikita mo yun sa npc/pre-re same sa item makikita mo sa db.pre-re.. pag naka pre-renewal ka lahat ng pre-re lang ang babasahin, hindi kasama ang "re" renewal. NOTE: Magkaiba ang item attributes ng pre-renewal sa renewal.
-
ganito po kasi, ang hercules po ay update version ng eAthena. na binabase ng mga developer natin ang sa official behavior yung mga nirerelease. so for me hindi na kasi matagaL nang wala ang eAthena.. upgraded na ang pre-renewal ng Hercules.
-
^ Great Next Rebellion Jobchange quest?
- 50 replies
-
- kagerou oboro iRO
- job change quest
- (and 3 more)
-
makikita po yun sa src/config/renewal.h lagyan mo lang po ng // yung mga naka define example: //#define RENEWAL//#define RENEWAL_CAST//#define RENEWAL_DROP//#define RENEWAL_EXP//#define RENEWAL_LVDMG//#define RENEWAL_EDP//#define RENEWAL_ASPD ganyan lang ka simple..
-
Hi themon, Thank you for sharing your guide. You can also add this to our wiki if you want, visit Wiki Thanks, Mhalicot, Int'l Filipino Moderator
-
Hi, For guide on how to: Kindly visit [Guide] Setting up 2013 Client and for latest Client files http://herc.ws/board/forum/29-client-side-releases/
-
haha, kakarating ko lang, dun ako sa hoteL nyan naka login.. di na ulit ako nakapag bukas daming gaLa eh..
-
^ it is normal because in official you cannot use falcon and warg at the same time.
-
check your char-server.conf and look for this line // Type of server.// No functional side effects at the moment.// Displayed next to the server name in the client.// 0=normal, 1=maintenance, 2=over 18, 3=paying, 4=P2Pchar_server_type: 0 <-- set to 0
-
Sige mabuti yan
-
Edi pag nagka eror na nhga lng.