Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $51
Target: $400
12%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Showing results 1 to 10 of 10
Search took
0.02
seconds.
Search:
Posts Made By:
Hawk552
Forum:
Code Snippets/Tutorials
04-22-2009, 08:14
Replies:
121
Sticky:
[TUT] Modules and efficient scripting
Views:
158,643
Posted By
Hawk552
Re: [TUT] Modules and efficient scripting
Run them separately. It's not fair the way you have it set up since fm_strip_user_weapons() and fm_give_item() have no work to do.
Forum:
Code Snippets/Tutorials
04-20-2009, 14:29
Replies:
121
Sticky:
[TUT] Modules and efficient scripting
Views:
158,643
Posted By
Hawk552
Re: [TUT] Modules and efficient scripting
Running two forwards like that is probably slower than just using is_user_alive() wherever you need it (unless you're checking it in client_PreThink or some other forward that's called very...
Forum:
Code Snippets/Tutorials
03-30-2009, 20:02
Replies:
121
Sticky:
[TUT] Modules and efficient scripting
Views:
158,643
Posted By
Hawk552
Re: [TUT] Modules and efficient scripting
Completely agreed. Let's not get an "Engine high" going.
Forum:
Code Snippets/Tutorials
03-30-2009, 15:18
Replies:
121
Sticky:
[TUT] Modules and efficient scripting
Views:
158,643
Posted By
Hawk552
Re: [TUT] Modules and efficient scripting
Heh, someone want to edit this?
Forum:
Code Snippets/Tutorials
03-30-2009, 11:32
Replies:
121
Sticky:
[TUT] Modules and efficient scripting
Views:
158,643
Posted By
Hawk552
Re: [TUT] Modules and efficient scripting
Well, we can wait for someone to come along.
Forum:
Code Snippets/Tutorials
03-30-2009, 11:09
Replies:
121
Sticky:
[TUT] Modules and efficient scripting
Views:
158,643
Posted By
Hawk552
Re: [TUT] Modules and efficient scripting
Actually, after thinking about it, I realized that it probably does a lookup on the creation of the client_PreThink forward for each instance of it in each plugin, then stores them once it's done....
Forum:
Code Snippets/Tutorials
03-30-2009, 11:02
Replies:
121
Sticky:
[TUT] Modules and efficient scripting
Views:
158,643
Posted By
Hawk552
Re: [TUT] Modules and efficient scripting
If it takes less time for all of the equivalent functions to be found and then executed from front to back with identical code inside them, then you can consider that forward faster than the one...
Forum:
Code Snippets/Tutorials
03-30-2009, 10:47
Replies:
121
Sticky:
[TUT] Modules and efficient scripting
Views:
158,643
Posted By
Hawk552
Re: [TUT] Modules and efficient scripting
As far as I know, it's profiling how long it actually takes for it to execute the function from front to back. I don't think it includes how long it takes to actually find it, though.
Well,...
Forum:
Code Snippets/Tutorials
03-30-2009, 09:49
Replies:
121
Sticky:
[TUT] Modules and efficient scripting
Views:
158,643
Posted By
Hawk552
Re: [TUT] Modules and efficient scripting
I don't think that's a fair test since you're basically benchmarking CreateOneForward against CreateMultiForward. If you create a bunch of plugins which use client_PreThink, it will likely be faster....
Forum:
Code Snippets/Tutorials
03-30-2009, 08:24
Replies:
121
Sticky:
[TUT] Modules and efficient scripting
Views:
158,643
Posted By
Hawk552
Re: [TUT] Modules and efficient scripting
I'm not sure but I'd guess that client_PreThink() becomes much faster once there's more than one plugin using it, since it's a multiforward.
Showing results 1 to 10 of 10
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
21:03
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode