Strange But True......Regusers showing 15 Times Al2getha!
 

Strange But True......Regusers showing 15 Times Al2getha!

Started by Devastator, 01 April, 2004, 00:04:14

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Devastator

Ease up people!

i was hoping some1 could help me with this a hub that i am op in seems to be having a problem i dnt know if its an error in ptokax but users that have been regged are duplicated 14 times, al2getha equalin 15 tymes.

i was hoping sum1 could help write a script that would delete the 14 duplicates and jus keep 1 copy...i'm not sure if u understand so heres an example of the RegisteredUsers.dat file...

[FIN-1MB]JAY|*******|3
[FIN-1MB]JAY|*******|3
[FIN-1MB]JAY|*******|3
[FIN-1MB]JAY|*******|3
[FIN-1MB]JAY|*******|3
[FIN-1MB]JAY|*******|3
[FIN-1MB]JAY|*******|3
[FIN-1MB]JAY|*******|3
[FIN-1MB]JAY|*******|3
[FIN-1MB]JAY|*******|3
[FIN-1MB]JAY|*******|3
[FIN-1MB]JAY|*******|3
[FIN-1MB]JAY|*******|3
[FIN-1MB]JAY|*******|3
[FIN-1MB]JAY|*******|3
[FIN-1MB]JAY|*******|3
[Fr]Adjete|*******|3
[Fr]Adjete|*******|3
[Fr]Adjete|*******|3
[Fr]Adjete|*******|3
[Fr]Adjete|*******|3
[Fr]Adjete|*******|3
[Fr]Adjete|*******|3
[Fr]Adjete|*******|3
[Fr]Adjete|*******|3
[Fr]Adjete|*******|3
[Fr]Adjete|*******|3
[Fr]Adjete|*******|3
[Fr]Adjete|*******|3
[Fr]Adjete|*******|3
[Fr]Adjete|*******|3
[Fr]Adjete|*******|3
[GER]JazzMatazz@DSL|*******|3
[GER]JazzMatazz@DSL|*******|3
[GER]JazzMatazz@DSL|*******|3
[GER]JazzMatazz@DSL|*******|3
[GER]JazzMatazz@DSL|*******|3
[GER]JazzMatazz@DSL|*******|3
[GER]JazzMatazz@DSL|*******|3
[GER]JazzMatazz@DSL|*******|3
[GER]JazzMatazz@DSL|*******|3
[GER]JazzMatazz@DSL|*******|3
[GER]JazzMatazz@DSL|*******|3
[GER]JazzMatazz@DSL|*******|3
[GER]JazzMatazz@DSL|*******|3
[GER]JazzMatazz@DSL|*******|3
[GER]JazzMatazz@DSL|*******|3
[GER]JazzMatazz@DSL|*******|3

This is a very small example as abt 1000 user accounts have been times by 14 or 15 making abt 14000 accounts which are not needed.

The password i have blanked out 4 security reasons.

And i am hoping sum1 could write a script the could delete the 14 duplicates and just keep 1 account per person cos i dnt goin thru 14000 accounts n deletein them manually...LOL

thanx 4 ya help am sure oNe of u guys will help cos u always do and thats da top thing abt u =).

Devastator
(? ?.??.->PLOP DEFINATELY 4 MOD!!!<-.??.???)


NotRabidWombat

Post the script you use to register the users.

-NotRabidWombat


I like childish behavior. Maybe this post will be deleted next.

Devastator

its just the normal Robcop 6.0d command which is...

!reguser nick password

hope that helps! cos i dunno where 2 find the exact thing....

n thanx 4 the quick reply!

Devastator
(? ?.??.->PLOP DEFINATELY 4 MOD!!!<-.??.???)


pHaTTy

QuoteOriginally posted by Devastator
its just the normal Robcop 6.0d command which is...

!reguser nick password

hope that helps! cos i dunno where 2 find the exact thing....

n thanx 4 the quick reply!

Devastator

uve recently had a crash, a flood, try a fresh px, and clear the multi regs
Resistance is futile!

Devastator

ez,

ok thanx 4 that.......i exteremly appreciate it.......but how do u want me 2 delete the multi regs....manually cos thats like 14000 users 2 delete manually and we cnt afford 2 delete them becos we will need 2 re reg abt 1000 users all over...

if u mean delete multi reg in anotha plz xplain cos i dnt have a cloo  :rolleyes:  

thanx a gr8 deal 4 the replies

ur extremely helpful

Devastator
(? ?.??.->PLOP DEFINATELY 4 MOD!!!<-.??.???)


NotRabidWombat

#5
Assuming that phatty is correct and your PtokaX is toast, you do not want a script through PtokaX to perform the duplicate removal.

This is why more people should use *nix. We're going to steal one of their commands called uniq.

Go here:
http://david.tribble.com/programs.html
Download uniq.exe
Or go here:
http://unxutils.sourceforge.net/
And get a whole package of usefull Unix utilities along with uniq.

Put uniq.exe in your PtokaX folder.

Windows XP/2000
Start -> Run -> cmd
Windows ME, 98, 95
Start -> Run -> command

Type: cd "Your PtokaX directory"

example: "C:\Program Files\PtokaX\"

Type: uniq RegUserDB temp.txt

Replace RegUserDB with the name of the registered user file. I don't remember the exact name of the file.

Open temp.txt and check it out. Now just rename this file for your new PtokaX install.

However, I do have a sneaking suspicion that PtokaX did not change during a crash. It very likely is the script messing up. You could look into that if this method fails.

-NotRabidWombat


I like childish behavior. Maybe this post will be deleted next.

NotRabidWombat

#6
You may also want to try.

uniq -u RegUserDB

This will show all lines that are NOT repeated in sequence. May reveal a line that is causing a problem in the file.

For more commands:
uniq --help

-NotRabidWombat


I like childish behavior. Maybe this post will be deleted next.

plop

QuoteOriginally posted by NotRabidWombat
Assuming that phatty is correct and your PtokaX is toast, you do not want a script through PtokaX to perform the duplicate removal.

This is why more people should use *nix. We're going to steal one of their commands called uniq.

Go here:
http://david.tribble.com/programs.html
Download uniq.exe
Or go here:
http://unxutils.sourceforge.net/
And get a whole package of usefull Unix utilities along with uniq.

-NotRabidWombat
cool links, i would have made a script 2 do it (not on ptokax). lol

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

[NL]trucker

Devastator


you could also open your reguser.dat file in note pad and then remove the duplicate names.

but be sure to do it on a copy  .

then if you have removed all the doublles STOP ptotax and replace the old reguser .dat with the one you have edited.

but make sure pkotax is,nt running when replacing the file otherwise it will not work.
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


kp

i would like to know, if your muliplt users also show in the regged, userlist of ptokax or in the tba GetReggedUsers(profile) ( I think it is), or only in the reggeduseres.dat file?

If show also in the regged useres list or in the regged profile, then I would say something needs to be changed in ptokax.
Same with banning IPs one can ban the same IP millions of times, really usefull, lol.

SMF spam blocked by CleanTalk