Script Error!

broken avatar :(
Created 1367 days ago
by Maoyk
0 Members and 1 Guest are viewing this topic.
6,420 views
broken avatar :(
×
broken avatar :(
Location: deHamburg
Date Registered: 25 September 2016
Last active: 1334 days ago
Posts
5
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
Maoyk's Groups
Maoyk's Contact & Social LinksMayoksnipzmodzmayokytxmayokmayokytmayokytmayok
********************************************************************************
UNRECOVERABLE ERROR:
  ^1SCRIPT ERROR: No generated data for 'scripts/zm/zm_zhc.gsc'



Linker will now terminate.
********************************************************************************

==================================================
Linker summary:

There were no errors or warnings.

==================================================

^1�
^1^
^1ERR(0) scripts/zm/zm_zhc.gsc (92,1)  : Bad Token '�' :  ^1�
^1^
^1ERR(0) scripts/zm/zm_zhc.gsc (92,1)  : syntax error, unexpected TOKEN_ERROR, expecting $end : �
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 12 September 2016
Last active: 139 days ago
Posts
306
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
reckfullies's Groups
reckfullies's Contact & Social LinksReckfulliesReckfullies
********************************************************************************
UNRECOVERABLE ERROR:
  ^1SCRIPT ERROR: No generated data for 'scripts/zm/zm_zhc.gsc'



Linker will now terminate.
********************************************************************************

==================================================
Linker summary:

There were no errors or warnings.

==================================================

^1�
^1^
^1ERR(0) scripts/zm/zm_zhc.gsc (92,1)  : Bad Token '�' :  ^1�
^1^
^1ERR(0) scripts/zm/zm_zhc.gsc (92,1)  : syntax error, unexpected TOKEN_ERROR, expecting $end : �

The error message is saying there is an error on line 92 of scripts/zm/zm_zhc.gsc.

Check if there is anything wrong in that area of the script.
broken avatar :(
×
broken avatar :(
Location: deHamburg
Date Registered: 25 September 2016
Last active: 1334 days ago
Posts
5
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
Maoyk's Groups
Maoyk's Contact & Social LinksMayoksnipzmodzmayokytxmayokmayokytmayokytmayok
The error message is saying there is an error on line 92 of scripts/zm/zm_zhc.gsc.

Check if there is anything wrong in that area of the script.

#using scripts\codescripts\struct;

#using scripts\shared\array_shared;
#using scripts\shared\callbacks_shared;
#using scripts\shared\clientfield_shared;
#using scripts\shared\compass;
#using scripts\shared\exploder_shared;
#using scripts\shared\flag_shared;
#using scripts\shared\laststand_shared;
#using scripts\shared\math_shared;
#using scripts\shared\scene_shared;
#using scripts\shared\util_shared;

#insert scripts\shared\shared.gsh;
#insert scripts\shared\version.gsh;

#insert scripts\zm\_zm_utility.gsh;

#using scripts\zm\_load;
#using scripts\zm\_zm;
#using scripts\zm\_zm_audio;
#using scripts\zm\_zm_powerups;
#using scripts\zm\_zm_utility;
#using scripts\zm\_zm_weapons;
#using scripts\zm\_zm_zonemgr;

#using scripts\shared\ai\zombie_utility;

//Perks
#using scripts\zm\_zm_pack_a_punch;
#using scripts\zm\_zm_pack_a_punch_util;
#using scripts\zm\_zm_perk_additionalprimaryweapon;
#using scripts\zm\_zm_perk_doubletap2;
#using scripts\zm\_zm_perk_deadshot;
#using scripts\zm\_zm_perk_juggernaut;
#using scripts\zm\_zm_perk_quick_revive;
#using scripts\zm\_zm_perk_sleight_of_hand;
#using scripts\zm\_zm_perk_staminup;

//Powerups
#using scripts\zm\_zm_powerup_double_points;
#using scripts\zm\_zm_powerup_carpenter;
#using scripts\zm\_zm_powerup_fire_sale;
#using scripts\zm\_zm_powerup_free_perk;
#using scripts\zm\_zm_powerup_full_ammo;
#using scripts\zm\_zm_powerup_insta_kill;
#using scripts\zm\_zm_powerup_nuke;
//#using scripts\zm\_zm_powerup_weapon_minigun;

//Traps
#using scripts\zm\_zm_trap_electric;

#using scripts\zm\zm_usermap;

//*****************************************************************************
// MAIN
//*****************************************************************************

function main()
{
level thread intro_credits();
zm_usermap::main();

level._zombie_custom_add_weapons =&custom_add_weapons;

//Setup the levels Zombie Zone Volumes
level.zones = [];
level.zone_manager_init_func =&usermap_test_zone_init;
init_zones[0] = "start_zone";
level thread zm_zonemgr::manage_zones( init_zones );

level.pathdist_type = PATHDIST_ORIGINAL;
}

function usermap_test_zone_init()
{
level flag::init( "always_on" );
level flag::set( "always_on" );
}

function custom_add_weapons()
{
zm_weapons::load_weapon_spec_from_table("gamedata/weapons/zm/zm_levelcommon_weapons.csv", 1);
}

function intro_credits()
{
    thread creat_simple_intro_hud( "Thank you for playing Fabrik Der Untoten: Beta Version 1.2", 50, 100, 3, 5 );
    thread creat_simple_intro_hud( "Mapping by Madgaz Gaming", 50, 75, 2, 5 );
    thread creat_simple_intro_hud( "Scripting by NateSmithZombies", 50, 50, 2, 5 );
}
 
function creat_simple_intro_hud( text, align_x, align_y, font_scale, fade_time )
{
    hud = NewHudElem();
    hud.foreground = true;
    hud.fontScale = font_scale;
    hud.sort = 1;
    hud.hidewheninmenu = false;
    hud.alignX = "left";
    hud.alignY = "bottom";
    hud.horzAlign = "left";
    hud.vertAlign = "bottom";
    hud.x = align_x;
    hud.y = hud.y - align_y;
    hud.alpha = 1;
    hud SetText( text );
    wait( 8 );
    hud fadeOverTime( fade_time );
    hud.alpha = 0;
    wait( fade_time );
    hud Destroy();
}
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 12 September 2016
Last active: 139 days ago
Posts
306
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
reckfullies's Groups
reckfullies's Contact & Social LinksReckfulliesReckfullies
#using scripts\codescripts\struct;

#using scripts\shared\array_shared;
#using scripts\shared\callbacks_shared;
#using scripts\shared\clientfield_shared;
#using scripts\shared\compass;
#using scripts\shared\exploder_shared;
#using scripts\shared\flag_shared;
#using scripts\shared\laststand_shared;
#using scripts\shared\math_shared;
#using scripts\shared\scene_shared;
#using scripts\shared\util_shared;

#insert scripts\shared\shared.gsh;
#insert scripts\shared\version.gsh;

#insert scripts\zm\_zm_utility.gsh;

#using scripts\zm\_load;
#using scripts\zm\_zm;
#using scripts\zm\_zm_audio;
#using scripts\zm\_zm_powerups;
#using scripts\zm\_zm_utility;
#using scripts\zm\_zm_weapons;
#using scripts\zm\_zm_zonemgr;

#using scripts\shared\ai\zombie_utility;

//Perks
#using scripts\zm\_zm_pack_a_punch;
#using scripts\zm\_zm_pack_a_punch_util;
#using scripts\zm\_zm_perk_additionalprimaryweapon;
#using scripts\zm\_zm_perk_doubletap2;
#using scripts\zm\_zm_perk_deadshot;
#using scripts\zm\_zm_perk_juggernaut;
#using scripts\zm\_zm_perk_quick_revive;
#using scripts\zm\_zm_perk_sleight_of_hand;
#using scripts\zm\_zm_perk_staminup;

//Powerups
#using scripts\zm\_zm_powerup_double_points;
#using scripts\zm\_zm_powerup_carpenter;
#using scripts\zm\_zm_powerup_fire_sale;
#using scripts\zm\_zm_powerup_free_perk;
#using scripts\zm\_zm_powerup_full_ammo;
#using scripts\zm\_zm_powerup_insta_kill;
#using scripts\zm\_zm_powerup_nuke;
//#using scripts\zm\_zm_powerup_weapon_minigun;

//Traps
#using scripts\zm\_zm_trap_electric;

#using scripts\zm\zm_usermap;

//*****************************************************************************
// MAIN
//*****************************************************************************

function main()
{
level thread intro_credits();
zm_usermap::main();

level._zombie_custom_add_weapons =&custom_add_weapons;

//Setup the levels Zombie Zone Volumes
level.zones = [];
level.zone_manager_init_func =&usermap_test_zone_init;
init_zones[0] = "start_zone";
level thread zm_zonemgr::manage_zones( init_zones );

level.pathdist_type = PATHDIST_ORIGINAL;
}

function usermap_test_zone_init()
{
level flag::init( "always_on" );
level flag::set( "always_on" );
}

function custom_add_weapons()
{
zm_weapons::load_weapon_spec_from_table("gamedata/weapons/zm/zm_levelcommon_weapons.csv", 1);
}

function intro_credits()
{
    thread creat_simple_intro_hud( "Thank you for playing Fabrik Der Untoten: Beta Version 1.2", 50, 100, 3, 5 );
    thread creat_simple_intro_hud( "Mapping by Madgaz Gaming", 50, 75, 2, 5 );
    thread creat_simple_intro_hud( "Scripting by NateSmithZombies", 50, 50, 2, 5 );
}
 
function creat_simple_intro_hud( text, align_x, align_y, font_scale, fade_time )
{
    hud = NewHudElem();
    hud.foreground = true;
    hud.fontScale = font_scale;
    hud.sort = 1;
    hud.hidewheninmenu = false;
    hud.alignX = "left";
    hud.alignY = "bottom";
    hud.horzAlign = "left";
    hud.vertAlign = "bottom";
    hud.x = align_x;
    hud.y = hud.y - align_y;
    hud.alpha = 1;
    hud SetText( text );
    wait( 8 );
    hud fadeOverTime( fade_time );
    hud.alpha = 0;
    wait( fade_time );
    hud Destroy();
}

There doesn't seem to be any scripting errors, might just be a unknown character that the game cant compile into a script.

Try swapping it for this:
Sorry but you are not allowed to view spoiler contents.
broken avatar :(
×
broken avatar :(
Location: deHamburg
Date Registered: 25 September 2016
Last active: 1334 days ago
Posts
5
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
Maoyk's Groups
Maoyk's Contact & Social LinksMayoksnipzmodzmayokytxmayokmayokytmayokytmayok
There doesn't seem to be any scripting errors, might just be a unknown character that the game cant compile into a script.

Try swapping it for this:
Sorry but you are not allowed to view spoiler contents.

It Works! Thank You but what have you changed?
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 12 September 2016
Last active: 139 days ago
Posts
306
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
reckfullies's Groups
reckfullies's Contact & Social LinksReckfulliesReckfullies
It Works! Thank You but what have you changed?

Was probably just an error with the way you put in the spaces or something.

I just deleted all the extra spaces so there were no invalid characters of any sort, none of the code was changed.
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 13 February 2014
Last active: 1221 days ago
Posts
4
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
My Contact & Social Links
More
×
DuBCraft21's Groups
DuBCraft21's Contact & Social LinksDuBCraft21DubCraftDuBCraft21
to me your script looks fine, most likely either the new line or the character that comes directly after it (on windows when you hit enter you are making 2 characters) was corrupted meaning that just deleting that line and replacing it would have most likely solved the issue.
broken avatar :(
×
broken avatar :(
Location: scotland
Date Registered: 15 February 2016
Last active: 399 days ago
Posts
1
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
Coolmodder's Groups
Coolmodder's Contact & Social Links
Can some one help me i have the same problem but I have removed all spaces
#using scripts\codescripts\struct;

#using scripts\shared\array_shared;
#using scripts\shared\callbacks_shared;
#using scripts\shared\clientfield_shared;
#using scripts\shared\compass;
#using scripts\shared\exploder_shared;
#using scripts\shared\flag_shared;
#using scripts\shared\laststand_shared;
#using scripts\shared\math_shared;
#using scripts\shared\scene_shared;
#using scripts\shared\util_shared;

#insert scripts\shared\shared.gsh;
#insert scripts\shared\version.gsh;

#insert scripts\zm\_zm_utility.gsh;

#using scripts\zm\_load;
#using scripts\zm\_zm;
#using scripts\zm\_zm_audio;
#using scripts\zm\_zm_powerups;
#using scripts\zm\_zm_utility;
#using scripts\zm\_zm_weapons;
#using scripts\zm\_zm_zonemgr;

#using scripts\shared\ai\zombie_utility;

//Perks
#using scripts\zm\_zm_pack_a_punch;
#using scripts\zm\_zm_perks;
#insert scripts\zm\_zm_perks.gsh;
#using scripts\zm\_zm_pack_a_punch_util;
#using scripts\zm\_zm_perk_additionalprimaryweapon;
#using scripts\zm\_zm_perk_doubletap2;
#using scripts\zm\_zm_perk_deadshot;
#using scripts\zm\_zm_perk_juggernaut;
#using scripts\zm\_zm_perk_quick_revive;
#using scripts\zm\_zm_perk_sleight_of_hand;
#using scripts\zm\_zm_perk_staminup;
#using scripts\zm\_zm_perk_widows_wine;

//Powerups
#using scripts\zm\_zm_powerup_double_points;
#using scripts\zm\_zm_powerup_carpenter;
#using scripts\zm\_zm_powerup_fire_sale;
#using scripts\zm\_zm_powerup_free_perk;
#using scripts\zm\_zm_powerup_full_ammo;
#using scripts\zm\_zm_powerup_insta_kill;
#using scripts\zm\_zm_powerup_nuke;
//#using scripts\zm\_zm_powerup_weapon_minigun;

//Traps
#using scripts\zm\_zm_trap_electric;

#using scripts\zm\zm_usermap;

#using scripts\_redspace\rs_o_jump_pad;

#using scripts\_NSZ\nsz_kino_teleporter;

//*****************************************************************************
// MAIN
//*****************************************************************************

function main()
{

thread soundEasterEggInit();

level zm_perks::spare_change();

level thread lots_o_points( 500000 );  // Change the number to the starting points you would like

// NSZ Kino Teleporter
level thread nsz_kino_teleporter::init();

level thread set_perk_limit(10);  // This sets the perk limit to 10

level zm_perks::spare_change();

zm_usermap::main();

startingWeapon = "pistol_revolver38";
weapon = getWeapon(startingWeapon);
level.start_weapon = (weapon);

level._zombie_custom_add_weapons =&custom_add_weapons;

//Setup the levels Zombie Zone Volumes
level.zones = [];
level.zone_manager_init_func =&usermap_test_zone_init;
init_zones[0] = "start_zone";
level thread zm_zonemgr::manage_zones( init_zones );

level.pathdist_type = PATHDIST_ORIGINAL;
}

function checkForPower()
{
level util::set_lighting_state(0); /* set lighting state to [1] in Radiant (by default) */
level waittill("power_on");
level util::set_lighting_state(1); /* set lighting state to [2] in Radiant (turn lights on) */
}

function usermap_test_zone_init()
{

zm_zonemgr::add_adjacent_zone("start_zone", "first_zone", "enter_first_zone");
zm_zonemgr::add_adjacent_zone("first_zone", "second_zone", "enter_second_zone");
zm_zonemgr::add_adjacent_zone("start_zone", "fourth_zone", "enter_fourth_zone");
zm_zonemgr::add_adjacent_zone("start_zone", "fiftht_zone", "enter_fiftht_zone");
zm_zonemgr::add_adjacent_zone("start_zone", "sixth_zone", "enter_sixth_zone");
level flag::init( "always_on" );
level flag::set( "always_on" );
}



function custom_add_weapons()
{
zm_weapons::load_weapon_spec_from_table("gamedata/weapons/zm/zm_levelcommon_weapons.csv", 1);
}

function set_perk_limit(num)
{
    wait( 30 );
    level.perk_purchase_limit = num;
}

function lots_o_points( points )
{
    level flag::wait_till( "all_players_connected" );
    players = getplayers();
    for( i=0;i<players.size;i++ )
    {
        players[i].score = points;
    }
}
function soundEasterEggInit()
{
level.soundEasterEgg = 0;
level.playEasterEgg = 3;
level.playSoundLocation = GetEnt("easter_egg_sound_location", "SpookySkeletons"); // Create a script origin and set it to server, not client, then give it this targetname

thread shoot1();
thread shoot2();
thread shoot3();
}

function shoot1()
{
shoot_trig1 = GetEnt("egg_shoot1", "targetname");
shoot_trig1 waittill("trigger", player);
shoot_model1 = GetEnt("shoot_model1", "targetname");
shoot_model1 delete();
level.soundEasterEgg++;
thread finishedEasterEgg();
shoot_trig1 delete();
IPrintLnBold("Teddy1");
}

function shoot2()
{
shoot_trig2 = GetEnt("egg_shoot2", "targetname");
shoot_trig2 waittill("trigger", player);
shoot_model2 = GetEnt("shoot_model2", "targetname");
shoot_model2 delete();
level.soundEasterEgg++;
thread finishedEasterEgg();
shoot_trig2 delete();
IPrintLnBold("Teddy2");
}

function shoot3()
{
shoot_trig3 = GetEnt("egg_shoot3", "targetname");
shoot_trig3 waittill("trigger", player);
shoot_model3 = GetEnt("shoot_model3", "targetname");
shoot_model3 delete();
level.soundEasterEgg++;
thread finishedEasterEgg();
shoot_trig3 delete();
IPrintLnBold("Teddy3");
}

function finishedEasterEgg()
{
if(level.soundEasterEgg >= level.playEasterEgg)
{
IPrintLnBold("You have found all the Bears");
level.playSoundLocation PlaySound("song_easter_egg1"); // Change "sephiroth" to the name of your soundalias.

players = GetPlayers();
for (i = 0;i<players.size;i++)

{
players[i] PlayLocalSound( "song_easter_egg1");
}
}
}
Last Edit: November 22, 2016, 10:25:29 pm by sevengpluke
broken avatar :(
×
broken avatar :(
Location: au
Date Registered: 21 May 2017
Last active: 1104 days ago
Posts
1
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
xMystoganx14's Groups
xMystoganx14's Contact & Social Links
 ^1SCRIPT ERROR: No generated data for 'scripts/zm/zm_zhc.gsc'
broken avatar :(
×
broken avatar :(
Location: chGermany
Date Registered: 6 May 2017
Last active: 721 days ago
Posts
1
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
My Contact & Social Links
More
×
dante_demon_14's Contact & Social Linksdante_demon_144
Hey all
I got a Problem, i put everything in the right Folder put every time when i compile i get the error message:

^1
^1^
^1ERR(0) scripts/zm/_zm_weap_idgun.gscc (1,1)  : Bad Token '�' :  ^1
^1^
^1ERR(0) scripts/zm/_zm_weap_idgun.gscc (1,1)  : syntax error, unexpected TOKEN_ERROR, expecting $end : 

Sorry for my bad english, im a german guy :)

 

Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch
Loading ...