Jump to content

Recommended Posts

Posted (edited)

[sRC] Cell PvP 1.7
 

Last update : 18/07/2014
 

Support : rAthena SVN revision 12425
 

FeatureCreate cell for player vs player with out mapflag pvp

How to use this ?
You can enable or disable this feature

conf/battle/misc.conf

 

// Addon Cell PVP [Napster]

// Enable Deathmatch for cell pvp
// Default: 0
// 0 = No
// 1 = Yes
cellpvp_deathmatch: 1
 
// Delay player alive deathmatch for cell pvp
// Default: 1000 (1 secand)
cellpvp_deathmatch_delay: 1000
 
// When player is dead recovery HP/SP Rate for cell pvp
// Default: 100 (recovery 100%)
deathmatch_hp_rate: 100
deathmatch_sp_rate: 100
 
// Enable buff when player is dead for cell pvp
// Default: 1
// 0 = No
// 1 = Yes
// Request core npc files use name "deathmatch_core"
cellpvp_autobuff: yes
 
// Can atk player in party
// Default: 1
// 0 = No
// 1 = Yes
cellpvp_party_enable: no
 
// Can atk player in guild
// Default: 1
// 0 = No
// 1 = Yes
cellpvp_guild_enable: no
 
// When player move to cell pvp is delay walk out cooldown
// Default: 5000 (5 secand)
cellpvp_walkout_delay: 5000

 

how to create cell pvp
 

 

- script test_cellpvp -1,{

end;
OnInit:
setcell "new_1-1",45,109,53,102,cell_pvp, 1;
end;
}

 

How to use auto buff script

Add npc script don't edit npc name "deathmatch_core

 

 

function script F_Autobuff {

 
sc_start SC_BLESSING, 60000, 10;
sc_start SC_INCREASEAGI, 60000, 10;
return;
}
 
- script deathmatch_core -1,{
 
callfunc("F_Autobuff");
end;
}

 

Change log
 

 

Cell PvP 1.7

1. Fix & Cleanup some code
2. Fix timer info when walkout cell pvp
3. support rAthena SVN revision 12425+

enjoy!

Extended_Cell_PvP_1.7.patch

Edited by Napster
  • Upvote 4
Posted

[sRC] Cell PvP 1.7

 

Last update : 18/07/2014

 

Support : rAthena SVN revision 12425

 

FeatureCreate cell for player vs player with out mapflag pvp

How to use this ?

You can enable or disable this feature

conf/battle/misc.conf

 

// Addon Cell PVP [Napster]

// Enable Deathmatch for cell pvp
// Default: 0
// 0 = No
// 1 = Yes
cellpvp_deathmatch: 1
 
// Delay player alive deathmatch for cell pvp
// Default: 1000 (1 secand)
cellpvp_deathmatch_delay: 1000
 
// When player is dead recovery HP/SP Rate for cell pvp
// Default: 100 (recovery 100%)
deathmatch_hp_rate: 100
deathmatch_sp_rate: 100
 
// Enable buff when player is dead for cell pvp
// Default: 1
// 0 = No
// 1 = Yes
// Request core npc files use name "deathmatch_core"
cellpvp_autobuff: yes
 
// Can atk player in party
// Default: 1
// 0 = No
// 1 = Yes
cellpvp_party_enable: no
 
// Can atk player in guild
// Default: 1
// 0 = No
// 1 = Yes
cellpvp_guild_enable: no
 
// When player move to cell pvp is delay walk out cooldown
// Default: 5000 (5 secand)
cellpvp_walkout_delay: 5000

 

how to create cell pvp

 

 

- script test_cellpvp -1,{

end;
OnInit:
setcell "new_1-1",45,109,53,102,cell_pvp, 1;
end;
}

 

How to use auto buff script

Add npc script don't edit npc name "deathmatch_core

 

 

function script F_Autobuff {

 
sc_start SC_BLESSING, 60000, 10;
sc_start SC_INCAGI, 60000, 10;
return;
}
 
