Jump to content

Recommended Posts

this system doesnt work some maps. example : chunjo2

i can see render in chunjo 1 but i cant see chunjo2.

 

chunjo 1 https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

chunjo 2 : https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 5
  • Love 1
Link to comment
Share on other sites

  • Bronze
hace 9 horas, Chunchunmaru dijo:

this system doesnt work some maps. example : chunjo2

i can see render in chunjo 1 but i cant see chunjo2.

 

chunjo 1 https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

chunjo 2 : https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

That happened to me and is not a render target problem is just a map problem (maybe when rendering).

And after so much debug I found a "solution", you can solve it just giving the (0, 0, 0) position to the model instance when you create it.

EterLib/CRenderTarget.cpp -> https://metin2.download/picture/384UySom9jQdNjqpPVumLT0LInK28chB/.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 2
  • Good 2
  • Love 9
Link to comment
Share on other sites

1 hour ago, Shang said:

That happened to me and is not a render target problem is just a map problem (maybe when rendering).

And after so much debug I found a "solution", you can solve it just giving the (0, 0, 0) position to the model instance when you create it.

EterLib/CRenderTarget.cpp -> https://metin2.download/picture/rKu2OcXzgkw4354V2FZMjWpHlJLZpfX1/.png

Can you make a new function for render armors and weapons? I mean without a character 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

  • Honorable Member

Something like that, but for weapons this is a bit messed up, not every camera view good for the different kind of weapons.
But now I'm having fun.

efe3c4c739.png

When I'm done I'll post it here, but my base is totally GF like, so, might not be fit 100% for this base.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 11
Link to comment
Share on other sites

10 minutes ago, xP3NG3Rx said:

Something like that, but for weapons this is a bit messed up, not every camera view good for the different kind of weapons.
But now I'm having fun.

efe3c4c739.png

When I'm done I'll post it here, but my base is totally GF like, so, might not be fit 100% for this base.

Really nice work now the armor then is perfectly 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
  • Love 3
Link to comment
Share on other sites

My Client crashes when its try to call the Method 

void CGraphicRenderTargetTexture::ReleaseTextures()
{
	safe_release(m_lpd3dRenderTexture);
	safe_release(m_lpd3dRenderTargetSurface);
	safe_release(m_lpd3dDepthSurface);
	safe_release(m_lpd3dDepthSurface);
	safe_release(m_lpd3dOriginalRenderTarget);
	safe_release(m_lpd3dOldDepthBufferSurface);
	m_renderRect.left = 0;
	m_renderRect.top = 0;
	m_renderRect.right = 0;
	m_renderRect.bottom = 0;
}

the safe_release function is not working for me there.

Link to comment
Share on other sites

On 2/5/2019 at 3:10 PM, ѕeмa™ said:

Yes u can, just add something like this:

 

1354c1631439602d1639924f3e997622.png

 

1f0ee007aa3b76d9814d92e132847271.png

I`ve done like you, no error when compilating binary, but it dosen`t work on the game, it shows the monsters but not the weapons, hairs or armors.

