SDCH to PtokaX account converter
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

SDCH to PtokaX account converter

Started by kEwL, 14 July, 2005, 09:46:25

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kEwL

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

enigma

its a Microsoft Office Access Database file. do u want me to attach an example file ?

bluebear

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.
Sincerely,
bluebear
--
http://www.thewildplace.dk/ is is closed - Use the following mirrors instead
http://bluebear.psycho-chihuahua.net
http://pxextension.piratez.dk/
[Lua extensions - Chat stats - YnHub PMSpy - DC Source code - and more]

bastya_elvtars

I am currently browsing it with Access, damnit, this software blows!  :-X
Everything could have been anything else and it would have just as much meaning.

bluebear

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.
Sincerely,
bluebear
--
http://www.thewildplace.dk/ is is closed - Use the following mirrors instead
http://bluebear.psycho-chihuahua.net
http://pxextension.piratez.dk/
[Lua extensions - Chat stats - YnHub PMSpy - DC Source code - and more]

bluebear

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 ;)
Sincerely,
bluebear
--
http://www.thewildplace.dk/ is is closed - Use the following mirrors instead
http://bluebear.psycho-chihuahua.net
http://pxextension.piratez.dk/
[Lua extensions - Chat stats - YnHub PMSpy - DC Source code - and more]

enigma

ok ty.
but what is address of ur site ?

Psycho_Chihuahua

PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

bluebear

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 :)
Sincerely,
bluebear
--
http://www.thewildplace.dk/ is is closed - Use the following mirrors instead
http://bluebear.psycho-chihuahua.net
http://pxextension.piratez.dk/
[Lua extensions - Chat stats - YnHub PMSpy - DC Source code - and more]

bluebear

Get it here: http://thewildplace.dk/#sdch

now go tell all those sdch/ddch hub owners that now they can change to px ;)
Sincerely,
bluebear
--
http://www.thewildplace.dk/ is is closed - Use the following mirrors instead
http://bluebear.psycho-chihuahua.net
http://pxextension.piratez.dk/
[Lua extensions - Chat stats - YnHub PMSpy - DC Source code - and more]

enigma

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 :)

bastya_elvtars

Createda forum called 'Lua tools'. Let this be the first topic. :-)
Everything could have been anything else and it would have just as much meaning.

modular

#12
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/

speedX

Is it possible to convert ptokax users db to DDCH users db?? plzz
Thanking You,

speedX

bastya_elvtars

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.
Everything could have been anything else and it would have just as much meaning.

SMF spam blocked by CleanTalk