mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-21 20:25:51 +12:00
Weirest bug ever happened, it said "Item.ItemInformation" is higher protection level than Item.Tack even though both were public, i eventurally found that it was because Item was "class" where as "Item.Tack" was "public class" so i made everything be "public class"
This commit is contained in:
parent
6a620f4be5
commit
3c25795188
50 changed files with 186 additions and 60 deletions
|
@ -4,7 +4,7 @@ using System.IO;
|
|||
namespace HISP.Server
|
||||
{
|
||||
|
||||
class ConfigReader
|
||||
public class ConfigReader
|
||||
{
|
||||
public static int Port;
|
||||
public static string BindIP;
|
||||
|
|
|
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
|||
|
||||
namespace HISP.Server
|
||||
{
|
||||
class Converters
|
||||
public class Converters
|
||||
{
|
||||
// Thanks Stackoverflow (https://stackoverflow.com/questions/321370/how-can-i-convert-a-hex-string-to-a-byte-array)
|
||||
private static int getHexVal(char hex)
|
||||
|
|
|
@ -5,10 +5,11 @@ using HISP.Game;
|
|||
using HISP.Player;
|
||||
using HISP.Game.Horse;
|
||||
using HISP.Game.Inventory;
|
||||
using HISP.Game.Items;
|
||||
|
||||
namespace HISP.Server
|
||||
{
|
||||
class Database
|
||||
public class Database
|
||||
{
|
||||
public static string ConnectionString = "";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ using HISP.Game.Horse;
|
|||
|
||||
namespace HISP.Server
|
||||
{
|
||||
class GameClient
|
||||
public class GameClient
|
||||
{
|
||||
public Socket ClientSocket;
|
||||
public string RemoteIp;
|
||||
|
|
|
@ -7,10 +7,11 @@ using HISP.Player;
|
|||
using HISP.Game.Services;
|
||||
using HISP.Game.SwfModules;
|
||||
using HISP.Game.Horse;
|
||||
using HISP.Game.Items;
|
||||
|
||||
namespace HISP.Server
|
||||
{
|
||||
class GameDataJson
|
||||
public class GameDataJson
|
||||
{
|
||||
|
||||
public static void ReadGamedata()
|
||||
|
|
|
@ -16,10 +16,11 @@ using HISP.Game.Services;
|
|||
using HISP.Game.Inventory;
|
||||
using HISP.Game.SwfModules;
|
||||
using HISP.Game.Horse;
|
||||
using HISP.Game.Items;
|
||||
|
||||
namespace HISP.Server
|
||||
{
|
||||
class GameServer
|
||||
public class GameServer
|
||||
{
|
||||
|
||||
public static Socket ServerSocket;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace HISP.Server
|
||||
{
|
||||
class Logger
|
||||
public class Logger
|
||||
{
|
||||
public static void HackerPrint(string text) // When someone is obviously cheating.
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ using HISP.Game.SwfModules;
|
|||
|
||||
namespace HISP.Server
|
||||
{
|
||||
class PacketBuilder
|
||||
public class PacketBuilder
|
||||
{
|
||||
|
||||
public const byte PACKET_TERMINATOR = 0x00;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue