Eclipse
January 05, 2009, 06:11: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 +-
Post Your Desktop. by Gwendalin
Today at 06:11:56 PM

New DezireSoft forums by The BanHammer! [Thor!]
Today at 06:05:55 PM

Showoff :P by The BanHammer! [Thor!]
Today at 06:03:25 PM

MOVED: Stat Command by ‪‫‬‭‮‪‫‬‭Admiral Refuge
Today at 06:02:43 PM

STOP COMPARING EVERYTHING TO RUNESCAPE by The MrMiguu™ [pizza pretzles]
Today at 06:02:16 PM

Key by The MrMiguu™ [pizza pretzles]
Today at 06:01:11 PM

Free movies? by ‪‫‬‭‮‪‫‬‭Admiral Refuge
Today at 06:00:29 PM

Gwen VS Adulese by Gwendalin
Today at 05:59:13 PM

New sprites for Lostica?! by The MrMiguu™ [pizza pretzles]
Today at 05:57:47 PM

The New Eclipse Raid on Runscape by ‪‫‬‭‮‪‫‬‭Admiral Refuge
Today at 05:57:30 PM

Members Online +-
16 Guests, 19 Users
Almighty Wing,
Gwendalin,
Hikaru,
kdjrgej,
Peter,
‪‫‬‭‮‪‫‬‭Admiral Refuge,
The BanHammer! [Thor!],
newman,
The Troy,
Leaf [zach],
THE Tim,
Jax The Mighty,
SarrowTave,
Ninja-Tech,
The MrMiguu™ [pizza pretzles],
Electrokinesis,
Maxac,
Echo ♥ Pie,
Zuleloan
Pages: [1]
  Print  
Author Topic: Multi-Client Defence (Difficulty: 0/5)  (Read 1964 times)
0 Members and 1 Guest are viewing this topic.
Heytherejake
Eclipse Evolution Dev
Active Member
***
Offline Offline

Posts: 426

Currently working on C++ 3D


View Profile WWW Email
« on: February 22, 2007, 06:08:26 PM »

:te:
You know how you can log into multiple accounts on the same computer by opening different clients simultaneously? In my past experience, it lead to much hacking, and denying "I couldn't have hacked, I was online, and you know the hacker's user name was [insert user name here]." So, this script disallows two users with the same IP address to log on at the same timer

Warning: This will also disable familys with multiple computers to have siblings log on simultaneously also, so use at your own risk!

Add under sub JoinGame:
Code: [Select]
dim maxplayers
maxplayers = GetVar("data.ini", "MAX", "MAX_PLAYERS)
Dim playerip
playerip = GetPlayerIP(index)
Dim i
i = 0
Do While i < maxplayers
dim checkip
checkip = GetPlayerIP(i)
If checkip = playerip Then
Call HackingAttempt(index, "Multi-Client Logging")
i = maxplayers + 1
end if
i = i + 1
loop
That'll work, and keep multi-client loggers at bay!

Enojy :)
Pickle
REBEL SCUM
Veteran
Advanced Eclipser
*
Offline Offline

Posts: 1,765


So, a baby seal walks into a club...


View Profile Email
« Reply #1 on: February 22, 2007, 06:21:17 PM »

Shouldn't block multiple computers, seeing as each has a unique IP address. Looks pretty ace  ^-^
Heytherejake
Eclipse Evolution Dev
Active Member
***
Offline Offline

Posts: 426

Currently working on C++ 3D


View Profile WWW Email
« Reply #2 on: February 22, 2007, 06:26:52 PM »

Uhh, getPlayerIp checks for external IP address, which is defined by router
Soljah
The Mapper
Global Moderator
Teh Uberleet
*
Offline Offline

Posts: 3,242

Check my Mapping Tut's out!


View Profile WWW Email
« Reply #3 on: February 22, 2007, 09:20:10 PM »

Could you somehow make it like pickle said, so different computers can log on, but not the same computer.
Ne0n
๑RBO Developer๑
Developer
Active Member
*
Offline Offline

Posts: 308



View Profile WWW Email
« Reply #4 on: February 22, 2007, 10:36:40 PM »

Cool, Just what i needed lol.. Good job
Soljah:
Quote
Could you somehow make it like pickle said, so different computers can log on, but not the same computer.

That ain't possible.
Godlord
Stephanus sum
Veteran
Teh Uberleet
*
Offline Offline

Posts: 4,109


View Profile WWW Email
« Reply #5 on: February 24, 2007, 10:53:40 AM »

I never saw GetPlayerIP(index) O.o Each network has it's own IP each computer connected to that network will have the same IP so it is possible to set a limit to have 3 accounts max online but each not 2 characters of an account.
Soljah
The Mapper
Global Moderator
Teh Uberleet
*
Offline Offline

Posts: 3,242

Check my Mapping Tut's out!


View Profile WWW Email
« Reply #6 on: February 24, 2007, 03:43:38 PM »

yeah that would be good.
Chris!
Advanced Member
****
Offline Offline

Posts: 783


Reign Of Veram Developer


View Profile Email
« Reply #7 on: March 24, 2007, 10:53:52 AM »

There is a way i've done it before i just cant remember where i got the script
Rogue
Veteran
Advanced Member
*
Offline Offline

Posts: 670


GARBLE GARBLE


View Profile WWW Email
« Reply #8 on: March 28, 2007, 12:56:06 PM »

unless your running AOL then you will have 4 different IP addresses at the same time
-¦|Ferdinand|¦-
Miniscape GM
Member
**
Offline Offline

Posts: 98


Miniscape Admin


View Profile WWW Email
« Reply #9 on: April 03, 2007, 06:17:24 AM »

When you're using Hamachi, does this works too and doesn't this block family's with multiple computers?
Uarepo2
Newb
*
Offline Offline

Posts: 7


View Profile Email
« Reply #10 on: April 03, 2007, 08:12:59 AM »

Hmm did u read it ? lol

Quote :
"Warning: This will also disable familys with multiple computers to have siblings log on simultaneously also, so use at your own risk!"
-¦|Ferdinand|¦-
Miniscape GM
Member
**
Offline Offline

Posts: 98


Miniscape Admin


View Profile WWW Email
« Reply #11 on: April 03, 2007, 11:00:16 AM »

But i don't know if it's the when you're using Hamachi (maybe he takes another IP?). That is my question actually.
mattloto
Newb
*
Offline Offline

Posts: 4


View Profile Email
« Reply #12 on: January 04, 2009, 12:57:00 PM »

i know how to make it so that you cant open it twice on the same computer but how u can on a different one.  The script would need to be on the client side, which could easily be hacked if the hacker knows what to look for.  What would happen is that on the userlogin sub, put a block of code to check if a file exists.  if not, then the program creates the file.  On the logout command, the file is deleted.  The file only exists while the person is logged on, so you cant log on more than once since  eclipse would see that the file exists and not let the user log on.  If u really want to stop it, then get the source code and put that script in the program itself and it can't be hacked.
Sigait
Advanced Scripter
Member
**
Offline Offline

Posts: 84


Hail Sigait,the prince of light!!!


View Profile Email
« Reply #13 on: Today at 07:34:47 AM »

nice idea!!


Sigait
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.369 seconds with 33 queries.