[Tutorial] Add system to v19 Jopsi Glow

05/15/2013 16:28 brent2121#16
error
05/15/2013 16:55 Lumi#17
Quote:
m_iGlowBody
m_iGlowLegLeft
m_iGlowLegRight
m_iGlowArmLeft
m_iGlowArmRight
m_iGlowHandLeft
m_iGlowHandRight
is not declared.

Mover.h:
Code:
#ifdef __JOPS_GLOW
int m_iGlowBody;
int m_iGlowLegLeft;
int m_iGlowLegRight;
int m_iGlowArmLeft;
int m_iGlowArmRight;
int m_iGlowHandLeft;
int m_iGlowHandRight;
#endif
05/15/2013 16:59 Rhyder`#18
Quote:
Originally Posted by Lumi' View Post
is not declared.

Mover.h:
Code:
#ifdef __JOPS_GLOW
int m_iGlowBody;
int m_iGlowLegLeft;
int m_iGlowLegRight;
int m_iGlowArmLeft;
int m_iGlowArmRight;
int m_iGlowHandLeft;
int m_iGlowHandRight;
#endif
dude he dont know how to read and search that's why he ask :D
05/15/2013 17:08 brent2121#19
Quote:
Originally Posted by Lumi' View Post
is not declared.

Mover.h:
Code:
#ifdef __JOPS_GLOW
int m_iGlowBody;
int m_iGlowLegLeft;
int m_iGlowLegRight;
int m_iGlowArmLeft;
int m_iGlowArmRight;
int m_iGlowHandLeft;
int m_iGlowHandRight;
#endif
i declare it on mover.h ,
05/16/2013 08:29 ThoughtfulDev#20
Quote:
Originally Posted by jayjei14 View Post
dude he dont know how to read and search that's why he ask :D
that comes from you mouth? :facepalm:

as i said in dbmanagersave.cpp change sql_varchar to sql_integer because in the db your create rows with integer but in sourcer u would say varchar -> oversized character_tbl
05/16/2013 11:18 raventh1984#21
Why is there no like?

However the thanks must be an like Shonenx.

Espacialy from this line (That comes from your mouth)
05/18/2013 20:17 Avalion#22
DbManagerSave.cpp

Code:
#ifdef __JOPS_GLOW
	bOK[++j] = qry->BindParameter( ++i, SQL_PARAM_INPUT, SQL_C_LONG, SQL_INTEGER, 0, 0, &pMover->m_iGlowArmLeft , 0, 0 ); 
	bOK[++j] = qry->BindParameter( ++i, SQL_PARAM_INPUT, SQL_C_LONG, SQL_INTEGER, 0, 0, &pMover->m_iGlowArmRight, 0, 0 ); 
	bOK[++j] = qry->BindParameter( ++i, SQL_PARAM_INPUT, SQL_C_LONG, SQL_INTEGER, 0, 0, &pMover->m_iGlowLegLeft, 0, 0 );
	bOK[++j] = qry->BindParameter( ++i, SQL_PARAM_INPUT, SQL_C_LONG, SQL_INTEGER, 0, 0, &pMover->m_iGlowLegRight, 0, 0 );
	bOK[++j] = qry->BindParameter( ++i, SQL_PARAM_INPUT, SQL_C_LONG, SQL_INTEGER, 0, 0, &pMover->m_iGlowBody, 0, 0);
	bOK[++j] = qry->BindParameter( ++i, SQL_PARAM_INPUT, SQL_C_LONG, SQL_INTEGER, 0, 0, &pMover->m_iGlowHandLeft, 0, 0);
	bOK[++j] = qry->BindParameter( ++i, SQL_PARAM_INPUT, SQL_C_LONG, SQL_INTEGER, 0, 0, &pMover->m_iGlowHandRight, 0, 0);
#endif// __JOPS_GLOW
Shonen is correct. Varchar != Int. Fix it and it should work.
05/23/2013 06:53 emadelyn#23
is this updating??
05/25/2013 15:26 flag51415#24
Hello, I've got a problem with the procedure. Everything works correctly, no error on compile but in game when I change the glow and check "Apply", nothing append. When I change the values manually in database, it works.
Someone knows how can I fixx this ?
Thanks
05/25/2013 16:05 Rhyder`#25
Reequip item?
update your mdldyna.inc and get the correct sfx
05/25/2013 16:14 flag51415#26
No matter, I just forget a line ^^ It works great, thanks for the tuto
08/01/2013 23:48 LoscArmy#27
Can u send me the SFX Files please plase ?
08/02/2013 17:46 - DK#28
Here is the sfxen from glowchange ..
08/02/2013 21:52 LoscArmy#29
Oh Thanks so much bro!

( They don't have textures?
08/03/2013 00:09 - DK#30
Quote:
Originally Posted by LoscArmy View Post
Oh Thanks so much bro!

( They don't have textures?
x..x Sfx .. x..x sorry i forget it ..