48 Commits

Author SHA1 Message Date
brianluau
d4ce4633b4 - Moved the Zeny subtracting in the custom eAAC coin banker, so that the
script aborts _before_ giving items, not afterwards. (bugreport:4057)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14246 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-16 22:07:11 +00:00
ultramage
df78683650 Moved the delitem() call in the custom eAAC coin banker, so that the script aborts _before_ giving zeny, not afterwards.
This fixes an infinite zeny exploit in the npc (bugreport:4057).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14244 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-13 17:06:31 +00:00
ultramage
bae7ecf012 Reverted the "The md5() of their kafra code is now stored in #kafra_code$" change from r13728.
Added md5calc to vs8/vs7/vs6 project files.
Applied svn:eol-style to the new sql upgrade file.

Note that if you already applied the sql upgrade, your kafra passwords are lost.
Also note that txt users will still have to implement their own migration code into the kafra scripts since it was omitted in the previous commits.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13729 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04 12:29:54 +00:00
brianluau
53998c9f3d * Added the md5() script command. (follow up to r13719)
- Changed kafra storage password to be stored as md5 hash in #kafra_code$.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04 08:22:53 +00:00
brianluau
791429c7b0 * Removed the obfuscation of the #kafra_code password. (bugreport:2323)
TODO: add a 'md5()' script command and use that instead.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03 04:30:20 +00:00
shadow
a98253bcc4 Converted skill commands integers to strings. Follow up on r12814
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12819 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-13 10:13:14 +00:00
Paradox924X
808d290ab6 Fixed a line in eAAC Quest Warper causing crashes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11973 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-23 18:44:07 +00:00
L0ne_W0lf
b95f742af8 Fixed some NPC headers in the custom scripts.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02 22:38:33 +00:00
L0ne_W0lf
98f7de7a57 * Some NPC and CONF file clean up. More duplicate removal.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11645 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02 22:02:39 +00:00
ultramage
e7e0ddde9d Fixed certain typos in src/npc/doc files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-01 08:14:36 +00:00
ultramage
8ce46993a7 - added proper comments to login packet 0x277
- added a missing \n to one login server warning
- silenced one "dc[4] might be uninitialized" warning
- fixed an apparently wrong abra_db.txt entry (venom splasher: 40000)
- removed .gat from the remaining npcs

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-10 10:52:30 +00:00
ultramage
f26bc90351 * Added a null-pointer check to skill_initunit() to prevent a crash
* Added a while() loop to the client packet processor (for performance)
* Added support for kRO 2007-05-14aSakexe langtype 0 login packet 0x2b0
* Added Job_Baby_Alchemist define to complement the Job_Alchemist update
* Added custom Hollow Poring mob_db2 entry

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-06 19:05:37 +00:00
ultramage
a6cd45f05d * Fixed north prontera kafra having an empty warp list
* Removed junk ЎA text from the 2004 headgears
* Changed deprecated Job_Alchem to Job_Alchemist (see r10904)
* Fixed a typo in a geffen city npc (Job_Merhcant)
* Fixed a typo in the Jobmaster custom script (Job_Gunsliger)
* Fixed one old eAAC Quest Warper bug (warp to nonwalkable coords)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-31 21:27:01 +00:00
eaac
2c93dd07f6 * Update to the eAAC Scripts (don't ask...). [eAAC]
*= Removed disguiser.txt as it seems to error, thus failing to comply with eAAC terms

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10801 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-21 21:15:39 +00:00
ultramage
0dc548c5f7 npc header consistency update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10759 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-14 08:29:20 +00:00
Lupus
c6d5f38b75 removed all .GAT from all the scripts and tested
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 20:32:55 +00:00
ultramage
4ca0b15de3 EOL-styled some more files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9947 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-02 00:11:54 +00:00
ultramage
3266ced856 More typo fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-26 15:01:39 +00:00
ultramage
e034ce07bb Typo hunt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-21 12:12:04 +00:00
ultramage
af4ac5e72c Synchronization of the trunk&stable npc directories
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9683 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-21 11:40:27 +00:00
FlavioJS
1f54e62d13 - Updated some functions calls that where using the wrong number of arguments with checkcart,checkfalcon,checkriding,getgmlevel,basicskillcheck.
hmm, maybe I should add a config option for lazy scripter that still want to run script code that uses too many arguments

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-09 17:59:27 +00:00
skotlex
fa1c4b2e47 - Simplified the global function "getJobName"
- Simplified function agitcheck so it isn't crash prone. Now it takes no arguments, and will return whether WoE is on or not.
- Updated bundled scripts as required for this change.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9559 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-22 15:38:30 +00:00
FlavioJS
637ae9a4dc - Massive EOL normalization & 'svn:eol-style native' flag setting for all txt/conf/h/c files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-05 13:23:07 +00:00
eaac
d1a65b601a - Updating Thanatos quest with a check to prevent multiple Thanatos spawning.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9329 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-27 18:20:15 +00:00
Lance
d4e444ebd4 - Removed security check since source level patch is applied. Reverted select(), created prompt().
modified   Changelog-Trunk.txt
modified   npc/airports/airships.txt
modified   npc/cities/amatsu.txt
modified   npc/cities/gonryun.txt
modified   npc/cities/hugel.txt
modified   npc/cities/lighthalzen.txt
modified   npc/cities/niflheim.txt
modified   npc/cities/valkyrie.txt
modified   npc/custom/eAAC_Scripts/disguiser.txt
modified   npc/custom/eAAC_Scripts/quest_warper.txt
modified   npc/custom/jobs/jobmaster.txt
modified   npc/events/idul_fitri.txt
modified   npc/jobs/1-1e/gunslinger.txt
modified   npc/jobs/1-1e/ninja.txt
modified   npc/jobs/novice/novice.txt
modified   npc/merchants/kunai_maker.txt
modified   npc/merchants/novice_exchange.txt
modified   npc/merchants/refine.txt
modified   npc/other/comodo_gambling.txt
modified   npc/other/dts_warper.txt
modified   npc/other/marriage.txt
modified   npc/other/powernpc.txt
modified   npc/quests/Lvl4_weapon_quest.txt
modified   npc/quests/gunslinger_quests.txt
modified   npc/quests/quests_ein.txt
modified   npc/quests/quests_umbala.txt
modified   npc/sample/monster_controller.cpp
modified   src/map/script.c



git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20 10:11:20 +00:00
Lance
e291dd077e Applied security patches. PLEASE CHECK THEM ALL.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9260 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-19 05:12:30 +00:00
Lupus
959443e036 Another one set of fixes for the scripts syntax
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9166 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-07 20:01:15 +00:00
Lupus
7367e7aa5f Many small scripts fixes - tabs, parenthesis, typo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9137 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-04 22:59:57 +00:00
eaac
6590375b56 * eAAC Update to the banker.(stable version has NO class...err it was outdated by far.) [erKURITA]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05 08:56:07 +00:00
eaac
be6d9fb12d * eAAC update. Will put in Dj-Yhn's Donation Girl (TXT) as soon as boards are back up...[erKURITA]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8529 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-29 12:48:44 +00:00
skotlex
4a27d643ce - Modified yet again SC_SILENCE after iRO tests from Entwined on IRC. Silence now ONLY blocks skills from being used, it will not stop on-going casts.
- Updated status_cast_cancel to also include silence (so the cast bar is cancelled if you are silenced during it)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03 15:00:02 +00:00
eaac
82fc0a468e - eAAC update to Donation Girl.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8026 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 13:47:11 +00:00
eaac
67e00b4d53 *eAAC Update to donation girl. [erKURITA]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7461 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-03 22:53:27 +00:00
eaac
d4f3010f51 * Added Rachel NPCs:
~ Added Official warps of Rachel. About 50% of them. Will get the rest soon. [erKURITA]
	~ Added the Tool/Armor/Weapon dealer, aswell as a Vegetable Gardener. [erKURITA]
	~ Added the guards + guide locations. Also added the Zondaman location. [erKURITA]
	~ Added Rachel Inn npc. [erKURITA]
\- Special thanks to RockmanEXE for all the info above.
* eAAC update to the vending machine, disguiser and quest warper. [erKURITA]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7349 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-27 00:50:05 +00:00
Playtester
db2a9e7c96 * Commited Silent's Fix to the duplicate NPCs
- needs testing
- can't be fully fixed because of length limitation of names

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7200 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-16 10:02:18 +00:00
eaac
137fc4ee06 * eAAC update:
- Added Vending Machine, made by Celestria.
	- Updated and fixed Coin Banker, by me :P.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7090 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-11 16:35:39 +00:00
eaac
80fd709fbb - eAAC Update for Donation Girl [erKURITA]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6694 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 13:07:47 +00:00
eaac
6a3fbf2605 * eAAC Update + Fix [erKURITA]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6682 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 20:10:42 +00:00
eaac
200ad25417 * functions_kafra.txt was pretty buggy, including a zeny exploit (free warps). Thanks to OZ over IRC for pointing out. It needs more optimization too. [erKURITA]
* eAAC Update: quest_warper.txt [erKURITA]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6293 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-26 16:45:57 +00:00
eaac
9b5bfcc015 eAAC Update:
- Whoops, eAAC members made a mistake with scripts and I didn't notice => Quest Warper.txt [erKURITA]
- Added quest_warper.txt and banker.txt to npc\customs\eAAC_Scripts. [erKURITA] (Stable log)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6175 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-19 14:04:54 +00:00
eaac
3451a74569 eAAC Update:
* Added quest_warper.txt and banker.txt to npc\customs\eAAC_Scripts. [erKURITA]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6173 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-19 13:45:51 +00:00
eaac
23599bc5a7 ~ eAAC Update:
* Added quest_warper.txt to eAAC_Scripts. [erKURITA]
* Deleted the sql and txt versions of the disguiser and added a merge of both. [erKURITA]
* Deleted clone_arena.txt. [erKURITA]
* Updated global_functionsKE.txt of Skotlex. [erKURITA]
* Added woe_time_explanation.txt to explain how to set WoE times. [erKURITA]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6068 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-15 00:16:48 +00:00
MasterOfMuppets
a8bc082afc bah
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5577 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-12 14:42:08 +00:00
MasterOfMuppets
a1fe545585 Another eAAC update.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5576 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-12 14:40:41 +00:00
MasterOfMuppets
ef285b6e9f eAAC updates.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5575 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-12 14:35:00 +00:00
skotlex
67e039e791 - Updated mob_db.sql and item_db.sql to latest.
- Modified mob_db's HP column to be an int.
- Fixed the included global_functions file for the Kafra Express script.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5507 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 03:33:48 +00:00
Vicious
c8af6f6973 fixed clone arena
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5445 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03 09:01:19 +00:00
Vicious
2ccf291664 eACC scripts.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 18:50:09 +00:00