Stendhal Testing: Difference between revisions

Content deleted Content added
imported>AntumDeluge
Removed old section released with 1.12.
imported>AntumDeluge
Server Bug Fixes: fixed Gourmet achievement
 
Line 4:
 
__toc__
Testing Stendhal is not only fun, it's also very important because it can solve problems before releases. If you find any problems or need help with testing please ask at [http://webchat.freenode.net/?channels=arianne #arianne]. If you have found a bug, feel free to [[SubmitBug|submit]] a report directly.
 
We have a dedicated test server on '''stendhalgame.org Port 32100'''. It is refreshed with new code and a new copy of the real database once a day. You can login with your normal account, if it is a least one day old.
 
= Test Client =
You may need a '''[http://stendhalgame.org/development/download.html test client]'''. Please note that the test client will not update automatically.
 
You may need a test client.
Just save the stendhal-{{version}}.5.zip file, extract it into a new folder, then double click the stendhal-{{version}}.5.jar.
 
== Java ==
Testing Key:<br>
<span style="color:orange;">◼</span>: not tested<br>
<span style="color:blue;">◼</span>: tested<br>
<span style="color:red;">◼</span>: not working<br>
<span style="color:lightgreen;">◼</span>: fix committed but not tested
 
Just save the '''[http://stendhalgame.org/development/download.html#testing stendhal-{{version}}.5.zip file]''', extract it into a new folder, then double click the ''stendhal-starter.jar''. Please note that the test client will not update automatically.
 
