Ir para conteúdo

Compilando O The Forgotten Server


Sukx

Posts Recomendados

consegui compilar tudo certinho, inicio o server normalmente mas so que quando Tento entrar, nao conecta, abre o account manager normalmente, e quando dou entar para entrar no jogo fica

connecting to the game word. please wait.

e nao sai disso, fica uns 5 min ate dar servidor desconectado.

as unicas coisas que auterei foi, inseri um novo efeito tava 68 coloquei 69

const_me_warrior, asim liga tudo certinho

mas nao tenho conexao na hora de entrar no jogo.

Link para o comentário
Compartilhar em outros sites

  • 3 months later...
  • 2 weeks later...

alguem pode dizer pq ta errado, eu alterei o numero de efeitos para testar coloquei de 68 para 69

ta assim

MAGIC_EFFECT_EXPLOSION_DRAGON = 0x45, //69
MAGIC_EFFECT_LAST  = MAGIC_EFFECT_EXPLOSION_DRAGON,

 

mas mesmo assim diz que o numero de efeitos deve ser abaixo de 68 quando uso /z

 

 

______________edit

consegui arrumar para nao dar erro, mas agora eu uso o efeito que adicionei e nao aparece nada. :(

Editado por CoyoteStark
Link para o comentário
Compartilhar em outros sites

bom os dois efeitos que coloquei eh so pra teste

 

 

 

////////////////////////////////////////////////////////////////////////

// OpenTibia - an opensource roleplaying game

////////////////////////////////////////////////////////////////////////

// This program is free software: you can redistribute it and/or modify

// it under the terms of the GNU General Public License as published by

// the Free Software Foundation, either version 3 of the License, or

// (at your option) any later version.

//

// This program is distributed in the hope that it will be useful,

// but WITHOUT ANY WARRANTY; without even the implied warranty of

// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

// GNU General Public License for more details.

//

// You should have received a copy of the GNU General Public License

// along with this program. If not, see <http://www.gnu.org/licenses/>.

////////////////////////////////////////////////////////////////////////

#ifndef __CONST__

#define __CONST__

#include "definitions.h"

enum MagicEffect_t

{

MAGIC_EFFECT_DRAW_BLOOD = 0x00,

MAGIC_EFFECT_LOSE_ENERGY = 0x01,

MAGIC_EFFECT_POFF = 0x02,

MAGIC_EFFECT_BLOCKHIT = 0x03,

MAGIC_EFFECT_EXPLOSION_AREA = 0x04,

MAGIC_EFFECT_EXPLOSION_DAMAGE = 0x05,

MAGIC_EFFECT_FIRE_AREA = 0x06,

MAGIC_EFFECT_YELLOW_RINGS = 0x07,

MAGIC_EFFECT_POISON_RINGS = 0x08,

MAGIC_EFFECT_HIT_AREA = 0x09,

MAGIC_EFFECT_TELEPORT = 0x0A, //10

MAGIC_EFFECT_ENERGY_DAMAGE = 0x0B, //11

MAGIC_EFFECT_WRAPS_BLUE = 0x0C, //12

MAGIC_EFFECT_WRAPS_RED = 0x0D, //13

MAGIC_EFFECT_WRAPS_GREEN = 0x0E, //14

MAGIC_EFFECT_HITBY_FIRE = 0x0F, //15

MAGIC_EFFECT_POISON = 0x10, //16

MAGIC_EFFECT_MORT_AREA = 0x11, //17

MAGIC_EFFECT_SOUND_GREEN = 0x12, //18

MAGIC_EFFECT_SOUND_RED = 0x13, //19

MAGIC_EFFECT_POISON_AREA = 0x14, //20

MAGIC_EFFECT_SOUND_YELLOW = 0x15, //21

MAGIC_EFFECT_SOUND_PURPLE = 0x16, //22

MAGIC_EFFECT_SOUND_BLUE = 0x17, //23

MAGIC_EFFECT_SOUND_WHITE = 0x18, //24

MAGIC_EFFECT_BUBBLES = 0x19, //25

MAGIC_EFFECT_CRAPS = 0x1A, //26

MAGIC_EFFECT_GIFT_WRAPS = 0x1B, //27

MAGIC_EFFECT_FIREWORK_YELLOW = 0x1C, //28

MAGIC_EFFECT_FIREWORK_RED = 0x1D, //29

MAGIC_EFFECT_FIREWORK_BLUE = 0x1E, //30

MAGIC_EFFECT_STUN = 0x1F, //31

MAGIC_EFFECT_SLEEP = 0x20, //32

MAGIC_EFFECT_WATERCREATURE = 0x21, //33

MAGIC_EFFECT_GROUNDSHAKER = 0x22, //34

MAGIC_EFFECT_HEARTS = 0x23, //35

MAGIC_EFFECT_FIREATTACK = 0x24, //36

MAGIC_EFFECT_ENERGY_AREA = 0x25, //37

MAGIC_EFFECT_SMALLCLOUDS = 0x26, //38

MAGIC_EFFECT_HOLYDAMAGE = 0x27, //39

MAGIC_EFFECT_BIGCLOUDS = 0x28, //40

MAGIC_EFFECT_ICEAREA = 0x29, //41

MAGIC_EFFECT_ICETORNADO = 0x2A, //42

MAGIC_EFFECT_ICEATTACK = 0x2B, //43

MAGIC_EFFECT_STONES = 0x2C, //44

MAGIC_EFFECT_SMALLPLANTS = 0x2D, //45

MAGIC_EFFECT_CARNIPHILA = 0x2E, //46

MAGIC_EFFECT_PURPLEENERGY = 0x2F, //47

MAGIC_EFFECT_YELLOWENERGY = 0x30, //48

MAGIC_EFFECT_HOLYAREA = 0x31, //49

MAGIC_EFFECT_BIGPLANTS = 0x32, //50

MAGIC_EFFECT_CAKE = 0x33, //51

MAGIC_EFFECT_GIANTICE = 0x34, //52

MAGIC_EFFECT_WATERSPLASH = 0x35, //53

MAGIC_EFFECT_PLANTATTACK = 0x36, //54

MAGIC_EFFECT_TUTORIALARROW = 0x37, //55

MAGIC_EFFECT_TUTORIALSQUARE = 0x38, //56

MAGIC_EFFECT_MIRRORHORIZONTAL = 0x39, //57

MAGIC_EFFECT_MIRRORVERTICAL = 0x3A, //58

MAGIC_EFFECT_SKULLHORIZONTAL = 0x3B, //59

MAGIC_EFFECT_SKULLVERTICAL = 0x3C, //60

MAGIC_EFFECT_ASSASSIN = 0x3D, //61

MAGIC_EFFECT_STEPSHORIZONTAL = 0x3E, //62

MAGIC_EFFECT_BLOODYSTEPS = 0x3F, //63

MAGIC_EFFECT_STEPSVERTICAL = 0x40, //64

MAGIC_EFFECT_YALAHARIGHOST = 0x41, //65

MAGIC_EFFECT_BATS = 0x42, //66

MAGIC_EFFECT_SMOKE = 0x43, //67

MAGIC_EFFECT_INSECTS = 0x44, //68

MAGIC_EFFECT_EXPLOSIONDRAGON = 0x45, //69

MAGIC_EFFECT_BLUESTARS = 0x46, //70

MAGIC_EFFECT_LAST = MAGIC_EFFECT_BLUESTARS,

//for internal use, dont send to client

MAGIC_EFFECT_NONE = 0xFF,

MAGIC_EFFECT_UNKNOWN = 0xFFFF

};

enum ShootEffect_t

{

SHOOT_EFFECT_SPEAR = 0x00,

SHOOT_EFFECT_BOLT = 0x01,

SHOOT_EFFECT_ARROW = 0x02,

SHOOT_EFFECT_FIRE = 0x03,

SHOOT_EFFECT_ENERGY = 0x04,

SHOOT_EFFECT_POISONARROW = 0x05,

SHOOT_EFFECT_BURSTARROW = 0x06,

SHOOT_EFFECT_THROWINGSTAR = 0x07,

SHOOT_EFFECT_THROWINGKNIFE = 0x08,

SHOOT_EFFECT_SMALLSTONE = 0x09,

SHOOT_EFFECT_DEATH = 0x0A, //10

SHOOT_EFFECT_LARGEROCK = 0x0B, //11

SHOOT_EFFECT_SNOWBALL = 0x0C, //12

SHOOT_EFFECT_POWERBOLT = 0x0D, //13

SHOOT_EFFECT_POISONFIELD = 0x0E, //14

SHOOT_EFFECT_INFERNALBOLT = 0x0F, //15

SHOOT_EFFECT_HUNTINGSPEAR = 0x10, //16

SHOOT_EFFECT_ENCHANTEDSPEAR = 0x11, //17

SHOOT_EFFECT_REDSTAR = 0x12, //18

SHOOT_EFFECT_GREENSTAR = 0x13, //19

SHOOT_EFFECT_ROYALSPEAR = 0x14, //20

SHOOT_EFFECT_SNIPERARROW = 0x15, //21

SHOOT_EFFECT_ONYXARROW = 0x16, //22

SHOOT_EFFECT_PIERCINGBOLT = 0x17, //23

SHOOT_EFFECT_WHIRLWINDSWORD = 0x18, //24

SHOOT_EFFECT_WHIRLWINDAXE = 0x19, //25

SHOOT_EFFECT_WHIRLWINDCLUB = 0x1A, //26

SHOOT_EFFECT_ETHEREALSPEAR = 0x1B, //27

SHOOT_EFFECT_ICE = 0x1C, //28

SHOOT_EFFECT_EARTH = 0x1D, //29

SHOOT_EFFECT_HOLY = 0x1E, //30

SHOOT_EFFECT_SUDDENDEATH = 0x1F, //31

SHOOT_EFFECT_FLASHARROW = 0x20, //32

SHOOT_EFFECT_FLAMMINGARROW = 0x21, //33

SHOOT_EFFECT_SHIVERARROW = 0x22, //34

SHOOT_EFFECT_ENERGYBALL = 0x23, //35

SHOOT_EFFECT_SMALLICE = 0x24, //36

SHOOT_EFFECT_SMALLHOLY = 0x25, //37

SHOOT_EFFECT_SMALLEARTH = 0x26, //38

SHOOT_EFFECT_EARTHARROW = 0x27, //39

SHOOT_EFFECT_EXPLOSION = 0x28, //40

SHOOT_EFFECT_CAKE = 0x29, //41

SHOOT_EFFECT_LAST = SHOOT_EFFECT_CAKE,

//for internal use, dont send to client

SHOOT_EFFECT_WEAPONTYPE = 0xFE, //254

SHOOT_EFFECT_NONE = 0xFF,

SHOOT_EFFECT_UNKNOWN = 0xFFFF

};

enum SpeakClasses

{

SPEAK_CLASS_NONE = 0x00,

SPEAK_CLASS_FIRST = 0x01,

SPEAK_SAY = SPEAK_CLASS_FIRST,

SPEAK_WHISPER = 0x02,

SPEAK_YELL = 0x03,

SPEAK_PRIVATE_PN = 0x04,

SPEAK_PRIVATE_NP = 0x05,

SPEAK_PRIVATE = 0x06,

SPEAK_CHANNEL_Y = 0x07,

SPEAK_CHANNEL_W = 0x08,

SPEAK_RVR_CHANNEL = 0x09,

SPEAK_RVR_ANSWER = 0x0A,

SPEAK_RVR_CONTINUE = 0x0B,

SPEAK_BROADCAST = 0x0C,

SPEAK_CHANNEL_RN = 0x0D, //red - #c text

SPEAK_PRIVATE_RED = 0x0E, //@name@text

SPEAK_CHANNEL_O = 0x0F,

//SPEAK_UNKNOWN_1 = 0x10,

SPEAK_CHANNEL_RA = 0x11, //red anonymous - #d text

//SPEAK_UNKNOWN_2 = 0x12,

SPEAK_MONSTER_SAY = 0x13,

SPEAK_MONSTER_YELL = 0x14,

SPEAK_CLASS_LAST = SPEAK_MONSTER_YELL

};

enum MessageClasses

{

MSG_CLASS_FIRST = 0x12,

MSG_STATUS_CONSOLE_RED = MSG_CLASS_FIRST, /*Red message in the console*/

MSG_EVENT_ORANGE = 0x13, /*Orange message in the console*/

MSG_STATUS_CONSOLE_ORANGE = 0x14, /*Orange message in the console*/

MSG_STATUS_WARNING = 0x15, /*Red message in game window and in the console*/

MSG_EVENT_ADVANCE = 0x16, /*White message in game window and in the console*/

MSG_EVENT_DEFAULT = 0x17, /*White message at the bottom of the game window and in the console*/

MSG_STATUS_DEFAULT = 0x18, /*White message at the bottom of the game window and in the console*/

MSG_INFO_DESCR = 0x19, /*Green message in game window and in the console*/

MSG_STATUS_SMALL = 0x1A, /*White message at the bottom of the game window"*/

MSG_STATUS_CONSOLE_BLUE = 0x1B, /*Blue message in the console*/

MSG_CLASS_LAST = MSG_STATUS_CONSOLE_BLUE

};

enum MapMarks_t

{

MAPMARK_TICK = 0x00,

MAPMARK_QUESTION = 0x01,

MAPMARK_EXCLAMATION = 0x02,

MAPMARK_STAR = 0x03,

MAPMARK_CROSS = 0x04,

MAPMARK_TEMPLE = 0x05,

MAPMARK_KISS = 0x06,

MAPMARK_SHOVEL = 0x07,

MAPMARK_SWORD = 0x08,

MAPMARK_FLAG = 0x09,

MAPMARK_LOCK = 0x0A,

MAPMARK_BAG = 0x0B,

MAPMARK_SKULL = 0x0C,

MAPMARK_DOLLAR = 0x0D,

MAPMARK_REDNORTH = 0x0E,

MAPMARK_REDSOUTH = 0x0F,

MAPMARK_REDEAST = 0x10,

MAPMARK_REDWEST = 0x11,

MAPMARK_GREENNORTH = 0x12,

MAPMARK_GREENSOUTH = 0x13

};

enum FluidColors_t

{

FLUID_EMPTY = 0x00,

FLUID_BLUE = 0x01,

FLUID_RED = 0x02,

FLUID_BROWN = 0x03,

FLUID_GREEN = 0x04,

FLUID_YELLOW = 0x05,

FLUID_WHITE = 0x06,

FLUID_PURPLE = 0x07

};

enum FluidTypes_t

{

FLUID_NONE = FLUID_EMPTY,

FLUID_WATER = FLUID_BLUE,

FLUID_BLOOD = FLUID_RED,

FLUID_BEER = FLUID_BROWN,

FLUID_SLIME = FLUID_GREEN,

FLUID_LEMONADE = FLUID_YELLOW,

FLUID_MILK = FLUID_WHITE,

FLUID_MANA = FLUID_PURPLE,

FLUID_LIFE = FLUID_RED + 8,

FLUID_OIL = FLUID_BROWN + 8,

FLUID_URINE = FLUID_YELLOW + 8,

FLUID_COCONUTMILK = FLUID_WHITE + 8,

FLUID_WINE = FLUID_PURPLE + 8,

FLUID_MUD = FLUID_BROWN + 16,

FLUID_FRUITJUICE = FLUID_YELLOW + 16,

FLUID_LAVA = FLUID_RED + 24,

FLUID_RUM = FLUID_BROWN + 24,

FLUID_SWAMP = FLUID_GREEN + 24,

};

const uint8_t reverseFluidMap[] =

{

FLUID_EMPTY,

FLUID_WATER,

FLUID_MANA,

FLUID_BEER,

FLUID_EMPTY,

FLUID_BLOOD,

FLUID_SLIME,

FLUID_EMPTY,

FLUID_LEMONADE,

FLUID_MILK

};

enum ClientFluidTypes_t

{

CLIENTFLUID_EMPTY = 0x00,

CLIENTFLUID_BLUE = 0x01,

CLIENTFLUID_PURPLE = 0x02,

CLIENTFLUID_BROWN_1 = 0x03,

CLIENTFLUID_BROWN_2 = 0x04,

CLIENTFLUID_RED = 0x05,

CLIENTFLUID_GREEN = 0x06,

CLIENTFLUID_BROWN = 0x07,

CLIENTFLUID_YELLOW = 0x08,

CLIENTFLUID_WHITE = 0x09

};

const uint8_t fluidMap[] =

{

CLIENTFLUID_EMPTY,

CLIENTFLUID_BLUE,

CLIENTFLUID_RED,

CLIENTFLUID_BROWN_1,

CLIENTFLUID_GREEN,

CLIENTFLUID_YELLOW,

CLIENTFLUID_WHITE,

CLIENTFLUID_PURPLE

};

enum SquareColor_t

{

SQ_COLOR_NONE = 256,

SQ_COLOR_BLACK = 0,

};

enum TextColor_t

{

TEXTCOLOR_BLUE = 5,

TEXTCOLOR_GREEN = 18,

TEXTCOLOR_TEAL = 35,

TEXTCOLOR_LIGHTGREEN = 66,

TEXTCOLOR_DARKBROWN = 78,

TEXTCOLOR_LIGHTBLUE = 89,

TEXTCOLOR_DARKPURPLE = 112,

TEXTCOLOR_BROWN = 120,

TEXTCOLOR_GREY = 129,

TEXTCOLOR_DARKRED = 144,

TEXTCOLOR_DARKPINK = 152,

TEXTCOLOR_PURPLE = 154,

TEXTCOLOR_DARKORANGE = 156,

TEXTCOLOR_RED = 180,

TEXTCOLOR_PINK = 190,

TEXTCOLOR_ORANGE = 192,

TEXTCOLOR_DARKYELLOW = 205,

TEXTCOLOR_YELLOW = 210,

TEXTCOLOR_WHITE = 215,

TEXTCOLOR_NONE = 255,

TEXTCOLOR_UNKNOWN = 256

};

enum Icons_t

{

ICON_NONE = 0,

ICON_POISON = 1 << 0,

ICON_BURN = 1 << 1,

ICON_ENERGY = 1 << 2,

ICON_DRUNK = 1 << 3,

ICON_MANASHIELD = 1 << 4,

ICON_PARALYZE = 1 << 5,

ICON_HASTE = 1 << 6,

ICON_SWORDS = 1 << 7,

ICON_DROWNING = 1 << 8,

ICON_FREEZING = 1 << 9,

ICON_DAZZLED = 1 << 10,

ICON_CURSED = 1 << 11,

ICON_BUFF = 1 << 12,

ICON_PZ = 1 << 13,

ICON_PROTECTIONZONE = 1 << 14

};

enum WeaponType_t

{

WEAPON_NONE = 0,

WEAPON_SWORD = 1,

WEAPON_CLUB = 2,

WEAPON_AXE = 3,

WEAPON_SHIELD = 4,

WEAPON_DIST = 5,

WEAPON_WAND = 6,

WEAPON_AMMO = 7,

WEAPON_FIST = 8

};

enum Ammo_t

{

AMMO_NONE = 0,

AMMO_BOLT = 1,

AMMO_ARROW = 2,

AMMO_SPEAR = 3,

AMMO_THROWINGSTAR = 4,

AMMO_THROWINGKNIFE = 5,

AMMO_STONE = 6,

AMMO_SNOWBALL = 7

};

enum AmmoAction_t

{

AMMOACTION_NONE,

AMMOACTION_REMOVECOUNT,

AMMOACTION_REMOVECHARGE,

AMMOACTION_MOVE,

AMMOACTION_MOVEBACK

};

enum WieldInfo_t

{

WIELDINFO_LEVEL = 1,

WIELDINFO_MAGLV = 2,

WIELDINFO_VOCREQ = 4,

WIELDINFO_PREMIUM = 8

};

enum Skulls_t

{

SKULL_NONE = 0,

SKULL_YELLOW = 1,

SKULL_GREEN = 2,

SKULL_WHITE = 3,

SKULL_RED = 4,

SKULL_BLACK = 5,

SKULL_LAST = SKULL_BLACK

};

enum PartyShields_t

{

SHIELD_NONE = 0,

SHIELD_WHITEYELLOW = 1,

SHIELD_WHITEBLUE = 2,

SHIELD_BLUE = 3,

SHIELD_YELLOW = 4,

SHIELD_BLUE_SHAREDEXP = 5,

SHIELD_YELLOW_SHAREDEXP = 6,

SHIELD_BLUE_NOSHAREDEXP_BLINK = 7,

SHIELD_YELLOW_NOSHAREDEXP_BLINK = 8,

SHIELD_BLUE_NOSHAREDEXP = 9,

SHIELD_YELLOW_NOSHAREDEXP = 10,

SHIELD_LAST = SHIELD_YELLOW_NOSHAREDEXP

};

enum item_t

{

ITEM_FIREFIELD = 1492,

ITEM_FIREFIELD_SAFE = 1500,

ITEM_POISONFIELD = 1496,

ITEM_POISONFIELD_SAFE = 1503,

ITEM_ENERGYFIELD = 1495,

ITEM_ENERGYFIELD_SAFE = 1504,

ITEM_MAGICWALL = 1497,

ITEM_MAGICWALL_SAFE = 11095,

ITEM_WILDGROWTH = 1499,

ITEM_WILDGROWTH_SAFE = 11096,

ITEM_DEPOT = 2594,

ITEM_LOCKER = 2589,

ITEM_GLOWING_SWITCH = 11060,

ITEM_MALE_CORPSE = 6080,

ITEM_FEMALE_CORPSE = 6081,

ITEM_MEAT = 2666,

ITEM_HAM = 2671,

ITEM_GRAPE = 2681,

ITEM_APPLE = 2674,

ITEM_BREAD = 2689,

ITEM_ROLL = 2690,

ITEM_CHEESE = 2696,

ITEM_FULLSPLASH = 2016,

ITEM_SMALLSPLASH = 2019,

ITEM_PARCEL = 2595,

ITEM_PARCEL_STAMPED = 2596,

ITEM_LETTER = 2597,

ITEM_LETTER_STAMPED = 2598,

ITEM_LABEL = 2599,

ITEM_WATERBALL_SPLASH = 7711,

ITEM_WATERBALL = 7956,

ITEM_HOUSE_TRANSFER = 1968 //read-only

};

enum PlayerFlags

{

PlayerFlag_CannotUseCombat = 0, //2^0 = 1

PlayerFlag_CannotAttackPlayer, //2^1 = 2

PlayerFlag_CannotAttackMonster, //2^2 = 4

PlayerFlag_CannotBeAttacked, //2^3 = 8

PlayerFlag_CanConvinceAll, //2^4 = 16

PlayerFlag_CanSummonAll, //2^5 = 32

PlayerFlag_CanIllusionAll, //2^6 = 64

PlayerFlag_CanSenseInvisibility, //2^7 = 128

PlayerFlag_IgnoredByMonsters, //2^8 = 256

PlayerFlag_NotGainInFight, //2^9 = 512

PlayerFlag_HasInfiniteMana, //2^10 = 1024

PlayerFlag_HasInfiniteSoul, //2^11 = 2048

PlayerFlag_HasNoExhaustion, //2^12 = 4096

PlayerFlag_CannotUseSpells, //2^13 = 8192

PlayerFlag_CannotPickupItem, //2^14 = 16384

PlayerFlag_CanAlwaysLogin, //2^15 = 32768

PlayerFlag_CanBroadcast, //2^16 = 65536

PlayerFlag_CanEditHouses, //2^17 = 131072

PlayerFlag_CannotBeBanned, //2^18 = 262144

PlayerFlag_CannotBePushed, //2^19 = 524288

PlayerFlag_HasInfiniteCapacity, //2^20 = 1048576

PlayerFlag_CanPushAllCreatures, //2^21 = 2097152

PlayerFlag_CanTalkRedPrivate, //2^22 = 4194304

PlayerFlag_CanTalkRedChannel, //2^23 = 8388608

PlayerFlag_TalkOrangeHelpChannel, //2^24 = 16777216

PlayerFlag_NotGainExperience, //2^25 = 33554432

PlayerFlag_NotGainMana, //2^26 = 67108864

PlayerFlag_NotGainHealth, //2^27 = 134217728

PlayerFlag_NotGainSkill, //2^28 = 268435456

PlayerFlag_SetMaxSpeed, //2^29 = 536870912

PlayerFlag_SpecialVIP, //2^30 = 1073741824

PlayerFlag_NotGenerateLoot, //2^31 = 2147483648

PlayerFlag_CanTalkRedChannelAnonymous, //2^32 = 4294967296

PlayerFlag_IgnoreProtectionZone, //2^33 = 8589934592

PlayerFlag_IgnoreSpellCheck, //2^34 = 17179869184

PlayerFlag_IgnoreEquipCheck, //2^35 = 34359738368

PlayerFlag_CannotBeMuted, //2^36 = 68719476736

PlayerFlag_IsAlwaysPremium, //2^37 = 137438953472

PlayerFlag_CanAnswerRuleViolations, //2^38 = 274877906944

PlayerFlag_39, //ignore //2^39 = 549755813888 //not used by us

PlayerFlag_ShowGroupNameInsteadOfVocation, //2^40 = 1099511627776

PlayerFlag_HasInfiniteStamina, //2^41 = 2199023255552

PlayerFlag_CannotMoveItems, //2^42 = 4398046511104

PlayerFlag_CannotMoveCreatures, //2^43 = 8796093022208

PlayerFlag_CanReportBugs, //2^44 = 17592186044416

PlayerFlag_45, //ignore //2^45 = 35184372088832 //not used by us

PlayerFlag_CannotBeSeen, //2^46 = 70368744177664

PlayerFlag_LastFlag

};

enum PlayerCustomFlags

{

PlayerCustomFlag_AllowIdle = 0, //2^0 = 1

PlayerCustomFlag_CanSeePosition, //2^1 = 2

PlayerCustomFlag_CanSeeItemDetails, //2^2 = 4

PlayerCustomFlag_CanSeeCreatureDetails, //2^3 = 8

PlayerCustomFlag_NotSearchable, //2^4 = 16

PlayerCustomFlag_GamemasterPrivileges, //2^5 = 32

PlayerCustomFlag_CanThrowAnywhere, //2^6 = 64

PlayerCustomFlag_CanPushAllItems, //2^7 = 128

PlayerCustomFlag_CanMoveAnywhere, //2^8 = 256

PlayerCustomFlag_CanMoveFromFar, //2^9 = 512

PlayerCustomFlag_CanLoginMultipleCharacters, //2^10 = 1024 (account flag)

PlayerCustomFlag_HasFullLight, //2^11 = 2048

PlayerCustomFlag_CanLogoutAnytime, //2^12 = 4096 (account flag)

PlayerCustomFlag_HideLevel, //2^13 = 8192

PlayerCustomFlag_IsProtected, //2^14 = 16384

PlayerCustomFlag_IsImmune, //2^15 = 32768

PlayerCustomFlag_NotGainSkull, //2^16 = 65536

PlayerCustomFlag_NotGainUnjustified, //2^17 = 131072

PlayerCustomFlag_IgnorePacification, //2^18 = 262144

PlayerCustomFlag_IgnoreLoginDelay, //2^19 = 524288

PlayerCustomFlag_CanStairhop, //2^20 = 1048576

PlayerCustomFlag_CanTurnhop, //2^21 = 2097152

PlayerCustomFlag_IgnoreHouseRent, //2^22 = 4194304

PlayerCustomFlag_CanWearAllAddons, //2^23 = 8388608

PlayerCustomFlag_LastFlag

};

//Reserved player storage key ranges

//[10000000 - 20000000]

#define PSTRG_RESERVED_RANGE_START 10000000

#define PSTRG_RESERVED_RANGE_SIZE 10000000

//[1000 - 1500]

#define PSTRG_OUTFITS_RANGE_START (PSTRG_RESERVED_RANGE_START + 1000)

#define PSTRG_OUTFITS_RANGE_SIZE 500

//[1500 - 2000]

#define PSTRG_OUTFITSID_RANGE_START (PSTRG_RESERVED_RANGE_START + 1500)

#define PSTRG_OUTFITSID_RANGE_SIZE 500

#define NETWORKMESSAGE_MAXSIZE 15360

#define IPBAN_FLAG 128

#define LOCALHOST 2130706433

#define IS_IN_KEYRANGE(key, range) (key >= PSTRG_##range##_START && ((key - PSTRG_##range##_START) < PSTRG_##range##_SIZE))

#endif

 

 

Link para o comentário
Compartilhar em outros sites

@CoyoteStark

 

está tudo certo, só uma coisa.. você recompilou tudo de novo ? por que quando se modifica um arquivo Header ( .h ) é obrigatorio recompilar tudo, e também o efeito temque ser declarado no tools.cpp.

 

@Edit

 

e outra coisa, para o novo efeito aparecer quando você usar os comandos lá de testar o efeito, você tem que ir na pasta data/lib/000-constant.lua

 

Pesquisar por isso lá,

 

CONST_ME_INSECTS = 68

 

e assim apos esse ai adicionar o Nome e o numero do novo efeito e assim sucessivamente, não esqueça de ajeitar o const me last.

Editado por Beeki
Link para o comentário
Compartilhar em outros sites

eu fiz tudo isto. recmpilei, no const.h e no tools.cpp, depois fui na pasta lib, adicionei o novo efeito com o numero, eu uso o efeito no ot, mas nao aparece na tela, tipo o erro que da parametro numerico deve ser inferior a 68 etc nao aparece, confirmando o comando, mas o efeito nao surgi na tela so de 68 pra baixo, mesmo assim amanhan vou tentar refazer tudo. obrigado pela atenção

Link para o comentário
Compartilhar em outros sites

Cara faz assim, toma o meu const.h e o tools.cpp, já estão adicionados todos os 255 efeitos que são permitidos pelo cliente/tfs.

 

const.h

 

MAGIC_EFFECT_DRAW_BLOOD = 0x00,
MAGIC_EFFECT_LOSE_ENERGY = 0x01,
MAGIC_EFFECT_POFF  = 0x02,
MAGIC_EFFECT_BLOCKHIT  = 0x03,
MAGIC_EFFECT_EXPLOSION_AREA = 0x04,
MAGIC_EFFECT_EXPLOSION_DAMAGE = 0x05,
MAGIC_EFFECT_FIRE_AREA  = 0x06,
MAGIC_EFFECT_YELLOW_RINGS = 0x07,
MAGIC_EFFECT_POISON_RINGS = 0x08,
MAGIC_EFFECT_HIT_AREA  = 0x09,
MAGIC_EFFECT_TELEPORT  = 0x0A, //10
MAGIC_EFFECT_ENERGY_DAMAGE = 0x0B, //11
MAGIC_EFFECT_WRAPS_BLUE = 0x0C, //12
MAGIC_EFFECT_WRAPS_RED = 0x0D, //13
MAGIC_EFFECT_WRAPS_GREEN = 0x0E, //14
MAGIC_EFFECT_HITBY_FIRE = 0x0F, //15
MAGIC_EFFECT_POISON  = 0x10, //16
MAGIC_EFFECT_MORT_AREA  = 0x11, //17
MAGIC_EFFECT_SOUND_GREEN = 0x12, //18
MAGIC_EFFECT_SOUND_RED  = 0x13, //19
MAGIC_EFFECT_POISON_AREA = 0x14, //20
MAGIC_EFFECT_SOUND_YELLOW = 0x15, //21
MAGIC_EFFECT_SOUND_PURPLE = 0x16, //22
MAGIC_EFFECT_SOUND_BLUE = 0x17, //23
MAGIC_EFFECT_SOUND_WHITE = 0x18, //24
MAGIC_EFFECT_BUBBLES  = 0x19, //25
MAGIC_EFFECT_CRAPS  = 0x1A, //26
MAGIC_EFFECT_GIFT_WRAPS = 0x1B, //27
MAGIC_EFFECT_FIREWORK_YELLOW = 0x1C, //28
MAGIC_EFFECT_FIREWORK_RED = 0x1D, //29
MAGIC_EFFECT_FIREWORK_BLUE = 0x1E, //30
MAGIC_EFFECT_STUN  = 0x1F, //31
MAGIC_EFFECT_SLEEP  = 0x20, //32
MAGIC_EFFECT_WATERCREATURE = 0x21, //33
MAGIC_EFFECT_GROUNDSHAKER = 0x22, //34
MAGIC_EFFECT_HEARTS  = 0x23, //35
MAGIC_EFFECT_FIREATTACK = 0x24, //36
MAGIC_EFFECT_ENERGY_AREA = 0x25, //37
MAGIC_EFFECT_SMALLCLOUDS = 0x26, //38
MAGIC_EFFECT_HOLYDAMAGE = 0x27, //39
MAGIC_EFFECT_BIGCLOUDS  = 0x28, //40
MAGIC_EFFECT_ICEAREA  = 0x29, //41
MAGIC_EFFECT_ICETORNADO = 0x2A, //42
MAGIC_EFFECT_ICEATTACK  = 0x2B, //43
MAGIC_EFFECT_STONES  = 0x2C, //44
MAGIC_EFFECT_SMALLPLANTS = 0x2D, //45
MAGIC_EFFECT_CARNIPHILA = 0x2E, //46
MAGIC_EFFECT_PURPLEENERGY = 0x2F, //47
MAGIC_EFFECT_YELLOWENERGY = 0x30, //48
MAGIC_EFFECT_HOLYAREA  = 0x31, //49
MAGIC_EFFECT_BIGPLANTS  = 0x32, //50
MAGIC_EFFECT_CAKE  = 0x33, //51
MAGIC_EFFECT_GIANTICE  = 0x34, //52
MAGIC_EFFECT_WATERSPLASH = 0x35, //53
MAGIC_EFFECT_PLANTATTACK = 0x36, //54
MAGIC_EFFECT_TUTORIALARROW = 0x37, //55
MAGIC_EFFECT_TUTORIALSQUARE = 0x38, //56
MAGIC_EFFECT_MIRRORHORIZONTAL = 0x39, //57
MAGIC_EFFECT_MIRRORVERTICAL = 0x3A, //58
MAGIC_EFFECT_SKULLHORIZONTAL = 0x3B, //59
MAGIC_EFFECT_SKULLVERTICAL = 0x3C, //60
MAGIC_EFFECT_ASSASSIN  = 0x3D, //61
MAGIC_EFFECT_STEPSHORIZONTAL = 0x3E, //62
MAGIC_EFFECT_BLOODYSTEPS = 0x3F, //63
MAGIC_EFFECT_STEPSVERTICAL = 0x40, //64
MAGIC_EFFECT_YALAHARIGHOST = 0x41, //65
MAGIC_EFFECT_BATS  = 0x42, //66
MAGIC_EFFECT_SMOKE  = 0x43, //67
MAGIC_EFFECT_INSECTS  = 0x44, //68
MAGIC_EFFECT_PINK  = 0x45, //69
MAGIC_EFFECT_RED  = 0x46, //70
MAGIC_EFFECT_BLUEK  = 0x47, //71
MAGIC_EFFECT_BLUEKI  = 0x48, //72
MAGIC_EFFECT_BLUEB  = 0x49, //73
MAGIC_EFFECT_KAMEBLUE = 0x4A, //74
MAGIC_EFFECT_GENERIK = 0x4B, //75
MAGIC_EFFECT_GENERIKB = 0x4C, //76
MAGIC_EFFECT_GENERIKA = 0x4D, //77
MAGIC_EFFECT_GENERIKGREEN = 0x4E, //78
MAGIC_EFFECT_GREENONE = 0x4F, //79
MAGIC_EFFECT_GREENTWO = 0x50, //80
MAGIC_EFFECT_GREENTHREE = 0x51, //81
MAGIC_EFFECT_GREENFOUR = 0x52, //82
MAGIC_EFFECT_GREENFIVE = 0x53, //83
MAGIC_EFFECT_ORANGE = 0x54, //84
MAGIC_EFFECT_ORANGEONE = 0x55, //85
MAGIC_EFFECT_ORANGETWO = 0x56, //86
MAGIC_EFFECT_ORANGETHREE = 0x57, //87
MAGIC_EFFECT_ORANGEFOUR = 0x58, //88
MAGIC_EFFECT_ORANGEFIVE = 0x59, //89
MAGIC_EFFECT_PINKB = 0x5A, //90
MAGIC_EFFECT_PINKONE = 0x5B, //91
MAGIC_EFFECT_PINKTWO = 0x5C, //92
MAGIC_EFFECT_PINKTHREE = 0x5D, //93
MAGIC_EFFECT_PINKFOUR = 0x5E, //94
MAGIC_EFFECT_YELLOWB = 0x5F, //95
MAGIC_EFFECT_YELLOWONE = 0x60, //96
MAGIC_EFFECT_YELLOWTWO = 0x61, //97
MAGIC_EFFECT_YELLOWTHREE = 0x62, //98
MAGIC_EFFECT_YELLOWFOUR = 0x63, //99
MAGIC_EFFECT_YELLOWFIVE = 0x64, //100
MAGIC_EFFECT_YELLOWSIX = 0x65, //101
MAGIC_EFFECT_YELLOWSEVEN = 0x66, //102
MAGIC_EFFECT_YELLOWEIGHT = 0x67, //103
MAGIC_EFFECT_YELLOWNINE = 0x68, //104
MAGIC_EFFECT_YELLOWTEN = 0x69, //105
MAGIC_EFFECT_YELLOWELEVEN = 0x6A, //106
MAGIC_EFFECT_PINKA = 0x6B, //107
MAGIC_EFFECT_PINKC = 0x6C, //108
MAGIC_EFFECT_PINKD = 0x6D, //109
MAGIC_EFFECT_PINKE = 0x6E, //110
MAGIC_EFFECT_PINKF = 0x6F, //111
MAGIC_EFFECT_PINKG = 0x70, //112
MAGIC_EFFECT_PINKH = 0x71, //113
MAGIC_EFFECT_PINKI = 0x72, //114
MAGIC_EFFECT_PINKJ = 0x73, //115
MAGIC_EFFECT_PINKL = 0x74, //116
MAGIC_EFFECT_PINKM = 0x75, //117
MAGIC_EFFECT_PINKN = 0x76, //118
MAGIC_EFFECT_PINKO = 0x77, //119
MAGIC_EFFECT_PINKP = 0x78, //120
MAGIC_EFFECT_PINKQ = 0x79, //121
MAGIC_EFFECT_PINKR = 0x7A, //122
MAGIC_EFFECT_PINKS = 0x7B, //123
MAGIC_EFFECT_PINKT = 0x7C, //124
MAGIC_EFFECT_PINKU = 0x7D, //125
MAGIC_EFFECT_PINKV = 0x7E, //126
MAGIC_EFFECT_PINKX = 0x7F, //127
MAGIC_EFFECT_PINKZ = 0x80, //128
MAGIC_EFFECT_GRAYA = 0x81, //129
MAGIC_EFFECT_GRAYB = 0x82, //130
MAGIC_EFFECT_GRAYC = 0x83, //131
MAGIC_EFFECT_GRAYD = 0x84, //132
MAGIC_EFFECT_GRAYE = 0x85, //133
MAGIC_EFFECT_GRAYF = 0x86, //134
MAGIC_EFFECT_GRAYG = 0x87, //135
MAGIC_EFFECT_GRAYH = 0x88, //136
MAGIC_EFFECT_GRAYI = 0x89, //137
MAGIC_EFFECT_GRAYJ = 0x8A, //138
MAGIC_EFFECT_GRAYL = 0x8B, //139
MAGIC_EFFECT_GRAYM = 0x8C, //140
MAGIC_EFFECT_GRAYN = 0x8D, //141
MAGIC_EFFECT_GRAYO = 0x8E, //142
MAGIC_EFFECT_GRAYP = 0x8F, //143
MAGIC_EFFECT_GRAYQ = 0x90, //144
MAGIC_EFFECT_GRAYR = 0x91, //145
MAGIC_EFFECT_GRAYS = 0x92, //146
MAGIC_EFFECT_GRAYT = 0x93, //147
MAGIC_EFFECT_GRAYU = 0x94, //148
MAGIC_EFFECT_GRAYV = 0x95, //149
MAGIC_EFFECT_GRAYX = 0x96, //150
MAGIC_EFFECT_GRAYZ = 0x97, //151
MAGIC_EFFECT_BLACKA = 0x98, //152
MAGIC_EFFECT_BLACKB = 0x99, //153
MAGIC_EFFECT_BLACKC = 0x9A, //154
MAGIC_EFFECT_BLACKD = 0x9B, //155
MAGIC_EFFECT_BLACKE = 0x9C, //156
MAGIC_EFFECT_BLACKF = 0x9D, //157
MAGIC_EFFECT_BLACKG = 0x9E, //158
MAGIC_EFFECT_BLACKH = 0x9F, //159
MAGIC_EFFECT_BLACKJ = 0xA0, //160
MAGIC_EFFECT_BLACKL = 0xA1, //161
MAGIC_EFFECT_BLACKM = 0xA2, //162
MAGIC_EFFECT_BLACKN = 0xA3, //163
MAGIC_EFFECT_BLACKO = 0xA4, //164
MAGIC_EFFECT_BLACKP = 0xA5, //165
MAGIC_EFFECT_BLACKQ = 0xA6, //166
MAGIC_EFFECT_BLACKR = 0xA7, //167
MAGIC_EFFECT_BLACKS = 0xA8, //168
MAGIC_EFFECT_BLACKT = 0xA9, //169
MAGIC_EFFECT_BLACKU = 0xAA, //170
MAGIC_EFFECT_BLACKV = 0xAB, //171
MAGIC_EFFECT_BLACKX = 0xAC, //172
MAGIC_EFFECT_BLACKZ = 0xAD, //173
MAGIC_EFFECT_SKYA = 0xAE, //174
MAGIC_EFFECT_SKYB = 0xAF, //175
MAGIC_EFFECT_SKYC = 0xB0, //176
MAGIC_EFFECT_SKYD = 0xB1, //177
MAGIC_EFFECT_SKYE = 0xB2, //178
MAGIC_EFFECT_SKYF = 0xB3, //179
MAGIC_EFFECT_SKYG = 0xB4, //180
MAGIC_EFFECT_SKYH = 0xB5, //181
MAGIC_EFFECT_SKYI = 0xB6, //182
MAGIC_EFFECT_SKYJ = 0xB7, //183
MAGIC_EFFECT_SKYL = 0xB8, //184
MAGIC_EFFECT_SKYM = 0xB9, //185
MAGIC_EFFECT_SKYN = 0xBA, //186
MAGIC_EFFECT_SKYO = 0xBB, //187
MAGIC_EFFECT_SKYP = 0xBC, //188
MAGIC_EFFECT_SKYQ = 0xBD, //189
MAGIC_EFFECT_SKYR = 0xBE, //190
MAGIC_EFFECT_SKYS = 0xBF, //191
MAGIC_EFFECT_SKYT = 0xC0, //192
MAGIC_EFFECT_SKYU = 0xC1, //193
MAGIC_EFFECT_SKYV = 0xC2, //194
MAGIC_EFFECT_SKYX = 0xC3, //195
MAGIC_EFFECT_SKYZ = 0xC4, //196
MAGIC_EFFECT_FIGHTA = 0xC5, //197
MAGIC_EFFECT_FIGHTB = 0xC6, //198
MAGIC_EFFECT_FIGHTC = 0xC7, //199
MAGIC_EFFECT_FIGHTD = 0xC8, //200
MAGIC_EFFECT_FIGHTE = 0xC9, //201
MAGIC_EFFECT_FIGHTF = 0xCA, //202
MAGIC_EFFECT_FIGHTG = 0xCB, //203
MAGIC_EFFECT_FIGHTH = 0xCC, //204
MAGIC_EFFECT_FIGHTI = 0xCD, //205
MAGIC_EFFECT_REDSTORM = 0xCE, //206
MAGIC_EFFECT_BURNINGR = 0xCF, //207
MAGIC_EFFECT_BLUESTORMZ = 0xD0, //208
MAGIC_EFFECT_BLACKSTORMZ = 0xD1, //209
MAGIC_EFFECT_GOLDENSTORMZ = 0xD2, //210
MAGIC_EFFECT_DARKSTORMZ = 0xD3, //211
MAGIC_EFFECT_CELLTRANSFORMZ = 0xD4, //212
MAGIC_EFFECT_BROLLYTRANSFORMZ = 0xD5, //213
MAGIC_EFFECT_FABIOUM = 0xD6, //214
MAGIC_EFFECT_FABIODOIS = 0xD7, //215
MAGIC_EFFECT_FABIOTRES = 0xD8, //216
MAGIC_EFFECT_FABIOQUATRO = 0xD9, //217
MAGIC_EFFECT_FABIOCINCO = 0xDA, //218
MAGIC_EFFECT_FABIOSEIS = 0xDB, //219
MAGIC_EFFECT_FABIOSETE = 0xDC, //220
MAGIC_EFFECT_FABIOOITO = 0xDD, //221
MAGIC_EFFECT_FABIONOVE = 0xDE, //222
MAGIC_EFFECT_FABIODEZ = 0xDF, //223
MAGIC_EFFECT_FABIOONZE = 0xE0, //224
MAGIC_EFFECT_FABIODOZE = 0xE1, //225
MAGIC_EFFECT_FABIOTREZE = 0xE2, //226
MAGIC_EFFECT_FABIOQUATORZE = 0xE3, //227
MAGIC_EFFECT_FABIOQUINZE = 0xE4, //228
MAGIC_EFFECT_FABIODEZESEIS = 0xE5, //229
MAGIC_EFFECT_FABIODEZESETE = 0xE6, //230
MAGIC_EFFECT_FABIODEZOITO = 0xE7, //231
MAGIC_EFFECT_FABIOSKY = 0xE8, //232
MAGIC_EFFECT_FABIODEZENOVE = 0xE9, //233
MAGIC_EFFECT_FABIOVINTE = 0xEA, //234
MAGIC_EFFECT_FABIONUYS= 0xEB, //235
MAGIC_EFFECT_FABIOSEXYNUYS= 0xEC, //236
MAGIC_EFFECT_FABIOTRINTA= 0xED, //237
MAGIC_EFFECT_FABIOTRINTADOIS= 0xEE, //238
MAGIC_EFFECT_FABIOTRINTATRES= 0xEF, //239
MAGIC_EFFECT_FABIOTRINTAQUATRO= 0xF0, //240
MAGIC_EFFECT_FABIOTRINTACINCO= 0xF1, //241
MAGIC_EFFECT_FABIOTRINTASEIS= 0xF2, //242
MAGIC_EFFECT_FABIOTRINTASETE= 0xF3, //243
MAGIC_EFFECT_FABIOTRINTAOITO= 0xF4, //244
MAGIC_EFFECT_FABIOTRINTANOVE= 0xF5, //245
MAGIC_EFFECT_FABIOQUARENTA= 0xF6, //246
MAGIC_EFFECT_FABIOQUARENTAUM= 0xF7, //247
MAGIC_EFFECT_FABIOQUARENTADOIS= 0xF8, //248
MAGIC_EFFECT_FABIOQUARENTATRES= 0xF9, //249
MAGIC_EFFECT_FABIOQUARENTAQUATRO= 0xFA, //250
MAGIC_EFFECT_FABIOQUARENTACINCO= 0xFB, //251
MAGIC_EFFECT_FABIOQUARENTASEIS= 0xFC, //252
MAGIC_EFFECT_FABIOQUARENTASETE= 0xFD, //253
MAGIC_EFFECT_FABIOQUARENTAOITO= 0xFE, //254
MAGIC_EFFECT_LAST  =	  MAGIC_EFFECT_FABIOQUARENTAOITO,

 

tools.cpp

 

{"redspark",  MAGIC_EFFECT_DRAW_BLOOD},
{"bluebubble",  MAGIC_EFFECT_LOSE_ENERGY},
{"poff",  MAGIC_EFFECT_POFF},
{"yellowspark",  MAGIC_EFFECT_BLOCKHIT},
{"explosionarea", MAGIC_EFFECT_EXPLOSION_AREA},
{"explosion",  MAGIC_EFFECT_EXPLOSION_DAMAGE},
{"firearea",  MAGIC_EFFECT_FIRE_AREA},
{"yellowbubble", MAGIC_EFFECT_YELLOW_RINGS},
{"greenbubble",  MAGIC_EFFECT_POISON_RINGS},
{"blackspark",  MAGIC_EFFECT_HIT_AREA},
{"teleport",  MAGIC_EFFECT_TELEPORT},
{"energy",  MAGIC_EFFECT_ENERGY_DAMAGE},
{"blueshimmer",  MAGIC_EFFECT_WRAPS_BLUE},
{"redshimmer",  MAGIC_EFFECT_WRAPS_RED},
{"greenshimmer", MAGIC_EFFECT_WRAPS_GREEN},
{"fire",  MAGIC_EFFECT_HITBY_FIRE},
{"greenspark",  MAGIC_EFFECT_POISON},
{"mortarea",  MAGIC_EFFECT_MORT_AREA},
{"greennote",  MAGIC_EFFECT_SOUND_GREEN},
{"rednote",  MAGIC_EFFECT_SOUND_RED},
{"poison",  MAGIC_EFFECT_POISON_AREA},
{"yellownote",  MAGIC_EFFECT_SOUND_YELLOW},
{"purplenote",  MAGIC_EFFECT_SOUND_PURPLE},
{"bluenote",  MAGIC_EFFECT_SOUND_BLUE},
{"whitenote",  MAGIC_EFFECT_SOUND_WHITE},
{"bubbles",  MAGIC_EFFECT_BUBBLES},
{"dice",  MAGIC_EFFECT_CRAPS},
{"giftwraps",  MAGIC_EFFECT_GIFT_WRAPS},
{"yellowfirework", MAGIC_EFFECT_FIREWORK_YELLOW},
{"redfirework",  MAGIC_EFFECT_FIREWORK_RED},
{"bluefirework", MAGIC_EFFECT_FIREWORK_BLUE},
{"stun",  MAGIC_EFFECT_STUN},
{"sleep",  MAGIC_EFFECT_SLEEP},
{"watercreature", MAGIC_EFFECT_WATERCREATURE},
{"groundshaker", MAGIC_EFFECT_GROUNDSHAKER},
{"hearts",  MAGIC_EFFECT_HEARTS},
{"fireattack",  MAGIC_EFFECT_FIREATTACK},
{"energyarea",  MAGIC_EFFECT_ENERGY_AREA},
{"smallclouds",  MAGIC_EFFECT_SMALLCLOUDS},
{"holydamage",  MAGIC_EFFECT_HOLYDAMAGE},
{"bigclouds",  MAGIC_EFFECT_BIGCLOUDS},
{"icearea",  MAGIC_EFFECT_ICEAREA},
{"icetornado",  MAGIC_EFFECT_ICETORNADO},
{"iceattack",  MAGIC_EFFECT_ICEATTACK},
{"stones",  MAGIC_EFFECT_STONES},
{"smallplants",  MAGIC_EFFECT_SMALLPLANTS},
{"carniphila",  MAGIC_EFFECT_CARNIPHILA},
{"purpleenergy", MAGIC_EFFECT_PURPLEENERGY},
{"yellowenergy", MAGIC_EFFECT_YELLOWENERGY},
{"holyarea",  MAGIC_EFFECT_HOLYAREA},
{"bigplants",  MAGIC_EFFECT_BIGPLANTS},
{"cake",  MAGIC_EFFECT_CAKE},
{"giantice",  MAGIC_EFFECT_GIANTICE},
{"watersplash",  MAGIC_EFFECT_WATERSPLASH},
{"plantattack",  MAGIC_EFFECT_PLANTATTACK},
{"tutorialarrow", MAGIC_EFFECT_TUTORIALARROW},
{"tutorialsquare", MAGIC_EFFECT_TUTORIALSQUARE},
{"mirrorhorizontal", MAGIC_EFFECT_MIRRORHORIZONTAL},
{"mirrorvertical", MAGIC_EFFECT_MIRRORVERTICAL},
{"skullhorizontal", MAGIC_EFFECT_SKULLHORIZONTAL},
{"skullvertical", MAGIC_EFFECT_SKULLVERTICAL},
{"assassin",  MAGIC_EFFECT_ASSASSIN},
{"stepshorizontal", MAGIC_EFFECT_STEPSHORIZONTAL},
{"bloodysteps",  MAGIC_EFFECT_BLOODYSTEPS},
{"stepsvertical", MAGIC_EFFECT_STEPSVERTICAL},
{"yalaharighost", MAGIC_EFFECT_YALAHARIGHOST},
{"bats",  MAGIC_EFFECT_BATS},
{"smoke",  MAGIC_EFFECT_SMOKE},
{"insects",  MAGIC_EFFECT_INSECTS},
{"pink",  MAGIC_EFFECT_PINK},
{"red",  MAGIC_EFFECT_RED},
{"bluek",  MAGIC_EFFECT_BLUEK},
{"blueki",  MAGIC_EFFECT_BLUEKI},
{"blueb",  MAGIC_EFFECT_BLUEB},
{"kameblue",  MAGIC_EFFECT_KAMEBLUE},
{"generiki",  MAGIC_EFFECT_GENERIK},
{"generikib",  MAGIC_EFFECT_GENERIKB},
{"generikia",  MAGIC_EFFECT_GENERIKA},
{"generikigreen",  MAGIC_EFFECT_GENERIKGREEN},
{"greenone",  MAGIC_EFFECT_GREENONE},
{"greentwo",  MAGIC_EFFECT_GREENTWO},
{"greenthree",  MAGIC_EFFECT_GREENTHREE},
{"greenfour",  MAGIC_EFFECT_GREENFOUR},
{"greenfive",  MAGIC_EFFECT_GREENFIVE},
{"orange",  MAGIC_EFFECT_ORANGE},
{"orangeone",  MAGIC_EFFECT_ORANGEONE},
{"orangetwo",  MAGIC_EFFECT_ORANGETWO},
{"orangethree",  MAGIC_EFFECT_ORANGETHREE},
{"orangefour",  MAGIC_EFFECT_ORANGEFOUR},
{"orangefive",  MAGIC_EFFECT_ORANGEFIVE},
{"pinkb",  MAGIC_EFFECT_PINKB},
{"pinkone",  MAGIC_EFFECT_PINKONE},
{"pinktwo",  MAGIC_EFFECT_PINKTWO},
{"pinkthree",  MAGIC_EFFECT_PINKTHREE},
{"pinkfour",  MAGIC_EFFECT_PINKFOUR},
{"yellowb",  MAGIC_EFFECT_YELLOWB},
{"yellowone",  MAGIC_EFFECT_YELLOWONE},
{"yellowtwo",  MAGIC_EFFECT_YELLOWTWO},
{"yellowthree",  MAGIC_EFFECT_YELLOWTHREE},
{"yellowfour",  MAGIC_EFFECT_YELLOWFOUR},
{"yellowfive",  MAGIC_EFFECT_YELLOWFIVE},
{"yellowsix",  MAGIC_EFFECT_YELLOWSIX},
{"yellowseven",  MAGIC_EFFECT_YELLOWSEVEN},
{"yelloweight",  MAGIC_EFFECT_YELLOWEIGHT},
{"yellownine",  MAGIC_EFFECT_YELLOWNINE},
{"yellowten",  MAGIC_EFFECT_YELLOWTEN},
{"yelloweleven",  MAGIC_EFFECT_YELLOWELEVEN},
{"pinka",  MAGIC_EFFECT_PINKA},
{"pinkc",  MAGIC_EFFECT_PINKC},
{"pinkd",  MAGIC_EFFECT_PINKD},
{"pinke",  MAGIC_EFFECT_PINKE},
{"pinkf",  MAGIC_EFFECT_PINKF},
{"pinkg",  MAGIC_EFFECT_PINKG},
{"pinkh",  MAGIC_EFFECT_PINKH},
{"pinki",  MAGIC_EFFECT_PINKI},
{"pinkj",  MAGIC_EFFECT_PINKJ},
{"pinkl",  MAGIC_EFFECT_PINKL},
{"pinkl",  MAGIC_EFFECT_PINKL},
{"pinkm",  MAGIC_EFFECT_PINKM},
{"pinkn",  MAGIC_EFFECT_PINKN},
{"pinko",  MAGIC_EFFECT_PINKO},
{"pinkp",  MAGIC_EFFECT_PINKP},
{"pinkq",  MAGIC_EFFECT_PINKQ},
{"pinkr",  MAGIC_EFFECT_PINKR},
{"pinks",  MAGIC_EFFECT_PINKS},
{"pinkt",  MAGIC_EFFECT_PINKT},
{"pinku",  MAGIC_EFFECT_PINKU},
{"pinkv",  MAGIC_EFFECT_PINKV},
{"pinkx",  MAGIC_EFFECT_PINKX},
{"pinkz",  MAGIC_EFFECT_PINKZ},
{"graya",  MAGIC_EFFECT_GRAYA},
{"grayb",  MAGIC_EFFECT_GRAYB},
{"grayc",  MAGIC_EFFECT_GRAYC},
{"grayd",  MAGIC_EFFECT_GRAYD},
{"graye",  MAGIC_EFFECT_GRAYE},
{"grayf",  MAGIC_EFFECT_GRAYF},
{"grayg",  MAGIC_EFFECT_GRAYG},
{"grayh",  MAGIC_EFFECT_GRAYH},
{"grayi",  MAGIC_EFFECT_GRAYI},
{"grayj",  MAGIC_EFFECT_GRAYJ},
{"grayl",  MAGIC_EFFECT_GRAYL},
{"graym",  MAGIC_EFFECT_GRAYM},
{"grayn",  MAGIC_EFFECT_GRAYN},
{"grayo",  MAGIC_EFFECT_GRAYO},
{"grayp",  MAGIC_EFFECT_GRAYP},
{"grayq",  MAGIC_EFFECT_GRAYQ},
{"grayr",  MAGIC_EFFECT_GRAYR},
{"grays",  MAGIC_EFFECT_GRAYS},
{"grayt",  MAGIC_EFFECT_GRAYT},
{"grayu",  MAGIC_EFFECT_GRAYU},
{"grayv",  MAGIC_EFFECT_GRAYV},
{"grayx",  MAGIC_EFFECT_GRAYX},
{"grayz",  MAGIC_EFFECT_GRAYZ},
{"blacka",  MAGIC_EFFECT_BLACKA},
{"blackb",  MAGIC_EFFECT_BLACKB},
{"blackc",  MAGIC_EFFECT_BLACKC},
{"blackd",  MAGIC_EFFECT_BLACKD},
{"blacke",  MAGIC_EFFECT_BLACKE},
{"blackf",  MAGIC_EFFECT_BLACKF},
{"blackg",  MAGIC_EFFECT_BLACKG},
{"blackh",  MAGIC_EFFECT_BLACKH},
{"blackj",  MAGIC_EFFECT_BLACKJ},
{"blackl",  MAGIC_EFFECT_BLACKL},
{"blackm",  MAGIC_EFFECT_BLACKM},
{"blackn",  MAGIC_EFFECT_BLACKN},
{"blacko",  MAGIC_EFFECT_BLACKO},
{"blackp",  MAGIC_EFFECT_BLACKP},
{"blackr",  MAGIC_EFFECT_BLACKR},
{"blacks",  MAGIC_EFFECT_BLACKS},
{"blackt",  MAGIC_EFFECT_BLACKT},
{"blacku",  MAGIC_EFFECT_BLACKU},
{"blacku",  MAGIC_EFFECT_BLACKV},
{"blackx",  MAGIC_EFFECT_BLACKX},
{"blackz",  MAGIC_EFFECT_BLACKZ},
{"skya",  MAGIC_EFFECT_SKYA},
{"skyb",  MAGIC_EFFECT_SKYB},
{"skyc",  MAGIC_EFFECT_SKYC},
{"skyd",  MAGIC_EFFECT_SKYD},
{"skyd",  MAGIC_EFFECT_SKYE},
{"skyf",  MAGIC_EFFECT_SKYF},
{"skyg",  MAGIC_EFFECT_SKYG},
{"skyh",  MAGIC_EFFECT_SKYH},
{"skyi",  MAGIC_EFFECT_SKYI},
{"skyj",  MAGIC_EFFECT_SKYJ},
{"skyl",  MAGIC_EFFECT_SKYL},
{"skym",  MAGIC_EFFECT_SKYM},
{"skyn",  MAGIC_EFFECT_SKYN},
{"skyo",  MAGIC_EFFECT_SKYO},
{"skyp",  MAGIC_EFFECT_SKYP},
{"skyr",  MAGIC_EFFECT_SKYR},
{"skys",  MAGIC_EFFECT_SKYS},
{"skyt",  MAGIC_EFFECT_SKYT},
{"skyu",  MAGIC_EFFECT_SKYU},
{"skyv",  MAGIC_EFFECT_SKYV},
{"skyx",  MAGIC_EFFECT_SKYX},
{"skyz",  MAGIC_EFFECT_SKYZ},
{"fighta",  MAGIC_EFFECT_FIGHTA},
{"fightb",  MAGIC_EFFECT_FIGHTB},
{"fightc",  MAGIC_EFFECT_FIGHTC},
{"fightd",  MAGIC_EFFECT_FIGHTD},
{"fighte",  MAGIC_EFFECT_FIGHTE},
{"fightf",  MAGIC_EFFECT_FIGHTF},
{"fightg",  MAGIC_EFFECT_FIGHTG},
{"fighth",  MAGIC_EFFECT_FIGHTH},
{"fighti",  MAGIC_EFFECT_FIGHTI},
{"redstorm",  MAGIC_EFFECT_REDSTORM},
{"burningr",  MAGIC_EFFECT_BURNINGR},
{"bluestormz",  MAGIC_EFFECT_BLUESTORMZ},
{"blackstormz",  MAGIC_EFFECT_BLACKSTORMZ},
{"goldenstormz", MAGIC_EFFECT_GOLDENSTORMZ},
{"darkstormz", MAGIC_EFFECT_DARKSTORMZ},
{"celltransformz", MAGIC_EFFECT_CELLTRANSFORMZ},
{"brollytransformz", MAGIC_EFFECT_BROLLYTRANSFORMZ},
{"fabioum", MAGIC_EFFECT_FABIOUM},
{"fabiodois", MAGIC_EFFECT_FABIODOIS},
{"fabiotres", MAGIC_EFFECT_FABIOTRES},
{"fabioquatro", MAGIC_EFFECT_FABIOQUATRO},
{"fabiocinco", MAGIC_EFFECT_FABIOCINCO},
{"fabioseis", MAGIC_EFFECT_FABIOSEIS},
{"fabiosete", MAGIC_EFFECT_FABIOSETE},
{"fabiooito", MAGIC_EFFECT_FABIOOITO},
{"fabionove", MAGIC_EFFECT_FABIONOVE},
{"fabiodez", MAGIC_EFFECT_FABIODEZ},
{"fabioonze", MAGIC_EFFECT_FABIOONZE},
{"fabiodoze", MAGIC_EFFECT_FABIODOZE},
{"fabiotreze", MAGIC_EFFECT_FABIOTREZE},
{"fabioquatorze", MAGIC_EFFECT_FABIOQUATORZE},
{"fabioquinze", MAGIC_EFFECT_FABIOQUINZE},
{"fabiodezeseis", MAGIC_EFFECT_FABIODEZESEIS},
{"fabiodezesete", MAGIC_EFFECT_FABIODEZESETE},
{"fabiodezoito", MAGIC_EFFECT_FABIODEZOITO},
{"fabiosky", MAGIC_EFFECT_FABIOSKY},
{"fabiodezenove", MAGIC_EFFECT_FABIODEZENOVE},
{"fabiovinte", MAGIC_EFFECT_FABIOVINTE},
{"fabionuys", MAGIC_EFFECT_FABIONUYS},
{"fabiosexynuys", MAGIC_EFFECT_FABIOSEXYNUYS},
{"fabiotrinta", MAGIC_EFFECT_FABIOTRINTA},
{"fabiotrintadois", MAGIC_EFFECT_FABIOTRINTADOIS},
{"fabiotrintatres", MAGIC_EFFECT_FABIOTRINTATRES},
{"fabiotrintaquatro", MAGIC_EFFECT_FABIOTRINTAQUATRO},
{"fabiotrintacinco", MAGIC_EFFECT_FABIOTRINTACINCO},
{"fabiotrintasete", MAGIC_EFFECT_FABIOTRINTASEIS},
{"fabiotrintasete", MAGIC_EFFECT_FABIOTRINTASETE},
{"fabiotrintaoito", MAGIC_EFFECT_FABIOTRINTAOITO},
{"fabiotrintanove", MAGIC_EFFECT_FABIOTRINTANOVE},
{"fabioquarenta", MAGIC_EFFECT_FABIOQUARENTA},
{"fabioquarentadois", MAGIC_EFFECT_FABIOQUARENTADOIS},
{"fabioquarentatres", MAGIC_EFFECT_FABIOQUARENTATRES},
{"fabioquarentaquatro", MAGIC_EFFECT_FABIOQUARENTAQUATRO},
{"fabioquarentacinco", MAGIC_EFFECT_FABIOQUARENTACINCO},
{"fabioquarentaseis", MAGIC_EFFECT_FABIOQUARENTASEIS},
{"fabioquarentasete", MAGIC_EFFECT_FABIOQUARENTASETE},
{"fabioquarentaoito", MAGIC_EFFECT_FABIOQUARENTAOITO}

 

Não liga pro nome dos efeitos, foram Baseados em meu nome, Fábio ;]

Editado por Beeki
Link para o comentário
Compartilhar em outros sites

Cara você quer o 000 constant pra que ?, serve pra nada, quando você for usar um novo efeito que você adicinou use em Numero não em nome como é pra ser no constant é inutil aquilo, fica a dica!

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...