Jump to content
  • 0

is possible? pvp specific area?


Blue Jem

Question


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

i saw this video from youtube 

 watch this...

 

 

this script from rathena and i try change the pvp cell to all kind of cell is not work 

-    script    SetPvPCells    -1,{
    end;
    
    OnInit:
    //setcell "prontera",<x1>,<y1>,<x2>,<y2>,<type>,<flag>;
    //A1
    setcell "prontera",133,192,142,170,cell_pvp,1;
    setcell "prontera",126,185,134,178,cell_pvp,1;
    setcell "prontera",141,185,149,178,cell_pvp,1;
Edited by Blue Jem
Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   70
  • Joined:  09/03/14
  • Last Seen:  

Has anyone managed to make this work?

On 12/26/2013 at 9:37 PM, Blue Jem said:

setcell "prontera", 140, 170, 160, 190, cell_pk, 1

 

coor for center of prontera?

yeap.

But.. the counter has to be done separately, in sourcer.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  217
  • Reputation:   16
  • Joined:  01/28/15
  • Last Seen:  

Sorry for necroposting. Just to note that this can be applied to the newest client (2018).
But instead of applying changes to db/const.txt, it should be in map/script_constants.hpp, or at least that's what I did to make it work:

export_constant(CELL_MAELSTROM);
	export_constant(CELL_ICEWALL);
	export_constant(CELL_PK); /* Here's what you add instead of const.txt */

Maybe it is not even needed but I added it there anyways. /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

better English, thank you? I can't understand your question

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

i saw the video from youtube and see what happen in video pvp area 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

this is work??? 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Test it and tell us whether it works or not. /swt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

    
    //battle.c
    
    
    //find this
    
    
    int battle_check_target( struct block_list *src, struct block_list *target,int flag)
    
    
    //add this before it
    
    
    bool cell_pk_check(struct block_list *t_bl, struct block_list *s_bl, int m)
    
    
    {
    
    
            if(t_bl->type == BL_PC && map[m].cell[s_bl->x+s_bl->y*map[m].xs].pk == true && map[m].cell[t_bl->x+t_bl->y*map[m].xs].pk == true)
    
    
            {
    
    
                    if(status_get_party_id(t_bl)==status_get_party_id(s_bl))
    
    
                            if(map[m].flag.pvp_noparty)
    
    
                                    return true;
    
    
                            else
    
    
                                    return false;
    
    
                    if(status_get_guild_id(t_bl)==status_get_guild_id(s_bl))
    
    
                            if(map[m].flag.pvp_noguild && map[m].flag.gvg)
    
    
                                    return true;
    
    
                            else
    
    
                                    return false;
    
    
                    return true;
    
    
            }
    
    
            return false;
    
    
    }
    
    
     
    
    
    //+++++++++++++++++++++++++++++++++//
    
    
     
    
    
    //find this
    
    
    else if(( sd->duel_group && !((!battle_config.duel_allow_pvp && map[m].flag.p
    
    
    //use this to replace
    
    
    else if(( sd->duel_group && !((!battle_config.duel_allow_pvp && map[m].flag.pvp) || (!battle_config.duel_allow_gvg&& map_flag_gvg(m))))||( cell_pk_check(t_bl, s_bl, m) == true ))
    
    
     
    
    
    //+++++++++++++++++++++++++++++++++//
    
    
     
    
    
    //map.c
    
    
    void map_setcell(int m, int x, int y, cell_t cell, bool flag)
    
    
    {
    
    
            int j;
    
    
            if( m < 0 || m >= map_num || x < 0 || x >= map[m].xs || y < 0 || y >= map[m].ys )
    
    
                    return;
    
    
            j = x + y*map[m].xs;   
    
    
            switch( cell ) {
    
    
                    case CELL_WALKABLE:      map[m].cell[j].walkable = flag;      break;
    
    
                    case CELL_SHOOTABLE:     map[m].cell[j].shootable = flag;     break;
    
    
                    case CELL_WATER:         map[m].cell[j].water = flag;         break;
    
    
                    case CELL_NPC:           map[m].cell[j].npc = flag;           break;
    
    
                    case CELL_BASILICA:      map[m].cell[j].basilica = flag;      break;
    
    
                    case CELL_LANDPROTECTOR: map[m].cell[j].landprotector = flag; break;
    
    
                    case CELL_NOVENDING:     map[m].cell[j].novending = flag;     break;
    
    
                    case CELL_NOCHAT:        map[m].cell[j].nochat = flag;        break;
    
    
                   
    
    
                    case CELL_PK:   map[m].cell[j].pk = flag;       break;//<---add this
    
    
                   
    
    
                    default:
    
    
                            ShowWarning("map_setcell: invalid cell type '%d'\n", (int)cell);
    
    
                            break;
    
    
            }
    
    
    }
    
    
     
    
    
    //+++++++++++++++++++++++++++++++++//
    
    
     
    
    
    //map.h
    
    
    typedef enum {
    
    
            CELL_WALKABLE,
    
    
            CELL_SHOOTABLE,
    
    
            CELL_WATER,
    
    
            CELL_NPC,
    
    
            CELL_BASILICA,
    
    
            CELL_LANDPROTECTOR,
    
    
            CELL_NOVENDING,
    
    
            CELL_NOCHAT,
    
    
            CELL_PK,//<---add this
    
    
    } cell_t;
    
    
     
    
    
    //+++++++++++++++++++++++++++++++++//
    
    
     
    
    
    struct mapcell
    
    
    {
    
    
            // terrain flags
    
    
            unsigned char
    
    
                    walkable : 1,
    
    
                    shootable : 1,
    
    
                    water : 1;
    
    
     
    
    
            // dynamic flags
    
    
            unsigned char
    
    
                    npc : 1,
    
    
                    basilica : 1,
    
    
                    landprotector : 1,
    
    
                    novending : 1,
    
    
                    nochat : 1,
    
    
                    pk      :       1;//<---add this
    
    
     
    
    
    //+++++++++++++++++++++++++++++++++//
    
    
     
    
    
    //db\const.txt
    
    
    cell_walkable   0
    
    
    cell_shootable  1
    
    
    cell_water      2
    
    
    cell_npc        3
    
    
    cell_basilica   4
    
    
    cell_landprotector      5
    
    
    cell_novending  6
    
    
    cell_nochat     7
    
    
    cell_pk 8//<---add this
    
    
     
    
    
    //+++++++++++++++++++++++++++++++++//
  

 

 this correct position?? i  mean script is correct

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Patch it and recompile your server. If it doesn't show any error while compiling then it might work. Otherwise ofcourse it has an error :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6388): error C2085: 'cell_pk_check' : not in formal parameter list
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6388): error C2143: syntax error : missing ';' before '{'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 't_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2223: left of '->type' must point to struct/union
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 'm' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 's_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2223: left of '->x' must point to struct/union
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 's_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2223: left of '->y' must point to struct/union
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 'm' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 'm' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 't_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2223: left of '->x' must point to struct/union
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 't_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2223: left of '->y' must point to struct/union
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 'm' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6397): error C2065: 't_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6397): warning C4047: 'function' : 'block_list *' differs in levels of indirection from 'int'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6397): warning C4024: 'status_get_party_id' : different types for formal and actual parameter 1
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6397): error C2065: 's_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6397): warning C4047: 'function' : 'block_list *' differs in levels of indirection from 'int'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6397): warning C4024: 'status_get_party_id' : different types for formal and actual parameter 1
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6400): error C2065: 'm' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6412): error C2065: 't_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6412): warning C4047: 'function' : 'block_list *' differs in levels of indirection from 'int'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6412): warning C4024: 'status_get_guild_id' : different types for formal and actual parameter 1
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6412): error C2065: 's_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6412): warning C4047: 'function' : 'block_list *' differs in levels of indirection from 'int'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6412): warning C4024: 'status_get_guild_id' : different types for formal and actual parameter 1
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6415): error C2065: 'm' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6415): error C2065: 'm' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6437): error C2449: found '{' at file scope (missing function header?)
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6759): error C2059: syntax error : '}'
1>  battleground.c
1>  buyingstore.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  cashshop.c
1>  channel.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  chat.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  chrif.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  clif.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  date.c
1>  duel.c
1>  elemental.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  guild.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  intif.c
1>  itemdb.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  log.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  mail.c
1>  map.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  mapreg_sql.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  homunculus.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2238): error C2027: use of undefined type 'mapcell'
1>          c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(491) : see declaration of 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2239): error C2027: use of undefined type 'mapcell'
1>          c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(491) : see declaration of 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2574): error C2079: 'map_gat2cell' uses undefined struct 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2575): error C2079: 'cell' uses undefined struct 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2577): error C2027: use of undefined type 'mapcell'
1>          c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(491) : see declaration of 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2580): error C2224: left of '.walkable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2580): error C2224: left of '.shootable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2580): error C2224: left of '.water' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2581): error C2224: left of '.walkable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2581): error C2224: left of '.shootable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2581): error C2224: left of '.water' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2582): error C2224: left of '.walkable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2582): error C2224: left of '.shootable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2582): error C2224: left of '.water' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2583): error C2224: left of '.walkable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2583): error C2224: left of '.shootable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2583): error C2224: left of '.water' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2584): error C2224: left of '.walkable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2584): error C2224: left of '.shootable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2584): error C2224: left of '.water' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2585): error C2224: left of '.walkable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2585): error C2224: left of '.shootable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2585): error C2224: left of '.water' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2586): error C2224: left of '.walkable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2586): error C2224: left of '.shootable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2586): error C2224: left of '.water' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2592): error C2440: 'return' : cannot convert from 'int' to 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2597): error C2037: left of 'walkable' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2597): error C2037: left of 'shootable' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2597): error C2037: left of 'water' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2598): error C2037: left of 'walkable' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2598): error C2037: left of 'shootable' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2598): error C2037: left of 'water' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2599): error C2037: left of 'walkable' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2599): error C2037: left of 'shootable' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2599): error C2037: left of 'water' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2600): error C2037: left of 'walkable' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2600): error C2037: left of 'shootable' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2600): error C2037: left of 'water' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2616): error C2079: 'cell' uses undefined struct 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2624): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2624): error C2440: '=' : cannot convert from 'mapcell' to 'int'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2630): error C2440: 'function' : cannot convert from 'int' to 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2630): warning C4024: 'map_cell2gat' : different types for formal and actual parameter 1
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2634): error C2224: left of '.walkable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2634): error C2224: left of '.shootable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2634): warning C4033: 'map_getcellp' must return a value
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2637): error C2224: left of '.water' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2637): warning C4033: 'map_getcellp' must return a value
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2640): error C2224: left of '.walkable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2640): error C2224: left of '.shootable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2640): warning C4033: 'map_getcellp' must return a value
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2645): error C2224: left of '.npc' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2645): warning C4033: 'map_getcellp' must return a value
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2647): error C2224: left of '.basilica' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2647): warning C4033: 'map_getcellp' must return a value
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2649): error C2224: left of '.landprotector' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2649): warning C4033: 'map_getcellp' must return a value
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2651): error C2224: left of '.novending' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2651): warning C4033: 'map_getcellp' must return a value
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2653): error C2224: left of '.nochat' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2653): warning C4033: 'map_getcellp' must return a value
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2655): error C2224: left of '.maelstrom' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2655): warning C4033: 'map_getcellp' must return a value
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2657): error C2224: left of '.icewall' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2657): warning C4033: 'map_getcellp' must return a value
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2665): error C2224: left of '.walkable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2665): warning C4033: 'map_getcellp' must return a value
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2672): error C2224: left of '.walkable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2672): warning C4033: 'map_getcellp' must return a value
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2701): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2701): error C2037: left of 'walkable' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2702): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2702): error C2037: left of 'shootable' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2703): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2703): error C2037: left of 'water' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2705): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2705): error C2037: left of 'npc' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2706): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2706): error C2037: left of 'basilica' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2707): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2707): error C2037: left of 'landprotector' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2708): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2708): error C2037: left of 'novending' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2709): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2709): error C2037: left of 'nochat' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2710): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2710): error C2037: left of 'pk' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2711): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2711): error C2037: left of 'maelstrom' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2712): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2712): error C2037: left of 'icewall' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2722): error C2079: 'cell' uses undefined struct 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2729): error C2440: '=' : cannot convert from 'mapcell' to 'int'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2730): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2730): error C2037: left of 'walkable' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2730): error C2224: left of '.walkable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2731): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2731): error C2037: left of 'shootable' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2731): error C2224: left of '.shootable' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2732): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2732): error C2037: left of 'water' specifies undefined struct/union 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2732): error C2224: left of '.water' must have struct/union type
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2988): error C2027: use of undefined type 'mapcell'
1>          c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(491) : see declaration of 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(2992): error C2036: 'mapcell *' : unknown size
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(3126): error C2027: use of undefined type 'mapcell'
1>          c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(491) : see declaration of 'mapcell'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.c(3142): error C2036: 'mapcell *' : unknown size
1>  instance.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  mercenary.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  mob.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  npc.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  npc_chat.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  party.c
1>  path.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  pc.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  pc_groups.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  pet.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  quest.c
1>  script.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  searchstore.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  skill.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  status.c
1>  storage.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(506): error C2061: syntax error : identifier 'maelstrom'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\map.h(512): error C2059: syntax error : '}'
1>  trade.c
1>  unit.c
 

