SRL Archive - Reflection Help

Latest hooks duplicate identifier


gerauchert

2011-08-31 13:19:38

[Error] C:\Simba\Includes\Reflection2\./lib/core/Hooks.simba(167:3): Duplicate identifier 'hook_objectdefloader_GetModels' at line 166

Happened right after I manually updated my hooks. Using:


ClientVersion = 663;
HookRev = 1;

Anyone else getting this?

Mike408

2011-08-31 13:25:04

Yup. Happening to me too.

bolshak25

2011-08-31 13:25:29

yeah i got it, and if you delete one of those, youll get another duplicate identifier a couple lines down. i just deleted the second one of both of the duplicates, and so far cooking has worked for me. its just my temporary fix

Mike408

2011-08-31 13:28:12

From: bolshak25
yeah i got it, and if you delete one of those, youll get another duplicate identifier a couple lines down. i just deleted the second one of both of the duplicates, and so far cooking has worked for me. its just my temporary fix

Can you give me your hooks file?

bolshak25

2011-08-31 13:29:24

there its uploaded in this post

Mike408

2011-08-31 13:31:33

From: bolshak25
there its uploaded in this post

Works. Temporary fix right here.:) Thank you!

Harry

2011-08-31 14:14:04

I removed the extra line on the server, pyroryan should push out another revision when he's back if I removed the wrong one ;)

pyroryan

2011-08-31 14:28:54

From: Harry
I removed the extra line on the server, pyroryan should push out another revision when he's back if I removed the wrong one ;)


You got the right one. And I guess the duplicates check failed or I didn't see it before updating.

bolshak25

2011-08-31 15:50:05

[Error] C:\Simba\Includes\Reflection2\./lib/core/Hooks.simba(177:2): Duplicate identifier 'class_MRUNodes' at line 176
Compiling failed.

{Class MRUNodes}
class_MRUNodes = 'si';
hook_mrunodes_GetNodeCache = 'r';

{Class ObjectDefLoader}
class_ObjectDefLoader = 'rka';
hook_objectdefloader_GetModels = 'c';
hook_objectdefloader_GetComposites = 'm';

{Class ObjectDef}
class_ObjectDef = 'hca';
hook_objectdef_GetLoader = 'Fb';
hook_objectdef_getActions = 'tb';
hook_objectdef_getName = 'W';
hook_objectdef_GetChildrenIDs = 'T';

{Class MRUNodes}
class_MRUNodes = 'java/lang/String';

first and last are duplicate.

pyroryan

2011-08-31 16:04:39

Fixed that and the getSettingIndex.