Ir para conteúdo

existe limite de effects no otserv?


duasrodas

Posts Recomendados

Coloquei alguns effects em meu servidor foi de 68 para 125,mas nao consigo fazer funcionar os novos,só funciona até o 69.

Ja add na lib dando continuação:

CONST_ME_SMOKE = 67
CONST_ME_INSECTS = 68
CONST_ME_ORC = 69
CONST_ME_TERREMOTO = 70
CONST_ME_ORCFIRE = 71
CONST_ME_FLASH = 72
CONST_ME_BALLENR = 73
CONST_ME_KI = 74
CONST_ME_FIREPUNCH = 75
etc...
faço os efeitos durante o jogo e nao aparece,ja conferi no cliente estão todas las as sprites normais iguais as outras.
Cliente 8.6,limite de sprites ainda nao atingiu 65k,esta com 35k.
alguem sabe solução para isso?
Link para o comentário
Compartilhar em outros sites

Bom editei as sources,mas mesmo assim nao funcionou!

Vou postar aqui:

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_DRAGONHEAD		= 0x45, //69
	MAGIC_EFFECT_TERREMOTO = 0x46, //daqui pra baixo foi acréscimo
	MAGIC_EFFECT_ORCFIRE = 0x47, 
	MAGIC_EFFECT_FLASH = 0x48, 
	MAGIC_EFFECT_BALLENR = 0x49, 
	MAGIC_EFFECT_KI = 0x4A,
	MAGIC_EFFECT_FIREPUNCH = 0x4B,
	MAGIC_EFFECT_FIRECHUTE = 0x4C,
	MAGIC_EFFECT_BLACKFIRE = 0x4D,
	MAGIC_EFFECT_DARKSD = 0x4E,
	MAGIC_EFFECT_BARRO = 0x4F,
	MAGIC_EFFECT_BALLLIGHT = 0x50,
	MAGIC_EFFECT_COSMICBALL = 0x51,
	MAGIC_EFFECT_ENERGYBALLGRENN = 0x52,
	MAGIC_EFFECT_EXPLOATOMIC = 0x53,
	MAGIC_EFFECT_EXPLOATOMICC = 0x54,
	MAGIC_EFFECT_EXPLOATOMIC = 0x55,
	MAGIC_EFFECT_EXPLOAREAFULL = 0x56,
	MAGIC_EFFECT_EXPLOSIAREA = 0x57,
	MAGIC_EFFECT_EXPLOSIT = 0x58,
	MAGIC_EFFECT_DARKEPLOGIANT = 0x59,
	MAGIC_EFFECT_EXPLOVENON = 0x5A,
	MAGIC_EFFECT_VENOEXPLO = 0x5B,
	MAGIC_EFFECT_FIRECHUS = 0x5C,
	MAGIC_EFFECT_SLASH = 0x5D,
	MAGIC_EFFECT_SLASHGREEN = 0x5E,
	MAGIC_EFFECT_FIRETARGET = 0x5F,
	MAGIC_EFFECT_EFECCTGREEN = 0x60,
	MAGIC_EFFECT_EFECCTBLUE = 0x61,
	MAGIC_EFFECT_BALLERUPTION = 0x62,
	MAGIC_EFFECT_SLASHFIRE = 0x63,
	MAGIC_EFFECT_EXPLOPURPLE = 0x64,
	MAGIC_EFFECT_FASTEXPLO = 0x65,
	MAGIC_EFFECT_EXPLOMAX = 0x66,
	MAGIC_EFFECT_EXPLODARKMAX = 0x67,
	MAGIC_EFFECT_SMOKEEXPLO = 0x68,
	MAGIC_EFFECT_CRYSTALEFFECT = 0x69,
	MAGIC_EFFECT_GREENGIANTBALL = 0x6A,
	MAGIC_EFFECT_FIREBALLFAST = 0x6B,
	MAGIC_EFFECT_FIREBALLATTACK = 0x6C,
	MAGIC_EFFECT_POISONSMOKE = 0x6D,
	MAGIC_EFFECT_POISONMAX = 0x6E,
	MAGIC_EFFECT_TELERPOTEFFECT = 0x6F,
	MAGIC_EFFECT_FENDATERRA = 0x70,
	MAGIC_EFFECT_RODAPURPLE = 0x71,
	MAGIC_EFFECT_SMOKEROSA = 0x72,
	MAGIC_EFFECT_PLANTATTACK = 0x73,
	MAGIC_EFFECT_SLASHEXPLO = 0x74,
	MAGIC_EFFECT_BLIZZARD = 0x75,
	MAGIC_EFFECT_MAGMATERRA = 0x76,
	MAGIC_EFFECT_MAGAMAIR = 0x77,
	MAGIC_EFFECT_FIREROLL = 0x78,
	MAGIC_EFFECT_TERRASMASH = 0x79,
	MAGIC_EFFECT_GALACTICEXPLO = 0x7A,
	MAGIC_EFFECT_DARKBALLEXPLO = 0x7B,
	MAGIC_EFFECT_ROCKSMAH = 0x7C,
MAGIC_EFFECT_LAST		= MAGIC_EFFECT_ROCKSMAH, // fim do acréscimo

	//for internal use, dont send to client
	MAGIC_EFFECT_NONE		= 0xFF,
	MAGIC_EFFECT_UNKNOWN		= 0xFFFF
};
Editado por duasrodas
Link para o comentário
Compartilhar em outros sites

MAGIC_EFFECT_DRAGONHEAD = 0x45, //69 tente modificar para 100 e compile e teste ai

mas 100 ja é este aqui:

MAGIC_EFFECT_EXPLOPURPLE = 0x64, //100

 

ou eu nao entendi você?

up

up

up

up

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

Normalmente o limite é de 255. Além de const.h, dependendo do servidor, você tem que adicionar também nos scripts. Alguns ficam em data/global.lua, outros data/lib/constant.lua

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...