|
||
|
|
#1 (permalink) |
|
Guest
Posts: n/a
|
Hey i hope you all like this it's a gump that pops up when a person makes a new player!
It has several features if a player needs to change his email then they just say [UpdateEmail and then it write the email to a tag in [admin it also has a privacy policay and you can change weather players can close it or not you can change the privacy policy in emailcollector.cs along with some of the other things just look at it it's eas to figure out even for noobs please tell me if you like it and post if ya need help! this is 2.0 because there was a beta then a final then another final with more feature and that was treaked by for the public release! |
|
|
|
#14 (permalink) |
|
Forum Novice
Join Date: May 2005
Age: 36
Posts: 221
|
Hey, I've been looking all over RunUO for something like this. Thanks for posting it! I'll try it out.
One question though: You say it pops up an E-Mail gump when players create a new account.... I've been running my shard for almost a year without something like this, and already have over 500 accounts. Does this thing pop up the E-Mail gump thing when players who already have accounts log in who haven't entered an E-Mail address? If not, how can I make it do this? Thanks, Sean |
|
|
|
|
|
#16 (permalink) | |
|
Account Terminated
|
Quote:
Sure add support to it, if its not already there, but don't ask us for help with this buggy ass script. Why is it buggy ass: because its an entire year old without any updates and the author was deleted and will never be able to help you with his buggy ass script. |
|
|
|
|
|
|
#17 (permalink) |
|
Forum Expert
Join Date: Feb 2003
Location: East Coast USA
Posts: 1,364
|
In the TOS script I have that collects player email addresses, it uses a login event to check if that field is blank:
Code:
public static void Initialize()
{
EventSink.Login += new LoginEventHandler( TOS_Login ); //Checks if the account needs the TOS.
...
Code:
public static void TOS_Login( LoginEventArgs args )
{
Mobile m = args.Mobile;
Account acct=(Account)m.Account;
bool agreed = Convert.ToBoolean( acct.GetTag("TOSAgreed") ); // See if the player has already read and agreed to the TOS.
if ( !agreed )
{
m.SendMessage( String.Format( "Please read the TOS. Type '{0}tos' to review and agree to it.", Server.Commands.CommandPrefix ) );
// m.CantWalk = true; // These are set so that they can read the TOS
// m.Squelched = true; // Uninterupted until they complete the form.
// m.Hidden = true; // -----------------------------------------
// m.SendGump( new TosGumpOne(false) ); // Display the TOS gump
}
else
{
m.SendMessage( String.Format( "You have read and agreed to the TOS. Please type '{0}readtos' to review it.", Server.Commands.CommandPrefix ) );
}
}
Please note this is NOT plug-n-play or drag-n-drop or anything-n-anything with THIS script, but you can probably modify it to work with this one by changing it to check the appropriate account tag and send the appropriate gump if it's not set.
__________________
the-retelling.org : scripts and tech demo |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|