caduceus and neocaduceus

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2028
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Re: caduceus and neocaduceus

Post by maik »

ClymAngus wrote:
I'll give it a test and if the boffins have no specific objections I'll roll this out (might even fix the speed up colour change texture that has been giving me some jip for some time now)

:)
Capt. Murphy wrote:
OK, fixed the problem by editing shipdata.plist - both ships now render just fine under 1.75.1.

Lines 84 and 420 ....

changed <key>cadg_tex.png</key> to <key>cadg_shady.png</key>

having checked various other shipdata.plist files and noticed that the shader key name is always the same as the first texture listed for the shader.
Just wondering: what is the status wrt rolling it out? I'm just going over this board to update the [wiki]OXP List[/wiki]...
smiley1081
Poor
Poor
Posts: 5
Joined: Thu Aug 25, 2011 9:02 am

Re: caduceus and neocaduceus

Post by smiley1081 »

Hello, first post...

The DCN on my NeoCaddy stopped working, probably after I updated to 1.75.3.

Also, I am finding this in the logs:

Code: Select all

10:31:48.091 [script.javaScript.exception.notFunction]: ***** JavaScript exception (NeoCaduceus Damage Control Node 1.0): TypeError: player.ship.hasEquipment is not a function
10:31:48.091 [script.javaScript.exception.notFunction]:       ../AddOns/neocaduceus.oxp/Scripts/NeoCaduceus Damage Control Node.js, line 9.
10:32:03.334 [script.javaScript.exception.notFunction]: ***** JavaScript exception (NeoCaduceus Damage Control Node 1.0): TypeError: player.ship.hasEquipment is not a function
10:32:03.334 [script.javaScript.exception.notFunction]:       ../AddOns/neocaduceus.oxp/Scripts/NeoCaduceus Damage Control Node.js, line 9.
10:33:05.319 [script.javaScript.exception.notFunction]: ***** JavaScript exception (NeoCaduceus Damage Control Node 1.0): TypeError: player.ship.hasEquipment is not a function
10:33:05.319 [script.javaScript.exception.notFunction]:       ../AddOns/neocaduceus.oxp/Scripts/NeoCaduceus Damage Control Node.js, line 9.
10:33:25.773 [script.javaScript.exception.notFunction]: ***** JavaScript exception (NeoCaduceus Damage Control Node 1.0): TypeError: player.ship.hasEquipment is not a function
10:33:25.773 [script.javaScript.exception.notFunction]:       ../AddOns/neocaduceus.oxp/Scripts/NeoCaduceus Damage Control Node.js, line 22.
Is there a way to boot it back to working order?

Thanks.

BTW, this is the list of the OXP I have installed:

Code: Select all

10:15:25.840 [searchPaths.dumpAll]: Unrestricted mode - resource paths:
    Resources
    ../AddOns
    ../AddOns/Missile Analyser 1.2.oxp
    ../AddOns/ACS_1.2.oxp
    ../AddOns/Rock_Hermit_Locator1.3.2.oxp
    ../AddOns/BeerCooler1.0.1.oxp
    ../AddOns/adcks_behemoths_v1.2.oxp
    ../AddOns/Missiles and Bombs v2.4.oxp
    ../AddOns/BountyScannerv2.0.oxp
    ../AddOns/Target Reticle 1.2.1.oxp
    ../AddOns/piratetraps.oxp
    ../AddOns/Ore_processor 1.58.oxp
    ../AddOns/murgh_Xships.oxp
    ../AddOns/neocaduceus.oxp
    ../AddOns/Misjump Analyser 1.1.oxp
    ../AddOns/military Fiasco 2.5.2.oxp
    ../AddOns/gwxstations.oxp
    ../AddOns/Commies.oxp
    ../AddOns/Cargo_wrecks_teaser 1.6.5.oxp
    ../AddOns/BoaClipper.oxp
    ../AddOns/Baakili_Far_Trader_v2.0.oxp
    ../AddOns/BigShips 1.02.oxp
    ../AddOns/att1.oxp
    ../AddOns/Galactic_Navy 5.3.0.oxp
    ../AddOns/Basic-debug.oxp
    ../AddOns/Dictators v1.5.oxp
    ../AddOns/buoyRepair1.3.oxp
    ../AddOns/Energy Equipment 1.11.oxp
    ../AddOns/Fuel Station 1.32.oxp
    ../AddOns/Armoury 1.08.oxp
    ../AddOns/RepairBots 2.02.oxp
    ../AddOns/IronHide 2.00.oxp
    ../AddOns/Target Autolock Plus 1.12.oxp
    ../AddOns/Welcome Mat 1.11.oxp
    ../AddOns/FuelCollectorV0.07.oxp
    ../AddOns/railgun.oxp
    ../AddOns/Cargo Shepherd 1.01.oxp
    ../AddOns/Naval Grid 1.00.oxp
    ../AddOns/HyperCargo 1.04.oxp
    ../AddOns/Military Fuel Injectors 1.00.oxp
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: caduceus and neocaduceus