- script deathmatch_core -1,{
 
callfunc("F_Autobuff");
end;
}

 

Change log

 

 

Cell PvP 1.7

1. Fix & Cleanup some code

2. Fix timer info when walkout cell pvp

3. support rAthena SVN revision 12425+

enjoy!

im just wondering how to apply this .patch file? i already downloaded lots of .patch files but i didnt know how to apply it..

Posted

 

[sRC] Cell PvP 1.7
 

Last update : 18/07/2014
 

Support : rAthena SVN revision 12425
 

FeatureCreate cell for player vs player with out mapflag pvp

How to use this ?
You can enable or disable this feature

conf/battle/misc.conf

 

// Addon Cell PVP [Napster]

// Enable Deathmatch for cell pvp
// Default: 0
// 0 = No
// 1 = Yes
cellpvp_deathmatch: 1
 
// Delay player alive deathmatch for cell pvp
// Default: 1000 (1 secand)
cellpvp_deathmatch_delay: 1000
 
// When player is dead recovery HP/SP Rate for cell pvp
// Default: 100 (recovery 100%)
deathmatch_hp_rate: 100
deathmatch_sp_rate: 100
 
// Enable buff when player is dead for cell pvp
// Default: 1
// 0 = No
// 1 = Yes
// Request core npc files use name "deathmatch_core"
cellpvp_autobuff: yes
 
// Can atk player in party
// Default: 1
// 0 = No
// 1 = Yes
cellpvp_party_enable: no
 
// Can atk player in guild
// Default: 1
// 0 = No
// 1 = Yes
cellpvp_guild_enable: no
 
// When player move to cell pvp is delay walk out cooldown
// Default: 5000 (5 secand)
cellpvp_walkout_delay: 5000

 

how to create cell pvp
 

 

- script test_cellpvp -1,{

end;
OnInit:
setcell "new_1-1",45,109,53,102,cell_pvp, 1;
end;
}

 

How to use auto buff script

Add npc script don't edit npc name "deathmatch_core

 

 

function script F_Autobuff {

 
sc_start SC_BLESSING, 60000, 10;
sc_start SC_INCAGI, 60000, 10;
return;
}
 
- script deathmatch_core -1,{
 
callfunc("F_Autobuff");
end;
}

 

Change log
 

 

Cell PvP 1.7

1. Fix & Cleanup some code
2. Fix timer info when walkout cell pvp
3. support rAthena SVN revision 12425+

enjoy!

im just wondering how to apply this .patch file? i already downloaded lots of .patch files but i didnt know how to apply it..

 

You add it manually if you like :D

Posted

 

[sRC] Cell PvP 1.7

 

Last update : 18/07/2014

 

Support : rAthena SVN revision 12425

 

FeatureCreate cell for player vs player with out mapflag pvp

How to use this ?

You can enable or disable this feature

conf/battle/misc.conf

 

// Addon Cell PVP [Napster]

// Enable Deathmatch for cell pvp
// Default: 0
// 0 = No
// 1 = Yes
cellpvp_deathmatch: 1
 
// Delay player alive deathmatch for cell pvp
// Default: 1000 (1 secand)
cellpvp_deathmatch_delay: 1000
 
// When player is dead recovery HP/SP Rate for cell pvp
// Default: 100 (recovery 100%)
deathmatch_hp_rate: 100
deathmatch_sp_rate: 100
 
// Enable buff when player is dead for cell pvp
// Default: 1
// 0 = No
// 1 = Yes
// Request core npc files use name "deathmatch_core"
cellpvp_autobuff: yes
 
// Can atk player in party
// Default: 1
// 0 = No
// 1 = Yes
cellpvp_party_enable: no
 
// Can atk player in guild
// Default: 1
// 0 = No
// 1 = Yes
cellpvp_guild_enable: no
 
// When player move to cell pvp is delay walk out cooldown
// Default: 5000 (5 secand)
cellpvp_walkout_delay: 5000

 

how to create cell pvp

 

 

