i am running a hub on sdch but i wish to convert it to ptokax.is there a way to take my sdch users to ptokax
its a Microsoft Office Access Database file. do u want me to attach an example file ?
A access database can not be accessed from Lua under Ptokax. You would need to do this from a language like VB, .NET, C/C++, Pascal or simular.
I am currently browsing it with Access, damnit, this software blows! :-X
Quote from: bastya_elvtars on 10 April, 2006, 21:19:05
I am currently browsing it with Access, damnit, this software blows!? :-X
I checked the DB out yesterday.. It's very ametuerish the db.. user/pass in 1 table, user/class in another and so on.
However, it would not be any challenge to convert this to PtokaX or ynhub accounts.. You could even do it with a VBA script in access itself.
Anyways, im bored.. So im making this converter now ;)
Written in C++ and will be released under the GNU/GPL license.
I'll guess it will be on my site later today ;)
ok ty.
but what is address of ur site ?
Quote from: enigma on 11 April, 2006, 15:21:04
ok ty.
but what is address of ur site ?
http://thewildplace.dk/
This is how program output looks so far:
Welcome to the sdch/ddch account converter.
(C) Copyright 2006 Morten Larsen, bluebear dot dk at gmail dot com
This is free software licensed under the GNU/GPL License
WARNING: If you have an existing ptokax account file in same directory as this p
rogram it WILL be overwritten.
Proceed [type 'no' to abort now, 'yes' to continue] ? yes
Connecting to the Access database containing the reglist... Connected!
Fetching nicknames from DB...
Fetching passwords and classes from DB...
6 User found in DB...
Fetching all classes registered in DB...
12 Classes found in DB...
Done: Reading the sdch database.
Now you need to configure the matching PtokaX profiles. This program will now lo
op through the the classes from sdch and ask you to specify the desired PtokaX p
rofilename number for each of them.
SDCH Name: Unknown Class: 0
Enter ptokax profile number: 3
SDCH Name: Regular Class: 1
Enter ptokax profile number: 3
SDCH Name: Mentored Class: 2
Enter ptokax profile number: 3
SDCH Name: Registered Class: 3
Enter ptokax profile number: 3
SDCH Name: Invisible Class: 4
Enter ptokax profile number: 3
SDCH Name: VIP Class: 5
Enter ptokax profile number: 2
SDCH Name: Op Class: 6
Enter ptokax profile number: 1
SDCH Name: Invisible Op Class: 7
Enter ptokax profile number: 1
SDCH Name: Super Op Class: 8
Enter ptokax profile number: 1
SDCH Name: Invisible Super Op Class: 9
Enter ptokax profile number: 1
SDCH Name: Admin Class: 10
Enter ptokax profile number: 0
SDCH Name: Invisible Admin Class: 11
Enter ptokax profile number: 0
PtokaX accounts are saved as RegisteredUsers.xml
Tryk p? en vilk?rlig tast for at forts?tte . . . // Windows saying press any key to continue
And the accounts file:
<?xml version="1.0" encoding="windows-1252" standalone="yes" ?>
<RegisteredUsers>
<RegisteredUser>
<Nick>test1</Nick>
<Password>pass1</Password>
<Profile>2</Profile>
</RegisteredUser>
<RegisteredUser>
<Nick>test2</Nick>
<Password>pass2</Password>
<Profile>0</Profile>
</RegisteredUser>
<RegisteredUser>
<Nick>test3</Nick>
<Password>pass3</Password>
<Profile>3</Profile>
</RegisteredUser>
<RegisteredUser>
<Nick>test4</Nick>
<Password>pass4</Password>
<Profile>3</Profile>
</RegisteredUser>
<RegisteredUser>
<Nick>test5</Nick>
<Password>pass5</Password>
<Profile>3</Profile>
</RegisteredUser>
<RegisteredUser>
<Nick>test6</Nick>
<Password>pass6</Password>
<Profile>3</Profile>
</RegisteredUser>
</RegisteredUsers>
I just need to create the readme file and such, then it will be on my page :)
Get it here: http://thewildplace.dk/#sdch
now go tell all those sdch/ddch hub owners that now they can change to px ;)
hmm will try it tx
Posted on: 11 April 2006, 19:48:27
yeah tx very much this converter works, i converted my 1000 users :)
Createda forum called 'Lua tools'. Let this be the first topic. :-)
hihi
Quote from: bluebear on 11 April, 2006, 18:37:56
Get it here: http://thewildplace.dk/#sdch
now go tell all those sdch/ddch hub owners that now they can change to px ;)
hums to the melody of.. " go tell it on the mountain... "
and praises bluebear
i think you wil find the utility on:
http://pxextension.piratez.dk/
Is it possible to convert ptokax users db to DDCH users db?? plzz
Quote from: speedX on 05 November, 2006, 18:15:21
Is it possible to convert ptokax users db to DDCH users db?? plzz
Ask on the DDCH support forum.