Post by Smivs »

smiley1081 wrote:
Hello, first post...

The DCN on my NeoCaddy stopped working, probably after I updated to 1.75.3.

Also, I am finding this in the logs:
Removed for brevity (Smivs)
Hi smiley1081, and welcome to the board.
I think the log message regarding
player.ship.hasEquipment
refers to a deprecated js function (one that is no longer supported).
My guess is that you might need to update your OXP to the current version, where I expect this has been fixed. Just remove the OXP from your AddOns folder, download the latest version and install it, and everything should be OK (I hope).
Best of luck :)
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Capt. Murphy
Commodore
Commodore
Posts: 1127
Joined: Fri Feb 25, 2011 8:46 am
Location: UK South Coast.

Re: caduceus and neocaduceus

Post by Capt. Murphy »

What Smivs said - the current version of the DCN Script is version 2.

Look at the bottom of the wiki page for the current download.

http://wiki.alioth.net/index.php/Caduceus

While your at it it may be worth checking everything else is up to date. This list should include pretty much all the 1.75.x compatible OXP's with links to updated versions if necessary.

http://wiki.alioth.net/index.php/OXP_List
[EliteWiki] Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2514
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Re: caduceus and neocaduceus

Post by ClymAngus »

I thought the caddy was up to date?
That bit of code was "borrowed" from thargoid I'll look to see if he's upgraded his stand alone equipment pack and see if I can intergrate it. If not I'll go crying to tharg and see if he can implement a fix. Sounds like a variable issue.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: caduceus and neocaduceus

Post by Thargoid »

Both the Repair Bots (on which the DCN is based) and the Caduceus are updated for that depreciation.

As noted I think the version being run in this case is an older one - a simple OXP update should fix things.
Bazabaza
Above Average
Above Average
Posts: 20
Joined: Sun Jun 19, 2011 8:26 pm

Re: caduceus and neocaduceus

Post by Bazabaza »

How do i replace the old version caudicus in my save game? isnt recognized in startup says caudicus-player cannot be found?
smiley1081
Poor
Poor
Posts: 5
Joined: Thu Aug 25, 2011 9:02 am

Re: caduceus and neocaduceus

Post by smiley1081 »

Now it works, I probably had applied the old patch on the most recent version of NeoCaduceus. On 1.74 it somehow worked, on 1.75 it did not... :mrgreen:
User avatar
fronclynne
Deadly
Deadly
Posts: 149
Joined: Sun Mar 01, 2009 5:36 am
Location: ::1

Re: caduceus and neocaduceus

Post by fronclynne »

Bazabaza wrote:
How do i replace the old version caudicus in my save game? isnt recognized in startup says caudicus-player cannot be found?
looks like it should be either caduceus-alpha-player or caduceus-omega-player, so editing your savefile should work fine, yeah?

sed -i "" s/eus-pla/eus-omega-pla/g path/to/save/file
Bazabaza
Above Average
Above Average
Posts: 20
Joined: Sun Jun 19, 2011 8:26 pm

Re: caduceus and neocaduceus

Post by Bazabaza »

worked - thank you
Post Reply