The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
most weird error message ever
P44RTHURN4X Offline
Junior Member

Posts: 35
Threads: 16
Joined: Apr 2012
Reputation: 0
#1
most weird error message ever

OK, i was trying out some new big scripts and then came this:
FATAL ERROR: Could not load script file 'custom...'!
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,1):ERR : No matching signatures to 'OnLeave()'
main(10,2):ERR : No matching signatures to 'PlaySound(string@&,string@&,string@&, const unit, const
*7 chinese sings*

WHAT THE HELL?
my scriptfile is:
void OnStart()
{
PlayMusic("16_amb.ogg", true, 1.0f, 5, 1, true);
SetPlayerCrouching(false);
SetPlayerActive(true);
SetLanternActive(false, true);
SetPlayerHealth(100);
SetPlayerSanity(100);
SetPlayerLampOil(100);
PlaySound("", "react_sigh", "Player", 0, false);
SetEntityPlayerInteractCallback("orb_ball_obj", 1.0f, "ObjFunc");
}


void OrbFunc(string &in asEntity)
{
AddPropHealth("chest_small_1", 0.0f);
AddPropImpulse("sklave_obj" 5, 0, 0, "world");
SetEntityActive("armor_4", true);
SetEntityActive("armor_3", true);
SetEntityActive("armour_nice_complete_1", true);
SetMoveObjectState("armour_nice_complete_1", 6.0f);
SetEntityActive("deformed_man_1", true);
SetEntityActive("deformed_man_2", true);
SetEntityActive("rude_man_chains_statue_1", true);
SetEntityActive("rude_man_chains_statue_2", true);
PlaySoundAtEntity("thunderboo", "general_thunder03.ogg", "Player", 0, false);
StartPlayerLookAt("armour_nice_complete_1", 10.0f, 22.3f, "");
AddTimer("lookat_timer_func", 1.0f, "stop_p_lookat");
SetLightVisible("redlight_obj", true);
StartScreenShake(0.01f,0.25f, 0.01f,0.5f);
StartEffectFlash(4.0f, 3.0f, 0.7f);
}


void stop_p_lookat(string &in asTimer)
{
SetLightVisible("redlight_obj", false);
StopPlayerLookAt();
PlaySoundAtEntity("react_sigh02.ogg", "react_sigh04.ogg", "Player", 0, false);
AddQuest("Weird Ball", "findoutwhatis");
}

and my e_e.lang is:
<LANGUAGE>

...
...
...

<CATEGORY Name="Journal">
<Entry Name="findoutwhatis_Text">Find out for what this weird ball usable is.</Entry>
</CATEGORY>

...
...
...

</LANGUAGE>

what means the err message?
(This post was last modified: 04-27-2012, 09:58 PM by P44RTHURN4X.)
04-27-2012, 09:56 PM
Find


Messages In This Thread
most weird error message ever - by P44RTHURN4X - 04-27-2012, 09:56 PM



Users browsing this thread: 1 Guest(s)