• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Źle działający quest log

Tom

New Member
Joined
Nov 5, 2008
Messages
40
Reaction score
0
Witam
Mam pewien problem z quest logiem. Otóż jak wezmę misje od npc to w quest logu pojawia mi się misja ale completed. Kiedyś coś kombinowałem, pozmieniałem i raz było samo description raz sama nazwa i dalej nie rozumiem o co chodzi.
Oto mój quests.xml

Code:
<?xml version="1.0" encoding="UTF-8"?>
<quests>
	<quest name="Enter the vampire caves" startstorageid="60081" startstoragevalue="1">
	<mission name="The lost diary" storageid="60081" startvalue="-1" endvalue="1">
	<missionstate id="1" description="Omar told You about his lost diary. Go to medusa cave in the middle of western steppes, and find it!"/>
	</mission>
<mission name="You have found it!" storageid="1961" startvalue="-1" endvalue="1">
	<missionstate id="2" description="The red book You found is nothing else than Omar's lost diary! Back it to him, and You will be revarded."/>
	</mission>
<mission name="Inside the caves..." storageid="60083" startvalue="-1" endvalue="1">
	<missionstate id="3" description="You returned Omar his diary. The vampire castle caves is now open to You."/>
</mission>
</quest>

	<quest name="The Annihilator" startstorageid="35600" startstoragevalue="1">
<mission name="Complete!" storageid="35600" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You defeat monsters and took Your revard."/>
</mission>
</quest>

	<quest name="Demon helmet quest" startstorageid="13610" startstoragevalue="1">
<mission name="Complete!" storageid="13610" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You defeat monsters and took Your revard."/>
</mission>
</quest>

	<quest name="The Pits of Inferno" startstorageid="60105" startstoragevalue="1">
<mission name="Complete!" storageid="35000" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have compete all 7 seals, and took Your revards. You can also use now faster way to poi throneroom. Go past the teleport on second floor Necromancers House."/>
</mission>
<mission name="Apocalypse's Throneroom." storageid="13305" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have absorb some energy from Apocalypse's throne."/>
</mission>
<mission name="Ashfalor's Throneroom." storageid="13309" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have absorb some energy from Ashfalor's throne."/>
</mission>
<mission name="Bazir's Throneroom." storageid="13313" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have absorb some energy from Bazir's throne."/>
</mission>
<mission name="Infernatil's Throneroom." storageid="13311" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have absorb some energy from Infernatil's throne."/>
</mission>
<mission name="Pumin's Throneroom." storageid="13301" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have absorb some energy from Pumin's throne."/>
</mission>
<mission name="Tafariel's Throneroom." storageid="13303" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have absorb some energy from Tafariel's throne."/>
</mission>
<mission name="Verminor's Throneroom." storageid="13307" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have absorb some energy from Verminor's throne."/>
</mission>
<mission name="Goshnar's Grave." storageid="60105" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have found Goshnar's Grave, the legend says, than Gonshar used to love blood, this information may be usefull Remember to took Holy Tible which can be obain from quest in home upstairs."/>
</mission>
</quest>

	<quest name="The Inquisition Quest" startstorageid="13400" startstoragevalue="1">
<mission name="Complete!" storageid="35020" startvalue="0" endvalue="1">
	<missionstate id="1" description="You have defeat all bosses, and took Your revards."/>
</mission>
<mission name="The Hive" storageid="13404" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have defeat the Hellgorak and unblocked teleport to The Hive."/>
</mission>
<mission name="The Arcanum" storageid="13403" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have defeat the Annihilon and unblocked teleport to The Arcanum."/>
</mission>
<mission name="The The Blood Halls" storageid="13401" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have defeat the Madareth and unblocked teleport to The The Blood Halls."/>
</mission>
<mission name="The The Crystal Caves" storageid="13400" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have defeat the Zugurosh and unblocked teleport to The The Crystal Caves."/>
</mission>
<mission name="The Vats" storageid="13402" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have defeat the Latrivan and unblocked teleport to The Vats."/>
</mission>
</quest>

	<quest name="The Old Wildow cave" startstorageid="13015" startstoragevalue="1">
<mission name="Mysterious Sarcophagus" storageid="13015" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have found weird sarcophagus. Keep clicking 'till something will happen."/>
</mission>
<mission name="The Spider's Queen" storageid="13018" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have meet The Old Wildow, The Queen of spiders. Defeat her, click on sarcophagus once more, and go past white floor on north to take Your revard."/>
</mission>
<mission name="Complete!" storageid="35013" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have meet The Old Wildow and took Your revards."/>
</mission>
</quest>

	<quest name="The Elementals Temple Riddle" startstorageid="60004" startstoragevalue="1">
<mission name="Follow the energy" storageid="60004" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have choosen energy. Now try to find energy way somewhere in this cave."/>
</mission>
<mission name="Special element" storageid="60012" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have found special element. It seems be usefull."/>
</mission>
<mission name="Complete!" storageid="60030" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have survive in final room, and took Your Velvet Mantle."/>
</mission>
</quest>

	<quest name="The elementals temple riddle" startstorageid="60003" startstoragevalue="1">
<mission name="Follow the flames" storageid="60003" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have choosen flame. Now try to find flame way somewhere in this cave."/>
</mission>
<mission name="Special element" storageid="60012" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have found special element. It seems be usefull."/>
</mission>
<mission name="Complete!" storageid="60031" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have survive in final room, and took Your Dragon Robe."/>
</mission>

</quest>

	<quest name="Orc camp" startstorageid="35035" startstoragevalue="1">
<mission name="Complete!" storageid="35035" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have found orc camp, defeat their guardians and took You revards."/>
</mission>
</quest>
	<quest name="Sobkowiak's Tomb" startstorageid="60100" startstoragevalue="1">
<mission name="Into the rushes." storageid="60100" startvalue="-1" endvalue="1">
	<missionstate id="1" description="Albert told You about an old tomb which is haunted by a Sobkowiak's	phantom. Please note, than You can summon her one time every 3 hours."/>
</mission>
</quest>
	<quest name="Necromant Hell" startstorageid="2656" startstoragevalue="1">
<mission name="Complete." storageid="2656" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have found necromant hell, killed monsters and took Your reward."/>
</mission>
</quest>
<quest name="Black way" startstorageid="30012" startstoragevalue="1">
<mission name="Complete." storageid="30012" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have found old way to the church, defeated monsters and took Your reward."/>
</mission>
</quest>
<quest name="Deathly Tomb" startstorageid="2498" startstoragevalue="1">
<mission name="Complete." storageid="2498" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have survived, and took Your reward."/>
</mission>
</quest>
<quest name="Mysterious beast" startstorageid="60200" startstoragevalue="1">
<mission name="Alchemists formulas" storageid="60200" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You heared about beast who was living in castle some time ago. Wyad asked You to bring him parchment that can be found in necromancers quarter north to Ald'ruhn."/>
</mission>
<mission name="Old parchament" storageid="9733" startvalue="-1" endvalue="1">
	<missionstate id="1" description="It seems You have found piece of paper contains old alchemist formulas. Back it to Wyat and he may tell you some interesting informations."/>
</mission>
<mission name="Deathly tree" storageid="60201" startvalue="-1" endvalue="1">
	<missionstate id="1" description="Wyat told You about beast changed into a tree. Find way upstairs and take a look on this tree. It may be interesting..."/>
</mission>
<mission name="Complete!" storageid="60203" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have passed the quest and took You reward."/>
</mission>
</quest>


<quest name="The Place of Wonders" startstorageid="60220" startstoragevalue="1">
<mission name="Start" storageid="60220" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You found the place, where everything is possible. Is you will be patient enough to finish this quest, You may be rewarded."/>
</mission>
<mission name="Treasure Room" storageid="60222" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You entered to the treasure room. You must not let convince youself! Stay away from treasures."/>
</mission>
<mission name="The Maze Of Madness" storageid="60226" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have found enter to the Maze Of Madness.You must know than those who enter this cave will be forgotten for ever.There is no tips about this maze.You must do it youself."/>
</mission>
<mission name="Exit From the Maze" storageid="60230" startvalue="-1" endvalue="1">
	<missionstate id="1" description="Its incredible: You done it!. Go on northern title to continue Your trip."/>
</mission>
<mission name="Complete!" storageid="8905" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You defeated Vermush and took Your reward."/>
</mission>
</quest>

<quest name="Bron's basement" startstorageid="60300" startstoragevalue="1">
<mission name="Brooken Roof" storageid="60300" startvalue="-1" endvalue="1">
	<missionstate id="1" description="Brom asked You to bring him 30 nails. He told You, than nails can be drooped from war golems."/>
</mission>
<mission name="Into the basement" storageid="60301" startvalue="-1" endvalue="1">
	<missionstate id="1" description="Brom let you go into his basement. Something interesting may be there, but remember to be aware!"/>
</mission>
<mission name="Complete!" storageid="9933" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have defeated Shan and found firewalker boots deep under Bron's home."/>
</mission>
</quest>

<quest name="Behemoth Lair" startstorageid="60321" startstoragevalue="1">
<mission name="Complete!" storageid="60321" startvalue="-1" endvalue="1">
	<missionstate id="1" description="Good! You have found reward hidden deep under cyclops quarters."/>
</mission>
</quest>

<quest name="The White Chapel" startstorageid="60313" startstoragevalue="1">
<mission name="Unblocked Way" storageid="60313" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You have unblocked way to serpents lair. From this moment You can use faster way behing magic doors. Take a look on the lair and You may find something interesting there."/>
</mission>
<mission name="Complete!" storageid="60320" startvalue="-1" endvalue="1">
	<missionstate id="1" description="You defeated Serpents and took Your rewards!"/>
</mission>
</quest>

</quests>

Za pomoc rep +++++++++
Pozdrawiam
 
bo jak dajesz, że end value = 1, a npc daje Ci storage na 1 to robi, że completed, ustaw, że end value to np. 2
 
<?xml version="1.0" encoding="UTF-8"?>
<quests>
<quest name="Enter the vampire caves" startstorageid="60081" startstoragevalue="1">
<mission name="The lost diary" storageid="60081" startvalue="-1" endvalue="2">
<missionstate id="1" description="Omar told You about his lost diary. Go to medusa cave in the middle of western steppes, and find it!"/>
</mission>
<mission name="You have found it!" storageid="1961" startvalue="-1" endvalue="2">
<missionstate id="2" description="The red book You found is nothing else than Omar's lost diary! Back it to him, and You will be revarded."/>
</mission>
<mission name="Inside the caves..." storageid="60083" startvalue="-1" endvalue="2">
<missionstate id="3" description="You returned Omar his diary. The vampire castle caves is now open to You."/>
</mission>
</quest>

To teraz nie ma completed ani description
 
Moglibyście dla przykładu napisać ? Będę wdzięczny :)
 
Code:
<quests>

<quest name="Kfescik" startstorageid="60081" startstoragevalue="1">
<mission name="Zagubione notatki" storageid="60081" startvalue="-1" endvalue="5">
<missionstate id="1" description="Ziomal powiedzial, zebys znalazl mu notatki bo je zgubil, spytaj Teletubisia gdzie sa"/>
<missionstate id="2" description="Teletubis powiedzial, ze zly troll Trolololo zajebal mu notataki"/>
<missionstate id="3" description="Zastrzaszyles trolololo i powiedzial ci, ze ukryl je w jamie smoka"/>
<missionstate id="4" description="Zajebales smoka i podjebales podjebane wczesniej notatki, udaj sie z nimi do npc Ziomal i zdaj misje"/>
<missionstate id="5" description="Misja wykonana."/>
</mission>

</quest>
</quests>

Trolololo
 
Code:
<quests>

<quest name="Kfescik" startstorageid="60081" startstoragevalue="1">
<mission name="Zagubione notatki" storageid="60081" startvalue="-1" endvalue="5">
<missionstate id="1" description="Ziomal powiedzial, zebys znalazl mu notatki bo je zgubil, spytaj Teletubisia gdzie sa"/>
<missionstate id="2" description="Teletubis powiedzial, ze zly troll Trolololo zajebal mu notataki"/>
<missionstate id="3" description="Zastrzaszyles trolololo i powiedzial ci, ze ukryl je w jamie smoka"/>
<missionstate id="4" description="Zajebales smoka i podjebales podjebane wczesniej notatki, udaj sie z nimi do npc Ziomal i zdaj misje"/>
<missionstate id="5" description="Misja wykonana."/>
</mission>

</quest>
</quests>

Trolololo


Okey to spróuj tego:


Code:
<quest name="What a foolish quest" startstorageid="333721" startstoragevalue="0">
        <mission name="Mission 01: First Mission" storageid="333721" startvalue="0" endvalue="3">
		    <missionstate id="1" description="Cut a flower at the Whiteflower Temple south of Thais. Then report to Bozo about your mission."/>
			<missionstate id="2" description="Take a flower and report to Bozo about your mission."/>
			<missionstate id="3" description="Mission completed"/>
	    </mission>
		<mission name="Mission 02: That stinks!" storageid="333721" startvalue="4" endvalue="6">
		    <missionstate id="0" description="It sometimes stinks to be a fool. Collect some noxious fumes from a recently slain slime inthe special via. Then report to Bozo about your mission."/>
			<missionstate id="1" description="If you have special vial with slime report to Bozo about your mission."/>
			<missionstate id="2" description="Mission completed"/>
	    </mission>
</quest>
 
Cipsko, ktoś może zrobić ten przykład z 1 posta ? Ale rep poleciał, za chęć :) Kurwa to jest czarna magia ;d
 
Ale co Ci nie działa? Wkleiłem Ci przykład z What a foolish questu, który na 100% musi działać.

Jaki masz błąd w konsoli?
 
Jeśli możesz to weź przerób ten przykład na te moje storageid itp itd. Bardzo bym prosił :)
 
Jeśli możesz to weź przerób ten przykład na te moje storageid itp itd. Bardzo bym prosił :)
Samemu nie łaska? Powiedź w czym masz dokładnie problem, to ci pomogę go rozwiązać.
 
Chodzi o to, że jakoś chujowo jest napisany ten questlog i chciałbym żeby ktoś mógł mi poprawnie zrobić jeden przykład, abym dalej już sam zrobił i Was nie męczył. Mianowicie chodzi o to, że raz misja od razu wzięta jest complete, raz jest misja i brak opisu itp itd szkoda wymieniać :)
 
PHP:
<quest name="TEST" startstorageid="1000" startstoragevalue="0">
        <mission name="Mission 01" storageid="1000" startvalue="1" endvalue="2">
		    <missionstate id="1" description="Mam storage 1!"/>
		    <missionstate id="2" description="Mam storage 2!"/>
	</mission>
</quest>

PHP:
doCreatureSetStorage(cid, 1000, 1)

Naucz się korzystać ze storage value, bo z pewnością nie masz pojęcia co to jest.
 
PHP:
<quest name="TEST" startstorageid="1000" startstoragevalue="0">
        <mission name="Mission 01" storageid="1000" startvalue="1" endvalue="2">
		    <missionstate id="1" description="Mam storage 1!"/>
		    <missionstate id="2" description="Mam storage 2!"/>
	</mission>
</quest>

PHP:
doCreatureSetStorage(cid, 1000, 1)

Naucz się korzystać ze storage value, bo z pewnością nie masz pojęcia co to jest.



Naucz się ogarniać quest loga.

Tutaj poprawnie:

Code:
<mission name="Mission 01" storageid="1000" startvalue="1" endvalue="3">
		    <missionstate id="0" description="Mam storage 1!"/>
		    <missionstate id="1" description="Mam storage 2!"/>
                    <missionstate id="2" description="Mam storage 3!"/>
	</mission>
 
Ja wywaliłem TSF'owski system quest logu, bo jest strasznie beznadziejny, napisałem swój.
<missionstate id="0" description="Mam storage 1!"/>
Mówisz, że zawsze jest -1 storage przy missionstate?? Co za debil to wymyślił??
 
Mówisz, że zawsze jest -1 storage przy missionstate??
Wartość startowa to -1.
Co za debil to wymyślił??
W nagłówku masz twórców.
Ja wywaliłem TSF'owski system quest logu, bo jest strasznie beznadziejny, napisałem swój.
To widać że mało się znasz, bo jak dla mnie jest w sam raz. Wystarczy tylko jeszcze wgrać dodatek to pobierania storage'ów i jest wuala.
 
Mój Quest log działa całkiem inaczej niż ten gotowy, 90% tekstów automatycznie się uzupełnia (co zdobyć, jakie nagrody itp) + konfiguracja wszystkich zadań, dlatego od razu go usunąłem, nawet nie testując.

Tamto pytanie było retoryczne, oczywiście, że wiem kto to robił :p
 
Back
Top