![]() |
[Share] Anti Clan Penalty
Hi, im just looking procedures and find nice one.
I only corrected it, not tested. But seems it will be work correct. When player ousted from clan, clan\player will not receive any penalty. Test it please, and don't forget about DB backup! Btw: Fix me pls, if i re-wrote something wrong. Btw2: This proc is not affects ally penalty, clan & clan wars only. And sry for my bad eng. Code:
CREATE PROCEDURE [DBO].[lin_UpdatePledgeInfo]Code:
CREATE PROC ClearPenalty |
I guess you need a reboot to make the penalities be erased, but this is a great share, when i test it i'll report some bugs :P, thanks.
|
the idea is that if you use it in a SP that cached uses when putting the clan penalty it will not be necessary to reboot
|
You can hex penalties in server's exe, just find good offset. Convert penalty time into 4 byte hex and find it in exe. You will spot the correct place cos those 4 bytes will exist few times near each other. Order is same as result of command //show_bp
|
Quote:
In that case... im sure you need a reboot. |
yes sorry, my reasoning was wrong...
|
| All times are GMT. The time now is 21:55. |