DX8 Chat System [EM, EFF]

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)

I’ll pay 1000 fp along with escfoe2 for a DETAILED explanation.

I’ll throw in 250 fp as long as it helps escfoe.

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

That’s at least 1850 Forum Points to whomever can answer this question.

changes my amount to 650 to make that total 2000 : D

all trow in 300 to who ever can help him thats 2300

What is with DMF liking everyone’s post?

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.

I have lots of cash to go around, so adding in 1000 fp more for 3500 fp.

EDIT: No one here knows DX8 well :(

We need Robin.

I’ll attempt to research and study this to find an answer, hopefully I won’t fail :P

I’ll attempt to research and study this to find an answer, hopefully I won’t fail :P

Best of luck.

Post the code you want explained in pastebin, I’m not downloading anything.

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 . >.>

all add a extra 100 to my 300 so that 3600 some one help him

Post the code you want explained in pastebin, I’m not downloading anything.


' 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


' 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 is that what you need im ready to donate my 400 points

i

escfoe2

escfoe2 is that what you need im ready to donate my 400 points

i

Go back and read what I posted.

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.

……1 thats not what he needed and that lil code wont explain the chat system

Buffer : 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. lol

Escfoe… 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.

Log in to reply