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

Developer Builds Available


Post New Thread Closed Thread   
 
Thread Tools Display Modes
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 04-22-2010 , 23:29   Re: Developer Builds Available
#31

Quote:
Originally Posted by joaquimandrade View Post
Does that work on something like: "....//" ?
Yes. I need to Fix that To.
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 04-23-2010 , 13:56   Re: Developer Builds Available
#32

I make a Nice Solution ( I think )
PHP Code:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

class PathTraversaFix
{
    
char *v;

public:
    
PathTraversaFix()
    {
        
NULL;
    }

    
PathTraversaFix( const char *path )
    {
        
= new charstrlenpath ) + ];
        
strcpyvpath );
    }

    ~
PathTraversaFix()
    {
        if( 
)
            
delete [] v;
    }

    const 
char *GetFix()
    {
        
size_t vlen strlen);
        
char *tmp = new charvlen ];
        
size_t i 0;
        
size_t j 0;
        
bool havechange false;

        while( 
)
        {
            if( 
i+>= vlen )
            {
                if( 
havechange )
                {
                    
tmp[j++] = v[i++];
                    
tmp[j++] = v[i];
                    
tmp[j] = '\0';
                    
havechange false;
                    
0;
                    
strcpyvtmp );
                    
vlen strlen);
                    continue;
                }
                else
                {
                    break;
                }
            }

            if( 
v[i] == '.' && v[i+1] == '.' && ( v[i+2] == '/' || v[i+2] == '\\' ) )
            {
                
havechange true;
                
+= 3;
            }
            else
            {
                
tmp[j++] = v[i++];
            }
        }
        
delete [] tmp;

        return 
v;
    }
};

int main()
{
    const 
char *texto "c:\\carpeta\\../....//......///..\\hacked.zip";

    
PathTraversaFix lalatexto );

    
printf"%s : %s\n"textolala.GetFix() );

    
system("PAUSE");
    return 
0;

Is to Fix PathTraversa
__________________

Last edited by AntiBots; 04-23-2010 at 14:57.
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
sapuk
New Member
Join Date: Apr 2010
Location: RS, Brasil
Old 05-01-2010 , 10:12   Re: Developer Builds Available
#33

AMX works on Windows and Linux, now Steam will have support for Mac OS... AMX will have support for Mac OS too?
__________________
I don't speak English very well, but I try
sapuk is offline
Send a message via MSN to sapuk
BAILOPAN
Join Date: Jan 2004
Old 05-01-2010 , 12:47   Re: Developer Builds Available
#34

sapuk: I have not heard any news that the HL1 engine will be ported to Mac.
__________________
egg
BAILOPAN is offline
Old 05-01-2010, 13:27
Hawk552
This message has been deleted by Hawk552.
sapuk
New Member
Join Date: Apr 2010
Location: RS, Brasil
Old 05-01-2010 , 13:57   Re: Developer Builds Available
#35

Quote:
Originally Posted by BAILOPAN View Post
sapuk: I have not heard any news that the HL1 engine will be ported to Mac.
only source engine?
well... in 12/May we will know...
__________________
I don't speak English very well, but I try
sapuk is offline
Send a message via MSN to sapuk
chp'
Senior Member
Join Date: Nov 2008
Old 05-01-2010 , 16:24   Re: Developer Builds Available
#36

Excuse me for asking, but still did not understand the differences between the versions.

I want to create a new server and am having a doubt.

Should I use amxx 1.8.1.3746 or the latest snapshot?
chp' is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 05-01-2010 , 19:09   Re: Developer Builds Available
#37

Quote:
Originally Posted by chp' View Post
Excuse me for asking, but still did not understand the differences between the versions.

I want to create a new server and am having a doubt.

Should I use amxx 1.8.1.3746 or the latest snapshot?
If you want to experience the latest bugfixes, improvements, etc, you can use the trunk revision, but the developers can't grant any stability on the product.
I've received great feedback from server owners who are using the latest version.
Seta00 is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 05-02-2010 , 18:24   Re: Developer Builds Available
#38

Quote:
Originally Posted by sapuk View Post
AMX works on Windows and Linux, now Steam will have support for Mac OS... AMX will have support for Mac OS too?
I only read that HL2 will be port to MAC.
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-06-2010 , 23:19   Re: Developer Builds Available
#39

They won't port HL1 to Mac. HL1 is in the past.
__________________
fysiks is online now
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 05-08-2010 , 23:48   Re: Developer Builds Available
#40

Any want to make a Team Fundation Server? for Amx Module Update?
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
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 15:23.


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