Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 12:36

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

Advertisement



CItemBase::SetTexture GetProp() NULL Return 0

Discussion on CItemBase::SetTexture GetProp() NULL Return 0 within the Flyff Private Server forum part of the Flyff category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
CItemBase::SetTexture GetProp() NULL Return 0

Hi Epvpers

I have an problem today i was recompiling my source cause i did an modification on an small part.

When launching the server files everything went ok.
But when launching the neuz.exe it crashes and its providing me with the following error.

CItemBase::SetTexture GetProp() NULL Return 0
CItemBase::SetTexture()+0114 byte(s), official source\_common\item.cpp, line 0092+0003 byte(s)

Well i opend up the Item.cpp and went to the line
This is the part

Now what i did was looking up the log (CItemBase::SetTexture)
And its posted above the # __CLIENT
Now i changed the if (!pProp) to if(pProp)
Recompiling and getting the error again but this time with the item id uppon crashing

CItemBase::SetTexture GetProp() NULL Return 2801 <--See

I have checked 2801 in defineitem.h and its the bisquit you get when making an new char.

What i did next was remove the change i had make recompiling again. But its no use the problem still exist.

Now how can i fix it.
I have searched for it but there was never an clear solotion and or why it was happening.

Can someone help me with it and proberly give me also an explination of why this is happening?

With kind regards.
raventh1984 is offline  
Old 05/12/2014, 13:11   #2
 
elite*gold: 0
Join Date: Apr 2014
Posts: 96
Received Thanks: 7
Got same problem :3 anyone know about this one?
Wharsh is offline  
Old 05/12/2014, 13:56   #3
 
elite*gold: 0
Join Date: Jan 2014
Posts: 773
Received Thanks: 373
Quote:
void CItemBase::SetTexture()
{
#ifdef __CLIENT
ItemProp* pProp =GetProp();
if (!pProp)
{
LPCTSTR szErr = Error("CItemBase::SetTexture GetProp() NULL Return %d", m_dwItemId);
ADDERRORMSG( szErr );
return;
}

#if __VER >= 9 // __PET_0410
CString strIcon = pProp->szIcon;
if( pProp->dwItemKind3 == IK3_EGG )
This should work.
Drabur is offline  
Thanks
1 User
Old 05/12/2014, 13:59   #4
 
elite*gold: 0
Join Date: Apr 2014
Posts: 96
Received Thanks: 7
Quote:
Originally Posted by Drabur View Post
This should work.
Lemme try it. tnx



I can enter to the world but without npc's and items .. im trying to fix it in my client ..



Got this error
Wharsh is offline  
Old 05/12/2014, 17:30   #5
 
.Trotex.'s Avatar
 
elite*gold: 400
Join Date: May 2012
Posts: 156
Received Thanks: 37
Quote:
Originally Posted by Drabur View Post
This should work.
@Drabur
The function is a void-function, so it havn't got an regulary return.. There isn't the problem because i think you don't have to cancel the func on this place.. Maybe its a solution to abort at the m_dwItemId-value 0 like:

Quote:
if (m_dwItemId <= 0)
{
return;
}

if (!pProp)
{
LPCTSTR szErr = Error("CItemBase::SetTexture GetProp() NULL Return %d", m_dwItemId);
ADDERRORMSG( szErr );
}
but i dont think that thats the right way

@Whrash
The problem is in the GetProp()-function, at the m_dwItemId 0 and 1... I think its an error because of ressource things.. in the CItemBase::SetTexture()-func is the answer. The if-part say "write this error if there isnt a pProp" and its at the m_dwItemId 0 and 1..
What for a kind of modification did you do? Maybe im totaly wrong with my idea.. And sorry for my bad english
.Trotex. is offline  
Thanks
1 User
Old 05/12/2014, 18:10   #6
 
Mognakor's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 598
Received Thanks: 465
Nice necro posting...

Remove the return and try debugging your client and check the function stack.
Mognakor is offline  
Thanks
2 Users
Old 05/12/2014, 21:47   #7
 
elite*gold: 0
Join Date: Jan 2014
Posts: 773
Received Thanks: 373
I had the problem and this fixed it.
Drabur is offline  
Old 05/12/2014, 22:09   #8
 
Mognakor's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 598
Received Thanks: 465
Quote:
Originally Posted by Drabur View Post
I had the problem and this fixed it.
Returning from a function and ignoring an error-message is not what i would call a fix.
Mognakor is offline  
Thanks
3 Users
Closed Thread


Similar Threads Similar Threads
L2 Null IG H5
11/09/2012 - Lineage 2 - 0 Replies
Hello guys i have a problem i change ip with l2ini on l2 to 127.0.0.1 and i run l2net use ig and try log i use listen and launch l2 but if i log to game my l2 net dont work only this 21:08:43 :[client -> bot gameserver : using port 7777 21:08:43 :[client -> bot gameserver : waiting 21:08:43 :[client -> bot loginserver : waiting 21:08:33 :[loaded saved enterworld packet 21:08:33 :[loaded saved blowfish list 21:08:33 :[loaded saved gameserver list 21:08:33 :[loaded saved server list
Will das Spiel starten und dann kommt NULL NULL
12/08/2011 - Kal Online - 2 Replies
Also wie im titel schon gesagt ist habe ich wenn ich das spiel starten will ein kleines fenster mit zwei "NULL NULL" buttons kann mir jemand helfen wie ich jetzt spielen und das problem lösen kann. wäre cool wenn schnell eine antwort kommt danke, gruß:D:D
How to kill Dark Colluseast: Null and Steelation: Null (TT 3-1)?
06/10/2011 - PW Hacks, Bots, Cheats, Exploits - 1 Replies
Can anyone tell me How to kill Dark Colluseast: Null and Steelation: Null (TT 3-1)? :handsdown: After patch 121 or mermaid update, the boss, Dark Colluseast: Null and Steelation: Null, has a random aggro, area stun, and area banish. :confused:



All times are GMT +2. The time now is 12:36.


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.