[under discussion] RPs for Healing

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

Re: [awaiting patch] RPs for Healing

Postby Graveen » Fri Mar 13, 2009 7:02 pm

in fact you can remove the SP,
use serverrules to know if you can get rps (so both target is gameplayer and not IsAllowedToAttack - guess you have nothing to change, simply use the method of the server rule :D )
oh, when you implement the RP logic, can you take in consideration the RP multiplier (iirc there is one in SP ?)

For the patch, msn me if you want help : actually your code is certainly working, but if you could both change to what we suggest, and make it testable and safe to integrate (yes this is the why of the patch, and why it'll be except for tiny changes the way to work).

Anw, once again, this is not that your patch is not good, this is simply the SVN criterias are a bit differents ;)

/bow ! ;)
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: [awaiting patch] RPs for Healing

Postby stephenxpimentel » Sat Mar 14, 2009 5:47 am

Patch :D

http://download286.mediafire.com/30z0zm ... dler.patch

I'm thinking we should add a server property for RPs_FOR_HEALING though.
Lets have some fun.
stephenxpimentel
Contributor
 
Posts: 1300
Joined: Wed Sep 19, 2007 5:09 pm

Re: [awaiting patch] RPs for Healing

Postby Graveen » Sat Mar 14, 2009 7:36 am

Thx !

for the SP idk, perhaps, but if such a sp like this exists, we should add switch for rps on rez, rps on door repairing, rps on keep/tower taken, etc... to have sense.
If this is to prevent an abuse of the feature, this is not the 'good' reason for creating an SP.

Under reflexion, so :p
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: [under discussion] RPs for Healing

Postby stephenxpimentel » Sat Mar 14, 2009 3:42 pm

i had a talk with Blues last night, and he convinced me that a server property really isnt needed, as its only like 3 lines of code, they can comment it out or something :D
Lets have some fun.
stephenxpimentel
Contributor
 
Posts: 1300
Joined: Wed Sep 19, 2007 5:09 pm


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 0 guests