|
||
|
|||||||
| 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 |
|
|
#27 (permalink) | |
|
Newbie
Join Date: Dec 2005
Posts: 10
|
This really is great, thank you so much for posting it.
A quick info regarding this, as I am not familiar with ODBC: Quote:
Thank you again ![]() |
|
|
|
|
|
|
#28 (permalink) | ||
|
Lurker
Join Date: Jun 2006
Posts: 6
|
Maybe it's because I'm such a noob, but I can't seem to install the webaccount-files. This is the error I get:
Quote:
Also, when I ran the install file the first time it created both the database and the table, but if I run it again I get this error: Quote:
|
||
|
|
|
|
|
#29 (permalink) | ||
|
Forum Expert
|
Quote:
Quote:
__________________
![]() WWW.RPK-UO.COM - The WoW-UO Cross-Over Shard |
||
|
|
|
|
|
#30 (permalink) | |
|
Forum Expert
|
Quote:
![]()
__________________
![]() WWW.RPK-UO.COM - The WoW-UO Cross-Over Shard |
|
|
|
|
|
|
#31 (permalink) |
|
Lurker
Join Date: Jun 2006
Posts: 6
|
Well, that message always displays on the top. And if I try to click Request Account, Lost Password or Change E-mail adress I get the message: Please run Install.php: Install.php
Which means I can't do anything really. Oh and I tried removing the database and try again, same thing. I click on install, the error shows up. I click any links, the error shows up plus it says "Please run Install.php" |
|
|
|
|
|
#35 (permalink) |
|
Lurker
Join Date: Jun 2006
Posts: 6
|
Well, I installed Wampserver to make it easy for me. But I searched for "define(" and found that my SQLite manager defines stuff, and that seems to work ok. Any other way I can check if my PHP install supports Definitions? I tried to find out how to activate it but with no luck.
|
|
|
|
|
|
#37 (permalink) |
|
Forum Expert
|
It's a shame you are getting this error, the php seems to work fine for me though.
Make sure your mySQL user has correct privs for editing the database though... You may need to manuaally setup the database/tables though, i cannot really provide any more support on the issue. For further help/info, please post your problem in a support forum, thank you ![]()
__________________
![]() WWW.RPK-UO.COM - The WoW-UO Cross-Over Shard |
|
|
|
|
|
#39 (permalink) |
|
Forum Novice
|
Hello!
I installed this system and now im stuck with a few problems ![]() Everything else is working fine now. I have these weird PHP errors... Code:
Warning: mysql_fetch_array() [function.mysql-fetch-array]: The result type should be either MYSQL_NUM, MYSQL_ASSOC or MYSQL_BOTH. ALSO! I run SVN 299 here and it seems that your account.cs is a bit old. So i updated it for anyone who needs this. Basically if you get errors with the account.cs thats included, use this one: Last edited by Tumeski; 06-27-2008 at 11:20 AM. |
|
|
|
|
|
#41 (permalink) |
|
Account Terminated
Join Date: Jul 2006
Age: 29
Posts: 240
|
Warning: mysql_fetch_array() [function.mysql-fetch-array]: The result type should be either MYSQL_NUM, MYSQL_ASSOC or MYSQL_BOTH. in \webaccounting\Internal\WAConfig.php on line 225
Code:
for($foo = 0; $row = mysql_fetch_array($Result,$database); $foo /// line 225 though I am still having issues with it locating the web_accounts table. Code:
Table 'web_accounts' Not found! - I Will Create It... I have failed to create the Table 'web_accounts'... Table 'web_accounts' already exists |
|
|
|
|
|
#43 (permalink) |
|
Account Terminated
Join Date: Jul 2006
Age: 29
Posts: 240
|
works great.. still had to remove that small section from line 225.. also the part where you have..
//Admin E-Mail Address // define("ADMIN_EMAIL_ADDR", "admin@zrockonline.net"); //Admin E-Mail Address Name // define("ADMIN_EMAIL_NAME", ""); if you put anything in the admin email name it fubars my smtp becuase it adds it onto the email address for some reason. |
|
|
|
|
|
#45 (permalink) |
|
Forum Expert
|
php mail() function uses this format:
Code:
ADMIN_EMAIL_ADDR - ADMIN_EMAIL_NAME ![]()
__________________
![]() WWW.RPK-UO.COM - The WoW-UO Cross-Over Shard |
|
|
|
|
|
#46 (permalink) | |
|
Account Terminated
Join Date: Jul 2006
Age: 29
Posts: 240
|
Quote:
|
|
|
|
|
|
|
#47 (permalink) |
|
Forum Expert
Join Date: Jan 2004
Location: UK, Essex
Age: 19
Posts: 1,166
|
First of all awesome system dude, will make my life so much easier :P.
Just one question though, is it possible to make the accounts synchronize at regular intervals that aren't world saves? I have my world saves 4 hours apart but I'd like to synchronize the accounts every 10 mins or so, is there a way to do this or does it rely on the save function? Thanks ,EDIT: Hmm, it doesn't seem to be importing the accounts in from UO properly. Any ideas?
__________________
It is not the hand that creates worlds, It is the mind controlling it ! The New Dawn Network Last edited by LordHogFred; 07-07-2008 at 08:46 PM. |
|
|
|
|
|
#48 (permalink) |
|
Forum Expert
|
It should work in a way that, if both WorldLoad and worldSave are set to false, it will use a timer to update every 10 minutes.
Also, what you will need to do is take out the "World.Save" line in the SynchronizeDatabase () method at the bottom of WebAccounting.cs As for not importing accounts properly, check that the "state" of the account is correct, if the account is in-game, but isn't in your mysql database, then it should automatically insert it into the database and vice-versa.
__________________
![]() WWW.RPK-UO.COM - The WoW-UO Cross-Over Shard |
|
|
|
|
|
#49 (permalink) | |
|
Forum Expert
Join Date: Jan 2004
Location: UK, Essex
Age: 19
Posts: 1,166
|
Quote:
.As for the accounts, it doesn't seem to be reading any accounts from the game to the database. It inserts them fine but it doesn't work the other way . Any ideas?Cheers ,
__________________
It is not the hand that creates worlds, It is the mind controlling it ! The New Dawn Network |
|
|
|
|