This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

D-FENS - Patch for upload/download server file exploit. (Updated 05-10-2010)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 05-10-2010 , 13:40   Re: D-FENS - Patch for upload/download server file exploit. (Updated 05-10-2010)
Reply With Quote #1

i'm getting this when I try to compile it on linux with ENGINE=orangeboxvalve

Code:
sample_mm.cpp:43: error: braces around scalar initializer for type 'const char*'
any ideas?

I didn't change anything on any of the files.
FeuerSturm is offline
Darkthrone
Senior Member
Join Date: Jun 2009
Old 05-27-2010 , 01:53   Re: D-FENS - Patch for upload/download server file exploit. (Updated 05-10-2010)
Reply With Quote #2

Quote:
Originally Posted by FeuerSturm View Post
i'm getting this when I try to compile it on linux with ENGINE=orangeboxvalve

Code:
sample_mm.cpp:43: error: braces around scalar initializer for type 'const char*'
any ideas?

I didn't change anything on any of the files.
replace in the sample_mm.cpp, this
Code:
const char *g_szAllowedPaths[] =  
{ 
    {"downloads"}, 
    {"maps"}, 
    {"materials"}, 
    {"particles"}, 
    {"models"}, 
    {"sound"}, 
    {NULL},     
};
with this
Code:
const char *g_szAllowedPaths[] =  
{ 
    "downloads", 
    "maps", 
    "materials", 
    "particles", 
    "models", 
    "sound", 
    NULL,     
};
__________________
all the best for your Zombie:Reloaded server
Auto !zspawn | ZProp | Infinite Ammo | Anti-Doorblock

Darkthrone 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 22:54.


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