Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Clan Time Limit (https://postpacific.loc-online.com/showthread.php?t=2626)

Thalone 24.11.2005 02:57

Clan Time Limit
 
When a player leaves a clan he has to wait 5 days. Cany one tell me how to make this 30 seconds or something? Also same for dissolving a clan, i want it to dissolve instantly.

Any help at all would be greatly appreciated, thanks.

-Thalone

Flamestrike 24.11.2005 03:02

I think this has to do with some hexing. I was looking for that too, but found myself into a dead line

Metalmurphy 24.11.2005 09:42

Yep only hexing will do. Alternatly u can make a php script that changes the timer in the database. There migh be a cached command for that

bwgreen 24.11.2005 13:05

Or make a stored procedure to run every 'x' minutes/seconds.

Zil 02.01.2006 12:36

eng/ Can you help me!? When the Clan dismiss - the Clan Leader wait one week, before the Clan dismiss finaly...but nothing happends/
rus/Когда распускаеш клан, то идет штраф клан-лидеру (по идее) вроде бы неделю, пока клан окончательно распустится, но по прошествию этого времени ничего не происходит, т.е. клан все равно остается :( Как это поправить?

//sorry for my very bad english

MrCoffee 15.01.2006 03:50

Bump, anyone have a fix that removes the clan timer penalities? I've searched, but found nothing.

Zil 15.01.2006 07:52

You can delete it fully by hands in lin2world -> Pledge

Mayii 15.01.2006 10:21

just create this proc... and add a scheduler to do EXEC DeletePenalty

CREATE PROC DeletePenalty
AS
UPDATE user_data SET pledge_withdraw_time=0 WHERE pledge_withdraw_time>0
UPDATE user_data SET pledge_ousted_time=0 WHERE pledge_ousted_time>0
UPDATE Pledge SET dismiss_reserved_time=0 WHERE dismiss_reserved_time>0
UPDATE Pledge SET alliance_withdraw_time=0 WHERE alliance_withdraw_time>0
UPDATE Pledge SET alliance_dismiss_time=0 WHERE alliance_dismiss_time>0
UPDATE Pledge SET alliance_ousted_time=0 WHERE alliance_ousted_time>0
UPDATE Pledge SET oust_time=0 WHERE oust_time>0
UPDATE Alliance SET oust_time=0 WHERE oust_time>0
GO

lstar 25.01.2006 03:16

you save my life

thnx alot

elcapo 25.01.2006 17:00

just use command //showbp //setbp

//showbp = show all pledges / wars / allies penalitys.
//setbp action penality_time (in secs), to change ingame penality.

GANSH 26.04.2006 15:59

Man I created the pocedure but I dont know how to create a scheduler and from where to call EXEC... Need Help :D


All times are GMT. The time now is 15:55.