se me ocurrio hacerlo como los textos de vbgore, pero es largo, y creo q habia una forma mas corta de hacerlo.
seguro es una boludez, pero no me acuerdo como hacia
gracias

Moderadores: Moderadores de Argentum, Especialistas de Argentum, Especialistas de Programación
Santty.- escribió:Si, soy hincha de tu padre, el que te gana cada vez que te cruza, el dueño del barrio, el orgullo nacional, rey de copas y el máximo ganador de copa libertadores
PROBLEM?

686![Dragon Ancestral [4] Dragon Ancestral [4]](./images/ranks/Rango33.gif)
281![Oraculo [2] Oraculo [2]](./images/ranks/Rango26.gif)
LyRan escribió:Buenos Dias amigos y programadores de Gs Zone, Me gustaria pedirle la amabilidad de una ayuda con un cliente editado para mi Ao casero, Osea me explico, yo juego Ao con varios amigos y ellos todos usan cheat y no me gusta eso me gustaria que alguien me ayudara a crear un cliente editado con auto poteo de ambas potas a la ves ya sea que se alla gastado Mana lanzando algun hechis y comienze a potear solo hasta estar completamente el Mana, igual para la salud y poteo rapido para ambos.
799![Oraculo [5] Oraculo [5]](./images/ranks/Rango29.gif)
Santty.- escribió:Si, soy hincha de tu padre, el que te gana cada vez que te cruza, el dueño del barrio, el orgullo nacional, rey de copas y el máximo ganador de copa libertadores
PROBLEM?

686![Dragon Ancestral [4] Dragon Ancestral [4]](./images/ranks/Rango33.gif)
475![Oraculo [5] Oraculo [5]](./images/ranks/Rango29.gif)
Dunkan escribió:No se como lo tendrá fenix pero debe tener para cargar una textura surfacedb.surface o algo por el estilo, tiene que venir siameze por acá jaj
Santty.- escribió:Si, soy hincha de tu padre, el que te gana cada vez que te cruza, el dueño del barrio, el orgullo nacional, rey de copas y el máximo ganador de copa libertadores
PROBLEM?

686![Dragon Ancestral [4] Dragon Ancestral [4]](./images/ranks/Rango33.gif)
GoDKeR escribió:Dunkan escribió:No se como lo tendrá fenix pero debe tener para cargar una textura surfacedb.surface o algo por el estilo, tiene que venir siameze por acá jaj
no existe surfacedb en fenix por eso
en 13.0 es facil hacerlo, pero aca no me acordaba como era
- Public Sub Device_Box_Textured_Render_Image(ByVal FileNum As Long, ByVal dest_x As Integer, ByVal dest_y As Integer, ByVal src_width As Integer, _
- ByVal src_height As Integer, ByRef rgb_list() As Long, ByVal src_x As Integer, _
- ByVal src_y As Integer, Optional ByVal alpha_blend As Boolean, Optional ByVal Angle As Single, Optional ByVal Shadow As Boolean = False)
- '**************************************************************
- 'Author: Juan Martín Sotuyo Dodero
- 'Last Modify Date: 2/12/2004
- 'Just copies the Textures
- '**************************************************************
- Static src_rect As RECT
- Static dest_rect As RECT
- Static temp_verts(3) As TLVERTEX
- Static d3dTextures As D3D8Textures
- Static light_value(0 To 3) As Long
- If FileNum = 0 Then Exit Sub
- Set d3dTextures.Texture = GetTexture(FileNum, d3dTextures.texwidth, d3dTextures.texheight)
- If rgb_list(0) = 0 Then rgb_list(0) = Base_Light
- If rgb_list(1) = 0 Then rgb_list(1) = Base_Light
- If rgb_list(2) = 0 Then rgb_list(2) = Base_Light
- If rgb_list(3) = 0 Then rgb_list(3) = Base_Light
- 'Set up the source rectangle
- With src_rect
- .bottom = src_y + src_height
- .left = src_x
- .Right = src_x + src_width
- .top = src_y
- End With
- 'Set up the destination rectangle
- With dest_rect
- .bottom = dest_y + src_height
- .left = dest_x
- .Right = dest_x + src_width
- .top = dest_y
- End With
- 'Set up the TempVerts(3) vertices
- Geometry_Create_Box temp_verts(), dest_rect, src_rect, rgb_list(), d3dTextures.texwidth, d3dTextures.texheight, Angle
- If Shadow Then
- temp_verts(1).X = temp_verts(1).X + src_width / 2
- temp_verts(1).Y = temp_verts(1).Y - src_height / 2
- temp_verts(3).X = temp_verts(3).X + src_width
- temp_verts(3).Y = temp_verts(3).Y - src_width
- ' temp_verts(1).X = temp_verts(1).X - src_width / 2
- ' temp_verts(1).Y = temp_verts(1).Y + src_height / 2
- ' temp_verts(3).X = temp_verts(2).X + src_width
- ' temp_verts(3).Y = temp_verts(2).Y - src_width
- End If
- 'Set Textures
- D3DDevice.SetTexture 0, d3dTextures.Texture
- If alpha_blend Then
- 'Set Rendering for alphablending
- D3DDevice.SetRenderState D3DRS_SRCBLEND, D3DBLEND_ONE
- D3DDevice.SetRenderState D3DRS_DESTBLEND, D3DBLEND_ONE
- End If
- 'Draw the triangles that make up our square Textures
- D3DDevice.DrawPrimitiveUP D3DPT_TRIANGLESTRIP, 2, temp_verts(0), Len(temp_verts(0))
- If alpha_blend Then
- 'Set Rendering for colokeying
- D3DDevice.SetRenderState D3DRS_SRCBLEND, D3DBLEND_SRCALPHA
- D3DDevice.SetRenderState D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA
- End If
- End Sub
eso estaba en bwao, igual, era como decian uds
281![Oraculo [2] Oraculo [2]](./images/ranks/Rango26.gif)
Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 0 invitados