Eclipse
January 05, 2009, 08:29:18 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 +-
Disparity Recruiting by Peter
Today at 08:28:49 PM

Makai Realms by kira423
Today at 08:28:10 PM

[$$] Paying Paypal - GFX artists [$$] by Devogen
Today at 08:27:57 PM

THE Cult by The Tribal
Today at 08:27:46 PM

Server Status by westin444
Today at 08:27:23 PM

Dreadlord Online v1.2 Beta - Need Moderators and Trustworthy Mappers! by thingyguy
Today at 08:26:47 PM

SnowCap by The Tribal
Today at 08:25:35 PM

The New Eclipse Raid on Runscape by Devogen
Today at 08:24:52 PM

Request SVN/GIT by The Tribal
Today at 08:20:31 PM

Sig please :) by Kreator
Today at 08:16:38 PM

Members Online +-
16 Guests, 18 Users
Peter,
‪‫‬‭‮‪‫‬‭The Admiral,
The Tribal,
Kreator,
kira423,
Amperglyph,
Devogen,
westin444,
l0lz!,
thingyguy,
Ninja-Tech,
Baron,
skevsama,
Airscar,
Ambard,
grenegg1,
The Roujo,
The BanHammer! [Thor!]
Pages: [1]
  Print  
Author Topic: Login Counter  (Read 1588 times)
0 Members and 1 Guest are viewing this topic.
Bobosk
Veteran
Advanced Eclipser
*
Offline Offline

Posts: 1,110


View Profile Email
« on: August 24, 2006, 12:57:06 AM »



Right well i posted this in the other forum and guess what, it went under!! so here goes...

Place all of this after the last "End If" in the joingame sub

Code: [Select]
If GetVar("\Scripts\People\" & GetPlayerName(index) & ".ini", "Login Info", "Times Logged") >= 1 Then
Call PutVar("\Scripts\People\" & GetPlayerName(index) & ".ini", "Login Info", "Times Logged", GetVar("\Scripts\People\" & GetPlayerName(index) & ".ini", "Login Info", "Times Logged") + 1)
End If
If GetPlayerLevel(index) = 1 Then
If GetPlayerEXP(index) = 0 Then
Call PutVar("\Scripts\People\" & GetPlayerName(index) & ".ini", "Login Info", "Times Logged", 1)
Call SetPlayerEXP(index, 1)
End If
End If
Call PlayerMsg(index, GetPlayerName(index) & ", you have logged onto this character a total of " & GetVar("\Scripts\People\" & GetPlayerName(index) & ".ini", "Login Info", "Times Logged") & " times.", 12)

Well there you go, just edit the "\Scripts\People\" to whatever folder you want it to go into, Be advised the script will not work if the folder does not exist
Umbra and Sirken
Guest


Email
« Reply #1 on: September 02, 2006, 09:49:46 PM »

i dont get how this wil show you how many people are online
(or how i see that)
Brutal - Zeldo
Ex-Eclipse Programmer
Global Moderator
Active Member
*
Offline Offline

Posts: 324

Pie


View Profile Email
« Reply #2 on: September 02, 2006, 09:58:01 PM »

When u login it tells u how many time u have logged on with that char ect...
Umbra and Sirken
Guest


Email
« Reply #3 on: September 02, 2006, 10:17:04 PM »

When u login it tells u how many time u have logged on with that char ect...
oh i thought it said how many players are loged on
is there a script like that?
Brutal - Zeldo
Ex-Eclipse Programmer
Global Moderator
Active Member
*
Offline Offline

Posts: 324

Pie


View Profile Email
« Reply #4 on: September 02, 2006, 10:25:32 PM »

Nope but its on the mainmenu (should be idk if unnown put it in yet)
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 1.709 seconds with 32 queries.