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 2
1
2
>
Showing results 1 to 25 of 28
Search took
0.00
seconds.
Search:
Posts Made By:
Impact123
Forum:
Snippets and Tutorials
04-09-2021, 13:53
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] AutoExecConfig: Read and append to auto configs
Here's my previous answers to similar questions
https://forums.alliedmods.net/showthread.php?p=2069775#post2069775
https://forums.alliedmods.net/showthread.php?p=2585946#post2585946
I probably...
Forum:
Snippets and Tutorials
12-20-2018, 12:30
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] AutoExecConfig: Read and append to auto configs
Probably, but i haven't heard about performance problems yet. I've scratched the itch i had and at this time i don't have plans to add any big new features. Sorting the file would require to rewrite...
Forum:
Snippets and Tutorials
12-18-2018, 16:54
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] AutoExecConfig: Read and append to auto configs
That depends on what you pass to AutoExecConfig_SetFile. By default it's created inside the cfg/sourcemod folder.
Forum:
Snippets and Tutorials
04-13-2018, 23:02
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] AutoExecConfig: Read and append to auto configs
No. If you use
AutoExecConfig_SetFile
you're just setting a few global variables that will be used by the other functions to read, create, append, etc. If you use it like that you would...
Forum:
Snippets and Tutorials
04-13-2018, 06:48
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] AutoExecConfig: Read and append to auto configs
Here's an example which would create 2 config files
AutoExecConfig_SetCreateFile(true);
AutoExecConfig_SetFile("test1");
AutoExecConfig_CreateConVar("test1", "1", "Test1");...
Forum:
Snippets and Tutorials
04-13-2018, 06:10
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] AutoExecConfig: Read and append to auto configs
Yes that's possible. I'm not sure what you mean with callbacks.
Forum:
Snippets and Tutorials
04-13-2018, 05:07
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] AutoExecConfig: Read and append to auto configs
No, it can only create and/or append. My last post has some background about why.
Forum:
Snippets and Tutorials
04-04-2018, 03:19
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] AutoExecConfig: Read and append to auto configs
I answered to a similar question here (https://forums.alliedmods.net/showthread.php?t=204254&page=4). Back then i did not succeed to implement it, nowadays might be different. I'm sure it's possible,...
Forum:
Snippets and Tutorials
01-29-2018, 17:29
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] AutoExecConfig: Read and append to auto configs
Sorry about that, I've reverted the commit. Thanks for letting me know.
Forum:
Snippets and Tutorials
11-02-2017, 22:27
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] AutoExecConfig: Read and append to auto configs
Guess i need a better test suite because that wasn't intended but it's fixed now (https://github.com/Impact123/AutoExecConfig/commit/11253ba62849b6396112d10f882c8af8a1b0fd6c). Thanks!
Forum:
Snippets and Tutorials
11-02-2017, 21:57
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] AutoExecConfig: Read and append to auto configs
A few small changes you might be interested in to know about if you use the include file
The include now has versions. If you use
AutoExecConfig_SetCreateFile
The config will now add a...
Forum:
Snippets and Tutorials
07-28-2015, 17:07
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] AutoExecConfig: Read and append to auto configs
No, but it's faster than reading the autoexecconfig file. A convar's value isn't useful in finding out if the convar exists in this file.
Forum:
Snippets and Tutorials
07-28-2015, 13:41
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] AutoExecConfig: Read and append to auto configs
Well, to get the benefit of a cache (https://en.wikipedia.org/wiki/Cache_%28computing%29), performance, which is crucial on a game server
Forum:
Snippets and Tutorials
07-28-2015, 01:42
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] AutoExecConfig: Read and append to auto configs
I just added convar caching to the include (https://github.com/Impact123/AutoExecConfig/commit/945edc0069ccae32d006a378962d4d1f8950a43d). I'm not really satisfied with the amount of duplicate code...
Forum:
Snippets and Tutorials
04-07-2015, 20:21
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] Autoexecconfig read and append beta
I thought i let you know that TheChineese (https://github.com/TheChineese) just ported the include file to the 1.7 syntax (https://github.com/Impact123/AutoExecConfig/pull/3). You don't have to use...
Forum:
Snippets and Tutorials
12-07-2013, 18:09
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] Autoexecconfig read and append beta
Like i told you in the updater thread (https://forums.alliedmods.net/showpost.php?p=2069242&postcount=348), it's not easy to change or remove stuff because the format cannot be relyed upon.
The...
Forum:
Snippets and Tutorials
08-21-2013, 17:15
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] Autoexecconfig read and append beta
My personal coding style is that i use the semicolon enforcing after including files, because of that i couldn't saw the warning.
The pull request by TnTSCS was merged (thank you), and the order of...
Forum:
Snippets and Tutorials
08-05-2013, 13:10
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] Autoexecconfig read and append beta
Another Update.
Thanks to Peace-Maker, the include is now a little bit easier to use, especially for bigger plugins.
Instead of using
AutoExecConfig(true, "plugin.myplugin");
You now can...
Forum:
Snippets and Tutorials
07-30-2013, 07:15
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] Autoexecconfig read and append beta
Well, feel free to contribute if you want :)
I added support for multiline comments, i used a different approach than the original autoexecconifig function, but it seems to work fine.
It was...
Forum:
Snippets and Tutorials
07-29-2013, 18:37
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] Autoexecconfig read and append beta
Yeah, i see, it's this part (http://mxr.alliedmods.net/sourcemod-central/source/core/CoreConfig.cpp#434) that does it.
I see if i can implement it tomorrow.
Yours sincerely
Impact
Forum:
Snippets and Tutorials
07-29-2013, 18:08
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] Autoexecconfig read and append beta
Well, the original autoexecconfig does the same, i don't know if it would be a good thing to alter this behavior.
Yours sincerely
Impact
Forum:
Snippets and Tutorials
07-29-2013, 17:53
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] Autoexecconfig read and append beta
Yep, if you open up the file in a editor like notepad++ it looks fine.
Yours sincerely
Impact
Forum:
Snippets and Tutorials
07-29-2013, 17:33
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] Autoexecconfig read and append beta
I'm sorry if this sounds dumb, but which editor do you use to open/read the file?
Yours sincerely
Impact
Forum:
Snippets and Tutorials
01-20-2013, 13:53
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] Autoexecconfig read and append beta
I've made some changes to the file, tell me if this works out for you.
- Changed prototype of SetFile
- Removed String formatting
- Added an optional parameter folder
- Changed...
Forum:
Snippets and Tutorials
01-20-2013, 12:48
Replies:
63
[INCLUDE] AutoExecConfig: Read and append to auto configs
Views:
60,392
Posted By
Impact123
Re: [INCLUDE] Autoexecconfig read and append beta
Nice find, i'll look into it and report back.
This must come from cleanfile, it's copybuffer is 128 in size, how long is your description?
Yours sincerely
Impact
Showing results 1 to 25 of 28
Page 1 of 2
1
2
>
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
18:06
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode