Post Pacific  

Go Back   Post Pacific > Lineage 2 > Tutorials & Guides

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 04.01.2006, 08:15   #20
SolarWind
Архивный участник
 
Join Date: Nov 2005
Posts: 7
Default

Quote:
Originally Posted by talmage
select char_id from user_ActiveSkill
where (s1 = s2) or (s1 = s3) or (s1 = s4) or (s1 = s5) or (s1 = s6) [etc]


Bad idea, remember, if there isint a skill there the value is 0 it will match.

Ie, if someone has no buffs

s1 = 0
s2 = 0

s1 and s2 are equal.

Also cron is a bad idea, hint: stored procedure that saves user_activeSkill
WHERE (s1 != NULL AND ((s1 = s2) or ....)
work finely, also automatically fills up cheaters list on site (relieves from superfluous bodymoving )
but nevertheless i shall look that is possible make through stored proc

i hate MSSQL

==
sorry 4 my terrable eng, my native lang is perl
SolarWind is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 14:09.