- script test_cellpvp -1,{

end;
OnInit:
setcell "new_1-1",45,109,53,102,cell_pvp, 1;
end;
}

 

How to use auto buff script

Add npc script don't edit npc name "deathmatch_core

 

 

function script F_Autobuff {

 
sc_start SC_BLESSING, 60000, 10;
sc_start SC_INCAGI, 60000, 10;
return;
}
 
- script deathmatch_core -1,{
 
callfunc("F_Autobuff");
end;
}

 

Change log

 

 

Cell PvP 1.7

1. Fix & Cleanup some code

2. Fix timer info when walkout cell pvp

3. support rAthena SVN revision 12425+

enjoy!

im just wondering how to apply this .patch file? i already downloaded lots of .patch files but i didnt know how to apply it..

 

You add it manually if you like :D

thanks for your help :3 but i already know how to apply it :3

Posted (edited)
 

 

I a found serious bug, when player dead in cell_pvp, they will be stone status and cannot move long time.

 

But My delay time is using default same as diff file.

 

I also found that When the buff end, it can moved !!!!!

 

 

And other question....

 

+++ db/const.txt (working copy)

@@ -384,6 +384,7 @@

 cell_nochat 7

 cell_maelstrom 8

 cell_icewall 9

+cell_pvp 10 // Addon Cell PVP [Napster]

 

 //cell_gettype 0

 cell_chkwall 1

@@ -401,6 +402,7 @@

 cell_chknochat 13

 cell_chkmaelstrom 14

 cell_chkicewall 15

+cell_chkpvp 16 // Addon Cell PVP [Napster]

 

 

Can I change the number which I wanted?

like:

+cell_pvp 15 // Addon Cell PVP [Napster]

+cell_chkpvp 20// Addon Cell PVP [Napster]

??

Edited by Darkpurple
Posted (edited)

 

+++ db/const.txt (working copy)
@@ -384,6 +384,7 @@
 cell_nochat 7
 cell_maelstrom 8
 cell_icewall 9
+cell_pvp 10 // Addon Cell PVP [Napster]
 
 //cell_gettype 0
 cell_chkwall 1
@@ -401,6 +402,7 @@
 cell_chknochat 13
 cell_chkmaelstrom 14
 cell_chkicewall 15
+cell_chkpvp 16 // Addon Cell PVP [Napster]
 
 
Can I change the number which I wanted?
like:
+cell_pvp 15 // Addon Cell PVP [Napster]
+cell_chkpvp 20// Addon Cell PVP [Napster]
??

 

 

no you can't change to want but..

if you really want to change open map.h

edit to 

 	CELL_ICEWALL,
	CELL_PVP = 15,		// Addon Cell PVP [Napster]

 	CELL_CHKICEWALL,		// Whether the cell has Ice Wall
	CELL_CHKPVP = 20,		// Whether the cell has PVP [Napster]

 

Edited by Napster
Posted

@Napster

I tryed this on my test server but when compiling an error msg shows up...

1>d:\test server\rathena\src\map\map.c(2791): error C2065: 'CELL_PVP' : undeclared identifier
1>d:\test server\rathena\src\map\map.c(2791): error C2051: case expression not constant
Posted (edited)
 

 

 

+++ db/const.txt (working copy)
@@ -384,6 +384,7 @@
 cell_nochat 7
 cell_maelstrom 8
 cell_icewall 9
+cell_pvp 10 // Addon Cell PVP [Napster]
 
 //cell_gettype 0
 cell_chkwall 1
@@ -401,6 +402,7 @@
 cell_chknochat 13
 cell_chkmaelstrom 14
 cell_chkicewall 15
+cell_chkpvp 16 // Addon Cell PVP [Napster]
 
 
Can I change the number which I wanted?
like:
+cell_pvp 15 // Addon Cell PVP [Napster]
+cell_chkpvp 20// Addon Cell PVP [Napster]
??

 

 

no you can't change to want but..

if you really want to change open map.h 

