Page 1 of 1

Reikia pataisyti klaidas...

Posted: 2012 Jan 08 15:20
by NZT
Bandau kažką kūrti, bet nedaug ką suprantu. Kas ištaisys klaidas - tam +rep.

KLAIDOS

Code: Select all

FX.core(22) : error 001: expected token: ",", but found "-integer value-"FX.core(22) : warning 215: expression has no effectFX.core(22) : warning 215: expression has no effectFX.core(22) : error 001: expected token: ";", but found ")"FX.core(22) : error 029: invalid expression, assumed zeroFX.core(22) : fatal error 107: too many error messages on one line
FX.core

Code: Select all

public FX_off( Client){        RemFx( Client, "fxAvatar", 0 );        RemFx( Client, "fxAvatar", 0 );        RemFx( Client, "fxAvatar", 0 );        RemFx( Client, "fxBlow", 0 );        RemFx( Client, "fxLgtField", 0 );        RemFx( Client, "fxWorldLight", 0 );        RemFx( Client, "fxEntityLight", 0 );        RemFx( Client, "fxLighting", 0 );        RemFx( Client, "fxModelEntity", 0 );        RemFx( Client, "fxModelEntity", 0 );        RemFx( Client, "fxModelEntity", 0 );        RemFx( Client, "fxModelEntity", 0 );        RemFx( Client, "fxPowerup", 0 );        RemFx( Client, "fxPowerup", 0 );        RemFx( Client, "fxSprite", 0 );        RemFx( Client, "fxPowerWave", 0 );}public fxAvatarTrans( Core[] ){        AddFx( Core[0], "fxAvatar", "create" 102, 1.0 );}public fxAvatarTransLong( Core[] ){        AddFx( Core[0], "fxAvatar", "create" 101, 1.0 );}public fxAvatarTransFinish( Core[] ){        AddFx( Core[0], "fxAvatar", "create" 103, 1.0 );}public fxBlow( Core[] ){        AddFx( Core[0], "fxBlow" );}public fxLgtField( Core[] ){        AddFx( Core[0], "fxLgtField", 0.4, 1, 255, 20, 20 );        return 1;}public fxWorldLight( Core[] ){        AddFx( Core[0], "fxWorldLight", 20, 255, 0, 96, 10, 1 );        return 1;}public fxEntityLight( Core[] ){        AddFx( Core[0], "fxEntityLight", 20, 255, 0, 96, 10, 1 );        return 1;}public fxLighting( Core[] ){        AddFx( Core[0], "fxLighting", "sprite/lgtning.spr", 2, 50, 150, 6, 169, 204, 250, 10, 100, 0 );        return 1;}public fxAuraNormal1( Core[] ){        AddFx( Core[0], "fxModelEntity", "models/evoliution/Auras/shape_05.mdl", 0, 0, 10.0, 0, 0, 0, 1.0, 0.3, 0, 4 );        return 1;}public fxAuraNormal2( Core[] ){        AddFx( Core[0], "fxModelEntity", "models/evoliution/Auras/shape_01.mdl", 0, 0, 10.0, 0, 0, 0, 1.0, 0.6, 0, 4 );        return 1;}public fxAuraSSJ1( Core[] ){        AddFx( Core[0], "fxModelEntity", "models/evoliution/Auras/shape_06.mdl", 0, 0, 10.0, 0, 0, 0, 1.0, 0.3, 0, 2 );        return 1;}public fxAuraSSJ2( Core[] ){        AddFx( Core[0], "fxModelEntity", "models/evoliution/Auras/shape_06.mdl", 0, 0, 10.0, 0, 0, 0, 1.0, 0.6, 0, 2 );        return 1;}public fxPowerup( Core[] ){        AddFx( Core[0], "fxPowerup", 255, 255, 0 );        return 1;}public fxPowerup2( Core[] ){        AddFx( Core[0], "fxPowerup", 255, 0, 84 );        return 1;}public fxTransAura( Core[] ){        AddFx( Core[0], "fxSprite", "sprites/ecx.aura.broly.spr", 15, 255, 0, 0, 0 );        return 1;}public fxPowerWave( Core[] ){        AddFx( Core[0], "fxPowerWave", "sprites/white.spr", 180, 145, 120, 30, 250 );        return 1;}

Re: Reikia pataisyti klaidas...

Posted: 2012 Jan 08 15:27
by psychical
pirmam: 33 eilutė nėra gale kablelio...

-- 2012 Sau 08 15:29 --

Code: Select all

AddFx( Core[0], "fxAvatar", "create" 103, 1.0 );
man išvis šitas labai keistai atrodo, nes padarai: --"create" 103-- kai tai nematau, kad turėtu būt atskirai arba po "create" sudėlio kablelius, arba 103 ir kita įdėk i kabutes... Be to parodyk man AddFx funkcija...

Re: Reikia pataisyti klaidas...

Posted: 2012 Jan 08 15:35
by NZT
Po "create" sudėjau kablelius ir normaliai sukompiliavo. Tau +karma.