|
||
|
|||||||
| Custom Script Releases This forum is where you can release your custom scripts for other users to use. Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#26 (permalink) |
|
Forum Expert
|
umm which is the file that a user starts to request an account?? i have tested the RequestAccount.php and it goes straight to this...
Code:
:: Logged IP: xxx.xxx.xxx.xxx :: The email has been sent with the information to activate your account! Please take the time to read it all carefuly! Remember to check your Junk-Mail folder too! >>>Close Window<<< i haven't entered anything yet so i dunno what's going on ![]() |
|
|
|
|
|
#27 (permalink) |
|
Forum Expert
|
Code:
02/09-13:20 System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Drive r Manager] Data source name not found and no default driver specified at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode r etcode) at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, Odb cConnectionString constr, OdbcEnvironmentHandle environmentHandle) at System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOption s options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection own ingObject) at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbC onnection owningConnection, DbConnectionPoolGroup poolGroup) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection ow ningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection ou terConnection, DbConnectionFactory connectionFactory) at System.Data.Odbc.OdbcConnection.Open() at Server.Accounting.WebAccounting.CreateAccounts() in d:\RunUO Server 2.0\Sc ripts\Custom\New Scripts\Systems\Web Accounting BETA\WebAccounting.cs:line 60 02/09-13:20 Done: (Error) 02/09-13:20 System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Drive r Manager] Data source name not found and no default driver specified at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode r etcode) at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, Odb cConnectionString constr, OdbcEnvironmentHandle environmentHandle) at System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOption s options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection own ingObject) at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbC onnection owningConnection, DbConnectionPoolGroup poolGroup) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection ow ningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection ou terConnection, DbConnectionFactory connectionFactory) at System.Data.Odbc.OdbcConnection.Open() at Server.Accounting.WebAccounting.SynchronizeDatabase() in d:\RunUO Server 2 .0\Scripts\Custom\New Scripts\Systems\Web Accounting BETA\WebAccounting.cs:line 118 ![]() |
|
|
|
|
|
#28 (permalink) |
|
Forum Novice
Join Date: Jun 2006
Posts: 145
|
Pyro, I wish i could help you but I've tried to get this script working without luck. I've asked the person who wrote it for his input and nothing so far
So I decide to make my own. . I am about 50% done, I hope I can get it out and publish soon just hand tight. ![]() |
|
|
|
|
|
#29 (permalink) | |
|
Forum Expert
|
Quote:
this is only working like 75% for me right now |
|
|
|
|
|
|
#30 (permalink) |
|
Forum Novice
Join Date: Jun 2006
Posts: 145
|
yea I got part of it working too the problem was that it was not inserting data into mysql and I kept getting an error with functions not been define. To the point that I got the hang of it so I deside it would be a cool experience to do my own
|
|
|
|
|
|
#32 (permalink) |
|
Forum Expert
|
Ok now that i got this working, i was wondering how to make it read my CMS table to get usernames...that way a person creates their account when they register on the site....
I figure where it says things such as username password, just change to the appropriate field on the table, but one of the things that kinda has me wondering is the e-mail....do we still need it since the CMS program will take care of the user confirmation?? and if i needed to mass e-mail players, i could do it within the CMS? since i would have their e-mails on hand within that or just PM them. but if we still need it, will it update if a user were to change their e-mail after creating an account? i am just wondering if this idea would work and if so, do i need to only change stuff in the webaccounting.cs since i wouldn't be using the php files anymore? thank you |
|
|
|
|
|
#33 (permalink) |
|
Forum Expert
|
I'm glad to see that this script has been useful to everyone
![]() To answer a few questions: This system can be used along side any other account creation method :P The errors posted by Pyro-Tech simply mean that either the ODBC driver is not installed on both machines (gamehost/webserver) OR that the wrong information has been been supplied in the config files in the scripts... Also, make sure that the web host actually allows remote connections. This system requires ODBC Driver 5.13... This system SHOULD work with MySQL 4.1 and higher... Good luck with any other problems, i should be getting the internet in within 30 days of this post and will look forward to my return ![]()
__________________
![]() RPK.VORSPIRE.COM - The WoW-UO Cross-Over Shard |
|
|
|
|
|
#34 (permalink) |
|
Forum Expert
|
yeah my error was mainly in part that i didn't have the ODBC driver on my computer...i downloaded it, but forgot to install
![]() also, the script and the table info was conflicting...but that wasn't hard to fix or anything EDIT: glad to see you back vorpshire |
|
|
|
|
|
#38 (permalink) | |
|
Forum Newbie
Join Date: Nov 2006
Posts: 11
|
Hi!
I have a little problem... When I request an ancount (on the requestaccount.php page) and I click request account an 404 error found... My $WebURL is good but I can't request an account... :S All my files are in the same folder and $WebURL is url of the folder of my files. PS: Thanx and sorry for my bad english(I'm a French-Canadian )Quote:
|
|
|
|
|
|
|
#40 (permalink) | |
|
Forum Novice
|
Quote:
__________________
OrBSydia DevNetwork |
|
|
|
|
|
|
#41 (permalink) |
|
Newbie
|
I got the php working.
Had to modify the php like crazy. Available to view at http://www.factiongaming.biz/ under the "Account Management" and "New Players" links it sends emails and you can verify all the links register globals is off attached are the working php files Last edited by tagno25; 11-30-2006 at 03:05 AM. |
|
|
|
|
|
#43 (permalink) | |
|
Newbie
|
first i had to cgange the & to ? like in RequestAccount.php&p=2
second I had to have all the php files retreie the variables first via $_GET and $_POST then in all the files i had to move include("WAConfig.php"); below the variables then I had to pass all the varables used in the emails to the function I had to add the following to WAConfig.php Quote:
it works w/o register globals being on look at the file I atached above for all the php files Last edited by tagno25; 11-30-2006 at 12:11 PM. |
|
|
|
|
|
|
#44 (permalink) |
|
Forum Novice
|
thanks for the update
![]()
__________________
OrBSydia DevNetwork |
|
|
|
|
|
#45 (permalink) | |
|
Forum Expert
|
EDIT: NVM.
But I cant get this to work with my host get the error below:Quote:
__________________
Everytime a puppy gets hit by a car from me smoking I take another drag, point, and laugh. Last edited by Nott32; 01-07-2007 at 07:52 PM. |
|
|
|
|
|
|
#47 (permalink) |
|
Newbie
Join Date: Oct 2006
Location: Turkey
Posts: 94
|
i tried this but i have a problem and don't understand
my internet explorer shows this Code:
Notice: Undefined variable: e in /www/freehostinn.com/m/i/l/milvaen/htdocs/WAConfig.php on line 12 Notice: Undefined variable: a in /www/freehostinn.com/m/i/l/milvaen/htdocs/WAConfig.php on line 12 Notice: Undefined variable: IP in /www/freehostinn.com/m/i/l/milvaen/htdocs/WAConfig.php on line 12 Notice: Undefined variable: a in /www/freehostinn.com/m/i/l/milvaen/htdocs/WAConfig.php on line 19 Notice: Undefined variable: crypt_email in /www/freehostinn.com/m/i/l/milvaen/htdocs/WAConfig.php on line 19 Notice: Undefined variable: a in /www/freehostinn.com/m/i/l/milvaen/htdocs/WAConfig.php on line 19 Notice: Undefined variable: e in /www/freehostinn.com/m/i/l/milvaen/htdocs/WAConfig.php on line 19 Notice: Undefined variable: crypt_query in /www/freehostinn.com/m/i/l/milvaen/htdocs/WAConfig.php on line 26 Notice: Undefined variable: query in /www/freehostinn.com/m/i/l/milvaen/htdocs/WAConfig.php on line 26 Notice: Undefined variable: a in /www/freehostinn.com/m/i/l/milvaen/htdocs/WAConfig.php on line 33 Notice: Undefined variable: crypt_email in /www/freehostinn.com/m/i/l/milvaen/htdocs/WAConfig.php on line 33 Notice: Undefined variable: a in /www/freehostinn.com/m/i/l/milvaen/htdocs/WAConfig.php on line 33 Notice: Undefined variable: e in /www/freehostinn.com/m/i/l/milvaen/htdocs/WAConfig.php on line 33 Notice: Undefined variable: REMOTE_ADDR in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 4 :: Logged IP: :: Notice: Undefined variable: p in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 8 Notice: Undefined variable: qemail in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 14 Notice: Undefined variable: qemail2 in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 14 Notice: Undefined variable: accname in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 21 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 23 Notice: Undefined variable: email in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 30 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 32 Notice: Undefined variable: email in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 39 Notice: Undefined variable: accname in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 39 Notice: Undefined variable: REMOTE_ADDR in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 39 Notice: Undefined variable: EmailSubject1 in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 45 Notice: Undefined variable: EmailMessage1 in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 45 Notice: Undefined variable: AdminEmailAddress in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 45 Notice: Undefined variable: AdminEmailAddress in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 47 Notice: Undefined variable: EmailSubjectAdmin in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 47 Notice: Undefined variable: EmailMessageAdmin in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 47 Notice: Undefined variable: AdminEmailAddress in /www/freehostinn.com/m/i/l/milvaen/htdocs/RequestAccount.php on line 47 The email has been sent with the information to activate your account! Please take the time to read it all carefuly! Remember to check your Junk-Mail folder too! |
|
|
|