One more thing, the background dosen`t work for me either, is black, the files are where they should be.

p1.png

p2.png

p3.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
  • Love 1
Link to comment
Share on other sites

  • Premium
On 2/7/2019 at 12:13 PM, xP3NG3Rx said:

Something like that, but for weapons this is a bit messed up, not every camera view good for the different kind of weapons.
But now I'm having fun.

efe3c4c739.png

When I'm done I'll post it here, but my base is totally GF like, so, might not be fit 100% for this base.

is done?

Edited by Metin2 Dev
Core X - External 2 Internal

plague.png.1f5de75b42146262dcd655a5a8078

Link to comment
Share on other sites

Hi i have this problem , any solution?

Quote

Error    191    error C2143: error de sintaxis : falta ';' delante de '{'    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    27    1    eterPythonLib
Error    195    error C2143: error de sintaxis : falta ';' delante de '{'    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    28    1    eterPythonLib
Error    199    error C2143: error de sintaxis : falta ';' delante de '{'    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    29    1    eterPythonLib
Error    203    error C2143: error de sintaxis : falta ';' delante de '{'    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    31    1    eterPythonLib
Error    207    error C2143: error de sintaxis : falta ';' delante de '{'    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    32    1    eterPythonLib
Error    186    error C2146: error de sintaxis : falta ';' delante del identificador 'GetRenderTargetTexture'    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    19    1    eterPythonLib
Error    197    error C2146: error de sintaxis : falta ';' delante del identificador 'm_lpd3dDepthSurface'    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    29    1    eterPythonLib
Error    205    error C2146: error de sintaxis : falta ';' delante del identificador 'm_lpd3dOldDepthBufferSurface'    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    32    1    eterPythonLib
Error    201    error C2146: error de sintaxis : falta ';' delante del identificador 'm_lpd3dOriginalRenderTarget'    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    31    1    eterPythonLib
Error    193    error C2146: error de sintaxis : falta ';' delante del identificador 'm_lpd3dRenderTargetSurface'    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    28    1    eterPythonLib
Error    189    error C2146: error de sintaxis : falta ';' delante del identificador 'm_lpd3dRenderTexture'    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    27    1    eterPythonLib
Error    192    error C2334: símbolos (token) inesperados delante de '{'; se pasará por alto el cuerpo de función aparente    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    27    1    eterPythonLib
Error    196    error C2334: símbolos (token) inesperados delante de '{'; se pasará por alto el cuerpo de función aparente    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    28    1    eterPythonLib
Error    200    error C2334: símbolos (token) inesperados delante de '{'; se pasará por alto el cuerpo de función aparente    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    29    1    eterPythonLib
Error    204    error C2334: símbolos (token) inesperados delante de '{'; se pasará por alto el cuerpo de función aparente    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    31    1    eterPythonLib
Error    208    error C2334: símbolos (token) inesperados delante de '{'; se pasará por alto el cuerpo de función aparente    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    32    1    eterPythonLib
Error    187    error C4430: falta el especificador de tipo; se presupone int. Nota: C++ no admite default-int    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    19    1    eterPythonLib
Error    190    error C4430: falta el especificador de tipo; se presupone int. Nota: C++ no admite default-int    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    27    1    eterPythonLib
Error    194    error C4430: falta el especificador de tipo; se presupone int. Nota: C++ no admite default-int    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    28    1    eterPythonLib
Error    198    error C4430: falta el especificador de tipo; se presupone int. Nota: C++ no admite default-int    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    29    1    eterPythonLib
Error    202    error C4430: falta el especificador de tipo; se presupone int. Nota: C++ no admite default-int    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    31    1    eterPythonLib
Error    206    error C4430: falta el especificador de tipo; se presupone int. Nota: C++ no admite default-int    e:\metin2\source_client\src\client\eterlib\GrpRenderTargetTexture.h    32    1    eterPythonLib
    215    IntelliSense: el identificador "LPDIRECT3DSURFACE8" no está definido    e:\Metin2\Source_client\src\client\EterLib\GrpRenderTargetTexture.h    28    3    UserInterface
    216    IntelliSense: el identificador "LPDIRECT3DSURFACE8" no está definido    e:\Metin2\Source_client\src\client\EterLib\GrpRenderTargetTexture.h    29    3    UserInterface
    217    IntelliSense: el identificador "LPDIRECT3DSURFACE8" no está definido    e:\Metin2\Source_client\src\client\EterLib\GrpRenderTargetTexture.h    31    3    UserInterface
    218    IntelliSense: el identificador "LPDIRECT3DSURFACE8" no está definido    e:\Metin2\Source_client\src\client\EterLib\GrpRenderTargetTexture.h    32    3    UserInterface
    213    IntelliSense: el identificador "LPDIRECT3DTEXTURE8" no está definido    e:\Metin2\Source_client\src\client\EterLib\GrpRenderTargetTexture.h    19    3    UserInterface
    214    IntelliSense: el identificador "LPDIRECT3DTEXTURE8" no está definido    e:\Metin2\Source_client\src\client\EterLib\GrpRenderTargetTexture.h    27    3    UserInterface

 

 

Link to comment
Share on other sites

  • Forum Moderator
21 minutes ago, T4UMP said:

Sit down, if you can't help with this, stop posting here your egoistic screens and talktrash. @Raylee why this guy has "Developer"?

 

5 minutes ago, ѕeмa™ said:

Oh sorry i just posted the solution of the problem but you just know how to talk bullshit.

Better if u shut up and go to pick flowers to the forest.

Rules

§1 Language

(1.2) Behaviour

Don't flame at other users. We want this board to be the best possible experience. You maybe want help and everybody started with no or little knowledge. So help and don't flame! Also we don't want to see any racism or sexism.
 

Best regards
Raylee
 

  • Love 2
Link to comment
Share on other sites

  • Honorable Member
2 hours ago, Caramelito said:

You can use this to create a cool inventory window xD same as WoW.

What do you mean with this?

Btw, here is my reversed class for the Monstercard render target, you can check it for your own ideas.

This is the hidden content, please

This one is still not compatible with this base, so you have to code it by yourself to make it work.
Practice :D.

  • Metin2 Dev 32
  • Think 1
  • Confused 2
  • Good 7
  • Love 9
Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.