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...
Page 1 of 6
1
2
3
>
Last
»
Showing results 1 to 25 of 133
Search took
0.01
seconds.
Search:
Posts Made By:
Prajch
Forum:
Scripting Help
09-27-2010, 18:49
Replies:
133
How do you patch your hl1.dll to increase the precache limit?
Views:
64,422
Posted By
Prajch
Re: How do you patch your hl1.dll to increase the precache limit?
Which one is that again?
Forum:
Scripting Help
09-27-2010, 07:48
Replies:
133
How do you patch your hl1.dll to increase the precache limit?
Views:
64,422
Posted By
Prajch
Re: How do you patch your hl1.dll to increase the precache limit?
Alas, back to blocking precaches then...
Forum:
Scripting Help
09-16-2010, 07:49
Replies:
133
How do you patch your hl1.dll to increase the precache limit?
Views:
64,422
Posted By
Prajch
Re: How do you patch your hl1.dll to increase the precache limit?
Oh, well I thought that if the client needed to precache more than the hardcoded limit that the client's engine would need its memory space patched. I'm not that familiar with how the engine works...
Forum:
Scripting Help
09-16-2010, 01:56
Replies:
133
How do you patch your hl1.dll to increase the precache limit?
Views:
64,422
Posted By
Prajch
Re: How do you patch your hl1.dll to increase the precache limit?
So amxmodx is allowed to manipulate memory on the client side? I had no idea, thought it could only modify server memory for security reasons.
Forum:
Scripting Help
09-14-2010, 18:17
Replies:
133
How do you patch your hl1.dll to increase the precache limit?
Views:
64,422
Posted By
Prajch
Re: How do you patch your hl1.dll to increase the precache limit?
So did you patch the .dll or is this all in a plugin?
Forum:
Scripting Help
09-14-2010, 17:51
Replies:
133
How do you patch your hl1.dll to increase the precache limit?
Views:
64,422
Posted By
Prajch
Re: How do you patch your hl1.dll to increase the precache limit?
Don't let that encourage you too much until you see significantly more than 512 being precached. In my logs when I was testing my plugin I often saw slightly more than 512 assets being precached...
Forum:
Scripting Help
09-14-2010, 12:36
Replies:
4
Menu - Dont show Again
Views:
1,474
Posted By
Prajch
Re: Menu - Dont show Again
And make sure you create a chat or console command they can use to show it again, along with a message that tells them the command once they choose to exit the menu.
Forum:
Scripting Help
09-14-2010, 12:34
Replies:
7
Check distance between two players
Views:
2,481
Posted By
Prajch
Re: Check distance between two players
You'll have to use a set_task, or if once every 0.1 seconds isn't often enough, you'll have to either do it in prethink (can be costly) or create a timer entity with its own think function so that...
Forum:
Scripting Help
09-14-2010, 12:28
Replies:
133
How do you patch your hl1.dll to increase the precache limit?
Views:
64,422
Posted By
Prajch
Re: How do you patch your hl1.dll to increase the precache limit?
I might have misread what you were suggesting originally. Everything used by the engine (sounds, sprites, models and I think brushes in the map) has to be precached. Even though they're contained in...
Forum:
Scripting Help
09-14-2010, 06:31
Replies:
133
How do you patch your hl1.dll to increase the precache limit?
Views:
64,422
Posted By
Prajch
Re: How do you patch your hl1.dll to increase the precache limit?
I actually wrote a plugin that does exactly that a year or two ago... if anyone is really interested I can dig it up and explain what it does. It's more practical on servers that run a restricted mod...
Forum:
Code Snippets/Tutorials
10-29-2008, 21:05
Replies:
39
Sticky:
Pev Research
Views:
79,625
Posted By
Prajch
Re: Pev Research
Awesome! Thanks.
Forum:
Code Snippets/Tutorials
10-29-2008, 05:50
Replies:
39
Sticky:
Pev Research
Views:
79,625
Posted By
Prajch
Re: Pev Research
Seems like someone used an exploit on his site. It's been pissing me off cause I used to use it as a reference pretty often.
Forum:
Scripting Help
10-25-2008, 20:30
Replies:
4
Entmod "Gun"
Views:
2,173
Posted By
Prajch
Re: Entmod "Gun"
I guess you'd have to cross-reference with your DF_admins file. You could stick a copy of it in the data folder and load the Steam IDs into your plugin.
Forum:
Scripting Help
10-25-2008, 17:22
Replies:
4
Entmod "Gun"
Views:
2,173
Posted By
Prajch
Re: Entmod "Gun"
Maybe catch the weapon_entmover command and check if they've switched away from it thereafter by catching the CurWeapon event?
Forum:
Scripting Help
10-23-2008, 21:13
Replies:
4
Combine 2 strings
Views:
1,511
Posted By
Prajch
Re: Combine 2 strings
static string1[32], string2[32], buffer[64]
//...
strcat(buffer, string1, sizeof buffer -1)
strcat(buffer, string2, sizeof buffer -1)
or
static string1[32], string2[32], buffer[64]
Forum:
Scripting Help
10-22-2008, 19:44
Replies:
5
Copyrighted plugin ?!?
Views:
1,256
Posted By
Prajch
Re: Copyrighted plugin ?!?
You could always write your own metamod!
Forum:
Scripting Help
10-19-2008, 12:47
Replies:
5
Entity model
Views:
1,166
Posted By
Prajch
Re: Entity model
I don't think you can since it's compiled, sorry. Maybe I'm wrong and you can export a model file with a program like BSPViewer but I've never heard of it.
Forum:
Scripting Help
10-19-2008, 05:24
Replies:
3
Reusing code
Views:
839
Posted By
Prajch
Re: Reusing code
Or you could make a .inc file with stock functions, and then include it in whichever script needs it.
I think the format inside the .inc file is
stock functionName (parameters)
{
//code
}
Forum:
Scripting Help
10-19-2008, 04:13
Replies:
17
3D sphere
Views:
12,374
Posted By
Prajch
Re: 3D sphere
Me too.
@stupok - I think it looks more like a sphere when it has rings like that. Looks good. Anyway, I was thinking of doing more "mathematically" at first too.
...
Forum:
Scripting Help
10-18-2008, 14:50
Replies:
17
3D sphere
Views:
12,374
Posted By
Prajch
Re: 3D sphere
Cool, I like the way it looks.
[edit] In my code the following line should be changed...
for(new i = 0; i < verticalIterations; i++)
should be
Forum:
Scripting Help
10-18-2008, 13:59
Replies:
17
3D sphere
Views:
12,374
Posted By
Prajch
Re: 3D sphere
This is how I might do it... tested and working.
[edit] You are right; if the number of vertical and horizontal iterations is too high, it overflows. You could use looping set_tasks instead of for...
Forum:
Scripting Help
10-18-2008, 11:50
Replies:
10
Differens between menus
Views:
2,696
Posted By
Prajch
Re: Differens between menus
Can anyone give an example as to how old menus are better for dynamic menus? I don't see why you can't just menu_destroy() and then create a new one.
Forum:
Scripting Help
10-17-2008, 13:08
Replies:
3
Problem with Entity rotate
Views:
1,986
Posted By
Prajch
Re: Problem with Entity rotate
Using EntMod, when I rotate an entity and check it's bounding box, the box hasn't rotated, even though the entity has collisions in the proper place. So I'm not sure SetSize is involved with this. In...
Forum:
Scripting Help
10-16-2008, 00:09
Replies:
11
Vector Calculation
Views:
3,605
Posted By
Prajch
Re: Vector Calculation
Take your aim vector (head origin subtracted from aim origin) and divide each component by its length. This gives you the normalized version. You can then multiply each component by the distance to...
Forum:
Scripting Help
10-10-2008, 16:28
Replies:
5
Sending command to clients just before map ends?
Views:
1,285
Posted By
Prajch
Re: Sending command to clients just before map ends?
register_event("30", "intermission", "a") //in plugin_init()
...
public intermission()
{
...
}This detects the SVC_INTERMISSION message.
[edit] You can replace "30" with "SVC_INTERMISSION"...
Showing results 1 to 25 of 133
Page 1 of 6
1
2
3
>
Last
»
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
10:32
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode