SRL Archive - Reflection Help

[R2] When starting script


Carlito

2011-08-05 01:04:07

Hi guys, im trying to runing iamadams script in R2

and im getting this when i hit play.

Setting up MSI took 686 ms.
Successfully executed.
[Hint] C:\Simba\Simba-4\Includes\Reflection2\./lib/animable/characters/MyPlayer.simba(27:3): Variable 'ANIMATION' never used at line 26
[Hint] C:\Simba\Simba-4\Includes\Reflection2\./lib/animable/characters/MyPlayer.simba(27:3): Variable 'ANIMATIONDEF' never used at line 26
[Hint] C:\Simba\Simba-4\Includes\Reflection2\./lib/antirandoms\./Frog.simba(30:3): Variable 'CURRNPC' never used at line 29
[Hint] (553:10): Variable 'Result' never used at line 552
[Hint] (709:7): Variable 'MYLOC' never used at line 708
Compiled succesfully in 1529 ms.
SRL Compiled in 16 msec
SMART Initialized.
Loaded: Server 1, Members: False, Signed: True, Super Detail: False.
[Reflection] You're using outdated hooks (version 659.4); updating you to version 660.1!
[Reflection] If you manually fixed your hooks, please make sure hookrevision values are greater than or equal to the online hooks to prevent overwriting.
ReWriteFile - Exception. Could not create file: C:\Simba\Simba-4\includes/Reflection/lib/core/Hooks.simba
Error: Exception: Invalid FileNum passed: -1 at line 96
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
No Reflection update available.

mormonman

2011-08-05 01:18:33

Run simba as admin.

ry0240

2011-08-05 01:26:35

Yea I had that problem before to, Once you run as admin you should be good. It's weird though I never have to run my simba with ref1 as admin..unless once you click run as admin, does it always start simba as admin from then on.

Silent

2011-08-05 01:55:59

From: ry0240
Yea I had that problem before to, Once you run as admin you should be good. It's weird though I never have to run my simba with ref1 as admin..unless once you click run as admin, does it always start simba as admin from then on.


If you have it set that way in the compatibility tab of "properties" on windows, otherwise no.

As for this issue, I got it even running as admin, restarting Simba fixed it for me.

Carlito

2011-08-05 04:40:16

From: Silent SPY
If you have it set that way in the compatibility tab of "properties" on windows, otherwise no.

As for this issue, I got it even running as admin, restarting Simba fixed it for me.


I ran it as admin and im still getting the same issue. Restarted simba and still getting the issue, restarted my computer and still getting the issue,

anymore ideas?

Home

2011-08-05 04:42:35

From: carlito
I ran it as admin and im still getting the same issue. Restarted simba and still getting the issue, restarted my computer and still getting the issue,

anymore ideas?


Re-Install Simba :S?


~Home

Shuttleu

2011-08-05 04:44:44

its because if like me i have reflection 1 and 2

reflection 1 is in a folder called reflection
reflection 2 is in a folder called reflection2


when it tries to update the hooks it is looking in reflection not reflection2
so open up reflection.simba in the reflection 2 folder and change the line fore saving the new hooks
then re run the script

~shut

EDIT: should be line 94

Carlito

2011-08-05 04:56:11

From: Shuttleu
its because if like me i have reflection 1 and 2

reflection 1 is in a folder called reflection
reflection 2 is in a folder called reflection2


when it tries to update the hooks it is looking in reflection not reflection2
so open up reflection.simba in the reflection 2 folder and change the line fore saving the new hooks
then re run the script

~shut

EDIT: should be line 94


you mean line 95?

MyFile := RewriteFile(AppPath + 'includes/Reflection/lib/core/Hooks.simba', False); 

like you said i have reflection and reflection2

so im guessing i need to change it to /includes/reflection2/lib ?

i was brainstorming myself and what i did i copied and pasted the hooks in reflection to reflection2 and it also allowed me to run the script fine…would that be doing it correctly or incorrectly?

Shuttleu

2011-08-05 04:58:18

yes line 95 (mine is 94)
yes includes/Reflection2/lib/core/Hooks.simba
incorectly because when the hooks get updated again you will get the error again

~shut

Carlito

2011-08-05 05:04:29

From: Shuttleu
yes line 95 (mine is 94)
yes includes/Reflection2/lib/core/Hooks.simba
incorectly because when the hooks get updated again you will get the error again

~shut


okay well i touched something that i screwed up the whole thing on simba, just gonna reinstall ref2 part haha.

edit: i cant even delete the reflection2 folder, says its open with another file but its not…?

KingKong

2011-08-05 05:30:34

From: carlito
okay well i touched something that i screwed up the whole thing on simba, just gonna reinstall ref2 part haha.

edit: i cant even delete the reflection2 folder, says its open with another file but its not…?


how did u get ref2? If u used tortoisegit or something like that it will say its open in another file. The best way is to rewrite the folder with the same program u used to dl it in the first place.