Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 12.04.2007, 15:55   #11
elcapo
Архивный участник
 
Join Date: Mar 2005
Posts: 107
Default

you could use a "date" field instead of a integer.
update that field with NOW() when loggin correctly. (i dont remember the stored procedure that excecute when login).
check for time difference at the time to take characters.
if (field.time > 5 seconds) then, return char_id = -1
otherwise, give it the correct char_ids

This way, u dont want to bother for updating to 0. Time is always running.

What u think?

I would to the change in this procedure: lin_GetCharByAccountId
Why to give char_ids to someone who we dont know if is the owner? check first for that.
Check too, at the time to create a new char.
elcapo 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 21:50.