boom

1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6388): error C2085: 'cell_pk_check' : not in formal parameter list
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6388): error C2143: syntax error : missing ';' before '{'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 't_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2223: left of '->type' must point to struct/union
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 'm' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 's_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2223: left of '->x' must point to struct/union
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 's_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2223: left of '->y' must point to struct/union
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 'm' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 'm' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 't_bl' : undeclared identifier
3>  grammar.c
3>  libconfig.c
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2223: left of '->x' must point to struct/union
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 't_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2223: left of '->y' must point to struct/union
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6391): error C2065: 'm' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6397): error C2065: 't_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6397): warning C4047: 'function' : 'block_list *' differs in levels of indirection from 'int'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6397): warning C4024: 'status_get_party_id' : different types for formal and actual parameter 1
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6397): error C2065: 's_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6397): warning C4047: 'function' : 'block_list *' differs in levels of indirection from 'int'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6397): warning C4024: 'status_get_party_id' : different types for formal and actual parameter 1
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6400): error C2065: 'm' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6412): error C2065: 't_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6412): warning C4047: 'function' : 'block_list *' differs in levels of indirection from 'int'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6412): warning C4024: 'status_get_guild_id' : different types for formal and actual parameter 1
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6412): error C2065: 's_bl' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6412): warning C4047: 'function' : 'block_list *' differs in levels of indirection from 'int'
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6412): warning C4024: 'status_get_guild_id' : different types for formal and actual parameter 1
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6415): error C2065: 'm' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6415): error C2065: 'm' : undeclared identifier
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6437): error C2449: found '{' at file scope (missing function header?)
1>c:\users\admin\desktop\rathena1\rathena12\trunk\src\map\battle.c(6759): error C2059: syntax error : '}'
 

