Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   Online PHP Map With Zoom and Security (https://postpacific.mmorpg-game.online/showthread.php?t=5745)

didu 07.08.2007 13:04

Why the zome doesn't work for my ?

And i see player disconnected online !!


http://www.ultimegames.com/newsite/m...map/index2.php

adriahu 07.08.2007 13:29

Quote:

Originally Posted by didu (Post 93896)
Why the zome doesn't work for my ?

And i see player disconnected online !!


http://www.ultimegames.com/newsite/m...map/index2.php

because of wrong redirect
index.php -> index2.php

and You must clear your DB after crash or server restart (earlier was info about that).

didu 07.08.2007 13:39

how clear DB ?

:: Eru :: 07.08.2007 14:23

Theory:
You have to fix login & logout time for each character.

Practise:
update lin2world.user_data set logout = login where login > logout

didu 07.08.2007 14:31

i have this error:

Server: Msg 208, Level 16, State 1, Line 1
Invalid object name 'lin2world.user_data'.

:: Eru :: 07.08.2007 14:35

Didu, what I wrote is not the perfect sentence...
Are you using MSSQL 2005? Navigate lin2world until you reach user_data: Right click on it --> Script table as "UPDATE..." .

It will open a .sql file having the script on it, just edit it modifying just the columns you want.

didu 07.08.2007 14:43

i use mssql 2000 :p

:: Eru :: 07.08.2007 14:46

It's the same...open Query Analyzer and navigate until you find the table.

alysia 07.08.2007 15:18

Quote:

Originally Posted by didu (Post 93916)
i have this error:

Server: Msg 208, Level 16, State 1, Line 1
Invalid object name 'lin2world.user_data'.


maybe you called your databse not lin2world :)

didu 07.08.2007 17:26

use lin2world
update user_data set logout = login where login > logout

work :p

FidoW 07.08.2007 17:59

Quote:

Originally Posted by didu (Post 93950)
use lin2world
update user_data set logout = login where login > logout

work :p

Code:

USE lin2world
UPDATE user_data
SET logout = GETDATE() /* Update to Current Date */
WHERE (login > logout) /* Normal login */
OR (login IS NOT NULL AND logout IS NULL) /* First Login */



All times are GMT. The time now is 14:16.