Author Topic: SDCH to PtokaX account converter  (Read 8409 times)

0 Members and 1 Guest are viewing this topic.

Offline kEwL

  • Member
  • ***
  • Posts: 27
  • Karma: +1/-0
SDCH to PtokaX account converter
« on: 14 July, 2005, 09:46:25 »
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

PtokaX forum

SDCH to PtokaX account converter
« on: 14 July, 2005, 09:46:25 »

Offline enigma

  • Member
  • ***
  • Posts: 44
  • Karma: +2/-0
Re: sdch to ptokax
« Reply #1 on: 09 April, 2006, 23:48:09 »
its a Microsoft Office Access Database file. do u want me to attach an example file ?

Offline bluebear

  • Double Ace
  • *
  • Posts: 116
  • Karma: +12/-0
  • Life is a bitch - And then you marry one!
Re: sdch to ptokax
« Reply #2 on: 10 April, 2006, 09:37:08 »
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]

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 730
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
Re: sdch to ptokax
« Reply #3 on: 10 April, 2006, 21:19:05 »
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.

Offline bluebear

  • Double Ace
  • *
  • Posts: 116
  • Karma: +12/-0
  • Life is a bitch - And then you marry one!
Re: sdch to ptokax
« Reply #4 on: 11 April, 2006, 09:36:17 »
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]

Offline bluebear

  • Double Ace
  • *
  • Posts: 116
  • Karma: +12/-0
  • Life is a bitch - And then you marry one!
Re: sdch to ptokax
« Reply #5 on: 11 April, 2006, 12:57:37 »
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]

Offline enigma

  • Member
  • ***
  • Posts: 44
  • Karma: +2/-0
Re: sdch to ptokax
« Reply #6 on: 11 April, 2006, 15:21:04 »
ok ty.
but what is address of ur site ?

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Emperor
  • **
  • Posts: 1 054
  • Karma: +112/-1
  • I am wherever i want to be
    • PtokaX Luaboard
Re: sdch to ptokax
« Reply #7 on: 11 April, 2006, 15:35:22 »
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Offline bluebear

  • Double Ace
  • *
  • Posts: 116
  • Karma: +12/-0
  • Life is a bitch - And then you marry one!
Re: sdch to ptokax
« Reply #8 on: 11 April, 2006, 17:57:36 »
This is how program output looks so far:
Code: [Select]
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:
Code: [Select]
<?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]

Offline bluebear

  • Double Ace
  • *
  • Posts: 116
  • Karma: +12/-0
  • Life is a bitch - And then you marry one!
sdch/ddch to ptokax accounts converter
« Reply #9 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 ;)
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]

Offline enigma

  • Member
  • ***
  • Posts: 44
  • Karma: +2/-0
Re: sdch to ptokax
« Reply #10 on: 11 April, 2006, 19:41:06 »
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 :)

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 730
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
Re: SDCH to PtokaX account converter
« Reply #11 on: 11 April, 2006, 20:07:18 »
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.

Offline modular

  • Junior Member
  • **
  • Posts: 18
  • Karma: +9/-5
Re: sdch/ddch to ptokax accounts converter
« Reply #12 on: 26 August, 2006, 12:41:52 »
hihi

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/
« Last Edit: 26 August, 2006, 12:44:54 by modular »

Offline speedX

  • Lord
  • ***
  • Posts: 437
  • Karma: +59/-19
Re: SDCH to PtokaX account converter
« Reply #13 on: 05 November, 2006, 18:15:21 »
Is it possible to convert ptokax users db to DDCH users db?? plzz
Thanking You,

speedX

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 730
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
Re: SDCH to PtokaX account converter
« Reply #14 on: 06 November, 2006, 00:29:12 »
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.

PtokaX forum

Re: SDCH to PtokaX account converter
« Reply #14 on: 06 November, 2006, 00:29:12 »