please post the correct patch.

i think this is the error  wrong space and location of code

    //battle.c
    
    
    //find this
    
    
    int battle_check_target( struct block_list *src, struct block_list *target,int flag)
    
    
    //add this before it
    
    
    bool cell_pk_check(struct block_list *t_bl, struct block_list *s_bl, int m)
    
    
    {
    
    
            if(t_bl->type == BL_PC && map[m].cell[s_bl->x+s_bl->y*map[m].xs].pk == true && map[m].cell[t_bl->x+t_bl->y*map[m].xs].pk == true)
    
    
            {
    
    
                    if(status_get_party_id(t_bl)==status_get_party_id(s_bl))
    
    
                            if(map[m].flag.pvp_noparty)
    
    
                                    return true;
    
    
                            else
    
    
                                    return false;
    
    
                    if(status_get_guild_id(t_bl)==status_get_guild_id(s_bl))
    
    
                            if(map[m].flag.pvp_noguild && map[m].flag.gvg)
    
    
                                    return true;
    
    
                            else
    
    
                                    return false;
    
    
                    return true;
    
    
            }
    
    
            return false;
    
    
    }
    
    
     
    
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

this is from Fan en Script >> https://www.facebook.com/notes/-update-modify-create-/src-cell_pk/222999747734557

 

