[HELP] Private shop

12/05/2015 01:54 Wezzy_Dev#1
When i open my private shop and i click close shop my neuz will
Crash how to fix this? i got error log here

12/07/2015 07:59 raventh1984#2
Well its something in the OnDraw function.
So check if you modified it. If not then run your neuz in debug mode to see where it breaks.
12/07/2015 13:57 Wezzy_Dev#3
Quote:
Originally Posted by raventh1984 View Post
Well its something in the OnDraw function.
So check if you modified it. If not then run your neuz in debug mode to see where it breaks.
sorry but i don't know how to debug. btw what file included in Vendor?
12/07/2015 15:49 #FaiL'#4
So don't call yourself "Dev"... omg...

Neuz -> Rightclick -> Debug -> New Instance
12/07/2015 15:55 Professor Linebeck#5
Quote:
Originally Posted by #FaiL' View Post
So don't call yourself "Dev"... omg...

Neuz -> Rightclick -> Debug -> New Instance
Everyone who just edit the resource files call themselves a Dev...



Quote:
Originally Posted by Wezzy_Dev View Post
When i open my private shop and i click close shop my neuz will
Crash how to fix this? i got error log here

What did you changed exactly?
12/07/2015 18:23 Wezzy_Dev#6
Quote:
Originally Posted by raventh1984 View Post
Well its something in the OnDraw function.
So check if you modified it. If not then run your neuz in debug mode to see where it breaks.
Quote:
Originally Posted by Professor Linebeck View Post
Everyone who just edit the resource files call themselves a Dev...





What did you changed exactly?
I just add __CHIP_PLAYERSHOP Code are correct no mistake
i all ready check the loop.

And when i debug it the problem when i close the shop is in this line code.

CTexture* pTexture = CWndBase::m_textureMng.AddTexture( D3DDEVICE, MakePath( DIR_ITEM, pItem->szIcon ), 0xffff00ff );

But on gow source and other source that have __CHIP_PLAYERSHOP The code is correct and i compare my code and their code its all same no errors no miss details.

Resdata is also correct
12/09/2015 08:40 raventh1984#7
I doubt its the code. I think its something with the shop itself that it can't render an image.

So try this open up an shop put an wooden sword in it. Then close the shop and see what it does. If there is still an problem then you need to check your code again.

Or remove the chip playershop and test it again. If it works you messed something up.
If it still crashes then you need to look further.

^^ This is basic problem solving.
12/09/2015 14:05 Wezzy_Dev#8
Quote:
Originally Posted by raventh1984 View Post
I doubt its the code. I think its something with the shop itself that it can't render an image.

So try this open up an shop put an wooden sword in it. Then close the shop and see what it does. If there is still an problem then you need to check your code again.

Or remove the chip playershop and test it again. If it works you messed something up.
If it still crashes then you need to look further.

^^ This is basic problem solving.
it crash again i check the code detail by detail and resdata also its a perfect copy no miss code but still crash when i put wooden sword 1 is price 1perin and the other one wooden 1 rc then i open and when i close the shop neuz crash.
If i disable the chipplayershop the shop the neuz not crashing.

But on my former source were i get the CHP_Playershop code working fine no error no crashing.
12/09/2015 14:10 Spheromany#9
Simple undefine your "__CHIP_PLAYERSHOP" in every VersionCommon.h and compile and test again (dont forget to change maybe resdata,inc back also),
if it not crash you made a mistake in the code.
12/09/2015 16:55 Wezzy_Dev#10
Quote:
Originally Posted by Spheromany View Post
Simple undefine your "__CHIP_PLAYERSHOP" in every VersionCommon.h and compile and test again (dont forget to change maybe resdata,inc back also),
if it not crash you made a mistake in the code.
lol!! the funny part on me the source code is perfect the resdata.inc is correct same at my old files and source where i get my __CHIP_PLAYERSHOP system and when i un define the system it not crash ok i all ready do raventh1984 say and you repeat it again?
12/09/2015 17:37 alfredico#11
Quote:
Originally Posted by Wezzy_Dev View Post
lol!! the funny part on me the source code is perfect the resdata.inc is correct same at my old files and source where i get my __CHIP_PLAYERSHOP system and when i un define the system it not crash ok i all ready do raventh1984 say and you repeat it again?
It's obvious you failed to copy a part of the code genius dev. Please check your copy&paste skills and try again.
12/09/2015 18:43 Wezzy_Dev#12
Quote:
Originally Posted by alfredico View Post
It's obvious you failed to copy a part of the code genius dev. Please check your copy&paste skills and try again.
i all ready check the code for almost 15times and its correct and the resdata also is correct.
12/09/2015 18:52 alfredico#13
Quote:
Originally Posted by Wezzy_Dev View Post
i all ready check the code for almost 15times and its correct and the resdata also is correct.
Because the error is in a part you didn't copy I guess.
05/16/2018 17:01 cmwarjin0#14
up same problem with me