PDA

View Full Version : olympiad points


godfather
21.04.2007, 01:33
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
Your olympiad table must have bonus times in seconds.
The problem also might be in lin_AddAllOlympiadBonusPoint procedure.

lin_addallolumpiadbonuspoint:


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
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
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
The step is 0
I have 2 rows with step 0
As I remember,you need step 2.

godfather
26.04.2007, 03:50
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