Raised This Month: $32 Target: $400
 8% 

Laser lasermine bug ?


  
 
 
Thread Tools Display Modes
Author Message
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 07-10-2012 , 18:12   Laser lasermine bug ?
#1

A alguien le paso alguna vez de que el láser de la lasermine apunta para cualquier lado y atraviesa todo el map ?.

Hace mucho que me pasa eso cada unas 50 lm,pero nunca le di bola.Ahora que lo quiero solucionar no tengo ni la menor puta idea porque pasa eso xd.
Alguien tiene alguna idea ?.


@EDIT
jajja,lo creen en offtopic e.e,alguien me lo mueve.
__________________

Last edited by Destro-; 07-10-2012 at 18:14.
Destro- is offline
Sidix
Senior Member
Join Date: Feb 2011
Location: Limbo City
Old 07-10-2012 , 21:13   Re: Laser lasermine bug ?
#2

a mí me paso eso una vez lo que hice fue cambiar la lm
__________________
[IMG]http://img839.**************/img839/1879/dmcdanteprofile.png[/IMG]
Sidix is offline
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 07-10-2012 , 21:43   Re: Laser lasermine bug ?
#3

Encontré el problema e.e,era una mala editacion de mi lm :\.Usaba TE_BEAMENTPOINT,lo cambie por TE_BEAMPOINTS.
__________________
Destro- is offline
Sidix
Senior Member
Join Date: Feb 2011
Location: Limbo City
Old 07-10-2012 , 22:05   Re: Laser lasermine bug ?
#4

Una pregunta? usas la lm que publicaste en un thread que yo hice?
__________________
[IMG]http://img839.**************/img839/1879/dmcdanteprofile.png[/IMG]
Sidix is offline
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 07-10-2012 , 22:16   Re: Laser lasermine bug ?
#5

Ya no,pero esa tamb tenia el mismo problema e.e.
__________________
Destro- is offline
Sidix
Senior Member
Join Date: Feb 2011
Location: Limbo City
Old 07-10-2012 , 22:22   Re: Laser lasermine bug ?
#6

Ahm gracias destro Solución!

PHP Code:
ShowLaser(ent, const Float:v_EndOrigin[3]) 

    
message_begin(MSG_BROADCASTSVC_TEMPENTITY
    
write_byte(TE_BEAMENTPOINT
    
write_short(ent)  
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[0]) 
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[1]) 
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[2]) 
    
write_short(sprLM
    
write_byte(0
    
write_byte(0
    
write_byte(100//tiempo 
    
write_byte(5
    
write_byte(0
    
write_byte(lm_r//r 
    
write_byte(lm_g//g 
    
write_byte(lm_b//b 
    
write_byte(100
    
write_byte(255
    
message_end() 

>

PHP Code:
ShowLaser(ent, const Float:v_EndOrigin[3]) 

    
message_begin(MSG_BROADCASTSVC_TEMPENTITY
    
write_byte(TE_BEAMPOINTS
    
write_short(ent)  
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[0]) 
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[1]) 
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[2]) 
    
write_short(sprLM
    
write_byte(0
    
write_byte(0
    
write_byte(100//tiempo 
    
write_byte(5
    
write_byte(0
    
write_byte(lm_r//r 
    
write_byte(lm_g//g 
    
write_byte(lm_b//b 
    
write_byte(100
    
write_byte(255
    
message_end() 

__________________
[IMG]http://img839.**************/img839/1879/dmcdanteprofile.png[/IMG]

Last edited by Sidix; 07-10-2012 at 22:23.
Sidix is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 07-12-2012 , 18:07   Re: Laser lasermine bug ?
#7

Quote:
Originally Posted by Sidix View Post
Ahm gracias destro Solución!

PHP Code:
ShowLaser(ent, const Float:v_EndOrigin[3]) 

    
message_begin(MSG_BROADCASTSVC_TEMPENTITY
    
write_byte(TE_BEAMENTPOINT
    
write_short(ent)  
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[0]) 
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[1]) 
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[2]) 
    
write_short(sprLM
    
write_byte(0
    
write_byte(0
    
write_byte(100//tiempo 
    
write_byte(5
    
write_byte(0
    
write_byte(lm_r//r 
    
write_byte(lm_g//g 
    
write_byte(lm_b//b 
    
write_byte(100
    
write_byte(255
    
message_end() 

>

PHP Code:
ShowLaser(ent, const Float:v_EndOrigin[3]) 

    
message_begin(MSG_BROADCASTSVC_TEMPENTITY
    
write_byte(TE_BEAMPOINTS
    
write_short(ent)  
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[0]) 
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[1]) 
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[2]) 
    
write_short(sprLM
    
write_byte(0
    
write_byte(0
    
write_byte(100//tiempo 
    
write_byte(5
    
write_byte(0
    
write_byte(lm_r//r 
    
write_byte(lm_g//g 
    
write_byte(lm_b//b 
    
write_byte(100
    
write_byte(255
    
message_end() 

El codigo no da logica, TE_BEAMPOINTS pide 2 coordenadas y tu estas pasando una entidad y una coordenada lo que respecta a TE_BEAMENTPOINT, debes actualizar tu funcion, no creas que simplemente es cambiar TE_BEAMENTPOINT por TE_BEAMPOINTS

Y ahora que lo veo, tengo el mismo problema, vere si haciendo esto me da algun resultado...
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Sidix
Senior Member
Join Date: Feb 2011
Location: Limbo City
Old 07-12-2012 , 18:59   Re: Laser lasermine bug ?
#8

Quote:
Originally Posted by meTaLiCroSS View Post
El codigo no da logica, TE_BEAMPOINTS pide 2 coordenadas y tu estas pasando una entidad y una coordenada lo que respecta a TE_BEAMENTPOINT, debes actualizar tu funcion, no creas que simplemente es cambiar TE_BEAMENTPOINT por TE_BEAMPOINTS

Y ahora que lo veo, tengo el mismo problema, vere si haciendo esto me da algun resultado...
copiado gracias metal ahora reviso...
__________________
[IMG]http://img839.**************/img839/1879/dmcdanteprofile.png[/IMG]
Sidix is offline
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 07-13-2012 , 00:13   Re: Laser lasermine bug ?
#9

Quote:
Originally Posted by meTaLiCroSS View Post
Y ahora que lo veo, tengo el mismo problema, vere si haciendo esto me da algun resultado...
vos también usas TE_BEAMENTPOINT para no estar mandando un TE_BEAMPOINTS cada 0.1 segundos ?.

Encontré otro bug que creo que pasa con todas,si pones una lasermine en algún lugar donde una puerta u otra entidad la pueda correr el láser se chotea.
__________________
Destro- is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 07-13-2012 , 09:44   Re: Laser lasermine bug ?
#10

Quote:
Originally Posted by Destro- View Post
vos también usas TE_BEAMENTPOINT para no estar mandando un TE_BEAMPOINTS cada 0.1 segundos ?.

Encontré otro bug que creo que pasa con todas,si pones una lasermine en algún lugar donde una puerta u otra entidad la pueda correr el láser se chotea.
De una u otra manera tienes que enviarlo cada 0.1 por asi decirlo...

Bueno eso a mi no me pasa con mis lasermines, las mias las rehise de 0 y el metodo que uso para obtener el punto final no es detectando el primer punto final que vio, si no que usa sus angulos y mediante ellos el lasermine para donde lo muevan tirara el laser
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode