How to avoid 'fatal error 100: cannot read from file' - [L3th4l] - 16.10.2010
Introduction:
I have seen MANY people that complain about a VERY SIMPLE mistake. 'Cannot read from file'
Even though they have the file in the correct place, it will spit out that error because they tend to conflict if you have more than 1 pawno in your pc.
How to fix it?
Very simple, follow this steps below:
1. Open pawno.exe ( Make sure you open the same pawno that contains all your stuff )
2. Click: File > Open > YOURSCRIPT ( The one that is showing errors )
3. Compile.
Some topics that i seen having this errors:
Code:
C:\DOCUME~1\CHRIST~1\Desktop\DEV'SM~1\FILTER~1\GarHouse.pwn(28) : fatal error 100: cannot read from file: "streamer"
Code:
C:\Documents and Settings\Vlado\Desktop\sa-mp\filterscripts\Mace.pwn(2) : fatal error 100: cannot read from file: "Dini"
Code:
I was trying to compile several scripts but I got the same error everytime ''Fatal error 100: cannot read from file ''a_samp''. I even downloaded a whole new server from sa-mp.com and compiled a blanc script and I still got the same error, anyone knows what I should do?
Code:
Hi when i compile my gm it says : fatal error 100: cannot read from file: "Foreach" plz help i dont wanna ruin my 41k line
Code:
C:\Users\William\Downloads\TI\Tropical Island Server\filterscripts\Adminscript.pwn(2) : fatal error 100: cannot read from file: "lethaldudb2"
Code:
C:\Documents and Settings\Vlado\Desktop\sa-mp\gamemodes\Mace.pwn(2) : fatal error 100: cannot read from file: "Dini"
Code:
C:\Users\Brad\Desktop\VortexRoleplay.pwn(20) : fatal error 100: cannot read from file: "streamer"
Code:
C:\Users\User\Desktop\0.3b\Gamemodes\SATDM_v9.pwn( 46) : fatal error 100: cannot read from file: "Ldudb"
Code:
I have WIndow's XP ,
: fatal error 100: cannot read from file: "xadmin/Xtremeadmin.inc"
I dont know what to do!!!
Please help
I have all .inc files
And all the things are good ... but then in get this.....
My other filterscripts works verry goood
Please help me!
--------------
Anyways, i don't want to go through all the topics. And I think there is two of the same errors above ^ and that is because that same person made two topics about the same thing.
--------------
Again, this is only for the people that have the correct files were they are supposed to be, but its giving this error!
And sorry for this small tut, but its too easy to fix, just teaching people what and how the problem is caused. And how to fix it
Re: How to avoid 'fatal error 100: cannot read from file' -
Mattjones17 - 25.10.2010
Great, helped me thanks.
As you mentioned, this happens when people have more than one pawno on their computer and they click the pwn file to open it rather than opening pawno, then File>Open>Compile, which loads the correct dll's etc.
Re: How to avoid 'fatal error 100: cannot read from file' -
Benzinas - 26.10.2010
Very simple, but good lesson
Re: How to avoid 'fatal error 100: cannot read from file' -
HyperZ - 26.10.2010
Nice Tutorial
Re: How to avoid 'fatal error 100: cannot read from file' -
Noss* - 26.10.2010
Nice tut,Simple too
Re: How to avoid 'fatal error 100: cannot read from file' -
Lorenc_ - 30.10.2010
Great info to those starters mate, should reduce some spam of bullshit around here :P
Re: How to avoid 'fatal error 100: cannot read from file' -
Hal - 30.10.2010
Quote:
Originally Posted by Lorenc_
Great info to those starters mate, should reduce some spam of bullshit around here :P
|
no tutorial reduces spam, 50% of topics can be solved by searching, which some users do not do. They don't read tutorials, because there are still threads on the EXACT topics tutorials are trying to teach. Then there is that small percentage that searches, and this will help them :P
Re: How to avoid 'fatal error 100: cannot read from file' -
KK - 11.12.2010
OK, some people may say this didn't work too. You have to close pawno, then go to the "pawno" folder and open pawno manually, after doing so, choose "open", select your file, open it, then ONLY press "compile".
Re: How to avoid 'fatal error 100: cannot read from file' -
DeadAhead - 11.12.2010
Just to add Why this happens:
It is Usual by people with more than one Server Package. PAWNO is Programmed to Configure registry so that Every .pwn file is executed with RecentOpenedSAMPServerPackage\pawno\pawn.exe
So basically then you goto the other Package you are scripting for and open a .pwn file And That isnt the Pawno from the package you are working from then Another one. So we need to re-accosiate pawno....
Oh sorry Guys that was SUPER not Understandable here il simple it out
Basically:
Code:
You open Server2\pawno\pawn.exe. Server2\pawno\pawn.exe makes all pawn files open with it.
You open Server1\filterscripts\gamemode.pwn. gamemode.pwn Opens with Server2\pawno\pawn.exe
Server2\pawno\pawn.exe Loads all Server2\pawno\include Includes.
And we need the includes from Server1
So, we open Server1\pawno\pawn.exe pawn.exe of Server1 makes all .pwn files open with it.
All Needed includes are loaded.
You succeded.
Re: How to avoid 'fatal error 100: cannot read from file' -
[MWR]Blood - 11.12.2010
Nice and helpful.
Re: How to avoid 'fatal error 100: cannot read from file' - [L3th4l] - 11.12.2010
Yeah, KK and DeadAhead thanks for making things clearer.
Re: How to avoid 'fatal error 100: cannot read from file' -
Dennis_Smith - 22.02.2011
Damn! lol so easy! xd
Re: How to avoid 'fatal error 100: cannot read from file' -
dahley5 - 23.02.2011
i did what KK said but it still didn't work 0,0
Code:
C:\Users\Gebruiker\Desktop\SAMP servert3\gamemodes\onzeserver.pwn(2) : fatal error 100: cannot read from file: "aHouse"
still appears :S
i just can't get it done i've tried everything that appeared in my brainsz!
Re: How to avoid 'fatal error 100: cannot read from file' -
alpha500delta - 23.02.2011
Did you open the right pawno? If you click on the .pwn to open pawno it might have opened the wrong one, wich is not linked to "aHouse.inc"
Re: How to avoid 'fatal error 100: cannot read from file' -
Medal Of Honor team - 05.03.2011
some more info.
1) Put your plugins properly
2) Update your .Net Framework
Re: How to avoid 'fatal error 100: cannot read from file' -
ilikenuts - 05.03.2011
Good And I Have my TuT Too
it's Simple like this,, anyway!
Thank u!
Re: How to avoid 'fatal error 100: cannot read from file' -
misho1 - 09.05.2011
thank you very much thats helped me XD
Re: How to avoid 'fatal error 100: cannot read from file' -
juraska - 12.05.2011
Very simple, but very good
Re: How to avoid 'fatal error 100: cannot read from file' -
Alphos - 18.06.2011
This does not work to me? It still keeps giving the error for some reason.
Re: How to avoid 'fatal error 100: cannot read from file' -
Wesley221 - 18.06.2011
Quote:
Originally Posted by Alphos
This does not work to me? It still keeps giving the error for some reason.
|
Open the pawno, where you've putted the includes in the include folder. Do NOT open your GM/FS with a double-click. Then open the game mode with ctrl+o, and try it again