Jump to content

Photo

Error 1.12

error compile witcher

28 replies to this topic

#1
vanjavs

vanjavs

    Journeyman

  • Members
  • Pip
  • 33 posts
Please tell me, what kind of mistake?
 

version Witcher 1.12

Folder "Hosts" deleted.

Error [content0]game\player\playerwitcher.ws(148): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\gameplay\focus\focus.ws(199): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\gameplay\focus\focus.ws(253): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\gui\menus\gwintgamemenu.ws(104): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\player\states\playerdialogstate.ws(48): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\player\states\combat.ws(124): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\player\states\exploration.ws(55): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\player\states\swimming.ws(252): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\player\states\vehicles\horseriding.ws(49): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\player\states\vehicles\sailing.ws(56): Function 'LogWithName' does not take 1 param(s)


Warning [content0]engine\telemetrykeyword.ws(9): Native function 'Log' was not exported from class 'CR4TelemetryScriptProxy' in C++ code.

Edited by vanjavs, 15 January 2016 - 06:23 AM.


#2
vanjavs

vanjavs

    Journeyman

  • Members
  • Pip
  • 33 posts

Problem solved! :blush: Thank you does not even tried to help! :dry: 



#3
stb06000

stb06000

    Stranger

  • Premium Member
  • 2 posts

What was the magic trick ?



#4
stb06000

stb06000

    Stranger

  • Premium Member
  • 2 posts

In folder "content\content0\scripts\engine", I create the file "telemetryKeyword.ws" with the following content :

 

// Class pointed to by "theTelemetry"
// Do not instanciate directly
import class CR4TelemetryScriptProxy extends CObject
{
    import final function LogWithName( eventType : ER4TelemetryEvents );
    import final function LogWithLabel( eventType : ER4TelemetryEvents, label : String );
    import final function LogWithValue( eventType : ER4TelemetryEvents, value : int );
    import final function LogWithValueStr( eventType : ER4TelemetryEvents, value : String );
    
    import final function LogWithLabelAndValue( eventType : ER4TelemetryEvents, label : String, value : int );
    import final function LogWithLabelAndValueStr( eventType : ER4TelemetryEvents, label : String, value : String );

    import final function SetCommonStatFlt( statType: ER4CommonStats, value : float );    
    import final function SetCommonStatI32( statType: ER4CommonStats, value : int );
    
    import final function SetGameProgress( value : float );
    
    import final function AddSessionTag( tag : String );
    import final function RemoveSessionTag( tag : String );
    
    import final function XDPPrintUserStats( statisticName : String );
    import final function XDPPrintUserAchievement( achievementName : String );
}



#5
joacir

joacir

    Stranger

  • Members
  • Pip
  • 1 posts

oh man thank you!



#6
avinash81

avinash81

    Stranger

  • Members
  • Pip
  • 4 posts
Error [content0]game\quests\quest_function.ws(7274): I dont know any 'GMM_Tpose'
Error [content0]game\gameplay\effects\effectmanager.ws(132): Could not find function 'UsesCustomCounter'
Error [content0]game\gameplay\effects\effectmanager.ws(134): Could not find function 'CheckCustomCounter'
Error [content0]game\gameplay\effects\effects\other\oil.ws(32): I dont know any 'usesCustomCounter'
Error [content0]game\gameplay\interactive\ep1chandelier.ws(161): Unable to convert from 'void' to 'Float'
Error [content0]game\gameplay\interactive\ep1chandelier.ws(162): Unable to convert from 'void' to 'Float'
Error [content0]game\gameplay\focus\focus.ws(199): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\gameplay\focus\focus.ws(253): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\gui\menus\blacksmithmenu.ws(444): Could not find function 'StartInvUpdateTransaction'
Error [content0]game\gui\menus\blacksmithmenu.ws(518): Could not find function 'FinishInvUpdateTransaction'
Error [content0]game\gui\menus\gwintgamemenu.ws(104): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\gui\menus\alchemymenu.ws(220): Could not find function 'StartInvUpdateTransaction'
Error [content0]game\gui\menus\alchemymenu.ws(239): Could not find function 'FinishInvUpdateTransaction'
Error [content0]game\gui\menus\craftingmenu.ws(141): Could not find function 'StartInvUpdateTransaction'
Error [content0]game\gui\menus\craftingmenu.ws(143): Could not find function 'FinishInvUpdateTransaction'
Error [content0]game\gui\popups\lootpopup.ws(332): Could not find function 'StartInvUpdateTransaction'
Error [content0]game\gui\popups\lootpopup.ws(335): Could not find function 'FinishInvUpdateTransaction'
Error [content0]game\player\playerweaponholster.ws(501): Could not find function 'AddOilBuff'
Error [content0]game\player\states\playerdialogstate.ws(48): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\player\states\aimthrow.ws(42): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\player\states\combat.ws(124): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\player\states\exploration.ws(55): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\player\states\swimming.ws(252): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\player\states\vehicles\horseriding.ws(49): Function 'LogWithName' does not take 1 param(s)
Error [content0]game\player\states\vehicles\sailing.ws(56): Function 'LogWithName' does not take 1 param(s)
 
