Stendhal Testing: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Sprites with Changed Dimensions: Add "unicorn" to list
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>
|}


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


=== Pets ===
== 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.
* Testing new Pet features {{test|}}
** leveling up.
** healing with potions.


= Testing Aids =
Some bugs to look for:


== Aida ==
- Do pets get stuck at any point, and Forget how to follow owners?


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.
- Do any items go to waste when they go to drink or eat them?


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


{{TestingKey|class=simple}}


= Tests Specific to the Next Release =
=== Client ===


== Commerce ==
* Players can change skin color {{test|}}


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


=== Graphics ===
== Bug Fixes ==


=== Server Bug Fixes ===
* All new sprites on the [[Stendhal_missing_images | missing images list]] {{test|}}


* {{StendhalCommit|a7e66a428840f0eed45328eacd1209321b86301e|fixed silent NPC fixed paths}} {{test|}}
* {{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.


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


* improved lighting effects to more closely match Java client {{test|}}


=== Desktop Client 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?


* 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 ===
Collision for these enemies should be tested in the areas where they spawn:
* <creature>cavalryman gnome</creature> {{test||collision}}
* <creature>centaur</creature> {{test||collision}}
* <creature>chick</creature> {{test||collision}}
* <creature>ghost hound</creature> {{test||collision}}
* <creature>horse</creature> {{test||collision}}
* <creature>lion</creature> {{test||collision}}
* <creature>tiger</creature> {{test||collision}}
* <creature>unicorn</creature> {{test||collision}}
* <creature>white horse</creature> {{test||collision}}


* trimmed large music files to decrease size to 2MB or less
=== Movement ===
** 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 =
* 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)

== 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 172: 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.