Jump to content
  • 0

AnnieRuru's KoE script.


donkeyg

Question


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  


        CC      script.c
        CC      storage.c
        CC      skill.c
        CC      atcommand.c
        CC      battle.c
battle.c: In function ‘battle_check_target’:
battle.c:6602: error: ‘TBL_MOB’ has no member named ‘class_’
battle.c:6603: error: ‘mapreg’ undeclared (first use in this function)
battle.c:6603: error: (Each undeclared identifier is reported only once
battle.c:6603: error: for each function it appears in.)
battle.c:6603: error: ‘script’ undeclared (first use in this function)
make[1]: *** [obj_sql/battle.o] Error 1
make[1]: Leaving directory `/home/sg04/trunk/src/map'
make: *** [map] Error 2
Recompile failed. Please check again.
 

 

http://rathena.org/board/topic/91479-how-to-change-the-time-of-koe-event-every-saturday/?p=240761



i follow the guide 100% no wrong...

i get error when i compile the server.. please help.

my Battle.c
 

m = target->m;


//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 ) {
TBL_PC *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("$koegid") ) || battle_getcurrentskill(src) > 0 ) )
return 0;
}
my battle.h
#ifndef _BATTLE_H_
#define _BATTLE_H_


#include "../common/mmo.h"
#include "../config/core.h"
#include "map.h" //ELE_MAX
#include "mapreg.h"
 
Edited by donkeyg
Link to comment
Share on other sites

Recommended Posts


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  387
  • Reputation:   60
  • Joined:  10/08/13
  • Last Seen:  

just disable guild ally in ur conf. if you dont know how to make custom mapflag...  /ok  simple aite? dont make it hard just make it easy, twis a lil bit...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

just disable guild ally in ur conf. if you dont know how to make custom mapflag...  /ok  simple aite? dont make it hard just make it easy, twis a lil bit...

may i know where is it? thx !!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  387
  • Reputation:   60
  • Joined:  10/08/13
  • Last Seen:  

 

just disable guild ally in ur conf. if you dont know how to make custom mapflag...  /ok  simple aite? dont make it hard just make it easy, twis a lil bit...

may i know where is it? thx !!

 

 

in your trunk/conf/battle/guild.conf

 

search for this 

 

// Can the 'Glory of Guild' skill be learnt in the Guild window,

// and does changing emblems require it? (Note 1)

// P.S: This skill is not implemented on official servers

require_glory_guild: no

 

// Limit Guild alliances. Value is 0 to 3.

// If you want to change this value, clear the guild alliance table.

// Default is 3

max_guild_alliance: set to 0 ro disable guild ally

 

make sure if your server already have a exist guild ally query your sql to delete all guild ally in your phpmyadmin SQL table named guild_alliance.

 

:)

Edited by Elsa Mist
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

On 10/5/2014 at 5:13 AM, Elsa Mist said:

in your trunk/conf/battle/guild.conf

search for this 

// Can the 'Glory of Guild' skill be learnt in the Guild window,

// and does changing emblems require it? (Note 1)

// P.S: This skill is not implemented on official servers

require_glory_guild: no

 

// Limit Guild alliances. Value is 0 to 3.

// If you want to change this value, clear the guild alliance table.

// Default is 3

max_guild_alliance: set to 0 ro disable guild ally

 

make sure if your server already have a exist guild ally query your sql to delete all guild ally in your phpmyadmin SQL table named guild_alliance.

:)

 

erm... i wan to enable ally in guild woe.. but i just wan disable ally in KoE.. can help me?

bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   0
  • Joined:  12/18/13
  • Last Seen:  

i use Annieruru Script in herculus and input follow introduction and it error after compile

 

but patch using this
attachicon.gifkoe_0.3ar.diff

 

mod no found 1288 error in putty =( Annie ruru can help me up on this?

rAthena 17339

Edited by jimmyyheah
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...