Raised This Month: $32 Target: $400
 8% 

[EXTENSION] bzip2 Compression v0.0.2 (2011-12-29)


Post New Thread Reply   
 
Thread Tools Display Modes
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 11-06-2012 , 18:13   Re: [EXTENSION] bzip2 Compression v0.0.2 (2011-12-29)
Reply With Quote #11

Hm, this is in regard to http://forums.alliedmods.net/showpos...0&postcount=12

After excessive logging there seems to be a stack corruption happening somewhere in here.
Sometime in the next calls after the file is compressed, usually in the plugin providing the ftp upload native, it's erroring out.

Log:
Spoiler


Error log:
Spoiler


The FTP_UploadFile native is called in the bz2 callback. I first thought it's been a problem with your tEasyFTP plugin, then thought it might be an issue with the cURL extension (that's why it's no longer teasyftp.smx but the ftp protocol in sp using the socket extension), but the error still persisted.

Now when comparing the timestamps, it seems it's getting weird in this bzip2 extension.
The only thing i've noticed with my limited c++ knowledge is a basic parameter count error in the forward creation (2 should be 4), but that didn't help too.
Maybe it doesn't like that i'm compressing a file every 10 minutes or in this example shortly in 1 minute?

No need to look at curl anymore;) Hope you've got some time to proof read for some subtle leaks?

Edit:
Are you even using the g_pAsyncCallback forward? Looks like you're just populating it - and do a direct call afterwards.
Another typo which might be causing this in the CompressFile native. you're casting the compressionlevel to a funcid ;)
I'll test and report back.
__________________

Last edited by Peace-Maker; 11-06-2012 at 18:36.
Peace-Maker is offline
Corneus
SourceMod Donor
Join Date: Feb 2012
Location: iFrame
Old 11-22-2012 , 16:41   Re: [EXTENSION] bzip2 Compression v0.0.2 (2011-12-29)
Reply With Quote #12

I have these errors:

Code:
[SM] Displaying 15 extensions:
[01] Automatic Updater (1.4.5-dev): Updates SourceMod gamedata files
[02] Webternet (1.4.5-dev): Extension for interacting with URLs
[03] CS:S Tools (1.4.5-dev): CS:S extended functionality
[04] BinTools (1.4.5-dev): Low-level C/C++ Calling API
[05] SDK Tools (1.4.5-dev): Source SDK Tools
[06] Top Menus (1.4.5-dev): Creates sorted nested menus
[07] Client Preferences (1.4.5-dev): Saves client preference settings
[08] SQLite (1.4.5-dev): SQLite Driver
[09] cURL Extension (1.3.0.0): cURL Extension
[10] SDK Hooks (2.2.0): Source SDK Hooks
[11] <FAILED> file "builtinvotes.ext.so": /css/cstrike/addons/sourcemod/extensions/builtinvotes.ext.so: cannot open shared object file: No such file or directory
[12] <FAILED> file "smbz2.ext.so": /css/cstrike/addons/sourcemod/extensions/smbz2.ext.so: ELF file OS ABI invalid
[13] Regex (1.4.5-dev): Provides regex natives for plugins
[14] CBaseServer tools (2.0.1): Base server tools (and example of detours)
[15] MySQL-DBI (1.4.5-dev): MySQL driver implementation for DBI

Corneus is offline
Amodd
Junior Member
Join Date: Dec 2012
Old 12-01-2012 , 18:40   Re: [EXTENSION] bzip2 Compression v0.0.2 (2011-12-29)
Reply With Quote #13

Works Great !

Last edited by Amodd; 03-04-2013 at 18:54.
Amodd is offline
steven124
Member
Join Date: Nov 2009
Location: Siberia
Old 04-18-2013 , 00:15   Re: [EXTENSION] bzip2 Compression v0.0.2 (2011-12-29)
Reply With Quote #14

hi!

steam pipe update css

L 04/18/2013 - 11:59:02: SourceMod error session started
L 04/18/2013 - 11:59:02: Info (map "awp_lego_flf") (file "errors_20130418.log")
L 04/18/2013 - 11:59:02: [tAutoDemoUpload.smx] bzip2 Error: BZ_IO_ERROR_INPUT
L 04/18/2013 - 12:02:41: Error log file session closed.
L 04/18/2013 - 12:02:46: SourceMod error session started
L 04/18/2013 - 12:02:46: Info (map "awp_lego_quad_v2") (file "errors_20130418.log")
L 04/18/2013 - 12:02:46: [tAutoDemoUpload.smx] bzip2 Error: BZ_IO_ERROR_INPUT

fix pls
steven124 is offline
Nano2e
SourceMod Donor
Join Date: Apr 2012
Location: Australia
Old 06-21-2013 , 10:46   Re: [EXTENSION] bzip2 Compression v0.0.2 (2011-12-29)
Reply With Quote #15

I think this might need an update, one my plugins that uses that has been returning all demos as 0kbs and this has been happening since the 11th of May.
__________________
Veni Vidi Vici
Nano2e is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 02-16-2014 , 11:31   Re: [EXTENSION] bzip2 Compression v0.0.2 (2011-12-29)
Reply With Quote #16

Code:
BZ_IO_ERROR_INPUT
Have these regularly on a TF2 server, even though the file in question exists and is being written to.
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.
Dr. Greg House is offline
jpwanabe
Veteran Member
Join Date: Mar 2010
Old 11-10-2014 , 05:59   Re: [EXTENSION] bzip2 Compression v0.0.2 (2011-12-29)
Reply With Quote #17

How exactly do I install this? Should I download the zip? Or is that single file all I need?
__________________
My Steam TF2APP
My sig changes with each load! Refresh to see my other servers!
jpwanabe is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 11-24-2014 , 03:19   Re: [EXTENSION] bzip2 Compression v0.0.2 (2011-12-29)
Reply With Quote #18

Would it be possible to have a forward to decompress a String[] buffer?
I would need this to implement an A2S server query in sourcepawn.
h3bus is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 04-24-2016 , 19:49   Re: [EXTENSION] bzip2 Compression v0.0.2 (2011-12-29)
Reply With Quote #19

does not work for windows

-------------- edit -------------------
nvm had corrupt download or something
__________________

Last edited by 8guawong; 04-24-2016 at 20:47.
8guawong is offline
dildoughy
Member
Join Date: Nov 2015
Old 05-12-2016 , 07:55   Re: [EXTENSION] bzip2 Compression v0.0.2 (2011-12-29)
Reply With Quote #20

So when I'm autorecording and then uploading a SourceTV demo with a bz2 compression, I'm fetching the files from my external gameserver, compressing it locally on my hard drive (in my own TF2 install) and re-uploading via the FTP extension?

Or are the contents of this somehow going into the root folder of my game server?

:[ Confused human here.
dildoughy 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 07:31.


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