Raised This Month: $ Target: $400
 0% 

Vault to MYSQL conversion source.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bluechester
AlliedModders Donor
Join Date: Nov 2008
Old 04-24-2010 , 22:52   Vault to MYSQL conversion source.
Reply With Quote #1

Is there a source code available for the vault to MYSQL conversion?

Example:

http://war3ft.com/vault.php
bluechester is offline
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 04-25-2010 , 01:37   Re: Vault to MYSQL conversion source.
Reply With Quote #2

That example will work only for war3ft.
If you want conversion from vault to mysql for any other plugin then you will have to code it yourself or ask plugin author to do that.
__________________
Impossible is Nothing
Sylwester is offline
xtinct
Senior Member
Join Date: Jan 2010
Location: http://tekxtinct.ning.co
Old 04-26-2010 , 06:28   Re: Vault to MYSQL conversion source.
Reply With Quote #3

Quote:
Originally Posted by Sylwester View Post
code it yourself or ask plugin author to do that.
That's what he's asking. Can you link to any such tutorial.
__________________
Sorry If I Hurt! Orpheu

1 crab has been found and delivered my me.
xtinct is offline
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 04-26-2010 , 06:55   Re: Vault to MYSQL conversion source.
Reply With Quote #4

I don't know any tutorial about that, but as long as you have plugin code, it's easy to implement vault to mysql conversion (read vault file line by line and insert them into mysql table).

Web converter is another thing. I don't have experience with that, but if you can get source code of converter from war3ft.com, then it shouldn't be hard to modify it to work fine for any other plugin.
__________________
Impossible is Nothing
Sylwester is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-26-2010 , 11:18   Re: Vault to MYSQL conversion source.
Reply With Quote #5

Quote:
Originally Posted by Sylwester View Post
Web converter is another thing. I don't have experience with that, but if you can get source code of converter from war3ft.com, then it shouldn't be hard to modify it to work fine for any other plugin.
If I could remember the login details, I would be able to get it. But like you said, it is just reading the vault line by line and building the appropriate SQL queries.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode