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)

YakudZe 13.02.2007 21:20

Invalid Attachment specified. If you followed a valid link, please notify the
:(

palace 13.02.2007 21:21

Sorry man, the problems is internet explorer, try witch Firefox

https://postpacific.mmorpg-game.onli...6&d=1171387403

link is download


Check greenghost second post page 1, and try

YakudZe 13.02.2007 23:16

I am use FireFox:
Invalid Attachment specified. If you followed a valid link, please notify the administrator
:(
Reshare pls

greenghost 14.02.2007 00:44

okey now it should be ok. i'm so sorry... or you can use http://greenghost.iglu.cz/php-map-with-zoom.zip

yobzhik 14.02.2007 15:29

Share for rapidshare.com
http://rapidshare.com/files/16435369...-with-zoom.zip
Thank you for stuff. Must be very usefull !
Ill write later how it work. Thank you !

YakudZe 16.02.2007 17:59

Men, I did not understand :) Just kidding? How can that not perebrasavalo? How to set up what worked map? :)

palace 16.02.2007 18:28

Open index.php
<?php
header("Expires: ".gmdate("D, d M Y H:i:s")." GMT");
//----allowed ips---
// localhost some another IP
$ip = array("127.0.0.1", "1xx.xx3.1xx.xx3");
if(!in_array($_SERVER["REMOTE_ADDR"], $ip)) {
header("location:http://piv.pivpiv.dk/");
exit;
}
// if you want to show this map to anyone just remove lines 3 to 10 (from first to this commentary)

include("./include/config.php");
------------------------------------
remove lines 3 to 10

------------------------------------
Open index.php
<?php

include("./include/config.php");

greenghost 17.02.2007 18:12

you have to set up correct values (server name, mssql login and password) in ./include/config.php

adriahu 16.03.2007 19:42

Upgraded version:
http://www.l2-existence.com/map2.zip

Optimization of speed for large servers (client HTML processing)
GM`s authentication
No locks on DB :P

KOC2000 16.03.2007 22:56

Well.. it still sees me online although I'm not.. what's wrong?
-----------
The reason was.. power went off.. I loged in then loged out with my char. and it's fine now.

nish 17.03.2007 08:47

wtf are you taking about

adriahu 17.03.2007 11:39

You must clear your DB after crash or server restart :)

update user_data set logout = '2007-03-08 10:07:xx.xx0' where login > logout and login < '2007-03-08 10:07:xx.xx0'

2007-03-08 10:07:xx.xx0 = date is earlier than restart or crash

greenghost 24.04.2007 16:16

or "update lin2world..user_data set logout = login where login > logout"

didu 07.08.2007 12:43

reshare please :p

emanuel 07.08.2007 12:51

With a litle fix in php code.

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
map.zip — 280141 байт

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


All times are GMT. The time now is 15:50.