Stendhal Testing: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Sprites with Changed Dimensions: Tested collision for puppy sprite with changed dimensions
imported>AntumDeluge
Server Bug Fixes: fixed Gourmet achievement
 
Line 4: Line 4:


__toc__
__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.
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.
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#testing test client]'''. Please note that the test client will not update automatically. Just save the stendhal-{{version}}.5.zip file, extract it into a new folder, then double click the stendhal-starter.jar.


You may need a test client.
Testing Key:<br>
{|class="prettytable"
|-
| {{Test|}} || <nowiki>{{Test|}}</nowiki>
|-
| {{Test|ok}} || <nowiki>{{Test|ok}}</nowiki>
|-
| {{Test|nok}} || <nowiki>{{Test|nok}}</nowiki>
|-
| {{Test||text}} || <nowiki>{{Test||text}}</nowiki>
|-
| {{Test|ok|text}} || <nowiki>{{Test|ok|text}}</nowiki>
|-
| {{Test|nok|text}} || <nowiki>{{Test|nok|text}}</nowiki>
|}


== Java ==


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.
== 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.''


== Web ==
''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.''


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>'''


=== NPCs ===
== Android/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.
==== NPC Behaviour ====


= Testing Aids =
* The default NPC-entity collision action changed to ''{{StendhalFile|master|src/games/stendhal/server/entity/CollisionAction.java|CollisionAction.REVERSE}}''.
** All NPCs should now by default turn around & continue walking after colliding with players or other entity objects such as other NPCs: {{test|ok}} (AntumDeluge) '''''NOTE:''' NPCs change direction after colliding with monsters/enemies (good/bad?).
* The action for the following NPCs has been set back to ''CollisionAction.STOP'' & should not continue walking after collision:
** <npc>Carmen</npc> {{test|ok}} (AntumDeluge)
** <npc>Diogenes</npc> {{test|ok}} (AntumDeluge)
** <npc>Gordon</npc> {{test|ok}} (AntumDeluge)
** <npc>Hayunn Naratha</npc> {{test|ok}} (AntumDeluge)
** <npc>Ilisa</npc> {{test|ok}} (AntumDeluge)
** <npc>Mayor Chalmers</npc> {{test|ok}} (AntumDeluge)
** <npc>Mayor Sakhs</npc> {{test|ok}} (AntumDeluge)
** <npc>Mr Taxman</npc> {{test|ok}} (AntumDeluge)
** <npc>Sato</npc> {{test|ok}} (AntumDeluge)
** <npc>Tywysoga</npc> {{test|ok}} (AntumDeluge)


=== Pets ===
== Aida ==


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.
* Testing new Pet features
** leveling up. {{test|nok}} (AntumDeluge) '''''Issue:''' Baby dragon doesn't seem to gain any XP from fighting.''
** healing with potions. {{test|ok}} (AntumDeluge)
** '''BUG:''' Pets can trap players in narrow passages. {{test|nok}}


== Testing Key ==
Some bugs to look for:


{{TestingKey|class=simple}}
- Do pets get stuck at any point, and Forget how to follow owners?


= Tests Specific to the Next Release =
- Do any items go to waste when they go to drink or eat them?


== Commerce ==
- When baby dragons grow into adults they can get stuck in walls. {{test|nok}}


* outfit prices in <npc>Gwen|Gwen's</npc> shop reduced by 50% {{test|}}
=== Client ===


==== User Interface ====
== Bug Fixes ==


=== Server Bug Fixes ===
* Players can change skin color {{test|nok}} (AntumDeluge) '''''Issue:''' Weird effect when darkness set to darkest. Sprite becomes brighter.''


* {{StendhalCommit|a7e66a428840f0eed45328eacd1209321b86301e|fixed silent NPC fixed paths}} {{test|}}
=== Graphics ===
* {{StendhalCommit|962bd11aeca6415f29a477bf3039a1ebb4f04729|fixed invalid head outfit index}} of <npc>Mr Ross</npc> {{test|}}
* fixed <npc>Wikipedian|Wikipedian's</npc> access to Wikipedia {{test|}}
* fixed [https://stendhalgame.org/achievement/Gourmet.html Gourmet achievement] {{test|}}
** Broken by changes to Coal for Haunchy quest.


==== New/Replaced Sprites ====
=== Web Client Bug Fixes ===


* All new sprites on the [[Stendhal_missing_images | missing images list]] {{test|}}
* improved lighting effects to more closely match Java client {{test|}}
* New sprites NOT on missing images list:
** enemies:
*** <creature>blue dragon</creature> ({{StendhalCommit|3a64993|3a64993}}) {{Test|ok}} (AntumDeluge)
*** <creature>grass snake</creature> ({{StendhalCommit|a1c770a|a1c770a}}) {{Test|ok}} (AntumDeluge) '''''NOTE:''' Very small. Maybe not a good sprite?''
*** <creature>mermaid</creature> ({{StendhalCommit|e85512e|e85512e}}) {{Test|ok}} (AntumDeluge) '''''NOTE:''' Appear to "glide".''
*** <creature>unicorn</creature> ({{StendhalCommit|03b0094|03b0094}}) {{Test|}}
*** <creature>winged blue imp</creature> ({{StendhalCommit|927fca7|927fca7}}) {{Test|ok}} (AntumDeluge)
** NPCs:
*** <npc>Lupos|albinoelfnpc (Lupos)</npc> ({{StendhalCommit|6816624|6816624}}) {{test|ok}} (AntumDeluge)
*** <npc>Garbiddle|magegnomenpc (Garbiddle)</npc> ({{StendhalCommit|0b9418a|0b9418a}}) {{test|ok}} (AntumDeluge)
*** <npc>Conual|militiaelfnpc (Conual)</npc> ({{StendhalCommit|bc25cba|bc25cba}}) {{test|ok}} (AntumDeluge)
*** ''santaclausnpc (Santa)'' ({{StendhalCommit|ff96636d58|ff96636d58}}) {{Test|}}
*** <npc>Nishiya|sellernpc (Nishiya)</npc> ({{StendhalCommit|7c5ba72|7c5ba72}}) {{test|ok}} (AntumDeluge)
*** <npc>Klaas|seller2npc (Klaas)</npc> ({{StendhalCommit|7c5ba72|7c5ba72}}) {{test|ok}} (AntumDeluge)
** Outfits:
*** {{StendhalCommit|cfd934c|dress_058}} (dirndl) {{test|}}
*** {{StendhalCommit|c568d94|dress_059}} {{test|}}
*** {{StendhalCommit|baa7ad1|dress_060}} (dress) {{test|}}
*** {{StendhalCommit|baa7ad1|dress_061}} (ranger uniform) {{test|}}
*** {{StendhalCommit|9cbd08d|hair_044}} {{test|}}
*** {{StendhalCommit|9cbd08d|hair_094}} {{test|}}


==== Sprites with Changed Dimensions ====
=== Desktop Client Bug Fixes ===


* updated Neutralinojs to fix window freezing on close on Windows {{test|}}
* nativehelper extension process ends when authentication client disconnects (Windows bug) {{test|}}


=== General Bug Fixes ===
Questions to consider:
* Is the ability of the enemy to spawn affected?
* Can the enemy no longer fit through spaces where it could before?
* Can the enemy now fit through spaces where it could not before?
* How is attacking players in groups affected?
** Can players now be attacked by more or less enemies at one time?
* Does the creature need a new corpse with different dimensions?


* trimmed large music files to decrease size to 2MB or less
** 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 =
Enemies ''(Collision for these enemies should be tested in the areas where they spawn.)'':
* <creature>boar</creature> ({{StendhalCommit|4d6324f|from 48x64 to 64x64}}) {{test||collision}}
* <creature>cavalryman gnome</creature> ({{StendhalCommit|e00e2c2|from 64x64 to 48x64}}) {{test||collision}}
* <creature>centaur</creature> ({{StendhalCommit|b669d70|from 48x64 to 64x85}}) {{test||collision}}
* <creature>chick</creature> ({{StendhalCommit|513a787|from 64x64 to 48x64}}) {{test||collision}}
* <creature>chicken</creature> ({{StendhalCommit|6b72ba9|from 48x64 to 32x32}}) {{test||collision}}
* <creature>deer</creature> ({{StendhalCommit|fb757f2|from 48x64 to 64x64}}) {{test||collision}}
* <creature>elephant</creature> ({{StendhalCommit|d0c76a6|from 48x64 to 96x96}}) {{test||collision}}
* <creature>flying golden dragon</creature> ({{StendhalCommit|906278f|from 144x192 to 144x128}}) {{test||collision}}
* <creature>ghost hound|ghost hound (ghosthound.png)</creature> ({{StendhalCommit|084354d|from 48x64 to 64x85}}) {{test||collision}}
* <creature>grobble monster</creature> ({{StendhalCommit|7a2f8df|from 72x96 to 64x64}}) {{test||collision}}
* <creature>horse</creature> ({{StendhalCommit|27d8645|from 48x64 to 64x85}}) {{test||collision}}
* <creature>lion</creature> ({{StendhalCommit|7a23f8f|from 48x64 to 64x64}}) {{test||collision}}
* <creature>mother hen|mother hen (hen.png)</creature> ({{StendhalCommit|d7c535c|from 64x64 to 32x32}}) {{test||collisions}}
* <creature>pegasus</creature> ({{StendhalCommit|196fa23|from 48x64 to 64x85}}) {{test||collision}}
* <creature>pigeon</creature> ({{StendhalCommit|78198b5|from 48x64 to 32x32}}) {{test||collision}}
* <creature>snake</creature> ({{StendhalCommit|9a45e8c|from 48x64 to 32x32}}) {{test||collision}}
* <creature>tiger</creature> ({{StendhalCommit|1a68b92|from 48x64 to 64x64}}) {{test||collision}}
* <creature>twin headed dragon</creature> ({{StendhalCommit|069f29e|from 96x128 to 144x128}}) {{test||collision}}
* <creature>unicorn</creature> ({{StendhalCommit|03b0094|from 48x64 to 64x85}}) {{test||collision}}
* <creature>white horse</creature> ({{StendhalCommit|27d8645|from 48x64 to 64x85}}) {{test||collision}}
* <creature>winged blue imp</creature> ({{StendhalCommit|927fca7|from 48x64 to 64x64}}) {{test||collision}}
* <creature>winged blurble</creature> ({{StendhalCommit|0fbd59f|from 48x64 to 64x64}}) {{test||collision}}
NPCs:
* ''puppy'' ({{StendhalCommit|42cec77|from 32x64 to 32x32}}) {{test|ok|collision}} (AntumDeluge)
** Locations: Semos City & Ados City

=== Movement ===

* Player auto-walk feature:
** Behaviour:
*** When enabled, player will walk continuously without the need to press direction keys or click an area of the map. {{test|ok}} (AntumDeluge)
*** Player will continue to walk after changing maps or walking through portal. {{test|ok}} (AntumDeluge)
*** Player CAN change direction without disabling using the arrow keys or mouse wheel. {{test|ok}} (AntumDeluge)
*** Player can NOT enable auto-walk if inflicted with <span style="color:green;font-style:italic;">poison</span> or <span style="color:green;font-style:italic;">confusion</span>. {{test|}}
*** Player CAN enable auto-walk if inflicted with <span style="color:green;font-style:italic;">shock</span>, but will be disabled when player is forced to stop walking. {{test|}}
*** If enabled, becoming inflicted with <span style="color:green;font-style:italic;">poison</span> or <span style="color:green;font-style:italic;">confusion</span> should immediately disable. {{test|}}
*** Becoming inflicted with <span style="color:green;font-style:italic;">shock</span> should only disable after player receives first effects of "shock". {{test|}}
** Ways to enable:
*** Execute slash command "/walk". {{test|ok}} (AntumDeluge)
*** Right-click player and select "Walk". {{test|ok}} (AntumDeluge)
*** Hold "Alt" key and press direction arrow key. {{test|ok}} (AntumDeluge)
** Ways to disable:
*** Execute slash command "/walk" or "/stopwalk". {{test|ok}} (AntumDeluge)
*** Right-click player and select "Stop". {{test|ok}} (AntumDeluge)
*** Press the arrow key in the direction that the player is currently walking. {{test|ok}} (AntumDeluge)
*** Click any area of the map to where character can walk. {{test|ok}} (AntumDeluge)
*** Walk into a collision tile (colliding with other entities should not disable auto-walk). {{test|ok}} (AntumDeluge)

=== Sound ===

==== Enemies with New Sounds ====

* <creature>dark aruthon</creature> (3 new sounds)
** minimare-hiss, minimare-hurt, & minimare-die {{test|}}

== Unapproved Changes ==

=== Movement ===

Continuous movement:
* Used to allow player to move continuously after zone change or teleport when using direction keys to walk.
* Not available by default.
* Can be made available by setting VM argument <span style="color:green;font-style:italic;">-Dtesting.movement</span> in the client.
* Enabled/Disabled via settings dialog or <span style="color:green;font-style:italic;">movecont</span> slash command.
* <span style="font-weight:bold;">IMPORTANT:</span> If this feature will not be in release, it should be disabled server-side. Otherwise, modified clients will be able to use it.


== Standard Tests ==


# Move around
# Move around
Line 244: Line 134:
# Login to server. ''It MUST work''
# Login to server. ''It MUST work''
# Listen to music and sound
# Listen to music and sound
# Login using webstart
# Login using automatically updated client
# Login using automatically updated client
# Create a new character. <b><i>It MUST work</i></b>
# Run /script NPCPathCheck.class
# Run /script NPCPathCheck.class


== Notes ==
= Notes =
* When you do each stage, read your console log.
* When you do each stage, read your console log.
* For quest testing: if you want to use an existing char, that has done most quests, you can reset all quests by saying ''cleanme!'' (with "'''!'''") to <npc>Diogenes</npc>. This only works for admins.
* For quest testing: if you want to use an existing char, that has done most quests, you can reset all quests by saying ''cleanme!'' (with "'''!'''") to <npc>Diogenes</npc>. This only works for admins.
* The test server log is [http://stendhalgame.org/download/server.log here] and can be useful to check if something strange happened (just scroll to the bottom for the latest entries)
* The test server log is [http://stendhalgame.org/download/server.log here] and can be useful to check if something strange happened (just scroll to the bottom for the latest entries)


== Create chat log for tests ==
= Create chat log for tests =
Please try to play dumb and fool the NPC by asking stupid question which may confuse him. For example say that you already have the items you are supposed to fetch although this is not true, yet. Reject the quest first time and only return later to accept it. Try to ask to start the quest again once it has finished, this kind of thing.
Please try to play dumb and fool the NPC by asking stupid question which may confuse him. For example say that you already have the items you are supposed to fetch although this is not true, yet. Reject the quest first time and only return later to accept it. Try to ask to start the quest again once it has finished, this kind of thing.