Compare commits

...
Sign in to create a new pull request.

13 commits

Author SHA1 Message Date
Katie Russell
9140732539 set resistance to 100 to fix [3022120] "Able to run through tables". 2010-07-05 06:49:17 +00:00
Hendrik Brummermann
1c1c481959 fixed number format exception 2010-06-29 19:53:04 +00:00
Hendrik Brummermann
b47372d4d0 free database connection in case character creation failed because the character already exists 2010-06-27 15:19:51 +00:00
Hendrik Brummermann
15d2fe3176 fixed portals without identifiers being ignored 2010-06-27 12:14:45 +00:00
Hendrik Brummermann
72aa3f941b reverted spelling fix so that release client and updater are equal 2010-06-27 10:37:43 +00:00
Katie Russell
434bdca9f8 fixed typo: charactes -> character in the message: Please enter the name of your character (only letters allowed) 2010-06-27 00:45:27 +00:00
Katie Russell
2e532bf249 A test to see if the button problems are fixed for the first screen with the automatically updated client 2010-06-26 16:10:44 +00:00
Hendrik Brummermann
94a65a25f6 backported marauroa 3.7.9 (that is 3.8 with protocol version set to 32) 2010-06-26 12:13:13 +00:00
Hendrik Brummermann
5c13fc5d9c backported mouse wheel fix on MS Windows by kymara (fixes #3021626) 2010-06-26 12:12:28 +00:00
Katie Russell
5ebcfd4f59 backport add missing setPath statement to let Skye move again 2010-06-26 10:59:01 +00:00
Katie Russell
71a75f9efe backporting: add /listproducers 2010-06-26 09:51:27 +00:00
Hendrik Brummermann
a6707c1b2a updated changes.txt 2010-06-25 17:23:11 +00:00
Hendrik Brummermann
0334068a8d increased version number 2010-06-25 06:08:31 +00:00
17 changed files with 52 additions and 34 deletions

View file

@ -73,7 +73,7 @@ version_server = http://arianne.sourceforge.net/stendhal.version
# current version of stendhal
version.old = 0.84
version = 0.84.5
version = 0.85
# javac options
javac.deprecation = true

View file

@ -3,20 +3,37 @@ Changelog
0.85
*features*
- all gui components use a new wood panel theme (even ones which did not have wood before)
- character selection dialog after account login
- login profiles can be cleaned up
- right click and 'Where' yourself
- experimental /listproducers command for working NPCs
- /listproducers command for working NPCs
- quest to help Phalk with food and clothes
- a script for calculating item drop rarities
- actually slow down when walking over resisting entities
- raid creatures no longer have attack weakest profile even if the
creature normally would
- slow down when walking over resisting entities
- take resistance into consideration when choosing path
- use more karma at the well and count activities
- added descriptions to some npcs
- new npc in ados church
- new tutorial messages for receiving items and private messages
- can turn around on spot using mouse wheel
- rats in semos village are not cowards
*code*
- players can't use npc names or creature names
- cannot add buddy who doesn't exist
- refactored Kanmararn Soldiers quest
- style code completely rewritten as a swing look & feel, and extended to
all components used by stendhal
- style code completely rewritten as a swing look & feel, and extended to all components used by stendhal
- a script for calculating item drop rarities
- quests history refactored to not use xml
- many semos npcs reverted to not use xml for configuration
*bugfixes*
- upper part of grain is not counted as grain (can move between grain fields)
- raid creatures no longer have attack weakest profile even if the creature normally would
- weekly item quest xp reward
- quest completed check where completed state is set to other than 'done'
- initial Hayunn dialog/tutorial cleaned up
0.84
*features*

Binary file not shown.

View file

@ -1,3 +1,3 @@
set STENDHAL_VERSION=0.84.5
set STENDHAL_VERSION=0.85
set LOCALCLASSPATH=.;data\script;data\conf;stendhal-server-%STENDHAL_VERSION%.jar;marauroa.jar;mysql-connector.jar;log4j.jar;commons-lang.jar;h2.jar
java -Xmx400m -cp "%LOCALCLASSPATH%" marauroa.server.marauroad -c server.ini -l

View file

@ -1,5 +1,5 @@
#!/bin/sh
STENDHAL_VERSION="0.84.5"
STENDHAL_VERSION="0.85"
LOCALCLASSPATH=.:data/script/:data/conf/:stendhal-server-$STENDHAL_VERSION.jar:marauroa.jar:mysql-connector.jar:log4j.jar:commons-lang.jar:h2.jar

View file

@ -34,6 +34,7 @@ class HelpAction implements SlashAction {
"- /sentence <text> \tWrites the sentence that appears on Website.",
"* Items: ",
"- /drop [quantity] <item>\tDrop a certain number of an item",
"- /listproducers\tFind out what items are being produced for you",
"* Buddies and Enemies: ",
"- /add <player> \tAdd <player> to your buddy list",
"- /remove <player> \tRemove <player> from your buddy list",

View file

@ -421,7 +421,7 @@ public class GroundContainer extends WtBaseframe implements WtDropTarget, Inspec
* Turning with mouse wheel. Ignore all but the first to avoid flooding
* the server with turn commands.
*/
if (e.getClickCount() == 1) {
if (e.getClickCount() <= 1) {
Direction current = User.get().getDirection();
if (e.getUnitsToScroll() > 0) {
// Turn right

View file

@ -171,6 +171,8 @@ public class stendhal {
logger.error("Failed to set Look and Feel", e);
}
UIManager.getLookAndFeelDefaults().put("ClassLoader", stendhal.class.getClassLoader());
Profile profile = Profile.createFromCommandline(args);
if (profile.isValid()) {
new LoginDialog(null, client).connect(profile);

View file

@ -10,7 +10,7 @@ package games.stendhal.client.update;
public class Version {
/** Version Number. */
public static final String VERSION = "0.84.5";
public static final String VERSION = "0.85";
/**
* Extract the specified number of parts from a version-string.

View file

@ -25,7 +25,7 @@ public interface Debug {
/** server version. */
// Note: This line is updated by build.xml using a regexp so be sure to adjust it in case you modify this line.
String VERSION = "0.84.5";
String VERSION = "0.85";
/**

View file

@ -73,6 +73,7 @@ public class CharacterCreator {
try {
if (characterDAO.hasCharacter(trans, username, character)) {
logger.warn("Character already exist: " + character);
transactionPool.commit(trans);
return new CharacterResult(Result.FAILED_PLAYER_EXISTS,
character, template);
}

View file

@ -234,7 +234,7 @@ public class GenerateINI {
out.println();
out.println("server_typeGame=" + gameName);
out.println("server_name=" + gameName + " Marauroa server");
out.println("server_version=0.84.5");
out.println("server_version=0.85");
out.println("server_contact=https://sourceforge.net/tracker/?atid=514826&group_id=66537&func=browse");
out.println();
out.println("# Extensions configured on the server. Enable at will.");

View file

@ -196,8 +196,11 @@ public class StendhalRPZone extends MarauroaRPZone {
}
public Portal getPortal(final Object reference) {
if (reference == null) {
return null;
}
for (final Portal portal : portals) {
if (portal.getIdentifier().equals(reference)) {
if (reference.equals(portal.getIdentifier())) {
return portal;
}
}
@ -703,12 +706,7 @@ public class StendhalRPZone extends MarauroaRPZone {
} else if (object instanceof SpeakerNPC) {
SingletonRepository.getNPCList().add((SpeakerNPC) object);
} else if (object instanceof Portal) {
Portal portal = (Portal) object;
if (portal.getIdentifier() == null) {
logger.error("Portal without identifier: " + portal, new Throwable());
} else {
portals.add(portal);
}
portals.add((Portal) object);
}
if (object instanceof NPC) {

View file

@ -28,7 +28,7 @@ public class WalkBlocker extends AreaEntity {
setRPClass("walkblocker");
put("type", "walkblocker");
setResistance(40);
setResistance(100);
}

View file

@ -92,22 +92,19 @@ public class Snowballs extends AbstractQuest {
return false;
} else {
final long timeRemaining = calculateRemainingTime(player);
if (timeRemaining < 0) {
player.setQuest(QUEST_SLOT, "0");
return true;
} else {
return false;
}
if (timeRemaining < 0) {
player.setQuest(QUEST_SLOT, "0");
return true;
} else {
return false;
}
}
}
private long calculateRemainingTime(final Player player) {
final String lasttime = player.getQuest(QUEST_SLOT);
final long delay = REQUIRED_MINUTES * MathHelper.MILLISECONDS_IN_ONE_MINUTE;
final long timeRemaining = (Long.parseLong(lasttime) + delay) - System.currentTimeMillis();
final long delay = REQUIRED_MINUTES * MathHelper.MILLISECONDS_IN_ONE_MINUTE;
final long timeRemaining = (MathHelper.parseLongDefault(lasttime, 0) + delay) - System.currentTimeMillis();
return timeRemaining;
}

View file

@ -4,6 +4,7 @@ package games.stendhal.server.maps.semos.house;
import games.stendhal.common.Direction;
import games.stendhal.server.core.config.ZoneConfigurator;
import games.stendhal.server.core.engine.StendhalRPZone;
import games.stendhal.server.core.pathfinder.FixedPath;
import games.stendhal.server.core.pathfinder.Node;
import games.stendhal.server.entity.npc.ConversationStates;
import games.stendhal.server.entity.npc.SpeakerNPC;
@ -50,6 +51,7 @@ public class AdminHelpNPC implements ZoneConfigurator {
List<Node> nodes = new LinkedList<Node>();
nodes.add(new Node(6, 11));
nodes.add(new Node(12,11));
setPath(new FixedPath(nodes, true));
}
};

View file

@ -22,7 +22,7 @@ Some of these people are NPC, they will give you tasks to accomplish and hints t
</security>
<resources>
<j2se href="http://java.sun.com/products/autodl/j2se" version="1.5+" /> <!-- max-heap-size="120" -->
<jar href="http://arianne.sourceforge.net/jws/stendhal-starter-0.84.5.jar" download="eager" main="true" />
<jar href="http://arianne.sourceforge.net/jws/stendhal-starter-0.85.jar" download="eager" main="true" />
</resources>
<application-desc/>
</jnlp>