Post Pacific

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

godfather 21.04.2007 01:33

olympiad points
 
Noblesses dont get 3 points per week
Any help with this bug?
I think the SP in the db is ResetOlympiadPoint

nnightmare 21.04.2007 06:30

i think u got missing tables

godfather 22.04.2007 19:27

can someone share the .sql file for the tables of lin2world?

RetaL 23.04.2007 11:33

Your olympiad table must have bonus times in seconds.
The problem also might be in lin_AddAllOlympiadBonusPoint procedure.

godfather 24.04.2007 13:06

Quote:

Originally Posted by RetaL (Post 84493)
Your olympiad table must have bonus times in seconds.
The problem also might be in lin_AddAllOlympiadBonusPoint procedure.

lin_addallolumpiadbonuspoint:

Quote:

CREATE PROCEDURE dbo.lin_AddAllOlympiadBonusPoint
(
@season INT,
@step INT,
@bonus_point INT
)
AS
SET NOCOUNT ON

UPDATE user_nobless
SET olympiad_point = olympiad_point + @bonus_point

UPDATE olympiad
SET step = @step
WHERE season = @season
GO
table olympiad columns:
season
step
season_start_time
start_sec
bonus1_sec
bonus2_sec
bonus3_sec
bonus4_sec
nominate_sec

RetaL 24.04.2007 14:17

Quote:

Originally Posted by godfather (Post 84590)
lin_addallolumpiadbonuspoint:



table olympiad columns:
season
step
season_start_time
start_sec
bonus1_sec
bonus2_sec
bonus3_sec
bonus4_sec
nominate_sec

What step is currently set in the olympiad table?

godfather 25.04.2007 02:29

The step is 0
I have 2 rows with step 0

StaticVoid 25.04.2007 09:06

Quote:

Originally Posted by godfather (Post 84625)
The step is 0
I have 2 rows with step 0

Propably from playing with the //olympiad command.

For a clean installation I would drop this and all related tables and start from scratch.

But before you fiddle with tables etc give the following commands:

//olympiad monthly
//olympiad start

then see the current status with

//olympiad view

and watch the current step that reports. After that you should be 99% ok ;)

RetaL 25.04.2007 12:04

Quote:

Originally Posted by godfather (Post 84625)
The step is 0
I have 2 rows with step 0

As I remember,you need step 2.

godfather 26.04.2007 03:50

Quote:

Originally Posted by StaticVoid (Post 84642)
Propably from playing with the //olympiad command.

For a clean installation I would drop this and all related tables and start from scratch.

But before you fiddle with tables etc give the following commands:

//olympiad monthly
//olympiad start

then see the current status with

//olympiad view

and watch the current step that reports. After that you should be 99% ok ;)

ok thanks!

WooCry 26.04.2007 07:13

Ur olympiad work fine same oficial?

godfather 27.04.2007 03:52

i will wait now at first of the month to start olympiad
I will report you what happening

mastery 29.04.2007 17:35

i have all setup as describet above, but olympiad dont work... no points, no battles.. now i have 6 peroid.. about 3-4 months ago i patched this


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