now i dont know why not working this

-	script	cell_pk	-1,{
end;
	setcell "prontera",134,190,177,217,cell_pk,1;
	setcell "prontera",82,200,124,207,cell_pk,1;
	setcell "prontera",125,199,125,208,cell_pk,1;
	setcell "prontera",126,198,126,209,cell_pk,1;
	setcell "prontera",127,197,127,210,cell_pk,1;
	setcell "prontera",128,196,128,211,cell_pk,1;
	setcell "prontera",129,195,129,212,cell_pk,1;
	setcell "prontera",130,194,130,213,cell_pk,1;
	setcell "prontera",131,193,131,214,cell_pk,1;
	setcell "prontera",132,192,132,215,cell_pk,1;
	setcell "prontera",133,191,133,216,cell_pk,1;
	setcell "prontera",148,231,163,268,cell_pk,1;
	setcell "prontera",147,230,164,230,cell_pk,1;
	setcell "prontera",146,229,165,229,cell_pk,1;
	setcell "prontera",145,228,166,228,cell_pk,1;
	setcell "prontera",144,227,167,227,cell_pk,1;
	setcell "prontera",143,226,168,226,cell_pk,1;
	setcell "prontera",142,225,169,225,cell_pk,1;
	setcell "prontera",141,224,170,224,cell_pk,1;
	setcell "prontera",140,223,171,223,cell_pk,1;
	setcell "prontera",139,222,172,222,cell_pk,1;
	setcell "prontera",138,221,173,221,cell_pk,1;
	setcell "prontera",137,220,174,220,cell_pk,1;
	setcell "prontera",136,219,175,219,cell_pk,1;
	setcell "prontera",135,218,176,218,cell_pk,1;
	setcell "prontera",187,200,229,207,cell_pk,1;
	setcell "prontera",186,199,186,208,cell_pk,1;
	setcell "prontera",185,198,185,209,cell_pk,1;
	setcell "prontera",184,197,184,210,cell_pk,1;
	setcell "prontera",183,196,183,211,cell_pk,1;
	setcell "prontera",182,195,182,212,cell_pk,1;
	setcell "prontera",181,194,181,213,cell_pk,1;
	setcell "prontera",180,193,180,214,cell_pk,1;
	setcell "prontera",179,192,179,215,cell_pk,1;
	setcell "prontera",178,191,178,216,cell_pk,1;
	setcell "prontera",148,130,163,176,cell_pk,1;
	setcell "prontera",147,177,164,177,cell_pk,1;
	setcell "prontera",146,178,165,178,cell_pk,1;
	setcell "prontera",145,179,166,179,cell_pk,1;
	setcell "prontera",144,180,167,180,cell_pk,1;
	setcell "prontera",143,181,168,181,cell_pk,1;
	setcell "prontera",142,182,169,182,cell_pk,1;
	setcell "prontera",141,183,170,183,cell_pk,1;
	setcell "prontera",140,184,171,184,cell_pk,1;
	setcell "prontera",139,185,172,185,cell_pk,1;
	setcell "prontera",138,186,173,186,cell_pk,1;
	setcell "prontera",137,187,174,187,cell_pk,1;
	setcell "prontera",136,188,175,188,cell_pk,1;
	setcell "prontera",135,189,176,189,cell_pk,1;
end;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

got a pm about this ...

cell_pk.patch

my source coding knowledge only allow me do up until players can pvp within the cell_pk area

-	script	jfdksfjsdfk	-1,{
OnInit:
	setcell "prontera", 140, 170, 160, 190, cell_pk, 1;
	end;
}

however I couldn't able to do having [1/2] shows the number of players after standing in the box

that is most probably they actually use a new script command for it
for explanation, if you do setcell ... cell_walkable; you 'll find your client behave weirdly
but setcell script commands updates the client information about the unwalkable path
so I think the source code in the video must have a new script command of it ... so that when they walk in the box, it shows the [Time Attack] stuffs ..

Edited by AnnieRuru
  • Love 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

this is working ea or only rathena?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

I believe this should work in eathena ...
the modification is quite simple, if you apply them line by line manually

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

setcell "prontera", 140, 170, 160, 190, cell_pk, 1

 

coor for center of prontera?

  • Upvote 1
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...