version 2.0 is now in javascript.
Legacy plist script is still in there, fixed in fact.
(I noticed a serious typo in the original)
[UPDATED]Constrictor More Hints
Moderators: winston, another_commander
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
[UPDATED]Constrictor More Hints
Riding the Rocket!
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
..
Hi Arexack_H,
in the js script for this updated oxp there appears to be a typo in line 68 which I believe must say mission.addMessageTextKey("constrictor_hunt_1_253");, not mission.addMessageTextKey("constrictor_hunt_1_235");.
Cheers
L
in the js script for this updated oxp there appears to be a typo in line 68 which I believe must say mission.addMessageTextKey("constrictor_hunt_1_253");, not mission.addMessageTextKey("constrictor_hunt_1_235");.
Cheers
L
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
Re: ..
Thanks for the report.Lestradae wrote:Hi Arexack_H,
in the js script for this updated oxp there appears to be a typo in line 68 which I believe must say mission.addMessageTextKey("constrictor_hunt_1_253");, not mission.addMessageTextKey("constrictor_hunt_1_235");.
Cheers
L
Did you actually recieve an error from oolite or is it by eye?
.... i cannot discern the difference between those two lines.
I'll look into it later tonight though. most of the script was pilfered from the native code, it might contain the same error.
Riding the Rocket!
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: ..
It's the numbers...the first one reads 253, the second is 235.Arexack_Heretic wrote:Thanks for the report.Lestradae wrote:Hi Arexack_H,
in the js script for this updated oxp there appears to be a typo in line 68 which I believe must say mission.addMessageTextKey("constrictor_hunt_1_253");, not mission.addMessageTextKey("constrictor_hunt_1_235");.
Cheers
L
Did you actually recieve an error from oolite or is it by eye?
.... i cannot discern the difference between those two lines.
I'll look into it later tonight though. most of the script was pilfered from the native code, it might contain the same error.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
Re: ..
Found it by eye. The original .js line refers to a missiontext entry that doesn't exist, neither in the core game code nor in your oxp. The "253" missiontext entry is in the core games' missiontext entries, and with that number your script will work by simply adding that message to more systems. With "235" I assume there might be an error message in the log (didn't test that) but there will be no additional hint for sure.Arexack_Heretic wrote:Did you actually recieve an error from oolite or is it by eye?
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact: