|
||
|
|||||||
| 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 |
|
|
#1 (permalink) |
|
Forum Expert
|
#! System Is Finished !#
Last Update: * Now Serializes Emails To Emails.xml In Your Server Folder * Added "[email" command to send single emails to selected players Description: This system once installed correctly, will allow player to register their email address when they login by a gump. After they enter their email twice correctly the server will send them an email by using a mail server specified by you, this email will contain a unique 10 character long confirmation code, they have until they log out to then use the "[auth" command in game and enter the 10 character long code into the gump provided. Setup: * Place In Customs * Configure EmailClient.cs to work with your server Commands: * "[sendemail", allows you to write an email in game then have that email sent to every player on the server * "[clearemails", Clears all registered emails. Player Commands: * "[auth", allows them to confirm they received their registration email * "[account", allows players to manage their email address and password * "[email", allows player to send an email to another player Hope You Enjoy.
__________________
Advertise Your Server On JoinUO! JoinUO @ - joinuo.com
Last edited by Alex21; 04-19-2008 at 05:46 PM. |
|
|
|
|
|
#3 (permalink) |
|
Forum Expert
|
I wasnt sure what to do with the emails it stored from players accounts, so all i did was supply a way to send a email to them all.
If you have any suggestion on function this system can do please post them.
__________________
Advertise Your Server On JoinUO! JoinUO @ - joinuo.com
|
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Jun 2006
Posts: 280
|
what about making this delete they account if they do not use they athu code??? or delete chars.
What about making it if they fail to athu three times it kicks them and tells them to e-mail admin for account to be activeded |
|
|
|
|
|
#5 (permalink) | |
|
Forum Novice
Join Date: Feb 2008
Age: 27
Posts: 135
|
Quote:
Also, what about storing emails along with account information like in Saves\Accounts\accounts.xml ? |
|
|
|
|
|
|
#6 (permalink) | |
|
Forum Expert
|
Quote:
__________________
Advertise Your Server On JoinUO! JoinUO @ - joinuo.com
|
|
|
|
|
|
|
#7 (permalink) |
|
Newbie
|
Another good idea might be for the system to remind players of their account inactivity. What I mean is for the system to send players notification e-mails when their accounts are inactive for some days (that'd be customizable).
Also it would be kind of nice for staff to be able to send e-mails only to particular players. I don't know, it it is possible to make, but the e-mail given might also be used for two-way ingame communication (eg. when players can't enter the game for some time, they could send e-mails into the game). Those are just some ideas... I'm not really that into scripting to know, whether it's easy to make, or not ![]()
__________________
|Heavenly Item System|Neo's Level System| If anyone knows, how to put links here, please msg me. |
|
|
|
|
|
#8 (permalink) |
|
Newbie
Join Date: Oct 2006
Location: Indiana
Age: 45
Posts: 52
|
This is really a great idea, and is quite useful. but the confirmation only lasts until the server is reset, is there a way to fix it so that once eamil is authorized, it stays authorized, even after server reset?
|
|
|
|
|
|
#9 (permalink) |
|
Newbie
|
Might want to add a property called eg. email to PlayerMobile.cs. That'd be the simplest way to do that. But it'd be very primitive and not really easy to install. Still... it would work. That's the way I (not even a beginner in scripting) would do that
. Probably the expert guys here know a better way of solving the problem, that'd allow more options .
__________________
|Heavenly Item System|Neo's Level System| If anyone knows, how to put links here, please msg me. |
|
|
|
|
|
#10 (permalink) |
|
Forum Expert
|
No authorize will not last more then a server restart or if the player logs out, but will store there emails through world restarts.
__________________
Advertise Your Server On JoinUO! JoinUO @ - joinuo.com
Last edited by Alex21; 04-19-2008 at 09:59 AM. Reason: Lack Of Info..... |
|
|
|
|
|
#12 (permalink) |
|
Forum Expert
|
Sorry guys, i understand what you were talking about now, yes the emails wouldn't last through a world save, i fixed it they will now last through a world save.
__________________
Advertise Your Server On JoinUO! JoinUO @ - joinuo.com
Last edited by Alex21; 04-19-2008 at 01:18 AM. |
|
|
|
|
|
#15 (permalink) |
|
Newbie
|
I've found quite a serious bug...
When you use the [email command and bring out the list, all mobiles are shown... not only player mobiles... Selecting any mobile, that isn't PlayerMobile crashes the shard ![]() So I think You should add something like if( mobile is PlayerMobile ) to make sure you display only PlayerMobiles. I'll let you know if i find anything else ![]()
__________________
|Heavenly Item System|Neo's Level System| If anyone knows, how to put links here, please msg me. |
|
|
|
|
|
#16 (permalink) | |
|
Forum Expert
|
Quote:
__________________
Advertise Your Server On JoinUO! JoinUO @ - joinuo.com
|
|
|
|
|
|
|
#18 (permalink) |
|
Newbie
|
You're welcome
![]() Always happy to help... And I know, that the most important thing when you write a script is for a bunch of people to test it and check if it's idiot-proof ;D
__________________
|Heavenly Item System|Neo's Level System| If anyone knows, how to put links here, please msg me. |
|
|
|
|
|
#20 (permalink) | |
|
Forum Expert
|
Quote:
If it has written emails.xml post it here please, anyone else having this problem?
__________________
Advertise Your Server On JoinUO! JoinUO @ - joinuo.com
|
|
|
|
|
|
|
#22 (permalink) |
|
Forum Expert
Join Date: Jun 2006
Posts: 280
|
it writes they email.xml file but it only has this lines in it
count 0 Here is my emailclient.cs setup maybe im doing something wrong public static bool Enabled = true; // Is this system enabled? public static string ServerName = "Distant Land"; // Your server name here. public static string EmailServer = "smtp.gmail.com"; // Your mail server here public static string User = "UO.Distant.Land@gmail.com"; // Your username here public static string Pass = "******"; // Your password here public static string YourAddress = "UO.Distant.Land@gmail.com"; // Your email address here, Or Shard name // Server will crash on start up if the adress is incorrectly formatted. I checked Gmail does allow POP3 |
|
|
|
|
|
#23 (permalink) | |
|
Forum Expert
|
Quote:
__________________
Advertise Your Server On JoinUO! JoinUO @ - joinuo.com
|
|
|
|
|
|
|
#25 (permalink) | |
|
Forum Expert
|
Quote:
![]()
__________________
Advertise Your Server On JoinUO! JoinUO @ - joinuo.com
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes |