[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Forum • Thema anzeigen - Placeable Heaps mod

Placeable Heaps mod

Re: Placeable Heaps mod

Beitragvon mor2000 » 11.06.2016, 19:04

Hi Sönke,

wie sieht denn deine modDesc.xml aus? Bei dem Fehler würde ich auf einen Formatierungsfehler schließen.

VG
Fabian
mor2000
Site Admin
 
Beiträge: 184
Registriert: 14.09.2012, 07:50

Re: Placeable Heaps mod

Beitragvon SAM24986 » 11.06.2016, 23:14

Hey,
die moddesc der Heaps habe ich nicht verändert.
Guckst Du...
________________________________________________________________________________________________________________
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<modDesc descVersion="20">
<author>mor2000</author>
<version>1.1</version>
<title>
<en>Placeable Heaps</en>
<de>Platzierbare Haufen</de>
</title>
<description>
<en>
<![CDATA[For storing fruit and cargo anywhere on the map.]]>
</en>
<de>
<![CDATA[Um Frucht und Ladung an einem beliebigen Ort auf der Karte zu lagern.]]>
</de>
</description>
<iconFilename>store.dds</iconFilename>
<multiplayer supported="true"/>
<extraSourceFiles>
<sourceFile filename="register.lua" />
</extraSourceFiles>

<storeItems>
<storeItem>
<en>
<name>Placeable Heaps</name>
<specs>
<![CDATA[A placeable heap for dumping and storing.]]>
</specs>
<description>
<![CDATA[A placeable heap for dumping and storing.]]>
</description>
</en>
<de>
<name>Platzierbare Haufen</name>
<specs>
<![CDATA[Ein platzierbarer Abladepunkt zum Zwischenlagern von Frucht oder Ladung.]]>
</specs>
<description>
<![CDATA[Ein platzierbarer Abladepunkt zum Zwischenlagern von Frucht oder Ladung.]]>
</description>
</de>
<rotation>0</rotation>
<image active="store.dds" brand="brand-mor2000.dds" />
<price>0</price>
<dailyUpkeep>0</dailyUpkeep>
<species>placeable</species>
<category>placeables</category>
<brand>mor2000</brand>
<xmlFilename>PlaceableHeap.xml</xmlFilename>
<functions>
<function>
<en><![CDATA[A placeable heap for dumping and storing.]]></en>
<de><![CDATA[Ein platzierbarer Abladepunkt zum Zwischenlagern von Frucht oder Ladung.]]></de>
</function>
</functions>
</storeItem>
</storeItems>
<l10n>
<text name="PlaceableHeaps">
<en>placeable heaps</en>
<de><![CDATA[Platzierbare Haufen]]></de>
</text>
<text name="PlaceableHeapSell">
<en>dispel tip point</en>
<de><![CDATA[Abladestelle löschen]]></de>
</text>
<text name="PlaceableHeapBuy">
<en>create tip point</en>
<de><![CDATA[Abladestelle hier einrichten]]></de>
</text>
<text name="PlaceableHeapName">
<en>name placeable heap</en>
<de><![CDATA[Abladestelle benennen]]></de>
</text>
<text name="PlaceableHeapRename">
<en>rename placeable heap</en>
<de><![CDATA[Abladestelle umbenennen]]></de>
</text>
<text name="PlaceableHeapSell_Key">
<en>Period</en>
<de>Punkt</de>
</text>
<text name="PlaceableHeapBuy_Key">
<en>Period</en>
<de>Punkt</de>
</text>
<text name="PLACEABLEHEAP_BUY"> <en>create tip point</en> <de><![CDATA[Abladestelle hier einrichten]]></de> </text>
<text name="PLACEABLEHEAP_SELL"> <en>dispel tip point</en> <de><![CDATA[Abladestelle löschen]]></de> </text>
<text name="PLACEABLEHEAP_NAME"> <en>name placeable heap</en> <de><![CDATA[Abladestelle benennen]]></de> </text>

<text name="name"> <en>name</en> <de>Name</de> </text>
<text name="Button_Name"> <en>name</en> <de>Benennen</de> </text>
</l10n>
<inputBindings>
<input name="PLACEABLEHEAP_BUY" key1="KEY_period" button="" />
<input name="PLACEABLEHEAP_SELL" key1="KEY_period" button="" />
<input name="PLACEABLEHEAP_NAME" key1="KEY_lshift KEY_period" key2="KEY_rshift KEY_period" button=""/>
</inputBindings>
</modDesc>
______________________________________________________________________________________________________________________________________

In der Moddesc der Map habe ich allerdings den Pfad als extraSourceFile eingetragen da sonst die Heaps nicht geladen werden.
Das sieht dann so aus...

<extraSourceFiles>
<sourceFile filename="map/ruebenmiete/modDesc.xml"/>
<sourceFile filename="map/scripte/WaterMod.lua" />
<sourceFile filename="map/scripte/RegFillTypes.lua"/>
<sourceFile filename="map/scripte/fillTypes_reg.lua" />
<sourceFile filename="map/scripte/DoorTrigger.lua"/>
<sourceFile filename="map/scripte/PigFillTrigger.lua"/>
<sourceFile filename="map/scripte/SchweineZucht.lua"/>

Hab ich da jetzt was falsch gemacht?




Gruß
Sönke
SAM24986
 
Beiträge: 12
Registriert: 03.01.2016, 19:58

Re: Placeable Heaps mod

Beitragvon SAM24986 » 14.06.2016, 20:25

Moin Fabian,
Du hast ja sicherlich "meine" Antwort auf mein Problem gelesen :mrgreen: , ich hab aber mal eine generelle Frage. Kann man eigentlich jeden platzierbaren Mod fest einbauen so wie es mit deinen Haufen geht? Ich hab das mit nem Kärcher versucht aber ich bekomme keine Funktion.

Gruß
Sönke
SAM24986
 
Beiträge: 12
Registriert: 03.01.2016, 19:58

Re: Placeable Heaps mod

Beitragvon mor2000 » 15.06.2016, 20:21

Hi Sönke,

die UPK-Mods habe ich so angelegt, dass man sie auch fest verbauen kann. Andere Mods, auch die original platzierbaren Dinge, brauchen noch ein extra Skript. Wenn du das (programmiert) hast, geht es auch.

VG
Fabian
mor2000
Site Admin
 
Beiträge: 184
Registriert: 14.09.2012, 07:50

Re: Placeable Heaps mod

Beitragvon SAM24986 » 16.06.2016, 18:12

Ok, dann geh ich mal davon aus dass ich das schon mal nicht hin bekomme. Script schreiben ist nix mehr für mich, da hätte ich auch die Zeit nicht für. Denn muss das so bleiben wie es jetzt ist.
Danke.

Gruß
Sönke
SAM24986
 
Beiträge: 12
Registriert: 03.01.2016, 19:58

Vorherige

Zurück zu Diskussion/ Sonstiges