summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-22 20:42:43 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-22 20:42:43 +0000
commit1edb4c2f6d86853378b795561accc1869ac7199a (patch)
tree7e02151d6e9eb475d6241f517cd94fa680f37d19
parent38b5e25fd06a5d03413f59e3e37c6ffc21d0d02d (diff)
downloadhercules-1edb4c2f6d86853378b795561accc1869ac7199a.tar.gz
hercules-1edb4c2f6d86853378b795561accc1869ac7199a.tar.bz2
hercules-1edb4c2f6d86853378b795561accc1869ac7199a.tar.xz
hercules-1edb4c2f6d86853378b795561accc1869ac7199a.zip
* Bug fixes for the turbo track.
- Fixes both the point exchanger for exp when selecting "No" and also fixes the infinite loop in the game Guide. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11549 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--npc/Changelog.txt3
-rw-r--r--npc/other/turbotrack/Turbo_Track.txt12
2 files changed, 10 insertions, 5 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index 236589c24..b1b83abd8 100644
--- a/npc/Changelog.txt
+++ b/npc/Changelog.txt
@@ -1,6 +1,9 @@
Date Added
======
2007/10/22
+ * Rev. 11548 Bug fixes for the turbo track. [L0ne_W0lf]
+ - Fixes both the point exchanger for exp when selecting "No" and
+ also fixes the infinite loop in the game Guide.
* Rev. 11545 Implemented Al De Baran turbo Track. Please report any errors. [L0ne_W0lf]
2007/10/20
* Small fixes to Hugel and Lighthalzen quests. [SinSloth]
diff --git a/npc/other/turbotrack/Turbo_Track.txt b/npc/other/turbotrack/Turbo_Track.txt
index 247c589bb..5d952d86e 100644
--- a/npc/other/turbotrack/Turbo_Track.txt
+++ b/npc/other/turbotrack/Turbo_Track.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.0
+//= 1.1
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -11,6 +11,8 @@
//= General Turbo Track NPCs, includes Kafra and Tool Merchant
//===== Additional Comments: =================================
//= 1.0 First version. [L0ne_W0lf]
+//= 1.1 Fixed exp rewarding working backwards.[L0ne_W0lf]
+//= Fixed a bug in the while loop in the guide.
//============================================================
turbo_room,130,92,3 script Kafra Staff#tt 115,{
@@ -110,7 +112,8 @@ turbo_room,99,120,4 script TBT_Guide#Broadcast 124,{
mes "game mode. Would you like to";
mes "learn more about a certain course? ^FFFFFFcobo^000000";
next;
- while (1) {
+ set .@exitloop,1;
+ while (.@exitloop) {
switch(select("Log Bridge and Cube Hills:Cursed Desert and Flasher Maze:Single Snail and Invisible Maze:Snake Dice and Small Cave:No, thanks.")) {
case 1:
mes "[Turbo Track Guide]";
@@ -183,10 +186,9 @@ turbo_room,99,120,4 script TBT_Guide#Broadcast 124,{
mes "best of luck to";
mes "you in the races!";
next;
- set .@exitloop,1;
+ set .@exitloop,0;
}
}
- if (.@exitloop) break;
mes "[Turbo Track Guide]";
mes "Would you like to";
mes "know anything else";
@@ -628,7 +630,7 @@ turbo_room,93,117,5 script Point Exchange Helper 125,{
mes "like to exchange your Turbo";
mes "Track Points for Experience?";
next;
- if (select("No:Yes") == 1) {
+ if (select("No:Yes") == 2) {
if (tt_point < 40) {
mes "[Item Exchange Helper]";
mes "I'm sorry, but you do";