Testserver with shared database: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Hendrik Brummermann
configure marauroa
imported>Kymara
m extra word removed
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Navigation for Marauroa Top|Using}}
{{Navigation for Marauroa Users}}

This article describes how to configure a test server so that players can use their normal accounts and characters for testing.
This article describes how to configure a test server so that players can use their normal accounts and characters for testing.


Line 10: Line 13:


The complex way allows players to test with their own account and characters, while doing smart things with the logs. The login events will be logged to the original database so that the number of wrong password tries sums up both databases. The Stendhal website displays a login history covering all sources: website, main server and test server. The gameEvents and itemlog tables will be kept for the analysis of bugs.
The complex way allows players to test with their own account and characters, while doing smart things with the logs. The login events will be logged to the original database so that the number of wrong password tries sums up both databases. The Stendhal website displays a login history covering all sources: website, main server and test server. The gameEvents and itemlog tables will be kept for the analysis of bugs.



=== Configure marauroa on test server ===
=== Configure marauroa on test server ===
Line 16: Line 18:
Configure the test server just like a normal server with its own database.
Configure the test server just like a normal server with its own database.


Then you need to change disable account and character creations. It is essential that those are only created on the main server in order to ensure a consistent database. And you may want to add a big hint, telling players that this is a test server:
Then you need to disable account and character creations. It is essential that those are only created on the main server in order to ensure a consistent database. And you may want to add a big hint, telling players that this is a test server:


allow_account_creation=false
allow_account_creation=false
Line 55: Line 57:
TRUNCATE rpobject;
TRUNCATE rpobject;
</source>
</source>

[[Category:Marauroa]]
{{#breadcrumbs: [[Marauroa]] | [[Navigation for Marauroa Users|Using]] | [[Testserver with shared database|Testserver]]}}