Raised This Month: $ Target: $400
 0% 

No lag nightvision


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 05-04-2019 , 09:31   Re: No lag nightvision
Reply With Quote #1

  • It took a Pentium III or higher with beta drivers to break the 100 fps barrier with Voodoo.
  • There is no shortage of laptops today with spec that look like they should perform but don't.
  • Hardware companies have made it extremely hard to swap to solid state on cheaper models.

I sent back a Dell with an i7. In retrospect likely wrong driver.

Review drivers again.

My first GPU experience was a dual-core Intel. 1500 fps regularly. Ah that's back when dod_charlie had players.
__________________
DJEarthQuake is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 05-04-2019 , 11:50   Re: No lag nightvision
Reply With Quote #2

It was more of a personal preference when I made a very large plugin. So large seconds were hacked off when compiling.
__________________

Last edited by DJEarthQuake; 05-29-2020 at 11:18.
DJEarthQuake is offline
SomewhereLost
AlliedModders Donor
Join Date: Mar 2014
Location: Tomorrowland
Old 05-04-2019 , 20:17   Re: No lag nightvision
Reply With Quote #3

Quote:
Originally Posted by DJEarthQuake View Post
Such perspective is reminiscent of spaces vs tabs didactic.

Half-Life Software Development Kit is highly unlikely going to remap all of their hard coded messages. Amxx does change as an 'extension'. For example: client_disconnect to client_disconnected. Typing 18 bits each time when 1 will due is an option. For instance, damage. Author uses one or the other. I have seen both styles 'approved'.
DMG_RADIATION (1<<18 )

Approved code isn't god-like. One you gave me pointers on still needs more work. The errors on it don't crash anything but it's an eye sore. It can wait.
Everytime you post something Im getting the idea that youre high.

Btw, once I had an i5 laptop with 3gb vram of gpu, couldnt get proper 80 fps with nightvision on.
__________________
SomewhereLost is offline
Send a message via Skype™ to SomewhereLost
Foxa
Member
Join Date: Nov 2018
Location: Croatia
Old 05-05-2019 , 10:50   Re: No lag nightvision
Reply With Quote #4

Quote:
Originally Posted by SomewhereLost View Post
Everytime you post something Im getting the idea that youre high.
Same.
Foxa is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 05-10-2019 , 12:35   Re: No lag nightvision
Reply With Quote #5

Quote:
Originally Posted by Foxa View Post
Was typing on a phone, sorry
It happens! Can you show the fps difference? Before and after on the screen prints on OP please and what hardware is prone to it?

Quote:
Originally Posted by SomewhereLost View Post
Everytime you post something Im getting the idea that youre high.

Btw, once I had an i5 laptop with 3gb vram of gpu, couldnt get proper 80 fps with nightvision on.
Interesting. 3272 fps pic.

Attached Images
File Type: jpg 3272 fps.jpg (33.9 KB, 180 views)
__________________

Last edited by DJEarthQuake; 05-10-2019 at 12:35.
DJEarthQuake is offline
Foxa
Member
Join Date: Nov 2018
Location: Croatia
Old 05-11-2019 , 07:36   Re: No lag nightvision
Reply With Quote #6

Quote:
Originally Posted by DJEarthQuake View Post
Can you show the fps difference? Before and after on the screen prints on OP please and what hardware is prone to it?
Why? It doesn't work like that - "once you activate nightvision your FPS magically jumps". No. It just lights up the map, and doesn't drop your FPS while using it (as you can see from the screenshots that I've posted)
Foxa is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 05-06-2019 , 09:23   Re: No lag nightvision
Reply With Quote #7

Quote:
Appeared per your advise, is approved, is wrong, crashes servers and nobody has resolved it other than removing portion of code in a later post without heads up or file replacement on OP.
Approvers are not required and don't have the time to manually test each plugin before approving. We rely on user feedback, if no one reports a bug it will be approved. If someone finds bugs after it is approved, it is up to the coder to fix the bugs(obviously), but if he can not/is no longer active then the plugin can be reviewed again and eventually unapproved.
I can not go back to every approved plugin and see if it's broken or not.

Regarding that specific plugin, I'll take a look when I can. Anyway I can assure you it is not crashing because he redefined DMG_HEGRENADE. Maybe DMG_HEGRENADE requires some other members to be set up in order to work correctly. I will have to check what code is triggered for that dmg type.

Now let's stop posting off topic comments. Thanks.
__________________
HamletEagle is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 05-06-2019 , 21:34   Re: No lag nightvision
Reply With Quote #8

You patiently help many. Thank you. File sizes, optimized code practices, trying to help with drivers, it's a thankless endeavour. You have helped me a lot. What about this fellow's mod? Do you have any feedback on the code and plugin itself for the author please?
__________________
DJEarthQuake is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 05-07-2019 , 08:11   Re: No lag nightvision
Reply With Quote #9

It seems to be a copy paste from: https://forums.alliedmods.net/showthread.php?p=1681614 and it looks like you only added a different command instead of letting the plugin work with the default item, which I would not consider a significant change.

Moreover, you did not give any credits to the original author, this is not acceptable.
Can someone else take a look and give his opinion?
__________________

Last edited by HamletEagle; 05-07-2019 at 08:13.
HamletEagle is offline
Foxa
Member
Join Date: Nov 2018
Location: Croatia
Old 05-07-2019 , 12:11   Re: No lag nightvision
Reply With Quote #10

I honestly had no idea this existed. I complained to a friend about fps drops while nightvision was on, so he mentioned something about SVC_LIGHTSTYLE so I tried to look it up and ended up here https://wiki.alliedmods.net/Half-Lif...SVC_LIGHTSTYLE and here https://forums.alliedmods.net/showthread.php?t=214806 (among some other stuff explaining how it works)
from there I started messing around with it.

If I had known something like that already existed I wouldve credited the original author. If you think that this should be removed, remove it. Next time I will do some more research before posting a new submission.

(Link to BB.Os plugin has been added in the inital post)

Last edited by Foxa; 05-07-2019 at 12:16.
Foxa is offline
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 18:16.


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