Raised This Month: $51 Target: $400
 12% 

Improve algorythm


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kowalsky
Senior Member
Join Date: Mar 2015
Location: Poland
Old 03-18-2016 , 04:08   Improve algorythm
Reply With Quote #1

Is there any way to improve lasermine's algorythm? Right now in the available lasermines set beam and checks in player prethink and postthing. Wouldn't it be more efficient to make lasermine entity think every 0.1 second and do the beam and check the players in beam via traceline in the think event?
Kowalsky is offline
Chihuahuax
Senior Member
Join Date: Oct 2014
Location: Malaysia
Old 03-18-2016 , 04:16   Re: Improve algorythm
Reply With Quote #2

Check out hattrick's low cpu usage tripmine
You could extract some codes from there
Chihuahuax is offline
Send a message via Skype™ to Chihuahuax
Reply



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 15:48.


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