SphereCommunity
Sphere dosnt read entire script .scp sometimes - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Sphere dosnt read entire script .scp sometimes (/Thread-Sphere-dosnt-read-entire-script-scp-sometimes)



Sphere dosnt read entire script .scp sometimes - rastrero - 01-30-2016 02:38 AM

It happens to me that sometimes sphere dosnt load a script fully
Only until half page...
Then i got to modify the script, save again leaving it exactly as it was, and then resyinc.
Doing this do sphere to load the script again.

Why this happens ?


RE: Sphere dosnt read entire script .scp sometimes - Coruja - 02-01-2016 11:08 AM

probably this script have duplicated itemdefs/types/events/functions/etc

eg:
server startup will read scripts in this order:
1) A.scp
2) B.scp

but you have a duplicated [FUNCTION roflmao] defined on both scripts. So sphere will replace the function roflmao (from A.scp) with the same roflmao (from B.scp). If you edit A.scp and resync, it will reload the script and will start using the function of A.scp. And if you restart the server it goes back to B.scp


RE: Sphere dosnt read entire script .scp sometimes - rastrero - 02-02-2016 12:30 AM

ncie to know this.. But I got no duplicate scripts xD I just check it.
but ty


RE: Sphere dosnt read entire script .scp sometimes - rastrero - 03-23-2016 09:29 PM

Ty but it wans that.

Anyway it nolonger happens to me on last 56c