Search results

  1. ImaNewb

    Client Verification

    Here is where I set the Version public static void Initialize() { EventSink.ClientVersionReceived += new ClientVersionReceivedHandler( EventSink_ClientVersionReceived ); if( m_DetectClientRequirement ) { string path =...
  2. ImaNewb

    Client Verification

    This config file? # This flag controls if a shard owner wants to allow certain clients AllowRegular=true AllowUOTD=true AllowGod=true AllowEC=true # this delay is when the players is booted from the server KickDelay=20
  3. ImaNewb

    Client Verification

    On my server I have client verification enabled. I noticed it really only detects if the client version is older than what version is required in the script. Is there a way to make the script only allow a certain version, regardless if it is older or newer, instead of just checking if the client...
  4. ImaNewb

    Email Verification Script Doesn't seen to use SSL or TLS

    Well I got it working. For anyone wondering what I changed here is the working script. I added 3 Lines: public static bool EmailSsl = true; and if (EmailSsl) client.EnableSsl = true; using System; using Server; using Server.Commands; using Server.Items; using...
  5. ImaNewb

    Email Verification Script Doesn't seen to use SSL or TLS

    How can I get this script to use SSL or TLS when using gmail smtp? I cannot get it to send an email it always fails. I am assuming it is just trying to use port 25 without authentication. I have tried adding a port option to use port 465 or 587 but without authentication it still does nothing...
  6. ImaNewb

    Change keyword for banker

    Does anyone know how I can change the keyword for bank? All I see for keywords is this in banker.cs public override void OnSpeech( SpeechEventArgs e ) { if ( !e.Handled && e.Mobile.InRange( this.Location, 12 ) ) { for ( int i = 0; i <...
  7. ImaNewb

    Trying to add a random piece of ranger armor as quest reward

    Thanks PyrO that works great! Thank you for taking the time to do that. Much appreciated. I checked to see if it was adding items when spawning and this way it isn't adding extra items to the internal map but the other way actually was. Now I have noticed that the script in general seems to add...
  8. ImaNewb

    Trying to add a random piece of ranger armor as quest reward

    Also @PyrO does that mean that this method in the script I'm using creates all bunch of items in the internal area also? mobile.AddToBackpack ( new Gold( m_Quest.NLevel * Utility.RandomMinMax( 150, 300 ) ) ); Item item...
  9. ImaNewb

    Trying to add a random piece of ranger armor as quest reward

    It was just A way not necessarily the right way or the best way as PyrO mentioned. Also @PyrO thanks!
  10. ImaNewb

    Trying to add a random piece of ranger armor as quest reward

    If you want drops to have special properties you can do something like this RangerArms ra = new RangerArms(); RangerChest rc = new RangerChest(); RangerGloves rg = new RangerGloves()...
  11. ImaNewb

    Trying to add a random piece of ranger armor as quest reward

    Looks like we posted at the same time LOL
  12. ImaNewb

    Trying to add a random piece of ranger armor as quest reward

    Ok this is how you do it if (Utility.Random(100) < 30) // 30% chance to drop switch (Utility.Random(5)) { case 0: mobile.AddToBackpack(new RangerArms() ); break...
  13. ImaNewb

    Trying to add a random piece of ranger armor as quest reward

    Eric thanks for the reply. I was able to get this to drop a random piece of ranger armor by using this else if ( item is BaseArmor ) { BaseArmor armor = (BaseArmor)item; armor.ProtectionLevel =...
  14. ImaNewb

    Trying to add a random piece of ranger armor as quest reward

    Here is the quest giver script I am using. Currently when you turn in a completed quest you get a random piece of armor and some gold. I would like to add a random piece of specific armor like ranger armor to randomly drop as a reward sometimes also. I cant seem to get it right. I have tried...
  15. ImaNewb

    Skill Trainer NPC

    Glad you got it working the way you needed it to! :D
  16. ImaNewb

    Skill Trainer NPC

    Aschnyder26 updated Skill Trainer NPC 1.0 with a new update entry: Updated gumps, added stat trainer and set checks for statcaps. Read the rest of this update entry...
  17. ImaNewb

    Skill Trainer NPC - Updated gumps, added stat trainer and set checks for statcaps.

    This is a skill training NPC I made. It can be set to charge gold or to use a keyword to call the training gump if perhaps you are beta testing and want players to be able to easily change skillsand stats. It could easily be modified to use any currency your shard uses. Just change if (dropped...
  18. ImaNewb

    Skill Trainer NPC

    Yes that's set up in case you want to use 7x gm, similar to a skillball. To disable that and allow for just the skill to increase without affecting other skills you can comment lines 305 and 306 out and then it will not set the other skills to 0. for (int i = 0; i < skills.Length; ++i)...
  19. ImaNewb

    Skill Trainer NPC

    Aschnyder26 submitted a new resource: Skill Trainer NPC 1.0 - A skill training NPC that opens a gump when you say train or pay gold Read more about this resource...
  20. ImaNewb

    Skill Trainer NPC 1.3

    This is a skill training NPC I made. It can be set to charge gold or to use a keyword to call the training gump if perhaps you are beta testing and want players to be able to easily change skills and stats. It could easily be modified to use any currency your shard uses. Just change if (dropped...

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back