Sign in to follow this  
Followers 0
Synd

An error

21 posts in this topic

So, im getting this error i need help with.

 

XpB23.jpg

 

I have no idea what to do as there is nothing in the script like this

 

My gsc:

 

main()
{
maps\mp\_load::main();
 
 

    game["allies"] = "marines";
    game["axis"] = "opfor";
    game["attackers"] = "axis";
    game["defenders"] = "allies";
    game["allies_soldiertype"] = "desert";
    game["axis_soldiertype"] = "desert";
    
    thread doors();
    thread dropper();
    thread spinners();
    thread platform();
    
    }
    
doors ()
{
  door = getEnt("door","targetname");
 
    for(; ;)
    {
        wait 10;
        door moveZ (-500 , 8);
        wait 40;
        iPrintln("^4Thank you Unnamedplayer and ^1red^7nose!");
        wait 5;
        iPrintln("Please ^9report ^7any ^1bugs.");
        wait 1;
        iPrintln("^3xfire: Synd555");
    }
}

 dropper()
{
        dropper = getEnt("dropper","targetname");

        droppertrig = getEnt("droppertrig","targetname");
        droppertrig waittill ("trigger");
        droppertrig delete();
        {
            dropper moveZ (-500 ,2);
                wait 10;
            dropper moveZ (500 ,2);
            }

                

    wait 1;
        }


 spinners()
{
        spinners = getEnt("spinners","targetname");

        spinnerstrig = getEnt("spinnerstrig","targetname");
        spinnerstrig waittill ("trigger");
        spinnerstrig delete();
        {
                spinners moveZ (-500 ,8);
                wait 6;
                spinners moveZ (500 ,8);

                

    wait 1;
        }
}

platform()
{
    for(; ;)
    {
    platform = getent("platform","targetname");


    platform movey (-2832,30);
    
    wait 3;
    
    platform movey (2832,30);
    
    wait 2;
    
    
    }
}

 lift()
{

    lift = getent("lift","targetname");
        
    lift_trigger = getent("lift_trigger","targetname");
    
    lift_trigger waittill ("trigger");

    while(1)
    {

        lift movez (-1120,4,1,1);

        wait 5;

        lift movez (1120,4,1,1);

        wait 2;
        
        
                           

    }
}

 

0

Share this post


Link to post
Share on other sites

It's saying there's something wrong the "_art.gsc" in the raw/maps/mp folder.

 

EDIT: firstly delete everything in your gsc to see if it is something there which is causing it

 

I assume you haven't gone around editing anything so try testing out parts of your script individually, as in, delete everything but one thread and repeat for each thread. This way you can see which part of your script is messing up.

 

If it's not your script check your radiant settings to see if anything looks dodgy and if worst comes to worst try replacing your _art.gsc file with a fresh one

0

Share this post


Link to post
Share on other sites

It's saying there's something wrong the "_art.gsc" in the raw/maps/mp folder.

 

EDIT: firstly delete everything in your gsc to see if it is something there which is causing it

 

I assume you haven't gone around editing anything so try testing out parts of your script individually, as in, delete everything but one thread and repeat for each thread. This way you can see which part of your script is messing up.

 

If it's not your script check your radiant settings to see if anything looks dodgy and if worst comes to worst try replacing your _art.gsc file with a fresh one

 

Well, I just tried deleting everything and I get the exact same error, I'm looking in radiant right now to see if theres anything majorly wrong with the map. I think it may have something to do with the skybox, I'm not positive though.

0

Share this post


Link to post
Share on other sites

Not a good idea to delete stock scripts sentrex... Have you compiled a mod or something edited any of the stock files?

0

Share this post


Link to post
Share on other sites

Not a good idea to delete stock scripts sentrex... Have you compiled a mod or something edited any of the stock files?

 

I've never compiled a mod.. Also never edited any of the stock files in cod4. That's why I'm so confused

0

Share this post


Link to post
Share on other sites

Well, for that error to happen you must have edited stock files or accidentally replaced them without knowing.

0

Share this post


Link to post
Share on other sites

Not a good idea to delete stock scripts sentrex...

What I meant was replace the file with a friends one incase something had happened to his, keeping a backup of course.
0

Share this post


Link to post
Share on other sites

I remember I had this bug a long time ago.
 
I can't exactly remember how I fixed it.... I believe I had someone give me their _art.gsc and replaced mine with theirs..
 
The error will go away if you comment out maps\mp\_load::main();

That being said, you don't want to keep it commented out as it is necessary for a working map.

 

I'd suggest checking other maps (if you don't have any other maps make a test one for testing purposes), and see if you get the same error.

 

If you do, the problem most certainly seems to be coming from your source files and you should replace them with a friend's.

 

If you don't get the error on your test map, then it is very likely the problem comes from somewhere in your map.

0

Share this post


Link to post
Share on other sites

Well I made a new map and I got the same error so it must be my source files, i will add that _art from Lossy and see if it works.

 

EDIT: Did not work.

Edited by Synd
0

Share this post


Link to post
Share on other sites

Well I made a new map and I got the same error so it must be my source files, i will add that _art from Lossy and see if it works.

 

EDIT: Did not work.

 

 

replace your entire raw folder from the link lossy gave you.

0

Share this post


Link to post
Share on other sites

Well before I do that, I removed my custom command line and all of the sudden it worked.. Officially confused. :facepalm:

0

Share this post


Link to post
Share on other sites

Well before I do that, I removed my custom command line and all of the sudden it worked.. Officially confused. :facepalm:

Would be cool if you still know what was in it. :P

(I'm curious where the error comes from)

0

Share this post


Link to post
Share on other sites

Were you using developer 1 and developer_script 1 :facepalm:

0

Share this post


Link to post
Share on other sites

I get the same error when running dr 1.3 mod, i tried replacing _art.gsc, tried editing but nothing seems to work, please msg if you find a fix

0

Share this post


Link to post
Share on other sites

solution: don't run a unfinished mod that's still in alpha stage.

0

Share this post


Link to post
Share on other sites

solution: don't run a unfinished mod that's still in alpha stage.

Get same error with deathrun 1.2 source, also i have gotten it with a map before.

0

Share this post


Link to post
Share on other sites

I get the same error when running dr 1.3 mod, i tried replacing _art.gsc, tried editing but nothing seems to work, please msg if you find a fix

 

Hmm that might be the case because i was running dr 1.3 mod :/

0

Share this post


Link to post
Share on other sites

Even better solution, don't use a mod that's in beta *cough* 1.2 *cough* use 1.1 dr. it's the most stable deathrun.

 

And if you still get error then you must of compiled a mod that's replaced your stock scripts.

0

Share this post


Link to post
Share on other sites

solution: don't run a unfinished mod that's still in alpha stage.

 

Actually it randomly occurs in other mods (rotu and openwarfare for example).

0

Share this post


Link to post
Share on other sites

Actually it randomly occurs in other mods (rotu and openwarfare for example).

You said yourself a while ago that one of your zombies mod for CoD1 was like rotu, a never ending beta, :dumb: so I guess rotu isn't safe to work with either. :dumb:

0

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  
Followers 0