Raised This Month: $ Target: $400
 0% 

Could not locate output file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dustball
Junior Member
Join Date: May 2010
Location: San Diego, CA
Old 05-22-2010 , 02:49   Could not locate output file
Reply With Quote #1

I have tried anything I can think of. I have all of the include libraries in the right place. And I put the .sma in C:\Program Files\AMX Mod X\files\base\scripting\amxx_chz.sma. However, I keep getting this error message. Does anyone know why?

Could not locate output file C:\Program Files\AMX Mod X\files\base\scripting\amxx_chz.amx (compile failed).
dustball is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 05-22-2010 , 09:17   Re: Could not locate output file
Reply With Quote #2

Post the full compiler output.
Seta00 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-22-2010 , 09:45   Re: Could not locate output file
Reply With Quote #3

Its most likely a error in your code. Post your code.
__________________

Last edited by Bugsy; 05-22-2010 at 09:48.
Bugsy is offline
dustball
Junior Member
Join Date: May 2010
Location: San Diego, CA
Old 05-22-2010 , 13:13   Re: Could not locate output file
Reply With Quote #4

Here it is, I don't know why its doing this.

Edit: I'm not good at pawn, but I think I know whats causing the error. In the output, I have a few "undefined symbols." I'm not sure what they do with the script or if this would even cause it to not compile. If there is something undefined, maybe because I didn't use it or deleted that part of the script, should I just delete the undefined symbols? Would they do anything?

Code:
#define VERSION    "1.3"

#include <amxmodx>
#include <amxmisc>
#include <chr_engine>

#define HEAD_BONE    8

new bool:esp[33]
new bool:aimbot[33]
new bool:speed[33]
new bool:recoil[33]
new speed_pcvar
new esp_on_pcvar
new aimbot_on_pcvar
new speed_on_pcvar
new recoil_on_pcvar

public plugin_init()
{
    register_plugin("Hacks Plugin",VERSION,"Dustball_Edit")
    speed_pcvar = register_cvar("speedhack_speed","500.0")
    esp_on_pcvar = register_cvar("esp_on","1")
    aimbot_on_pcvar = register_cvar("aimbot_on","1")
    speed_on_pcvar = register_cvar("speed_on","1")
    recoil_on_pcvar = register_cvar("recoil_on","1")
    register_clcmd("say_team /aimbot","hack1")
    register_clcmd("say_team /esp","hack2")
    register_clcmd("say_team /speed","hack3")
    register_clcmd("say_team /norecoil","hack4")
    register_forward(FM_PlayerPreThink,"FM_PreThink")
    register_forward(FM_TraceLine, "FM_traceline_hook",1)
}

public client_disconnect(id)
{
    esp[id]=false
    aimbot[id]=false
    speed[id]=false
    recoil[id]=false
}


public FM_traceline_hook(Float:blah1[3],Float:blah2[3],blah3,id)
{
    if(is_user_alive(id) && recoil[id])
    {
        static vec1[3], Float:vec2[3]
        get_user_origin(id,vec1,3)

        vec2[0] = float(vec1[0])
        vec2[1] = float(vec1[1])
        vec2[2] = float(vec1[2])

        set_tr(TR_vecEndPos,vec2)
    }
}

//teame06's function that he shared with me quiet a while ago.
public set_rendering2(index,fx,r,g,b,render,amount)
{
    set_pev(index, pev_renderfx, fx);
    new Float:RenderColor[3];
    RenderColor[0] = float(r);
    RenderColor[1] = float(g);
    RenderColor[2] = float(b);
    set_pev(index, pev_rendercolor, RenderColor);
    set_pev(index, pev_rendermode, render);
    set_pev(index, pev_renderamt, float(amount));
}

Last edited by dustball; 05-22-2010 at 13:27.
dustball is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 05-22-2010 , 15:33   Re: Could not locate output file
Reply With Quote #5

compiles for me, 5 warning though.

I'm pretty sure this is not the full code
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-22-2010 , 20:52   Re: Could not locate output file
Reply With Quote #6

Quote:
Originally Posted by dustball View Post
I'm not good at pawn, but I think I know whats causing the error. In the output, I have a few "undefined symbols." I'm not sure what they do with the script or if this would even cause it to not compile. If there is something undefined, maybe because I didn't use it or deleted that part of the script, should I just delete the undefined symbols? Would they do anything?
You are the only one that will be able to answer that question at this point.

Quote:
Originally Posted by drekes View Post
I'm pretty sure this is not the full code
Yeah, some people just don't get it. It gets annoying.
__________________
fysiks 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 03:35.


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