Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 18:13

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Scroll of Glowchange] Problem...

Discussion on [Scroll of Glowchange] Problem... within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
Unleashed!'s Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 395
Received Thanks: 231
[Scroll of Glowchange] Problem...

Hallo,
Ich habe bei mir mal versucht, die Scroll of Glowchange einzubauen.
Als erstes habe ich der Klasse CMover das Attribut m_dwGlow(DWORD) hinzugefügt. Dann habe ich einen Befehl geschrieben, der dieses Attribut folgendermaßen setzt:
Code:
BOOL TextCmd_ChangeGlow( CScanner & s )
{
#ifdef __WORLDSERVER
	s.GetToken();

	CUser* pUser	= (CUser*)s.dwValue;
	CMover *pMover = pUser;

	if( s.Token == GLOW_RED )
		pMover->SetGlow( GLOW_RED );
	else 
		pMover->SetGlow( GLOW_NORMAL );

	return TRUE;
#else	// __WORLDSERVER
	return TRUE;
#endif	// __WORLDSERVER
}
Mover.h:
Code:
	void			SetGlow( DWORD dwGlow ){ m_dwGlow = dwGlow; }
Und in der Mover.cpp habe ich nun folgendes versucht:
Code:
	switch( nAbilityOption )
	{
	case 3: dwSfx = XI_GEN_ITEM_SETITEM03; break;
	case 4: dwSfx = XI_GEN_ITEM_SETITEM04; break;
	case 5: dwSfx = XI_GEN_ITEM_SETITEM05; break;
	case 6: dwSfx = XI_GEN_ITEM_SETITEM06; break;
	case 7: dwSfx = XI_GEN_ITEM_SETITEM07; break;
	case 8: dwSfx = XI_GEN_ITEM_SETITEM08; break;
	case 9: dwSfx = XI_GEN_ITEM_SETITEM09; break;
	case 10: 
		{
			switch( m_dwGlow )
			{
			case GLOW_RED: dwSfx = XI_GEN_ITEM_SETITEM10_RED; break;

			case GLOW_NORMAL: dwSfx = XI_GEN_ITEM_SETITEM10; break;
			default: dwSfx = XI_GEN_ITEM_SETITEM10; break;
			}
		}break;
	}
Funktioniert aber nicht, es wird immer noch der normale Glow angezeigt, ich denke, dass das daran liegt, dass die Variable m_dwGlow noch so deklariert wird: m_dwGlow = GLOW_NORMAL;.
Wie kann ich das jetzt so machen, dass er eben nicht auf das GLOW_NORMAL zugreift, sondern auf dass, was über den Befehl gesetzt wurde?

MFG Unleashed!
Unleashed! is offline  
Reply


Similar Threads Similar Threads
(ALB) WTS Effect Scroll - Megadolon Drop Scroll
01/09/2012 - Trading - 1 Replies
Im looking for plats just serious offers please
[ZSZC] Problem with reverse scroll.
10/04/2010 - SRO Private Server - 4 Replies
Hi guys. I have a trouble. When i put on reverse scroll, any point (last die, or last return) i got this:http://img691.imageshack.us/img691/3845/32864 272.jpg And such problem not only at me. Any solution?
Problem Regarding Reverse Scroll on DB Bot
08/28/2010 - SRO Private Server - 1 Replies
im wondering now, does Reverse Scroll Work when your Using DB Bot? cuz im currently using v1.0 right now, and just bought Reverse scrolls since my grind spot is way too far to repeatedly go back and forth.. but the weird thing is, it doesnt work Reverse Scroll says it can be used on.. Last Place you used a Return Scroll and last place you have died.. one thing i noticed on my bot is that, whenever i Die.. it automatically respawns back to town, like i dont even see the Part where it...
Problem Scroll
12/17/2009 - CO2 Private Server - 10 Replies
Hi, I have a problem with my scroll bird island, he walks by /item BirdIslandGates 0 0 0 0 0 0 but when you buy in its CpsShop do not put in my bag I replace my Shop.dat Item.txt always the same problem ..(Source 5165) Need help thank's..
agbot return scroll problem
09/20/2008 - Silkroad Online - 4 Replies
when my acc goes to his hunting area he kills 1 mob and starts return scroll... wtf guys..? can som1 help me?



All times are GMT +2. The time now is 18:13.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.