Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ☺ Created by David Eid
- // ☺ Copyright © 2010 - 2016 TQ Digital
- // ☺ Rotana-Co - Project
- using System;
- using System.Collections.Generic;
- using COServer.Network.GamePackets;
- namespace COServer
- {
- public unsafe class Constants
- {
- public static readonly MsgTalk
- ArrowsReloaded = new MsgTalk("Arrows Reloaded.", MsgTalk.System),
- TradeRequest = new MsgTalk("Trade request sent.", MsgTalk.System),
- Teleportout = new MsgTalk("You can not Teleport!", MsgTalk.System),
- Dropitemout = new MsgTalk("You can not Dropitem here!", MsgTalk.System),
- PKForbidden = new MsgTalk("PK forbidden in this region.", MsgTalk.System),
- vipteleport = new MsgTalk("you can't teleport in this map.", MsgTalk.System),
- JailItemUnusable = new MsgTalk("You can't use this item in here!", MsgTalk.System),
- FullInventory = new MsgTalk("There is not enough room in your inventory!", MsgTalk.System),
- ExpBallsUsed = new MsgTalk("You can use only ten exp balls a day. Try tomorrow.", MsgTalk.System),
- TradeInProgress = new MsgTalk("An trade is already in progress. Try again later.", MsgTalk.System),
- TradeInventoryFull = new MsgTalk("There is not enough room in your partner inventory.", MsgTalk.System),
- ProficiencyLeveled = new MsgTalk("Congratulation, you have just leveled your proficiency.", MsgTalk.System),
- FloorItemNotAvailable = new MsgTalk("You can`t pick up other player`s loot at the moment. Please wait.", MsgTalk.System);
- public static MsgTalk NoDrugs(int time)
- {
- return new MsgTalk("Poison star activated. You will not be able to use drugs for " + time + " seconds.", MsgTalk.System);
- }
- public static MsgTalk SpellLeveled(string Name)
- {
- return new MsgTalk("Congratulation, you have just leveled your spell " + Name + ".", MsgTalk.System);
- }
- public static MsgTalk Accuracy(int time)
- {
- return new MsgTalk("Accuracy activated. Your agility will be increased a bit for " + time + ".", MsgTalk.System);
- }
- public static MsgTalk DummyLevelTooHigh()
- {
- return new MsgTalk("You can't attack this dummy because your level is not high enough.", MsgTalk.System);
- }
- public static MsgTalk NoArrows(string name)
- {
- return new MsgTalk("Can't reload arrows, you are out of " + name + "s!", MsgTalk.System);
- }
- public static MsgTalk Invisibility(int time)
- {
- return new MsgTalk("Invisibility activated. You will be invisible for monsters as long as you don't attack for " + time + ".", MsgTalk.System);
- }
- public static MsgTalk PickupSilver(uint amount)
- {
- return new MsgTalk("You received " + amount + " silver.", MsgTalk.System);
- }
- public static MsgTalk PickupItem(string name)
- {
- return new MsgTalk("You obtained 1 " + name + ".", MsgTalk.System);
- }
- public static MsgTalk Dodge(float percent, int time)
- {
- return new MsgTalk("Dodge activated. Your dodge will be increased with " + percent + " for " + time + ".", MsgTalk.System);
- }
- public static MsgTalk Shield(float percent, int time)
- {
- return new MsgTalk("Shield activated. Your defence will be increased with " + percent + " for " + time + ".", MsgTalk.System);
- }
- public static MsgTalk TeamExperience(uint experience)
- {
- return new MsgTalk("teammates You received " + experience + " Bonus EXP.", MsgTalk.System);
- }
- public static MsgTalk Stigma(float percent, int time)
- {
- return new MsgTalk("Stigma activated. Your attack will be increased with " + percent + " for " + time + ".", MsgTalk.System);
- }
- public static MsgTalk ExtraExperience(uint experience)
- {
- return new MsgTalk("You received " + experience + " Bonus EXP.", MsgTalk.System);
- }
- public static MsgTalk PickupConquerPoints(uint amount)
- {
- return new MsgTalk("You received " + amount + " CPs.", MsgTalk.System);
- }
- public static MsgTalk Enchant(int origEnch, int newEnch)
- {
- if (newEnch <= origEnch)
- return new MsgTalk("You were unlucky. You didn't gain any more enchantment in your item. Your generated enchant is " + newEnch + ".", MsgTalk.System);
- else return new MsgTalk("You were lucky. You gained more enchantment in your item. Your generated enchant is " + newEnch + ".", MsgTalk.System);
- }
- public static MsgTalk NoobTeamExperience(uint experience)
- {
- return new MsgTalk("One of your teammates killed a monster and because you have a noob inside your team, you gained " + experience + " experience.", MsgTalk.System);
- }
- public static MsgTalk BoothItemSell(string buyername, string itemname, bool conquerpoints, uint cost)
- {
- return new MsgTalk("Congratulations. You just have just sold " + itemname + " to " + buyername + " for " + cost + (conquerpoints ? " ConquerPoints." : " Gold."), MsgTalk.System);
- }
- public static ulong ClientSeal = BitConverter.ToUInt64(System.Text.Encoding.Default.GetBytes("TQClient"), 0);
- public const string
- ServerKey = "TQServer",
- ServerName = "Space-Co",
- DMapsPath = "database\\",
- DataHolderPath = "database\\",
- PortalsPath = "database\\Portals.ini",
- ShopsPath = "database\\shops\\Shop.dat",
- MonstersPath = "database\\Monsters.txt",
- GameCryptographyKey = "rtSDXu0YDsJP1q5l",
- // GameCryptographyKey = "C238xs65pjy7HU9Q",
- ItemBaseInfosPath = "database\\Items.txt",
- RevivePoints = "database\\RevivePoints.ini",
- ItemPlusInfosPath = "database\\ItemsPlus.ini",
- QuizShow = "database\\Emulator\\QuizShow.txt",
- EShopsPath = "database\\shops\\emoneyshop.ini",
- SoulGearInformation = "database\\soulgear.txt",
- HonorShopPath = "database\\shops\\HonorShop.ini",
- WelcomeMessages = "database\\WelcomeMessages.txt",
- EShopsV2Path = "database\\shops\\emoneyshopV2.ini",
- UnhandledExceptionsPath = "database\\exceptions\\",
- RaceShopPath = "database\\shops\\RacePointShop.ini",
- RewardPath = "database\\Emulator\\operating_prize.txt",
- ChampionShopPath = "database\\shops\\GoldenLeagueShop.ini";
- public const int
- MaxBroadcasts = 50;
- public const sbyte
- nScreenDistance = 19,
- pScreenDistance = 19,
- remScreenDistance = 19,
- BombScreenDistanc = 19;
- public const ushort
- FloorItemSeconds = 20,
- SocketOneProgress = 100,
- SocketTwoProgress = 300,
- FloorItemAvailableAfter = 15,
- DisconnectTimeOutSeconds = 10;
- public static uint
- MoneyDropRate,
- ExtraSpellRate,
- MoneyDropMultiple,
- ExtraExperienceRate,
- ExtraProficiencyRate;
- public static readonly List<ushort> PKForbiddenMaps = new List<ushort>()
- {
- 601,700,1036,1002,15351,1039,1004,1006,8880,
- 8881,1950,8800,8801,8802,8803,3055,1858,15454,2351
- };
- public static readonly List<ushort> PKFreeMaps = new List<ushort>()
- {
- 4025,1763,3071,1812,1038,1005,6000,6001,6002,6003,8883,1801,
- 1508,1518,8877,3333,1090,5000,2071,1730,1731,1732,1733,1734,1735,3935,
- 1736,2057,1559,1509,6412,14785,1707,12345,12346,1234,3846,1844,700,16414
- };
- public static readonly List<int> AvaibleSpells = new List<int>()
- {
- 1380,1385,1390,1395,1360,1400,1405,1410,1046,
- 1045,5030,7001,7002,7003,7020,1415,1418,1416,1417,1419
- };
- public static List<ushort> NoRiding = new List<ushort>
- {
- 1090, 1559, 1518, 4021, 12345, 12346, 1707, 14785, 3333, 6412,
- 1844, 4025, 3071, 2527, 2522, 1655, 2090, 1459, 1509, 2071,
- 12223, 12224, 12225, 12226, 8081, 8082, 16414, 11224, 11225,
- 1458, 1459, 1460, 1090, 1707, 1708, 9391, 9392, 44444
- };
- public static List<ushort> QuestsMaps = new List<ushort>
- {
- 6752
- };
- public static readonly List<ushort> NoRevHere = new List<ushort>()
- {
- 1090,1559,1518,4021,12345,12346,1707,14785,3333,3935,3846,
- 6412,1844,4025,3071,2527,2522,1655,2090,2091,1002,2014
- };
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement