Post Pacific

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

avatard 01.05.2005 21:00

Alliance vs Alliance war problem
 
Each freaking time the server reboots the alliance versus alliance war state seems to be reset. Has anyone been able to find a fix for this? I've tried to set up an MSSQL agent to insert the data into alliance_ tables on timely basis but it didn't seem to do anything.

avatard 02.05.2005 17:23

An SQL agent with a job that ran
Code:

UPDATE alliance_war
SET status = 0
WHERE id = <alliance_war_id>

apparently fixed the problem.

un4 22.10.2005 07:44

Getting the same problem with alliance war
what should be shedule for this task ?
is there any other way to do it ?

there is also such record in logs :
Quote:

10/21/2005 14:03:xx.xx3, fetch error
10/21/2005 14:03:xx.xx3, sqlstate 24000
10/21/2005 14:03:xx.xx3, msgText [Microsoft][ODBC SQL Server Driver]Invalid cursor state
10/21/2005 14:03:xx.xx3, sql EXEC lin_GetUserDataByCharId 0
10/21/2005 14:03:xx.xx3, --- call stack ---
10/21/2005 14:03:xx.xx3, [User.cpp][2455] undefined (or unregistered) char Id[0]
10/21/2005 14:03:xx.xx3, [1] void CPacket::OnIOCallback(BOOL bSuccess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped)
10/21/2005 14:03:xx.xx3, [2] cpacket::oniocallback_funccall
10/21/2005 14:03:xx.xx3, [3] static bool RequestStartAllianceWar(CSocket* pSocket, const unsigned char* packet)
10/21/2005 14:03:xx.xx3, [4] unsigned int CAllianceWarDb::StartAllianceWar(unsigned int nChallengerAllianceDbId, unsigned int nChallengeeAllianceDbId, unsigned int nWarBeginTime)
10/21/2005 14:03:xx.xx3, [5] CUserSP CUserDb::GetUser(int nUserId, bool bLoadIfNotExist)
10/21/2005 14:03:xx.xx3, [0] void IOThread_common(void *arglist)

top-gear 22.10.2005 12:16

I have a similar problem. Every clan in the status seems to be In war and not In peace. How can I correct that?

andreagighi 14.12.2005 16:11

Re: Alliance vs Alliance war problem
 
Quote:

Originally Posted by avatard
Each freaking time the server reboots the alliance versus alliance war state seems to be reset. Has anyone been able to find a fix for this? I've tried to set up an MSSQL agent to insert the data into alliance_ tables on timely basis but it didn't seem to do anything.

Solved ?


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