Shatowolf
-
Content Count
159 -
Joined
-
Last visited
-
Days Won
1
Posts posted by Shatowolf
-
-
-
make sure that you have Guild and it has skills. or try to input another emp in mob_db2 and avail, it is just a replica
// ====== mob_db.txt / mob_db2.txt =======// 3000,EMPELIUM,Emperium,Emperium,90,700,1,0,0,1,60,73,64,50,1,17,80,50,26,20,10,12,0,8,26,0x160,300,1288,288,384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0// ====== mob_avail.txt =======// 3000,1288
I fixed it.
if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) { struct map_session_data *sd = BL_CAST(BL_PC, s_bl); if ( ( ((TBL_MOB*)target)->class_ == 1288 && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) && ( sd->status.guild_id == mapreg->readreg( script->add_str("$KOEGUILD") ) || battle->get_current_skill(src) > 0 ) ) return 0; }
i just change the
( sd->status.guild_id == mapreg->readreg( script->add_str("$koegid") ) || battle->get_current_skill(src) > 0 ) )return 0;It's working fine now. -
Compile success,
it's very weird, still i can hit the emperium.
-
is that your script? are you sure you are using Latest hercules?
- mapreg_readreg+ mapreg->readreg- battle_getcurrentskill+ battle->get_current_skill- add_str+ script->add_str
(-) delete
(+) add
try this: battle.c
//t_bl/s_bl hold the 'master' of the attack, while src/target are the actual //objects involved. if( (t_bl = battle->get_master(target)) == NULL ) t_bl = target; if( (s_bl = battle->get_master(src)) == NULL ) s_bl = src; if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) { struct map_session_data *sd = BL_CAST(BL_PC, s_bl); if ( ( ((TBL_MOB*)target)->class_ == 1288 && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) && ( sd->status.guild_id == mapreg->readreg( ascript->add_str("$KOEGUILD") ) || battle->get_current_skill(src) > 0 ) ) return 0; } if ( s_bl->type == BL_PC ) { switch( t_bl->type ) { case BL_MOB: // Source => PC, Target => MOB if (pc->has_permission((TBL_PC*)s_bl, PC_PERM_DISABLE_PVM) ) return 0; break; case BL_PC: if (pc->has_permission((TBL_PC*)s_bl, PC_PERM_DISABLE_PVP)) return 0; break; default:/* anything else goes */ break; } }
battle.h
#include "mapreg.h"
Please apply it manually.
Yes, gonna test it now. will update you shoutly
Edit : getting this
battle.c: In function 'battle_check_target':battle.c:5829: error: 'ascript' undeclared (first use in this function)battle.c:5829: error: (Each undeclared identifier is reported only oncebattle.c:5829: error: for each function it appears in.)make[1]: *** [obj_sql/battle.o] Error 1make[1]: Leaving directory `/home/Hercules/trunk/src/map'make: *** [map_sql] Error 2
-
can you provide the whole patch? want to test it.
Index: battle.c===================================================================--- battle.c (revision 16817)+++ battle.c (working copy)@@ -5021,6 +5021,13 @@ if( (s_bl = battle_get_master(src)) == NULL ) s_bl = src; + if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) {+ struct map_session_data *sd = BL_CAST(BL_PC, s_bl);+ if ( ( ((TBL_MOB*)target)->class_ == 1288 && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) &&+ ( sd->status.guild_id == mapreg_readreg( add_str("$KOEGUILD") ) || battle_getcurrentskill(src) > 0 ) )+ return 0;+ }+ if ( s_bl->type == BL_PC ) { switch( t_bl->type ) { case BL_MOB: // Source => PC, Target => MOBIndex: battle.h===================================================================--- battle.h (revision 16817)+++ battle.h (working copy)@@ -3,6 +3,7 @@ #ifndef _BATTLE_H_ #define _BATTLE_H_+#include "mapreg.h" // state of a single attack attempt; used in flee/def penalty calculations when mobbed typedef enum damage_lv {
-
bump, any fix on this issue on latest hercules?
-
Then you are not using lastest Hercules Flux CP or you use the wrong itemdb.sql/itemdb_2.sql.
ohh yeah, i just forgot i'm using rathena itemdb.sql / itemdb_2.sql, i just gonna convert it.
thanks man.
-
This was fixed in f3eed0e. Pull or download the latest version of FluxCP and you'll be fine.
Still getting the error.
-
Please set the DebugMode in application.php
to
'DebugMode' => true,
And post the errror that came up.Hi,
This is the error i got. after i debug it.,
any solution? will appreciate. thanks.
Error: Flux_ErrorMessage: MySQL error (SQLSTATE: 21S01, ERROR: 1136): Column count doesn't match value count at row 1File: /home/playragn/public_html/cp1/lib/Flux/Connection/Statement.php:27
-
try this one
Okey installed al working but if i click on Item Database
this error come up:
Error: Flux_ErrorMessage: Failed to import/replace rows from table 'hercules.item_db2'File: /usr/www/users/oldschne/flux/lib/Flux/TemporaryTable.php:230
I added the item_db2.sql from the hercules folder but its only the structur and no data?!
Same here.
-
Getting this error.
Message: Failed to import/replace rows from table 'ragnarok.item_db2'
Any fix? thanks
Same here.
-
Any fix on this guys?
-
It's not working on latest hercules.
anyone any idea?
-
Thank you!
Edit : not working.
still can hit the emp.
-
bump? any one wanna help? to mae this compatible at hercules ?
-
KoE hitting Emperium Not Compatible to Hercules
any fix/compatible at hercules?
thanks.
Here's the code that working at rAthena
Index: battle.c===================================================================--- battle.c (revision 16817)+++ battle.c (working copy)@@ -5021,6 +5021,13 @@ if( (s_bl = battle_get_master(src)) == NULL ) s_bl = src; + if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) {+ struct map_session_data *sd = BL_CAST(BL_PC, s_bl);+ if ( ( ((TBL_MOB*)target)->class_ == 1288 && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) &&+ ( sd->status.guild_id == mapreg_readreg( add_str("$KOEGUILD") ) || battle_getcurrentskill(src) > 0 ) )+ return 0;+ }+ if ( s_bl->type == BL_PC ) { switch( t_bl->type ) { case BL_MOB: // Source => PC, Target => MOBIndex: battle.h===================================================================--- battle.h (revision 16817)+++ battle.h (working copy)@@ -3,6 +3,7 @@ #ifndef _BATTLE_H_ #define _BATTLE_H_+#include "mapreg.h" // state of a single attack attempt; used in flee/def penalty calculations when mobbed typedef enum damage_lv {
-
Thanks! this is great! now we can move to hercules.
-
I'm about to move to hercules, but the problem is the harmony. and harmonize have no updates on this issue.
We should wait or good bye Harmony. "dead"
-
-
-
Hi,
Anyone here successful install harmony at latest hercules?
I'm willing to pay if anyone know it,. just hit me a pm.
-
this is work rathena 20120410
no. only hercules
-
Is there any chance to hide server IP?
or
Attach clientinfo.xml to client.exe ?
i wana hide my server ip.
-
Great, keep it up.
Harmony Patch 3.3.12 30 MAI
in Source Releases
Posted
I got this on latest hercules.