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

Accelerator - Take back control


Post New Thread Closed Thread   
 
Thread Tools Display Modes
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 04-05-2013 , 14:16   Re: Accelerator - Take back control
#131

I have a doubt about the source code, especially about how this can actually work on Linux.

The lines I'm unsure about are:
PHP Code:
#elif defined _LINUX
    
pBreakpadLib g_pFileSystem->LoadModule("../bin/crashhandler.so""MOD"false);
#endif 
and
PHP Code:
Breakpad_SetSteamID = (Breakpad_SetSteamIDFunc)GetProcAddress(reinterpret_cast<HMODULE>(pBreakpadLib), "Breakpad_SetSteamID"); 
Shouldn't they be dlopen() and dlsym() respectively, since LoadModule and GetProcAddress are windows functions? Or am I missing something?

(probably a noob question but I couldn't figure this out)
__________________
napalm00 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-05-2013 , 16:12   Re: Accelerator - Take back control
#132

It's not using LoadModule, as you can see it's going though IVFileSystem. The SDK #define's GetProcAddress as dlsym, along with HMODULE etc.
__________________
asherkin is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 04-05-2013 , 16:24   Re: Accelerator - Take back control
#133

Quote:
Originally Posted by asherkin View Post
It's not using LoadModule, as you can see it's going though IVFileSystem. The SDK #define's GetProcAddress as dlsym, along with HMODULE etc.
Ooh, I see. Got confused since it's named like the Windows function, thanks for clarifying
__________________
napalm00 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-13-2013 , 22:05   Re: Accelerator - Take back control
#134

Just a heads up, if you want to use Accelerator post-SteamPipe, you need to copy crashhandler.so to the engine bin directory (the one with lots of .so files, including engine.so) from your SteamCMD install. I've let Valve know about this oversight (as it breaks their system), so hopefully it'll be fixed soon.
__________________
asherkin is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-14-2013 , 20:48   Re: Accelerator - Take back control
#135

I've launched the new version of the Accelerator website (now a separate project called Throttle).

It's been completely re-written from the ground up with the aim of being a lightweight, open source, maintainable solution for anyone to use to process google-breakpad crash dumps (there are still a few Source Engine specific bits currently).

Unfortunately, due to a major schema redesign, all old data is currently (and probable forever) unavailable, but you should find it a lot snappier and nicer to use now. Additionally, the format of the crash identifiers has changed from a 13-character hexadecimal string to a 12-character alphanumeric one.
__________________

Last edited by asherkin; 05-14-2013 at 20:48.
asherkin is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-16-2013 , 11:58   Re: Accelerator - Take back control
#136

We've Moved!

Spoiler
__________________

Last edited by asherkin; 01-14-2016 at 11:30.
asherkin is offline
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 05-17-2013 , 09:15   Re: Accelerator - Take back control
#137

So from what i understand is that i should have version 1.5.0-hg3841 and i should add the extension from http://builds.limetech.org/?project=accelerator installed with also the entry of "minidumpaccount" in my core.cfg and that should be it?

If that is so, then it crashes all my servers. Constant restart loop.
__________________
Arguing with a fool only proves there are two
snelvuur is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-17-2013 , 09:18   Re: Accelerator - Take back control
#138

Quote:
Originally Posted by snelvuur View Post
So from what i understand is that i should have version 1.5.0-hg3841 and i should add the extension from http://builds.limetech.org/?project=accelerator installed with also the entry of "minidumpaccount" in my core.cfg and that should be it?

If that is so, then it crashes all my servers. Constant restart loop.
Weeeeeeeeeeeeelp, could you try hg7 instead of hg8? Also make sure all the stuff in the archive was copied, it'll likely explode if addons/sourcemod/data/dumps/ doesn't exist / isn't writeable.

EDIT: I just confirmed that it'll crash on load if that directory doesn't exist.
EDIT: Ah, I see it somehow got missed out of the archive, sorry.
__________________

Last edited by asherkin; 05-17-2013 at 09:29.
asherkin is offline
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 05-17-2013 , 09:39   Re: Accelerator - Take back control
#139

Can i symlink the data folder? Since i have multiple instances called sourcemod_am1, sourcemod_dodgeball, etc etc. I have symlinked my extensions folder so that each install has it.
__________________
Arguing with a fool only proves there are two
snelvuur is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-17-2013 , 09:41   Re: Accelerator - Take back control
#140

Quote:
Originally Posted by snelvuur View Post
Can i symlink the data folder? Since i have multiple instances called sourcemod_am1, sourcemod_dodgeball, etc etc. I have symlinked my extensions folder so that each install has it.
No, sharing the data folder isn't supported, it's used for instance-specific state. Multiple servers writing to the same file would explode horribly.

EDIT: hg9 will now create it if it doesn't exist, and fail to load if it can't.
__________________

Last edited by asherkin; 05-17-2013 at 09:49.
asherkin is offline
Closed Thread



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 02:19.


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