View Full Version : please, olympiad <It starts to be how?
please, olympiad <It starts to be how?
BuilderCmdAlias???
//olympiad ....??? << It does not know a method.
please, olympiad <It starts to be how?
GM COMMAND....
TheOrder
12.10.2006, 17:05
please, olympiad <It starts to be how?
BuilderCmdAlias???
//olympiad ....??? << It does not know a method.
please, olympiad <It starts to be how?
LoL ^^
Wish i could understand what you sayd there bud !
And i guess it's a question so it's wrong section still !
if you asking if //olympiad does something , negative ^^ download the GM commands using the almighty "Search Button"
Start Olympiad is Easy!
//olympiad start_time year month day hour min
Hard is add Olypiad Point to Nobless join in Olympiad!
Hard is add Olypiad Point to Nobless join in Olympiad!
Didn't catch it. Could you explain please.
//olympiad start_time 2006 10 13 18 00 <<?? ok?
do //olympiad monthly and it will work.
do //olympiad monthly and it will work.
What command Kin?
This that I posted?
If I want Olympiad to begin of here 1 week as it should put the command?
And on Olympiad Point?
Lineage 2 Server Modifications ONLY! Basically if IT isn't a MOD or a Tutorial do not even think about starting a thread here.
WooCry, What did you mean by this: Hard is add Olypiad Point to Nobless join in Olympiad!?
And if you type - //olympiad monthly, the olympiad will start automatically every month without any other command.
I did exactly like you spoke, he began the more olympiad when I try to participate doesn't have eat because I don't have these Olympiad Point, and I am nobless!
I thought that it could have been a problem of me to have I catch nobless for the command / /set_nobless then I made the quest and the same problem continues!
Can anybody help myself?
bump..
how to run olympiad system on server? players dont have olympiad points...
Domzelan
08.11.2006, 08:03
They dont need olympiad points for join.
My players join olympiad BUT fights is not start....
my players got message "u must have at least 1 points to participate" ... i try restart olympiad period, but same thing... is it an ai problem? if so, how to fix that?
Domzelan
08.11.2006, 10:53
hmmmm, if u stay nobless - u should alredy have some olympiad points i think...
i have started olympiad with command //yohan_test O.o
Domzelan
08.11.2006, 14:14
Loooool :)
ok after i create missing tables in sql, now i get 18 points, i choose participate, in waiting list is mesage 100 from the following luyun
do i need to wait some time? or additional commands to start?
Domzelan
08.11.2006, 16:41
so am i :(
My players join BUT cant fight, fights is not start...
ok after i create missing tables in sql, now i get 18 points, i choose participate, in waiting list is mesage 100 from the following luyun
do i need to wait some time? or additional commands to start?
Which tables did you create?
https://postpacific.loc-online.com/forums/showthread.php?t=5941&highlight=olympiad
search still works )
They dont need olympiad points for join.
My players join olympiad BUT fights is not start....
How did you do for Olympiand Point for their Players?
How many persons should be signed for Olympiad to start?
i tried //olympiad monthly or exact date... then system msg appear..
I think olympiad was started.. every month all hero set manually by my was wiped........ but ppl still cant join olympiad to fight for points..
so..can u help me how to make olympiad propletly? or how it work on official to make it at least manually with GM?
godfather
02.04.2007, 07:36
i found a problem at table hero_candidate
this table updates olympiad_result...but the table scructur is wrong
UPDATE user_nobless
SET hero_type = 0
CREATE TABLE #hero_candidate (season INT, main_class INT, char_id INT, olympiad_point INT, match_count INT, olympiad_win_count INT, olympiad_lose_count INT)
INSERT INTO #hero_candidate
SELECT olympiad.season, ud.subjob0_class, un.char_id, un.olympiad_point, un.match_count, un.olympiad_win_count, un.olympiad_lose_count
FROM olympiad, user_nobless un, user_data ud
WHERE un.char_id = ud.char_id AND un.match_count >= 5 AND un.olympiad_win_count >= 1
CREATE TABLE #highest_score (main_class INT, olympiad_point INT, match_count INT)
DECLARE @hero_candidate_class INT
DECLARE hero_candidate_cursor CURSOR FOR
SELECT DISTINCT main_class FROM #hero_candidate
OPEN hero_candidate_cursor
FETCH NEXT FROM hero_candidate_cursor INTO @hero_candidate_class
WHILE @@FETCH_STATUS = 0
BEGIN
INSERT INTO #highest_score
SELECT TOP 1 main_class, olympiad_point, match_count
FROM #hero_candidate
WHERE main_class = @hero_candidate_class
ORDER BY olympiad_point DESC, match_count DESC
FETCH NEXT FROM hero_candidate_cursor INTO @hero_candidate_class
END
CLOSE hero_candidate_cursor
DEALLOCATE hero_candidate_cursor
CREATE TABLE #highest_score_nobless (char_id INT, main_class INT)
INSERT INTO #highest_score_nobless
SELECT c.char_id, c.main_class FROM #hero_candidate c, #highest_score s
WHERE c.main_class = s.main_class AND c.olympiad_point = s.olympiad_point AND c.match_count = s.match_count
CREATE TABLE #hero (char_id INT, main_class INT)
INSERT INTO #hero
SELECT char_id, main_class FROM #highest_score_nobless WHERE main_class IN (SELECT main_class FROM #highest_score_nobless GROUP BY main_class HAVING COUNT(main_class) = 1)
UPDATE user_nobless
SET hero_type = 1, win_count = win_count+1
WHERE char_id IN (SELECT char_id FROM #hero)
UPDATE user_nobless
SET previous_point = olympiad_point
UPDATE user_nobless
SET olympiad_point = 0, match_count = 0, olympiad_win_count = 0, olympiad_lose_count = 0
INSERT INTO olympiad_result
SELECT season, main_class, char_id, olympiad_point, match_count, olympiad_win_count, olympiad_lose_count FROM #hero_candidate
INSERT INTO olympiad
(step, season_start_time) VALUES (@new_step, @new_season_start_time)
SELECT @@IDENTITY
GO
i think thats the right query
i encountered problem in my server.i didnt have heroes at the end of the month