Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 01.05.2005, 21:00   #1
avatard
Архивный участник
 
Join Date: Feb 2005
Posts: 100
Default 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 is offline  
Old 02.05.2005, 17:23   #2
avatard
Архивный участник
 
Join Date: Feb 2005
Posts: 100
Default

An SQL agent with a job that ran
Code:
UPDATE alliance_war
SET status = 0
WHERE id = <alliance_war_id>
apparently fixed the problem.
avatard is offline  
Old 22.10.2005, 07:44   #3
un4
Архивный участник
 
Join Date: Oct 2005
Posts: 1
Default

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:niocallback_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)
un4 is offline  
Old 22.10.2005, 12:16   #4
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

I have a similar problem. Every clan in the status seems to be In war and not In peace. How can I correct that?
top-gear is offline  
Old 14.12.2005, 16:11   #5
andreagighi
Архивный участник
 
Join Date: Mar 2005
Posts: 74
Default 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 ?
andreagighi is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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