Cap Group PvP

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

Cap Group PvP

Postby Romain54 » Thu Mar 31, 2011 8:44 pm

A patch which allows to add in dolconfig a group cap for zones them configurable PvP since dolconfig:)

Sorry for my english lol
Attachments
ServerProperties.patch
(876 Bytes) Downloaded 20 times
Group.patch
(1006 Bytes) Downloaded 26 times
Image
Romain54
Contributor
 
Posts: 148
Joined: Sun Mar 13, 2011 2:01 am

Re: Cap Group PvP

Postby Tolakram » Thu Mar 31, 2011 10:25 pm

You can't apply these kinds of patches to the core.
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: PvP Groupe Cap

Postby Romain54 » Thu Mar 31, 2011 10:42 pm

what? This patch is good i have test no probleme. I dont understand.
Image
Romain54
Contributor
 
Posts: 148
Joined: Sun Mar 13, 2011 2:01 am

Re: PvP Groupe Cap

Postby Tolakram » Thu Mar 31, 2011 11:22 pm

what? This patch is good i have test no probleme. I dont understand.

if (living.CurrentRegionID == 51)


You hard coded region 51 to pay attention to PVP rules. This is arbitrary to your needs, not live like, and would never be placed in the core. I don't even know what region 51 is!
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: Cap Group PvP

Postby Argo » Fri Apr 01, 2011 12:36 am

if i am not mistaken then region 51 should be Avalon, i could be wrong :)
Möge Gott sein zwischen Dir und dem Leid, an allen dunklen und verlassenen Orten, die Du erreichen wirst.
Argo
Server Team
 
Posts: 1760
Joined: Thu Sep 18, 2008 6:21 pm
Location: Berlin, Germany

Re: Cap Group PvP

Postby Graveen » Fri Apr 01, 2011 7:06 am

Thank you anyway for the effort Romain, i'll throw an eye.
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Cap Group PvP

Postby Dinberg » Mon Apr 04, 2011 9:00 am

You could make a server property PVP_REGIONS, that contains a list of region ids to follow your pvp rules, then check for these instead?
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim

Re: Cap Group PvP

Postby ichijin » Thu Apr 07, 2011 3:54 am

Hey Din. :) How you been man? Might not even remember me by now. Haha. :) Been a few years since I frequented these forums last. :P
ichijin
Inactive Staff Member
 
Posts: 129
Joined: Sun Jul 29, 2007 3:46 am

Re: Cap Group PvP

Postby Dinberg » Thu Apr 07, 2011 9:56 am

Just replied to your post in staff forums :D
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest