Register for your free account! | Forgot your password?

Go Back   elitepvpers > Flyff (Fly For Fun) > Flyff PServer - Discussions / Questions
You last visited: Today at 23:59

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


Neuz crash CWndCommItemCtrl::DrawSkill

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 947
Received Thanks: 153
Neuz crash CWndCommItemCtrl::DrawSkill

Hi elitepvpers,

i am adding an new buff item and i have taken the example of II_SYS_SYS_ARMOREFFECTCHANGE_GOLD_7DAY

so what i changed was

CmnHdr.h added
Code:
SM_GLOWDBZ
dwSMItemID [SM_GLOWDBZ]			  =		II_SYS_SYS_ARMOREFFECTDBZ;
DPClient.cpp
Code:
else if(g_pPlayer->HasBuff(BUFF_ITEM, II_SYS_SYS_ARMOREFFECTDBZ ))
		{
			if(pItemProp->dwID == II_SYS_SYS_ARMOREFFECTDBZ )
				check = TRUE;
		}
CreateObj.cpp
under XI_NAT_WINGANGEL01
Added XI_GEN_DBZ

Mover.cpp
Code:
else if(HasBuff(BUFF_ITEM2, II_SYS_SYS_ARMOREFFECTDBZ))
		{
			if(m_pSfxWing == NULL)
				m_pSfxWing = CreateSfx( D3DDEVICE, XI_GEN_DBZ, GetPos(), GetId(), D3DXVECTOR3(0,0,0), NULL_ID, -1);
		}
Added Spec_Item
II_SYS_SYS_ARMOREFFECTCHANGE_GOLD_7DAY <-- this entire line and changed it to II_SYS_SYS_ARMOREFFECTDBZ etc..

Defined it in DefineItem.h/DefineObj.h/Mdldyna.inc

Entering in game
Pressed the glow change. Its working. But i dont see an icon at the top of the screen with the countdown timer. Also pressing J will crash the neuz.

Error:

Any help will be appreciated.



raventh1984 is offline  
Old 01/02/2015, 14:03   #2
 
elite*gold: 0
Join Date: Mar 2008
Posts: 598
Received Thanks: 463
You should know the procedure: Post the specific parts of the function and give info which line is line 549.


Mognakor is offline  
Old 01/02/2015, 14:57   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 947
Received Thanks: 153
Thanks for the reply Mognakor.

Already found the problem

II_SYS_SYS_ARMOREFFECTDBZ was defined with number 71002

Inside the Table [SKILLINFLUENCE_TBL] @ [SkillInfluence] the value was 5466.
So i looked why it changed to 5466 instead of the item number. And it was because of this WORD wID inside Skillinfluence.cpp
While an WORD has only a range from 0 to 65535.
So the DefineItem number was out of range. Lowerd it and its working now.
raventh1984 is offline  
Old 01/02/2015, 19:13   #4



 
elite*gold: 0
The Black Market: 485/0/0
Join Date: Jan 2012
Posts: 12,566
Received Thanks: 2,978
Why you defined sm mode without using it? I think you can do it easily in MoverSkill.cpp.


Lumi is offline  
Old 01/02/2015, 19:24   #5
 
elite*gold: 0
Join Date: Oct 2012
Posts: 947
Received Thanks: 153
The sm mode will be used later.


raventh1984 is offline  
Reply



« set DwCost true Character.inc | n' paar Models »

Similar Threads
neuz crash
12/16/2014 - Flyff PServer - Discussions / Questions - 7 Replies
hi epvpers i have some problem in my neuz., i change my projectCmn.h into max level 200 and i change also the resource defineJob.h same max 200 level and i compile it and succcess, i try it ingame no error or neuz crash. here is my problem i...
[HELP] Neuz Crash
09/05/2014 - Flyff PServer - Discussions / Questions - 0 Replies
Please help me my neuz crash while opening Model Change app* Errorlogs Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 001B:005F2868, CItemBase::CItemBase()+0024 byte(s) - Registers EAX=0012F538 EBX=00000000 ...
neuz crash :(
12/13/2013 - Flyff PServer - Discussions / Questions - 2 Replies
im trying to fix this the skill slot help Pictures, help Images, help Photos, help Videos - Image - TinyPic - Free Image Hosting, Photo Sharing & Video Hosting my friend told me that i need add code to 2Drender but why when i add this to my...
Neuz.exe Crash ?!
05/26/2013 - Flyff PServer - Discussions / Questions - 7 Replies
Guten Tag liebe Communtiy , Nachdem ich meine Neuz.exe recompilt , habe ich mich sofort eingeloggt und es nachgeprüft. Alles funktonierte einwandfrei nunnachdem ich mit Merge die Resdaten für den Client compilt habe , startet meine Neuz.exe...
Neuz crash
04/13/2013 - Flyff PServer - Discussions / Questions - 5 Replies
Meine neuz crasht andauernd, wenn ich sie starte und kann nicht sagen wieso. Error.txt: 2013/ 4/13 14:39:25 CWorldMng::LoadScript -> Load WorldName 2013/ 4/13 14:39:35 rCnt=1 Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module...



All times are GMT +2. The time now is 23:59.


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.