edit to 

    CELL_ICEWALL,
    CELL_PVP = 15,        // Addon Cell PVP [Napster]

    CELL_CHKICEWALL,        // Whether the cell has Ice Wall
    CELL_CHKPVP = 20,        // Whether the cell has PVP [Napster]

 

 

 
I found a serious bug, when player dead in cell_pvp, they will be stone status and cannot move.
 
But My delay time is using default same as diff file.
 
I also found that When the buff end, it can moved !!!!!
Edited by Darkpurple
Posted

 

 

 

 

+++ db/const.txt (working copy)
@@ -384,6 +384,7 @@
 cell_nochat 7
 cell_maelstrom 8
 cell_icewall 9
+cell_pvp 10 // Addon Cell PVP [Napster]
 
 //cell_gettype 0
 cell_chkwall 1
@@ -401,6 +402,7 @@
 cell_chknochat 13
 cell_chkmaelstrom 14
 cell_chkicewall 15
+cell_chkpvp 16 // Addon Cell PVP [Napster]
 
 
Can I change the number which I wanted?
like:
+cell_pvp 15 // Addon Cell PVP [Napster]
+cell_chkpvp 20// Addon Cell PVP [Napster]
??

 

 

no you can't change to want but..

if you really want to change open map.h 

edit to 

    CELL_ICEWALL,

    CELL_PVP = 15,        // Addon Cell PVP [Napster]

    CELL_CHKICEWALL,        // Whether the cell has Ice Wall

    CELL_CHKPVP = 20,        // Whether the cell has PVP [Napster]

 

 

 
I found a serious bug, when player dead in cell_pvp, they will be stone status and cannot move.
 
But My delay time is using default same as diff file.
 
I also found that When the buff end, it can moved !!!!!

 

 

you enable auto buff ?

i think this wrong

 

 

function script F_Autobuff {

 
sc_start SC_BLESSING, 60000, 10;
sc_start SC_INCAGI, 60000, 10;  <-- change to SC_INCREASEAGI
return;
}

 

 

@Napster

I tryed this on my test server but when compiling an error msg shows up...

 

1>d:\test server\rathena\src\map\map.c(2791): error C2065: 'CELL_PVP' : undeclared identifier
1>d:\test server\rathena\src\map\map.c(2791): error C2051: case expression not constant

you manual diff or apply patch maybe you mod src fail please check again and use last Server svn

Posted

function script F_Autobuff {


 

sc_start SC_BLESSING, 60000, 10;

sc_start SC_INCAGI, 60000, 10;  <-- change to SC_INCREASEAGI

return;

}

 

Yup....the old link from hercules's script is using sc_start SC_INCAGI ...

Thanks you for your help. /no1 

Posted (edited)

 

 

@Napster

I tryed this on my test server but when compiling an error msg shows up...

 

1>d:\test server\rathena\src\map\map.c(2791): error C2065: 'CELL_PVP' : undeclared identifier
1>d:\test server\rathena\src\map\map.c(2791): error C2051: case expression not constant

you manual diff or apply patch maybe you mod src fail please check again and use last Server svn

 

 

Ok its done thanks, i just forgot to add this on map.h...

 

  CELL_NOCHAT,
  CELL_MAELSTROM,
  CELL_ICEWALL,
+ CELL_PVP, // Addon Cell PVP [Napster]

Note: I notice something when you enter the cell it shows 1/999 in the lower left, is it normal?

Edited by Lelouch vi Britannia
Posted

[sRC] Cell PvP 1.7

 

Last update : 18/07/2014

 

Support : rAthena SVN revision 12425

 

FeatureCreate cell for player vs player with out mapflag pvp

How to use this ?

You can enable or disable this feature

conf/battle/misc.conf

 

// Addon Cell PVP [Napster]

// Enable Deathmatch for cell pvp
// Default: 0
// 0 = No
// 1 = Yes
cellpvp_deathmatch: 1
 
// Delay player alive deathmatch for cell pvp
// Default: 1000 (1 secand)
cellpvp_deathmatch_delay: 1000
 
