escfoe2 Posted May 14, 2013 Author Share Posted May 14, 2013 If anyone would be kind enough to shed a detailed explanation of how the RenderChatTextBuffer sub works and what each variable for the chat system is used for, I would be greatly appreciative and will donate 100 points. (maybe more) Link to comment Share on other sites More sharing options...
abhi2011 Posted May 15, 2013 Share Posted May 15, 2013 I'll pay 1000 fp along with [escfoe2](http://www.touchofdeathforums.com/community/index.php?/user/44860-escfoe2/) for a **DETAILED** explanation. Link to comment Share on other sites More sharing options...
Swizl Posted May 15, 2013 Share Posted May 15, 2013 I'll throw in 250 fp as long as it helps escfoe. Link to comment Share on other sites More sharing options...
DMF Posted May 15, 2013 Share Posted May 15, 2013 oks hunt down deathbeam use a spear and make him explain how he made the think a mess to understand XD ?iill throw in 500 if the answer is completely understandable to full detail. xD Link to comment Share on other sites More sharing options...
escfoe2 Posted May 15, 2013 Author Share Posted May 15, 2013 That's at least 1850 Forum Points to whomever can answer this question. Link to comment Share on other sites More sharing options...
DMF Posted May 15, 2013 Share Posted May 15, 2013 changes my amount to 650 to make that total 2000 : D Link to comment Share on other sites More sharing options...
Daneta Posted May 15, 2013 Share Posted May 15, 2013 all trow in 300 to who ever can help him thats 2300 Link to comment Share on other sites More sharing options...
abhi2011 Posted May 16, 2013 Share Posted May 16, 2013 What is with DMF liking everyone's post? Link to comment Share on other sites More sharing options...
escfoe2 Posted May 16, 2013 Author Share Posted May 16, 2013 > What is with DMF liking everyone's post?It's a basic 'Thank You' to those offering to help. Don't you like the fact that people are trying to help get a reply to a question everyone wants an answer to? I know I do.Someone has to have the answer. You're being offered way more points to help than I feel it's even worth, so please do.I'll add another 200 to my original offer to make my total to be 300 and an increased total payout of a whopping **2500 points**.Thank you all by the way. Link to comment Share on other sites More sharing options...
abhi2011 Posted May 16, 2013 Share Posted May 16, 2013 I have lots of cash to go around, so adding in 1000 fp more for 3500 fp.EDIT: No one here knows DX8 well ![:(](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/sad.png)We need Robin. Link to comment Share on other sites More sharing options...
The Imp Posted May 17, 2013 Share Posted May 17, 2013 I'll attempt to research and study this to find an answer, hopefully I won't fail ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Link to comment Share on other sites More sharing options...
abhi2011 Posted May 18, 2013 Share Posted May 18, 2013 > I'll attempt to research and study this to find an answer, hopefully I won't fail ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)Best of luck. Link to comment Share on other sites More sharing options...
JohnPony Posted May 18, 2013 Share Posted May 18, 2013 Post the code you want explained in pastebin, I'm not downloading anything. Link to comment Share on other sites More sharing options...
DMF Posted May 19, 2013 Share Posted May 19, 2013 if it was that simple we wouldnt need asking >.> that code is all over i couldnt track alot of it. so : P if u wont actualy take alook y did you post . >.> Link to comment Share on other sites More sharing options...
Daneta Posted May 19, 2013 Share Posted May 19, 2013 all add a extra 100 to my 300 so that 3600 some one help him Link to comment Share on other sites More sharing options...
abhi2011 Posted May 19, 2013 Share Posted May 19, 2013 > Post the code you want explained in pastebin, I'm not downloading anything.```' Chat BoxPublic Sub RenderChatTextBuffer()Dim srcRect As RECTDim v2 As D3DVECTOR2Dim v3 As D3DVECTOR2Dim I As Long 'Clear the LastTexture, letting the rest of the engine know that the texture needs to be changed for next rect render Direct3D_Device.SetTexture 0, gTexture(Font_Default.Texture.Texture).Texture If ChatArrayUbound > 0 Then Direct3D_Device.SetStreamSource 0, ChatVBS, FVF_SIZE Direct3D_Device.DrawPrimitive D3DPT_TRIANGLELIST, 0, (ChatArrayUbound + 1) \ 3 Direct3D_Device.SetStreamSource 0, ChatVB, FVF_SIZE Direct3D_Device.DrawPrimitive D3DPT_TRIANGLELIST, 0, (ChatArrayUbound + 1) \ 3 End IfEnd Sub``` Link to comment Share on other sites More sharing options...
Daneta Posted May 19, 2013 Share Posted May 19, 2013 **[escfoe2](http://www.touchofdeathforums.com/community/index.php?/user/44860-escfoe2/)**> ```> > ' Chat Box> > Public Sub RenderChatTextBuffer()> > Dim srcRect As RECT> > Dim v2 As D3DVECTOR2> > Dim v3 As D3DVECTOR2> > Dim I As Long> > 'Clear the LastTexture, letting the rest of the engine know that the texture needs to be changed for next rect render> > Direct3D_Device.SetTexture 0, gTexture(Font_Default.Texture.Texture).Texture> > If ChatArrayUbound > 0 Then> > Direct3D_Device.SetStreamSource 0, ChatVBS, FVF_SIZE> > Direct3D_Device.DrawPrimitive D3DPT_TRIANGLELIST, 0, (ChatArrayUbound + 1) \ 3> > Direct3D_Device.SetStreamSource 0, ChatVB, FVF_SIZE> > Direct3D_Device.DrawPrimitive D3DPT_TRIANGLELIST, 0, (ChatArrayUbound + 1) \ 3> > End If> > End Sub> > ```**[escfoe2](http://www.touchofdeathforums.com/community/index.php?/user/44860-escfoe2/) is that what you need im ready to donate my 400 points**i Link to comment Share on other sites More sharing options...
abhi2011 Posted May 19, 2013 Share Posted May 19, 2013 > **[escfoe2](http://www.touchofdeathforums.com/community/index.php?/user/44860-escfoe2/)**> > **[escfoe2](http://www.touchofdeathforums.com/community/index.php?/user/44860-escfoe2/) is that what you need im ready to donate my 400 points**> > iGo back and read what I posted. Link to comment Share on other sites More sharing options...
escfoe2 Posted May 19, 2013 Author Share Posted May 19, 2013 > Go back and read what I posted.He quoted you lol. Yes, that and any other variables associated with the chat system.> if it was that simple we wouldnt need asking >.> that code is all over i couldnt track alot of it. so : P if u wont actualy take alook y did you post . >.>I don't ask for anything unless I'm honestly having trouble figuring it out myself. I'll eventually get it but not in an efficient amount of time, especially since it's for the next update of EFF.Thank you all very much for your help. I appreciate it greatly. Link to comment Share on other sites More sharing options...
DMF Posted May 19, 2013 Share Posted May 19, 2013 …......1 thats not what he needed and that lil code wont explain the chat systemBuffer : controls the change of the chat box zone i would think.Render : displays text.UP/Down Arrow. : moves the text.^ thats whats rlly making up the chat system and hell hard to find all of the code or even make sense. lolEscfoe... my comment wasnt to u it was at " lt. Topper Harley".but ya basic is those 3 area's but i got no idea how they work at all. ik the the arrows are in mod constants for some of it.best clue i got. Link to comment Share on other sites More sharing options...
abhi2011 Posted May 19, 2013 Share Posted May 19, 2013 ~~I think it clears the chat texture~~ and draws some primitives. Specifically to Triangle Lists. Not sure what the SetStreamSource does.EDIT: It clears the font texture. Link to comment Share on other sites More sharing options...
escfoe2 Posted May 19, 2013 Author Share Posted May 19, 2013 > I think it clears the chat texture and draws some primitives. Specifically to Triangle Lists. Not sure what the SetStreamSource does.That's a start. Link to comment Share on other sites More sharing options...
JohnPony Posted May 19, 2013 Share Posted May 19, 2013 > I think it clears the chat texture and draws some primitives. Specifically to Triangle Lists. Not sure what the SetStreamSource does.I think everyone here can read English, Captain Obvious.Stop posting in Q&A topics if you don't know what you're talking about; everyone here can read the damn calls that're going on inside the method.I'd recommend everyone else to go read documentation on DirectX 8 implementation in a Visual Basic 6.0 environment.[http://directx4vb.vb…UT_DX8Start.asp](http://directx4vb.vbgamer.com/DirectX4VB/TUT_DX8Start.asp) Link to comment Share on other sites More sharing options...
escfoe2 Posted May 19, 2013 Author Share Posted May 19, 2013 Easy killer. No need to get hostile.Thank you for the link. I'll look into it. Link to comment Share on other sites More sharing options...
abhi2011 Posted May 20, 2013 Share Posted May 20, 2013 > I think everyone here can read English, Captain Obvious.> > Stop posting in Q&A topics if you don't know what you're talking about; everyone here can read the damn calls that're going on inside the method.> > I'd recommend everyone else to go read documentation on DirectX 8 implementation in a Visual Basic 6.0 environment.> > [http://directx4vb.vb…UT_DX8Start.asp](http://directx4vb.vbgamer.com/DirectX4VB/TUT_DX8Start.asp)Everyone can read. But most of the people here won't understand. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now