Eclipse
January 05, 2009, 10:23:59 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Chat Help Rules Arcade Search Calendar Gallery Login Register  
 
 
 
Recent Topics +-
THE Cult by The Roujo
Today at 10:21:24 PM

Actual Map for the continents by FS:CG Admin[Shadowwulf]
Today at 10:20:45 PM

Disparity Recruiting by The Roujo
Today at 10:20:14 PM

World of Hyrule - Official Topic by Kreator
Today at 10:14:43 PM

Lostica [Project Revamp] by Kreator
Today at 10:12:58 PM

Free movies? by DrNova
Today at 10:10:40 PM

~ Paradise uncharted ~ Supported by Dezire Software Forums by slym
Today at 10:07:06 PM

I need a little help by waffletamer
Today at 10:03:40 PM

Okay Questions (very noob person here) by The Roujo
Today at 09:48:45 PM

fun with photoshop by MrMiguu™
Today at 09:48:19 PM

Members Online +-
12 Guests, 20 Users
shakadaran,
Karl,
The Roujo,
kira423,
Sablefalcon,
HawkStorm95,
UnknownChick76,
Smile!,
Ambard,
slym,
Xandus,
FS:CG Admin[Shadowwulf],
Gwendalin,
dg1423,
Kreator,
DrNova,
‪‫‬‭‮‪‫Kusy,
Devogen,
hammer,
Haruhito
Pages: [1]
  Print  
Author Topic: Script Submission: Anti-multi-loging  (Read 923 times)
0 Members and 1 Guest are viewing this topic.
Grim_Reaper
~Suffering~
Active Member
***
Offline Offline

Posts: 438


You dare enter my dominion?


View Profile Email
« on: July 28, 2006, 06:47:53 PM »

first put this at the bottom of ur Sub JoinGame... or wut ever it's called

Code: [Select]
MyVar = GetVar("solid_snake-defence.ini", "Anti_Hack", "GetPlayerIP(index)")
    If MyVar = 1 Then
        Call AlertMsg(index, "Your IP is already registered.")
        Exit Sub
    Else
        Call PutVar("solid_snake-defence.ini", "Anti_Hack", "GetPlayerIP(index)", 1)


then add this in Sub leavegame... or something like tht

Code: [Select]
Call PutVar("solid_snake-defence.ini", "Anti_Hack", "GetPlayerIP(index)", 0)

make an ini file named solid_snake-defence

then thts it

***************
-Bugs-
everytime u shutdown the server delete everything in the solid_snake-defence ini file

thts all to it
master5006
Active Member
***
Offline Offline

Posts: 155



View Profile WWW Email
« Reply #1 on: July 28, 2006, 07:29:08 PM »

That is interesting.
Grim_Reaper
~Suffering~
Active Member
***
Offline Offline

Posts: 438


You dare enter my dominion?


View Profile Email
« Reply #2 on: July 29, 2006, 07:09:41 PM »

does is work becus it's only a test and i wrote it in 5 mins to kill some time
CyberGenesis
Member
**
Offline Offline

Posts: 89


View Profile Email
« Reply #3 on: July 29, 2006, 07:15:44 PM »

i doubt it...theres no comparison between the current players IP and the accounts dbase of player IP's. You'd probably want to make an ini to store player IP's
daMoose_Neo
Member
**
Offline Offline

Posts: 84


View Profile Email
« Reply #4 on: July 29, 2006, 07:33:45 PM »

Plus, for the most part, if you have proper controls in place most players won't register multiple accounts.
PLUS, you have a situation like mine where you have 5 people sharing one IP address. Do that, and you screw with all of them.
Pages: [1]
  Print  
 
 

Powered by EzPortal
Powered by MySQL Powered by PHP Powered by SMF 2.0 Beta 4 | SMF © 2006–2008, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!
Page created in 0.328 seconds with 33 queries.