Register for your free account! | Forgot your password?

You last visited: Today at 06:36

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Update ip when login.

Discussion on Update ip when login. within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old   #1
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
Smile Update ip when login.

1.make new column and name it "ipaddress" at ACCOUNT_TBL_DETAIL


2.go to Stored Procedures --> Edit dbo.LOGIN_STR

under
PHP Code:
WHERE account = @iaccount  AND password = @ipasswordBEGIN 

insert
PHP Code:
UPDATE ACCOUNT_TBL_DETAIL SET ipaddress = @i_IPAddress WHERE account = @iaccount 

3.execute it.

done.
banktakung is offline  
Old 07/24/2015, 02:16   #2
 
elite*gold: 0
Join Date: May 2014
Posts: 4,405
Received Thanks: 933
I think its not really useful because you can see the IP via website.


PHP Code:
        $strLastIngameLogin = @odbc_fetch_array(@odbc_exec($odbc_connect'
            SELECT  [remoteIP],
                    [Start_Time]
            FROM  [' 
$_CONFIG['db_databases']['log'] . '].[dbo].[LOG_LOGIN_TBL]
            WHERE [account] = \'' 
$mixedAccountInformationArray['account'] . '\'
            ORDER BY [Start_Time] DESC
        '
)); 
Michi is offline  
Old 07/24/2015, 03:12   #3
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
Quote:
Originally Posted by Dude';32505330]I think its not really useful because you can see the IP via website.


[php] $strLastIngameLogin = @odbc_fetch_array(@odbc_exec($odbc_connect, '
SELECT [remoteIP],
[Start_Time]
FROM [' . $_CONFIG['db_databases
['log'] . '].[dbo].[LOG_LOGIN_TBL]
WHERE [account] = \'' . $mixedAccountInformationArray['account'] . '\'
ORDER BY [Start_Time] DESC
'));[/php]

In my opinion.it made alot more easy if you developer program to check ip of user
banktakung is offline  
Old 07/24/2015, 04:21   #4
 
elite*gold: 0
Join Date: May 2014
Posts: 4,405
Received Thanks: 933
Quote:
Originally Posted by banktakung View Post
In my opinion.it made alot more easy if you developer program to check ip of user
Sry but your sentence doesn't make sense.
Could you explain me your sentence.

Greets
Dude
Michi is offline  
Thanks
1 User
Old 07/24/2015, 09:41   #5
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 227
Quote:
Originally Posted by banktakung View Post
In my opinion.it made alot more easy if you developer program to check ip of user
But it's worse, you can see only the last IP of the user while on log database you can see all IP the user used and much more information.
alfredico is offline  
Old 07/26/2015, 08:16   #6
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
example.

i'm develop gameguard. and if i want my program to auto-ban so i need to have user ip to make query update where ip bla bla bla.
banktakung is offline  
Old 07/29/2015, 03:03   #7
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,739
Received Thanks: 1,669
Quote:
Originally Posted by banktakung View Post
example.

i'm develop gameguard. and if i want my program to auto-ban so i need to have user ip to make query update where ip bla bla bla.
Well, you have the LOG_LOGIN_TBL which logs the ip address of every login - why should we fill SQL Server with data that is saved more than once?
xTwiLightx is offline  
Old 07/29/2015, 15:40   #8
 
elite*gold: 0
Join Date: Jan 2010
Posts: 141
Received Thanks: 8
IP address banning is useless if the user has a dynamic IP.
pakinglalat is offline  
Old 07/29/2015, 15:42   #9
 
elite*gold: 0
Join Date: Jan 2014
Posts: 773
Received Thanks: 373
Quote:
Originally Posted by pakinglalat View Post
IP address banning is useless if the user has a dynamic IP.
you can use range ips
Drabur is offline  
Old 07/31/2015, 19:49   #10
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
Quote:
Originally Posted by pakinglalat View Post
IP address banning is useless if the user has a dynamic IP.
$db->prepare("UPDATE ACCOUNT_TBL_DETAIL SET BlockTime = blablabla WHERE ipaddress = :s");
$db->BindParam(':s',$ip);

-.-!
banktakung is offline  
Reply


Similar Threads Similar Threads
4.3.4. Client want to Update in login Screen?
10/07/2014 - WoW Private Server - 3 Replies
Hallöchen, vielleicht kann mir hier jemand helfen. wenn ich mit dem 4.3.4 client auf meinen server connecten will startet der immer ein update nach dem login screen also nachdem ich id und pw eingegeben habe. woran kann das liegen? ip habe ich geändert und so. MfG
Suche WBB Update Login
03/11/2014 - elite*gold Trading - 0 Replies
Hallo, ich will nur ein Update durchlaufen lassen, dannach kann gerne alles geändert werden. Authentifizierung mit Update-Server Verbindungs-Daten Adresse http://update.woltlab.com Server-Name
kbot login während update
08/10/2011 - DarkOrbit - 1 Replies
weiß jemand wie man sich TROTZ UPDATE bei knot einloggen kann? :D nein ich will nicht gebannt werden ich will nur mein GG fertig machen und da wird sowiso nix geupdated^^ thx sash
News Update on Hero Login Launcher
09/15/2010 - General Gaming Discussion - 0 Replies
When Hero goes out of maintainence the site, I have a feeling that my Hero Login Launcher will be patched, but I don't know. If it does get patched, I will make a new one for you guys, if you guys want I can make it open source for all of you guys. If it does go open source and I ask of you not to steal it and call it yours. I will remove the coding under the login button so people can't just slap their name on it and compile it. (: But still it's not hard at all to make. After all, it's still...
[How to login ] Update June 2, 2009
06/16/2009 - SRO Guides & Templates - 14 Replies
So they just removed the capatcha..Which in my opinion is a great thing, making logging in easyer! There is no need for a specific autologin program.. This is what I use! Keypresser Yes it's a key presser.. I think most of you allready thought of it.. but for those who didn't.. Enjoy (: PS I just took this one from google.



All times are GMT +2. The time now is 06:36.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.