Warning [modbasescripts]engine\telemetrykeyword.ws(9): Native function 'Log' was not exported from class 'CR4TelemetryScriptProxy' in C++ code.
 
 
 
help me


#7
xMataleo

xMataleo

    Stranger

  • Members
  • Pip
  • 1 posts

if you look in folder "content\content0\scripts\engine", there should be a  file called "telemetryKeyword.ws" if there is edit the file by deleting all the information and putting 

// Class pointed to by "theTelemetry"

// Do not instanciate directly
import class CR4TelemetryScriptProxy extends CObject
{
    import final function LogWithName( eventType : ER4TelemetryEvents );
    import final function LogWithLabel( eventType : ER4TelemetryEvents, label : String );
    import final function LogWithValue( eventType : ER4TelemetryEvents, value : int );
    import final function LogWithValueStr( eventType : ER4TelemetryEvents, value : String );
    
    import final function LogWithLabelAndValue( eventType : ER4TelemetryEvents, label : String, value : int );
    import final function LogWithLabelAndValueStr( eventType : ER4TelemetryEvents, label : String, value : String );

    import final function SetCommonStatFlt( statType: ER4CommonStats, value : float );    
    import final function SetCommonStatI32( statType: ER4CommonStats, value : int );
    
    import final function SetGameProgress( value : float );
    
    import final function AddSessionTag( tag : String );
    import final function RemoveSessionTag( tag : String );
    
    import final function XDPPrintUserStats( statisticName : String );
    import final function XDPPrintUserAchievement( achievementName : String );
}

 
save the file and then try to launch. It should work from there it worked for me at least.

Edited by xMataleo, 17 February 2016 - 05:05 AM.


#8
mrsmithe

mrsmithe

    Stranger

  • Premium Member
  • 2 posts

 

if you look in folder "content\content0\scripts\engine", there should be a  file called "telemetryKeyword.ws" if there is edit the file by deleting all the information and putting 

// Class pointed to by "theTelemetry"

// Do not instanciate directly
import class CR4TelemetryScriptProxy extends CObject
{
    import final function LogWithName( eventType : ER4TelemetryEvents );
    import final function LogWithLabel( eventType : ER4TelemetryEvents, label : String );
    import final function LogWithValue( eventType : ER4TelemetryEvents, value : int );
    import final function LogWithValueStr( eventType : ER4TelemetryEvents, value : String );
    
    import final function LogWithLabelAndValue( eventType : ER4TelemetryEvents, label : String, value : int );
    import final function LogWithLabelAndValueStr( eventType : ER4TelemetryEvents, label : String, value : String );

    import final function SetCommonStatFlt( statType: ER4CommonStats, value : float );    
    import final function SetCommonStatI32( statType: ER4CommonStats, value : int );
    
    import final function SetGameProgress( value : float );
    
    import final function AddSessionTag( tag : String );
    import final function RemoveSessionTag( tag : String );
    
    import final function XDPPrintUserStats( statisticName : String );
    import final function XDPPrintUserAchievement( achievementName : String );
}

 

THANK YOU!

 
save the file and then try to launch. It should work from there it worked for me at least.

 



#9
Lozo39

Lozo39

    Stranger

  • Premium Member
  • 1 posts

Thanks dude !!! 



#10
d00m2009

d00m2009

    Newbie

  • Members
  • Pip
  • 18 posts

I found this "fix" earlier and it didn't work, I deactivated all my mods and I still get a script error;

Error [modbasescripts]engine\physicsworld.ws(9): Cannot find structure 'SCollisionInfo' to import
Error [modbasescripts]game\behavior_tree\tasks\monsters\bttaskmaintainspeed.ws(10): Class 'CBTTaskMaintainSpeed' already defined.
Error [modbasescripts]game\behavior_tree\tasks\monsters\bttaskmaintainspeed.ws(74): Class 'CBTTaskMaintainSpeedDef' already defined.
Error [modbasescripts]game\behavior_tree\tasks\reactions\bttaskisman.ws(4): Class 'CBTCondIsMan' already defined.
Error [modbasescripts]game\behavior_tree\tasks\reactions\bttaskisman.ws(15): Class 'CBTCondIsManDef' already defined.
Error [content0]game\cameras\exploration\driftcamera.ws(136): Class 'CCameraRotationControllerDrift' already defined.

EDIT:Looks like this is the wrong post, and by any matter I fixed this issue (i hadn't removed all mods)

Edited by d00m2009, 19 March 2016 - 02:16 AM.




Reply to this topic



  



Also tagged with one or more of these keywords: error, compile, witcher

Page loaded in: 1.219 seconds