== Web ==
= Tests specific to the next release =
''You can use a {{version}} release client to logon to test server, but if you want to test the [http://stendhalgame.org/development/download.html {{version}}.5 client] you can do so.''
 
Go to the following URL in a web browser, but replace "<nowiki><charname></nowiki>" with your character's name: '''<nowiki>https://stendhalgame.org/testclient/stendhal.html#<charname></nowiki>'''
''It is helpful to also use the test client to play on the main, release, server. Playing normally with the [http://stendhalgame.org/development/download.html {{version}}.5 client] could help us uncover new client side bugs, so long as any bug reports make it clear which version of client you use and which server you are playing on.''
 
== AchievementsAndroid/Web ==
 
There is an experimental client for Android mobile devices. Packages are now available from the [https://stendhalgame.org/download.html#testing downloads page]. You will need to enable installation from third party sources.. There are also some independent builds located at https://antumdeluge.github.io/stendhal-android-builds/, but these will soon be removed.
<b><i>New achievements:</i></b>
* Dragon Slayer <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** Loot all dragon cloaks.
 
== NPCsTesting Aids ==
 
=== PathsAida ===
 
A special helper NPC, Aida, is available on the test server. You can request any item from her and she can teleport you to specific maps, any NPC or player, and she can mark empty scrolls for you.
<b><i>Paths for Passive NPCs:</i></b>
<span style="color:red"><b>Watch for problems with any NPC type (SpeakerNPC, PassiveNPC, Creature, Sheep, etc.) that could be caused by these changes.</b></span>
 
== Testing Key ==
* <player>deluge|AntumDeluge</player>: When trying to implement random paths for PassiveNPCs I ran across a problem of the NPC stopping after the path cycle was complete. PassiveNPC fixes this by overriding <span style="color:red">onFinishedPath()</span> and calling <span style="color:red">setRandomPathFrom()</span>. <span style="color:red">setRandomPathFrom()</span> has been moved up to <span style="color:blue">GuidedEntity</span>.
 
{{TestingKey|class=simple}}
* NPCs can now pause for a determined amount of turns on path completion <span style="color:blue; font-weight:bold;">TESTED BY:</span> <player>deluge|AntumDeluge</player>
** <span style="color:orange; font-weight:bold;">TODO</span>:
*** Apply to SpeakerNPC (uses prelogic instead of logic) and other sub-classes of GuidedEntity.
 
= Tests Specific to the Next Release =
* <b><span style="color:orange">TODO</span>:</b>
** Fix paths to work in collision areas
 
== Commerce ==
* Replaced reversiblePath methods in <b><i>GuidedEntity</i></b> with methods for setting and getting CollisionAction.
** Two options for collsion actions:
*** CollisionAction.REVERSE <span style="color:orange; font-weight:bold;">NOT TESTED</span>
*** CollisionAction.REROUTE <span style="color:orange; font-weight:bold;">NOT TESTED</span>
 
* outfit prices in <npc>Gwen|Gwen's</npc> shop reduced by 50% {{test|}}
=== Sound effects ===
 
== Bug Fixes ==
<b><i>New sounds:</i></b>
* <npc>Jynath</npc>
** witch-cackle-1 <span style="color:blue;">◼</span>: tested<br>
* Kittens in <npc>Felina|Felina's</npc> house:
** kitten-mew-1 <span style="color:blue;">◼</span>: tested<br>
** kitten-meow-1 <span style="color:blue;">◼</span>: tested<br>
** kitten-meow-2 <span style="color:blue;">◼</span>: tested<br>
** kitten-meow-3 <span style="color:blue;">◼</span>: tested<br>
** kitten-purr-1 <span style="color:blue;">◼</span>: tested<br>
 
=== ShopsServer Bug Fixes ===
 
* {{StendhalCommit|a7e66a428840f0eed45328eacd1209321b86301e|fixed silent NPC fixed paths}} {{test|}}
<b><i>New items for sale/purchase:</i></b>
* {{StendhalCommit|962bd11aeca6415f29a477bf3039a1ebb4f04729|fixed invalid head outfit index}} of <npc>Mr Ross</npc> {{test|}}
* <npc>Diehelm Brui</npc>
* fixed <npc>Wikipedian|Wikipedian's</npc> access to Wikipedia {{test|}}
** Purchases:
* fixed [https://stendhalgame.org/achievement/Gourmet.html Gourmet achievement] {{test|}}
*** <item>xeno helmet</item>: 8000 <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** Broken by changes to Coal for Haunchy quest.
 
=== Web Client Bug Fixes ===
== Creatures ==
 
* improved lighting effects to more closely match Java client {{test|}}
=== Organization ===
 
=== Desktop Client Bug Fixes ===
<span style="color:orange; font-weight:bold;">Creature tilesets and spritesheets reorganization is planned at a slow pace so as to not create an overwhelming amount of missing sprites between client/server compatibility. The following creatures have been re-organized and will cause server-test client incompatibiliteis:</span>
 
* updated Neutralinojs to fix window freezing on close on Windows {{test|}}
* None so far
* nativehelper extension process ends when authentication client disconnects (Windows bug) {{test|}}
 
=== StatusGeneral effectsBug Fixes ===
 
* trimmed large music files to decrease size to 2MB or less
* <creature>chaos sorcerer</creature>: confuse & shock
** Should help to mitigate {{GitHubIssue|750|issue with Java client failing to load large music data on systems with low resources}}.
** Affected files:
*** {{StendhalFile|master|data/music/dark_quest.ogg|dark_quest.ogg}} {{test|}}
*** {{StendhalFile|master|data/music/night_town.ogg|night_town.ogg}} {{test|}}
*** {{StendhalFile|master|data/music/settlement_of_the_frontier.ogg|settlement_of_the_frontier.ogg}} {{test|}}
*** {{StendhalFile|master|data/music/spinning_tavern.ogg|spinning_tavern.ogg}} {{test|}}
 
= Standard Tests =
== Items ==
 
== Media ==
 
=== Audio ===
 
==== New sound effects ====
 
<span style="color:orange; font-weight:bold; font-style:italic;">Please compare with other sounds' audio levels.</span>
* <b><i>Source: http://freesound.org/people/Belhene/sounds/157837/</i></b>
** cat-purr-1
** kitten-purr-1
* <b><i>Source: http://freesound.org/people/nfrae/sounds/100032/</i></b>
** dog-bark-small-1
** dog-bark-small-2
* <b><i>Source: http://freesound.org/people/gcmax/sounds/147351/</i></b>
** kitten-mew-1
* <b><i>Source: http://freesound.org/people/videog/sounds/149191/</i></b>
** kitten-meow-1
** kitten-meow-2
** kitten-meow-3
* <b><i>Source: http://freesound.org/people/Nic3_one/sounds/166555/</i></b>
** attack-fire-1
** attack-fire-2
** attack-fire-3
* <b><i>Source: http://freesound.org/people/Adam_N/sounds/166310/</i></b>
** ambiance/river-1
* <b><i>Source: http://freesound.org/people/pawsound/sounds/154879/</i></b>
** ambiance/water-sloshing-1
 
=== Graphics ===
 
==== New Tilesets ====
 
* tiled/tileset/ground/fire/
** lava <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* tiled/tileset/ground/rock/
** red_crystal_small <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* tiled/tileset/object/
** creep_large <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** creep_med <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* tiled/tileset/object/rock/
** face_stone <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** pillars_stone <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** rocks <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* tiled/tileset/plant/tree/
** trees_1 <span style="color:orange; font-weight:bold;">NOT TESTED</span>
 
==== Refactored Tilesets ====
 
* tiled/tileset/ground/
** blue_crystal <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** gold_crystal <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** green_crystal2 <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** green_crystal3 <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** icy_crystal <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** purple_crystal <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** red_crystal <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* tiled/tileset/plant/
** mushroom3 <span style="color:orange;font-weight:bold;">NOT TESTED</span>
 
== Maps ==
 
=== Added ambiance ===
 
* water-sloshing-1
** 0_athor_island at 15,90 (boat dock) <span style="color:blue;">◼</span>: tested<br>
** 0_athor_island_w at 89,48 (fishing dock) <span style="color:blue;">◼</span>: tested<br>
** 0_kalavan_city at 78,49 (fishing dock) <span style="color:blue;">◼</span>: tested<br>
** 0_nalwor_river_s_e2 at 46,60 (fishing dock) <span style="color:blue;">◼</span>: tested<br>
 
=== Reworked ===
 
* Replaced pillar tiles:
** int_kirdneh_house_46 <span style="color:orange;font-weight:bold;">NOT TESTED</span>
** int_kirdneh_house_48_1 <span style="color:orange;font-weight:bold;">NOT TESTED</span>
** int_kirdneh_house_49_1 <span style="color:orange;font-weight:bold;">NOT TESTED</span>
** int_magic_flower_shop <span style="color:orange;font-weight:bold;">NOT TESTED</span>
** int_mithrilbourgh_throne_room <span style="color:orange;font-weight:bold;">NOT TESTED</span>
** dreamscape_rural <span style="color:orange;font-weight:bold;">NOT TESTED</span>
** wizards_tower_spire_1 <span style="color:orange;font-weight:bold;">NOT TESTED</span>
** 0_ados_mountain_n2_w2 <span style="color:orange;font-weight:bold;">NOT TESTED</span>
** 0_ados_outside_w <span style="color:orange;font-weight:bold;">NOT TESTED</span>
** 0_semos_mountain_n2_e <span style="color:orange;font-weight:bold;">NOT TESTED</span>
** -1_semos_mine_n2_e <span style="color:orange;font-weight:bold;">NOT TESTED</span>
* Entire hell map <span style="color:orange; font-weight:bold;">IN PROGRESS</span>
 
== Quests ==
 
=== Reward changes ===
 
* <b><i>Kill Monks:</i></b>
** Player receives +5 karma for accepting and -5 karma for rejecting. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* <b><i>Weapon Collector:</i></b>
** Added +30 karma to reward. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* <b><i>Weapon Collector 2:</i></b>
** Added +60 karma to reward. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* <b><i>Ultimate Collector:</i></b>
** Added +90 karma to reward. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* <b><i>Fisherman's License part 2:</i></b>
** Added +25 karma to reward. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* <b><i>Jailed Dwarf:</i></b>
** Added +20 karma to reward. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* <b><i>Koboldish Torcibud:</i></b>
** Added +20 karma to reward. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* <b><i>Medicine for Tad:</i></b>
** Added +4 karma to reward. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* <b><i>News from Hackim:</i></b>
** Added +2 karma to reward. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* <b><i>Obsidian Knife:</i></b>
** Added +40 karma to reward (85 total). <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* <b><i>Pizza Delivery:</i></b>
** Added +5 karma to reward if delivered on time. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* <b><i>Seven Cherubs:</i></b>
** Added +35 karma to reward. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
 
== Client ==
 
== Other changes ==
 
* New portal type: PasswordPortal <i>(currently none implemented in game where can be tested)</i>
** Listens for player to say a password. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** Immediately teleports player. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* <b><i>SayRequiredItemsFromCollectionAction</i></b> can now use an index as the 2nd argument to get items from a section of the QUEST_SLOT. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
 
=== Status effects ===
 
<b><i>New status effects available:</i></b>
* shock
** Causes player to halt when trying to walk. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* confuse
** Causes player to because disoriented (walks in opposite direction and cannot use mouse to walk). <span style="color:orange; font-weight:bold;">NOT TESTED</span>
 
= Changes that may not be in next release or need approval =
 
== Creatures ==
 
=== New creatures ===
* myling <span style="color:red; font-weight:bold;">DISABLED</span>
** class: undead
** current stats: level 201, ATK 1153, DEF 96, HP 3801, speed 1.0, XP 83700, respawn 24500 (??)
** current drops:
** current locations:
 
=== New drops ===
 
* medicinal ring:
** <creature>naga</creature> @ 0.5% <span style="color:red; font-weight:bold;">DISABLED</span>
** <creature>high naga</creature> @ 0.75% <span style="color:red; font-weight:bold;">DISABLED</span>
** <creature>lamia</creature> @ 2.0% <span style="color:red; font-weight:bold;">DISABLED</span>
** <creature>arachne</creature> @ 1.0% <span style="color:red; font-weight:bold;">DISABLED</span>
 
== Quests ==
 
=== New quests ===
 
<b>Antivenom Ring</b> <span style="color:red; font-weight:bold;">DISABLED</span>
* Start NPC: Jameson (int_apothecary_lab, 0_semos_mountain_n2_w)
* Tests specific to this quest:
** There are three NPCs that give hints as to the location of Jameson by responding to "apothecary": <npc>Valo</npc>, <npc>Haizen</npc> and <npc>Ortiv Milquetoast</npc>. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** Must have completed quest Traps for Klaas to enter int_apothecary_lab. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** Quest should not be offered unless player is carrying "note to apothecary". <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** If player asks for "quest" without carrying note to apothecary NPC should offer a hint to speak with <npc>Klaas</npc>. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** after quest accepted NPC should offer information for "ring(s)", "medicinal ring(s)", "antivenom ring(s)" "(gm) antitoxin ring(s)", "gland(s)", "venom gland(s)", "<item>fairy cake</item>(s)", "cake(s)", "<item>mandragora</item>(s)", "root(s) of mandragora(s)", "snake(s)", "cobra(s)". <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** NPC should accept 1 antitoxin ring, 2 roots of <item>mandragora</item>, 5 <item>fairy cake</item>s and 1 venom gland. <span style="color:orange; font-weight:bold;">NOT TESTED</span> (<b><u>AntumDeluge: <font color="orange">Should more items be added to list?</font></u></b>)
** Wait should be 30 minutes between bringing all items and receiving reward. <span style="color:orange; font-weight:bold;">NOT TESTED</span>
* Reward:
** antivenom ring <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** 2000 XP <span style="color:orange; font-weight:bold;">NOT TESTED</span>
** 25 karma <span style="color:orange; font-weight:bold;">NOT TESTED</span>
 
=== Altered Quests ===
 
<b>Help With the Harvest</b>
* <span style="color:orange; font-weight:bold;">TODO:</span>
** Add sound to pushable carts (open bug report on [http://sourceforge.net/tracker/?func=detail&aid=3610202&group_id=1111&atid=101111|sound sets in too late])
 
<b>Traps for Klaas</b>
* <span style="color:orange; font-weight:bold;">TODO:</span>
** Add note to apothecary item as reward when Antivenom Ring quest is ready. Note: will only be given on quest completion if player is not already carrying one and Antivenom Ring quest has not been started.
** Only have Klaas buy rodent traps if quest has been completed at least once. <font color="orange"><b>Currently may no be possible.</b></font>
 
== Misc. ==
 
=== Tile layers ===
 
* New layers
** "gore"
*** "violent" images, such as blood, can be placed on this layer which is not drawn if "blood and corpses" setting is turned off ( [http://sourceforge.net/tracker/index.php?func=detail&aid=3613625&group_id=1111&atid=301111 this has not yet been added to CVS] )
 
== Items ==
 
=== New items ===
 
* holy water <span style="color:red; font-weight:bold;">DISABLED</span>
* medicinal ring: antipoison 0.25 <span style="color:red; font-weight:bold;">DISABLED</span>
* antivenom ring: antipoison 0.5 <span style="color:red; font-weight:bold;">DISABLED</span>
* gm antitoxin ring: antipoison 1.0 (gm summon only) <span style="color:red; font-weight:bold;">DISABLED</span>
* note to apothecary (reward from Traps for Klaas quest, used in Antivenom Ring quest) <span style="color:red; font-weight:bold;">DISABLED</span>
 
=== Attributes ===
 
* <b>Antipoison attribute</b> for rings and defense equipment has been implemented: <span style="color:orange; font-weight:bold;">UNDER REVIEW</span>
** Under attributes tag in item.xml add a tag called "antipoison" with a value between "0.0" and "1.0"
** "0.0" represents no resistance to poison and "1.0" represents full immunity
 
== NPCs ==
 
=== New NPCs ===
 
* Jameson (int_apothecary_lab, 0_semos_mountain_n2_w) <span style="color:red; font-weight:bold;">DISABLED</span> Tested by: <player>deluge|AntumDeluge</player>, <player>Bluelads4</player>: <span style="color:orange"><b><u>Hints to the hidden door would be great to have and maybe a hint to Klaas, too (discussed in #arianne)</u></b></span>, <b><u><player>deluge|AntumDeluge</player>: <span style="color:green">Note placed on table in int_apothecary_cabin that references <npc>Klaas</npc></span></u></b>)
* Tollbooth operaton (no name yet) <span style="color:red; font-weight:bold;">DISABLED</span>
** Guards the bride in 0_semos_canyon
 
== Maps ==
 
=== New maps ===
* Apothecary's lab <span style="color:red; font-weight:bold;">NOT ACCESSIBLE</span>
** int_apothecary_cabin
** int_apothecary_lab
* 0_semos_canyon north of 0_semos_mountain_n2_e2 <span style="color:red; font-weight:bold;">NOT ACCESSIBLE</span>
 
== TODO ==
 
* New item: bait
** different baits can be used to increase chances of catching fish
* PasswordCheckingPortal
 
== Proposed Changing Creature and Corpse Dimensions ==
 
* <creature>ent</creature>: from 5x3 to 5x2
 
= New Tests =
 
* In preparation for containers, there are many changes how items are handled. This can introduce new bugs in old features. Please pay special attention to these things:
** Check that picking up, dropping and moving items works correctly
** Check that using items from ground, corpses, bag or keyring works as before
** Check that items bound to players can only be picked up or used by the owner
** Check that corpse protection still works
** Check that you can't pick up items from below other players, unless the item is bound to you
** Anything else you can think of related to item handling
 
= Standard tests =
 
# Move around
Line 389 ⟶ 134:
# Login to server. ''It MUST work''
# Listen to music and sound
# Login using webstart
# Login using automatically updated client
# Create a new character. <b><i>It MUST work</i></b>
# Run /script NPCPathCheck.class