diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-03-22 12:26:06 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-03-22 12:26:06 -0300 |
commit | 4ce577830bdc50d291fd080a3052f41aae93a137 (patch) | |
tree | cbab3f0a7f39fd558c8b4dea96c3c6854f187ccd /npc/functions | |
parent | 4d78bfb741dbaad9b7119ee15cffb84da3a90a2a (diff) | |
download | serverdata-4ce577830bdc50d291fd080a3052f41aae93a137.tar.gz serverdata-4ce577830bdc50d291fd080a3052f41aae93a137.tar.bz2 serverdata-4ce577830bdc50d291fd080a3052f41aae93a137.tar.xz serverdata-4ce577830bdc50d291fd080a3052f41aae93a137.zip |
Cleanup clientversions.txt - Client Updater - from the excess junk
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/clientversion.txt | 144 |
1 files changed, 4 insertions, 140 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index f21de5c5c..ea8af1be2 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -24,69 +24,13 @@ function script clientupdater { } .@dg=0; - // ERROR fixing - if (UPDATE == 1565039378 && #UPDATE < 1565039378) { - getitem MysteriousFruit, 1; - UPDATE+=1; - #UPDATE=1565039378; - dispbottom l("Received one @@ as August daily login bug Token of Apology!", getitemlink(MysteriousFruit)); - } - // Update handler (use `date +%s` for this) - // Current UPDATE value: Qui Jun 7 08:10:55 -03 2018 - if (Lang > 5 && UPDATE < 1528369855) { - UPDATE=1528369855; - Lang=0; - mesn "Jesus Saves"; - mesc l("Oh, noes! Due lack of translators, some languages were removed from this project."); - mesc l("You might have been affected. Please, select your desired language."); - asklanguage(LANG_IN_SHIP); - } - // Report client version for debugging purposes - if (is_admin() && UPDATE < 1528369855) { - UPDATE=1528369855; - dispbottom l("Client Version: @@", ClientVersion); // This is to debug UPDATE system. - } + /* // New skills introduced if (UPDATE < 1531786864) { UPDATE=1531786864; skill TMW2_FAKESKILL, 1, 0; skill TMW2_FAKESKILL2, 1, 0; } - // Update new quest exp, and make sure you have the extended basic skills with you - if (UPDATE < 1545228412) { - UPDATE=1545228412; - adddefaultskills; - if (getq(TulimsharQuests_Fishman) >= 2) - getexp 12, 0; - if (getq(MineQuest_Tycoon) >= 3) - getexp 250, 0; - if (getq(MineQuest_Tycoon) >= 6) - getexp 642, 0; - if (getq(MineQuest_Tycoon) >= 9) - getexp 100, 0; - if (getq(MineQuest_Tycoon) >= 12) - getexp 2435, 0; - if (getq(MineQuest_Tycoon) >= 15) - Zeny=Zeny+1000; - if (getq(TulimsharQuests_Sailors) >= 2) - getexp 200, 0; - if (getq(TulimsharQuests_Devoir) >= 1) - getexp 500, 0; - if (getq(TulimsharQuests_AnwarField) >= 11) - getexp 650, 0; - if (getq(TulimsharQuests_WoodenSword) >= 2) - getexp 1100, 0; // Off value on purpose - if (getq(MineQuest_Caelum) >= 2) - getexp 2000, 40; - if (getq(HalinarzoQuest_Foxhound) >= 6) - getexp 1500, 0; - if (getq(HalinarzoQuest_TraderKing) >= 2) - getexp 5000, 0; - if (getq(HurnscaldQuest_Bandits) >= 8) - getexp 1000, 0; //getexp 5000, 0; - - dispbottom l("Your experience level has been updated."); - } // Gallery Contest and 2019-12-29 no-drop incident // ter jan 8 03:52:20 -02 2019 if (UPDATE < 1546926740) { @@ -194,42 +138,6 @@ function script clientupdater { if (getq(MineQuest_Tycoon) >= 15) getexp 43000, 0; } - // Update Karma for the flexibility I need - // sex mar 15 18:10:00 -03 2019 - if (UPDATE < 1552684200) { - UPDATE=1552684200; - if (Karma >= 250) - Karma=98; - else - Karma=100+Karma; - } - // Update Tycoon quest Miner Knife + Hinnak & Oscar Scythe + @ucp - // ter mar 26 10:00:22 -03 2019 - if (UPDATE < 1553605222) { - if (UPDATE <= 1551626524) { - if (getq(MineQuest_Tycoon) >= 6) { - getitem MinerKnife, 1; - } - } - if (getq(HurnscaldQuest_Farmers) >= 2 && getq(HurnscaldQuest_Farmers) < 5) { - getitem Scythe, 1; - } else if (getq(HurnscaldQuest_Farmers) >= 5) { - getitem CottonBoots, 1; - } - .@dg=1; - mesc l("WARNING: Use @ucp to change @@.", b(l("GAME SETTINGS"))), 1; - mesc l("New default game settings:"); - mesc l(" - Soul Menhir auto-saving"); - mesc l(" - Daily Login Screen"); - mes ""; - mesc b(l("These can be reverted to previous behavior on User Control Panel!")), 3; - mes ""; - if (countitem(LEGACY_MiereCleaver)) - mesc l("Your @@ Knockback effect expired.", getitemlink(LEGACY_MiereCleaver)), 1; - if (countitem(LEGACY_Broadsword)) - mesc l("Your @@ Knockback effect expired.", getitemlink(LEGACY_Broadsword)), 1; - UPDATE=1553605222; - } // Shovel Auto-dig option // seg mai 27 21:22:55 -03 2019 if (UPDATE < 1559002975) { @@ -241,10 +149,6 @@ function script clientupdater { // sex jun 21 13:20:21 -03 2019 if (UPDATE < 1561134021) { UPDATE=1561134021; - if (Karma >= 200) - Karma=98; - else if (Karma < 80) - Karma=100+Karma; if (getq(General_Narrator) >= 3) getitem MercBoxAA, 1; // Well, you don't need this crap I hope... @@ -416,7 +320,7 @@ function script clientupdater { setarray .@levelval, 48, 66, 60, 39, 40, 28, 25, 26, 17, 10, 10, 8, 23; setarray .@overflow, 25762, 338713, 55746, 1275, 14516, 504, 2855, 640, 360, 0, 277, 18, 598; - */ + * / // Open Beta 2019 .@ranking=array_find(.@officialnick$, .@u$); @@ -686,47 +590,6 @@ function script clientupdater { dispbottom l("Thank you for being with us for so long. You gained a %s as a random good-hearted action from the team!", getitemlink(StrangeCoin)); } } - // Quest Changes - // sáb fev 8 04:15:47 BRT 2020 - if (UPDATE < 1581146147) { - UPDATE=1581146147; - // Lt. Paul new rewards - .@fc=getq(HurnscaldQuest_Lieutenant)+1; - // Default is < 10 (ie. not on extension) - // This is a huge implicit fallthrough, - // Making you inheir all previous rewards - switch (.@fc) { - case 16: - getitem ElixirOfLife, 1; - getitem PrismGift, 1; - getitem MylarinDust, 1; - case 15: - getitem YerbaMate, 1; - getitem PrismGift, 1; - getitem MysteriousFruit, 1; - case 14: - getitem JasmineTea, 1; - getitem GoldenGift, 1; - getitem MercBoxEE, 1; - case 13: - getitem OolongTea, 1; - getitem GoldenGift, 1; - getitem SacredLifePotion, 1; - case 12: - getitem SpearmintTea, 1; - getitem SilverGift, 1; - getitem PrecisionPotion, 1; - case 11: - getitem ChamomileTea, 1; - getitem SilverGift, 1; - getitem WhiskeyAle, 1; - case 10: - getitem Coffee, 1; - getitem BronzeGift, 1; - getitem Grenade, 1; - dispbottom l("Lt. Paul unclaimed rewards REDEEMED."); - } - } // Language over simplification // dom fev 16 14:54:30 BRT 2020 if (UPDATE < 1581875670) { @@ -858,7 +721,7 @@ function script clientupdater { /* debugmes "Debug skill %s - Lv %d", getskillname($@MSK_MAGIC[.@i]), getskilllv($@MSK_MAGIC[.@i]); - */ + * / if (getskilllv($@MSK_MAGIC[.@i]) > 1) { .@msp=(getskilllv($@MSK_MAGIC[.@i])-1); MAGIC_PTS-=.@msp; @@ -956,6 +819,7 @@ function script clientupdater { dispbottom l("Invalid recipe from Nahrec partly reimbursed."); } } + */ // Christmas Warp bug // seg dez 28 20:45:55 BRT 2020 if (UPDATE < 1609199155) { |