summaryrefslogtreecommitdiff
path: root/npc/other/turbotrack/Turbo_Track.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/other/turbotrack/Turbo_Track.txt')
-rw-r--r--npc/other/turbotrack/Turbo_Track.txt35
1 files changed, 12 insertions, 23 deletions
diff --git a/npc/other/turbotrack/Turbo_Track.txt b/npc/other/turbotrack/Turbo_Track.txt
index 90481a9b5..e84403c4d 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.3
+//= 1.4
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -15,6 +15,7 @@
//= Fixed a bug in the while loop in the guide.
//= 1.2 Fix to prevent point converter from hanging. [L0ne_W0lf]
//= 1.3 Slight optimization to the point exchanger. [L0ne_W0lf]
+//= 1.4 Added missing checkweights. [L0ne_W0lf]
//============================================================
turbo_room,130,92,3 script Kafra Staff#tt 115,{
@@ -411,18 +412,7 @@ turbo_room,71,95,5 duplicate(TurboExpertNames) Expert Mode Records#1 857
// Turbo Track Item Exchanger
turbo_room,93,117,5 script Point Exchange Helper 125,{
- //set max_max_c1,1201;
- //if (max_max_c1 == 1) {
- // mes "^3355FFWait a second!";
- // mes "Right now, you're carrying";
- // mes "too many items with you.";
- // mes "Please come back after";
- // mes "putting storing some of your";
- // mes "things using the Kafra Service.^000000";
- // close;
- //}
- set .@now_weight,MaxWeight-Weight;
- if (.@now_weight < 2000) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many items with you.";
@@ -985,16 +975,15 @@ S_ExchangePoints:
alde_gld,183,204,0 script en_turbo 45,1,1,{
OnTouch:
- //set max_max_c,1201;
- //if (max_max_c == 1) {
- // mes "^3355FFWait a second!";
- // mes "Right now, you're carrying";
- // mes "too many items with you.";
- // mes "Please come back after";
- // mes "putting storing some of your";
- // mes "things using the Kafra Service.^000000";
- // close;
- //}
+ if (checkweight(1201,1) == 0) {
+ mes "^3355FFWait a second!";
+ mes "Right now, you're carrying";
+ mes "too many items with you.";
+ mes "Please come back after";
+ mes "putting storing some of your";
+ mes "things using the Kafra Service.^000000";
+ close;
+ }
set .@now_weight,MaxWeight-Weight;
if ((BaseJob == Job_Knight || BaseJob == Job_Crusader) && checkriding()) {
if (.@now_weight < 20000) {