// When player is dead recovery HP/SP Rate for cell pvp
// Default: 100 (recovery 100%)
deathmatch_hp_rate: 100
deathmatch_sp_rate: 100
 
// Enable buff when player is dead for cell pvp
// Default: 1
// 0 = No
// 1 = Yes
// Request core npc files use name "deathmatch_core"
cellpvp_autobuff: yes
 
// Can atk player in party
// Default: 1
// 0 = No
// 1 = Yes
cellpvp_party_enable: no
 
// Can atk player in guild
// Default: 1
// 0 = No
// 1 = Yes
cellpvp_guild_enable: no
 
// When player move to cell pvp is delay walk out cooldown
// Default: 5000 (5 secand)
cellpvp_walkout_delay: 5000

 

how to create cell pvp

 

 

- script test_cellpvp -1,{

end;
OnInit:
setcell "new_1-1",45,109,53,102,cell_pvp, 1;
end;
}

 

How to use auto buff script

Add npc script don't edit npc name "deathmatch_core

 

 

function script F_Autobuff {

 
sc_start SC_BLESSING, 60000, 10;
sc_start SC_INCREASEAGI, 60000, 10;
return;
}
 
- script deathmatch_core -1,{
 
callfunc("F_Autobuff");
end;
}

 

Change log

 

 

Cell PvP 1.7

1. Fix & Cleanup some code

2. Fix timer info when walkout cell pvp

3. support rAthena SVN revision 12425+

enjoy!

Thx man :) .. Finally.. i can add this feature to my Server :D

Posted (edited)

 

 

 

@Napster

I tryed this on my test server but when compiling an error msg shows up...

 

1>d:\test server\rathena\src\map\map.c(2791): error C2065: 'CELL_PVP' : undeclared identifier
1>d:\test server\rathena\src\map\map.c(2791): error C2051: case expression not constant

you manual diff or apply patch maybe you mod src fail please check again and use last Server svn

 

 

Ok its done thanks, i just forgot to add this on map.h...

 

  CELL_NOCHAT,
  CELL_MAELSTROM,
  CELL_ICEWALL,
+ CELL_PVP, // Addon Cell PVP [Napster]

Note: I notice something when you enter the cell it shows 1/999 in the lower left, is it normal?

 

maybe it bug, bcz gm account when use @hiding on/off cell pvp not count user, i'am not sure how to reproduce this ?

Edited by Napster
Posted

 

  http://hercules.ws/board/topic/4593-getmemberaid-checkmes/

 

Napster, can you transfer this patch to rathena method ?...Thanks...

 

but no have test for this  /sry

 

Love you so much much much  /kis2  /kis2   /kis2 Test now~!!

 

  http://hercules.ws/board/topic/4593-getmemberaid-checkmes/

 

Napster, can you transfer this patch to rathena method ?...Thanks...

 

but no have test for this  /sry

 

I testing with this script it showed the error same as here:

http://hercules.ws/board/topic/4746-scuffle-event-21/?p=42857

 

[Warning]: script:getelementofarray: index out of range (999)

[Debug]: Data: variable name='.@i' index=0

[Debug]: Source (NPC): asdf at prontera (162,180)

 

so that ... doesn't work for rathena ? /sob

Posted

@Darkpurple

you can post your script npc to use this

 

I followed Annieruru steps in here: http://hercules.ws/board/topic/4746-scuffle-event-21/?p=42857

 

 

unfortunately ... rathena doesn't support getmemberaid because rathena still haven't break the 128 array limit

I just tried this in rAthena

 

prontera,162,180,5    script    asdf    100,{

    .@i[999] = 1;

    dispbottom .@i[999] +"";}

[Warning]: script:getelementofarray: index out of range (999)

[Debug]: Data: variable name='.@i' index=0

[Debug]: Source (NPC): asdf at prontera (162,180)

 

Join the conversation

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

Guest
Reply to this topic...

×   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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...