This file contains 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.ContextMenus; | |
using Server.Engines.Craft; | |
using Server.Network; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Server.Mobiles; | |
namespace Server.Items | |
{ |
This file contains 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
// ********** | |
// ServUO - CoilMob.cs | |
// ********** | |
namespace Server.Mobiles | |
{ | |
public class CoilMob : BaseCreature | |
{ | |
public int LastHitTimer { get; set; } | |
This file contains 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
// keep users logged in for longer in wordpress | |
function gw_users_logged_in_longer( $expirein ) { | |
// 1 month in seconds * 6 for 6 months | |
return 2628000 * 6; | |
} | |
add_filter( 'auth_cookie_expiration', 'gw_users_logged_in_longer' ) |
This file contains 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
// this is onyl func that calls the below func, and this func is called from WinMain. | |
//the pointer unk_A1BB38 has no other refs either than this func. | |
LONG sub_549470() | |
{ | |
LONG result; // eax@1 | |
struct _TIME_ZONE_INFORMATION v1; // [sp+0h] [bp-B0h]@1 | |
result = GetTimeZoneInformation(&v1); | |
if ( result != -1 ) |
This file contains 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
//Handler for 0xC0 | |
int __cdecl sub_46C120(int a1) | |
{ | |
int v1; // edi@1 | |
int v2; // ebx@1 | |
__int16 v3; // bp@1 | |
int v4; // esi@1 | |
int v5; // eax@4 | |
int v6; // esi@4 |
This file contains 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
int __cdecl sub_47D270(int a1) | |
{ | |
_WORD *v1; // eax@2 | |
__int16 v2; // cx@3 | |
__int16 v3; // dx@3 | |
__int16 v4; // di@3 | |
_DWORD *v5; // ebx@6 | |
int v6; // edi@6 | |
int v7; // ST3C_4@8 | |
int v8; // ST38_4@8 |
This file contains 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
int __thiscall PacketHandler(_DWORD *this, char *a2) | |
{ | |
int v2; // edi@1 | |
_DWORD *v3; // ebx@1 | |
int v4; // ebp@2 | |
int v5; // edi@16 | |
int v6; // edx@18 | |
char *v7; // esi@18 | |
int result; // eax@20 | |
int v9; // edi@21 |
This file contains 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; |
This file contains 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 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) | |
{ |
NewerOlder