Stendhal Testing: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
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>'''


=== Client Fixes ===
== 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.
* New {{StendhalFile|master|src/games/stendhal/server/actions/move/ConditionalStopAction.java|ConditionalStopAction}} class:
** Used to stop player movement via keypress when client input loses focus to prevent uncontrolled walking: {{StendhalCommit|ef21dc6|ef21dc6}} {{test|}}
** Character should continue walking if focus is lost if other methods for movement are used:
*** Path is set using mouse click. {{test|}}
*** Auto-walk is active. {{test|}}
** Fix for [https://github.com/arianne/stendhal/issues/60 Player Continues Walking When Client Loses Focus]


= Testing Aids =
=== Pets ===


== Aida ==
* Testing new Pet features ''('''NOTE:''' the following is from previous release but still may need testing/fixed)''
** 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}}


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.
Some bugs to look for:


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


{{TestingKey|class=simple}}
- Do any items go to waste when they go to drink or eat them?


= Tests Specific to the Next Release =
- When baby dragons grow into adults they can get stuck in walls. {{test|nok}}


=== Graphics ===
== Commerce ==


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


== Bug Fixes ==
* Untested new sprites from previous release:
** enemies:
*** <creature>unicorn</creature> ({{StendhalCommit|03b0094|03b0094}}) {{Test|}}
** NPCs:
*** ''santaclausnpc (Santa)'' ({{StendhalCommit|ff96636d58|ff96636d58}}) {{Test|}}


==== Sprites with Changed Dimensions ====
=== Server Bug Fixes ===


* {{StendhalCommit|a7e66a428840f0eed45328eacd1209321b86301e|fixed silent NPC fixed paths}} {{test|}}
Questions to consider:
* {{StendhalCommit|962bd11aeca6415f29a477bf3039a1ebb4f04729|fixed invalid head outfit index}} of <npc>Mr Ross</npc> {{test|}}
* Is the ability of the enemy to spawn affected?
* fixed <npc>Wikipedian|Wikipedian's</npc> access to Wikipedia {{test|}}
* Can the enemy no longer fit through spaces where it could before?
* fixed [https://stendhalgame.org/achievement/Gourmet.html Gourmet achievement] {{test|}}
* Can the enemy now fit through spaces where it could not before?
** Broken by changes to Coal for Haunchy quest.
* 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?


=== Web Client Bug Fixes ===
''('''NOTE:''' the following list of creatures is from previous release but still may need testing/fixed, especially make note of which creatures may need a new corpse sprite with different dimensions)''


* improved lighting effects to more closely match Java client {{test|}}
Enemies ''(Collision for these enemies should be tested in the areas where they spawn.)'':
* <creature>boar</creature> ({{StendhalCommit|4d6324f|from 48x64 to 64x64}}) {{test|ok|collision}} (AntumDeluge)
* <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}}


=== Movement ===
=== Desktop Client Bug Fixes ===


* updated Neutralinojs to fix window freezing on close on Windows {{test|}}
Auto-walk:
* nativehelper extension process ends when authentication client disconnects (Windows bug) {{test|}}
* Execution:
** Replaced "Alt. + direction" with double press direction key to initiate. {{test|nok|}} (AntumDeluge) '''''BUGGY:''' Delayed direction release seems to interfere so does not always initiate.''
* Behaviour:
** Players are now forced to stop after using portals (old behaviour). {{test|}}
*** Because prediction of which side player will end up on dest. portal, player must stop else they may continuously traverse back & forth between portals.
*** Players should still move continuously after zone changes. {{test|}}


=== General Bug Fixes ===
Continuous movement:
* Used to allow player to move continuously after zone change or teleport when using direction keys to walk. {{test|}}
** Disabled for portals for same reason as ''auto-walk''.
* To enable/disable:
** Via Settings -> General -> Continuous movement". {{test|}}
** Using <span style="color:green;font-style:italic;">movecont</span> slash command. {{test|}}


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

== Standard Tests ==


# Move around
# Move around
Line 188: 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.