Register for your free account! | Forgot your password?

You last visited: Today at 11:09

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

[Scroll of Glowchange] Problem...

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

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:
BOOL TextCmd_ChangeGlow( CScanner & s )

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

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

	return TRUE;
#else	// __WORLDSERVER
	return TRUE;
#endif	// __WORLDSERVER
	void			SetGlow( DWORD dwGlow ){ m_dwGlow = dwGlow; }
Und in der Mover.cpp habe ich nun folgendes versucht:
	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;
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  

« OnJoin() Fehler | Help! Need Awake bot on Flyff Divinity. »

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 PServer Ask the Experts - 4 Replies
Hi guys. I have a trouble. When i put on reverse scroll, any point (last die, or last return) i got this: And such problem not only at me. Any solution?
Problem Regarding Reverse Scroll on DB Bot
08/28/2010 - SRO PServer Ask the Experts - 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 PServer - Discussions / Questions - 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 - SRO Ask the Experts - 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 +1. The time now is 11:09.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.