7640 Commits

Author SHA1 Message Date
Kisuka
8432d2ebda Changes from Chapter 11:
- Rates and Items in some item givers changed.
- Ice Cream Maker disabled.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13428 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-01 02:52:50 +00:00
FlavioJS
89d683d668 * Changes to the script engine:
- new stack datatype script_retinfo for C_RETINFO to hold all the return state info that was being stored in the stack. (the script engine in 64bit-ready now)
- pop_stack is responsible for adjusting all the stack pointers.
- push_* returns the created script_data.
- 'return' only converts to value scope variables of the current scope.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13427 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-31 15:54:33 +00:00
FlavioJS
cb8ef12df8 * Changes to the script engine:
- script ends when run_func can't find the buildin command. (script engine error)
- run_script_main doesn't change RERUNLINE to RUN automatically, the buildin command that set it is responsible for that now. The buildin command can use this to detect a rerun.
- created functions to alloc/free a script_state.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-30 03:27:46 +00:00
sketchyphoenix
77044b9042 Removed a trailing argument left in r13420
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13425 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-30 02:13:01 +00:00
L0ne_W0lf
109c2048da Marked new Morroc fields as nomemo.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13424 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-30 01:14:36 +00:00
L0ne_W0lf
23f6662b0b Fixed Econ values in agit_template. Commited by accident, as it's not finished.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13423 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-29 21:28:26 +00:00
L0ne_W0lf
0f671dc55a - Corrected issues with the Keil Hyre quest. (bugreport:2511)
- Corrected minor typo in alchemsit quest. (bugreport:2530)
- High Aco is now given skills on change. (bugreport:2552)
- Added item checks to Ice Necklace quest.
- Uncommented a warp in morroc_fild.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13422 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-29 21:22:35 +00:00
ultramage
c0c7bb3166 Fixed broken card insert code (bugreport:2606).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13421 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-29 21:10:37 +00:00
sketchyphoenix
590bdb332d * Added missing command #delitem.
* Fixed charcommand behavior where those that can accept a name with no additional parameters 
	  being able to execute under said player's name with the name as a parameter.(bugreport:2601)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-29 04:36:14 +00:00
sketchyphoenix
472769518b Corrected typo in @adjcmdlvl's parameter check.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13419 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-28 23:06:10 +00:00
ultramage
ac66afa042 Cleaned up code for inserting cards into items.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13418 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-28 23:04:50 +00:00
zephyrus
d33dce2ac2 - Book reading script command.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13417 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-28 17:08:51 +00:00
Kisuka
18841adcc2 Some bug fixes. (bugreport:2558, bugreport:2588, bugreport:2583, bugreport:2587)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-27 16:53:31 +00:00
L0ne_W0lf
8ac8481d25 Happy boxing day, eAthena! Here have a massive update.
* Implemented the first round of episode 12.1 change which include:
- Many Morroc NPCs have been moved to Morroc Ruins.
- The addition of new of NPCs to the ruins of Morroc.
- Several warp points leading around Morroc altered.
- The implementation of the continental Guard Quest.
- The removal of the 'Dandelion's Request" quest.
- This update contains several changes, as Morroc and several fields no longer exist in one sense of the word. AS such, many NPCs have been moved, there may be quests that no longer function because of NPCs on inaccessable maps.
* Commented out maps no longer accessable with 12.1 in maps_athena.conf
* Updated mob_skill_db episode 12.1 skills to official.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13415 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-26 06:58:19 +00:00
FlavioJS
7263ae4f45 * Extended sv_escape_c to escape '\a','\b','\t','\v','\f','\?' characters to their respective representations instead of octal.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13414 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-25 22:05:16 +00:00
sketchyphoenix
4a5a9de682 * Charcommands no longer default to self if no target is found.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13413 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-25 21:38:51 +00:00
Paradox924X
1e0c8ef075 Added a check in The Sign Quest for Sign_Branch8A before attempting to run a delitem on items not needed based on Path taken.
On a side note, Merry Christmas/Happy Holidays to everyone. =]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13412 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-25 06:58:40 +00:00
Paradox924X
234d3d663b Small update to the checkweight in Christmas 2005 Event. (bugreport:2553)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-23 08:19:26 +00:00
sketchyphoenix
b9a1343eaa * Added a few missing atcommands.
* Added more commands to configurations (bugreport:2565)
	* Added a missing charcommand symbol config to atcommand configs.
	* GM command configs under the old format will have a warning printed back to the console as being deprecated.
	* Other fixes/cleaning partially resolving bugreport:2549

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13409 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-23 02:06:21 +00:00
ultramage
285441dd41 Fixed incorrect usage of sv_escape_c() in TXT's login_log function, which produced malformed log entries (caused by r12489).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13408 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-22 16:42:56 +00:00
FlavioJS
d55642d64c * Extended how duplicates work: (based on Orcao's work in bugreport:2361) [FlavioJS]
- you can duplicate warps/shops/cashshops/npcs (before only npcs could be duplicated)
- warp duplicates inherit the target location
- shop/cashshop duplicates inherit the item list
- npc duplicates inherit the script code (backward compatible behaviour)
- updated script_commands.txt with the information

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13407 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-20 22:57:29 +00:00
ultramage
99fd15915e some minor generic cleanups
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13406 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-20 20:50:26 +00:00
L0ne_W0lf
60c0e7486f Added additional maps.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13405 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-18 04:42:43 +00:00
L0ne_W0lf
9a3df85ace Semi-reverted r13396. All item bonuses from past events can be found in item_db2.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13404 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-18 03:10:35 +00:00
sketchyphoenix
76ff905e03 Removed charcommand code while allowing atcommand code to support its functionality.
Charcommands still retain their '#' symbol but now looks for a character name as the first parameter instead of last.
Atcommand configs now support charcommand level configurations by comma seperation (e.g. 60,99)
As a result of this, all atcommands that don't affect multiple users already (@kickall, @doom, @mapexit) are capable of remote usage.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13403 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-18 02:36:01 +00:00
Kisuka
cb049336a5 Various bug fixes. (bugreport:2535, bugreport:2531, bugreport:2526)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13396 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-13 05:10:45 +00:00
Kisuka
ae93591ab9 Some bug fixes to item_db.txt (bugreport:2520, bugreport:2522)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13395 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-09 00:57:22 +00:00
L0ne_W0lf
e23ec98ff9 Added new, and for the time being, useless, 'quest_db'.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13394 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-06 02:42:20 +00:00
ultramage
ca5448b311 * Fixed rare crash when using Flying Kick on clones (bugreport:2506)
* Corrected Flying Kick's debuff rules to match official servers
- only works on players
- soul linkers and stalkers with Preserve active are immune
- only removes Berserk Potion, Kaahi, Kaite, 1HQ, AAR and Soul Links

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13392 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-01 22:48:05 +00:00
Kisuka
43ca8d9224 Bug Fixes:
- Added Veins to nopvp mapflag. (bugreport:2504)
- Corrected weight on some items. (bugreport:2471)
- Corrected typo on Kiel Hyre Quest. (bugreport:2507)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13391 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-01 19:05:34 +00:00
Kisuka
f2ba968a5e Fixed typo on item script.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13390 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-29 23:52:24 +00:00
Kisuka
21b9d65513 Bug Fixes:
- Check if user has zeny. (bugreport:2498)
- Fixed typo. (bugreport:2473)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13389 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-29 18:36:09 +00:00
FlavioJS
0e6e32a833 * Fixed a memory leak when returning a string variable in the script engine. (since r9864/r9865, fixes bugreport:2488)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13388 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-27 01:04:14 +00:00
Kisuka
af9aaee213 - Oops, forgot lutie and had payon and prontera backwards.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13387 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-27 00:05:12 +00:00
FlavioJS
1ddbd85a25 * Fixed a va_end using the wrong variable. (from r13383, fixes bugreport:2483)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13386 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-24 18:21:59 +00:00
FlavioJS
609da40fd7 * Readded code that was removed from atcommand_showmobs by mistake in the previous commit. (r13383)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-23 02:07:17 +00:00
FlavioJS
7ae74b588b * Hunted down improper uses of va_list variables.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13383 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-22 23:54:34 +00:00
jmanfffreak
25f95d2a7c * Updated effects for the Radio Antenna (bugreport:2465)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-22 23:31:21 +00:00
jmanfffreak
ebafbd8e10 * Fixed small typo with Platinum Shield (bugreport:2470)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-22 23:15:32 +00:00
FlavioJS
72542d65cc * Hunted down the simpler 64bit pointer truncations.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13380 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-22 15:44:17 +00:00
Paradox924X
1fb636de8a Fixed typos in var names from EIN_LOVERQRQ to EIN_LOVERQ in Einbroch Lovers Quest. (bugreport:2464)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13379 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-22 07:38:12 +00:00
ultramage
ae7050eb1a Added setting of state.speed_changed in script function 'npcspeed'.
Should fix the walking npc display problem (bugreport:2434).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-20 20:50:50 +00:00
L0ne_W0lf
8f4832ca4c - Removed redundent input from mercenary vendor. (bugreport:2427)
- Corrected Wolfheiden and Mithril magic cape skill levels. (bugreport:2431)
- Corrected 12.1 monsters using penuma on target not self. (bugreport:2435)
- Fixed delitem causing the sign quest to fault. (bugreport:2444)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13376 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-18 18:14:18 +00:00
L0ne_W0lf
c59a3add22 Autotrade characters will no longer get caught by Urgent Recall. (bugreport:2447)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13375 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-18 17:16:06 +00:00
ultramage
859cb0ad08 followup
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13374 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-17 15:47:29 +00:00
zephyrus
bd429b5a92 - Some "expire_time" = 0 considerations. Please update. (Bugreport 2451)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-17 15:43:13 +00:00
Kisuka
fab4e27896 Kisuka's first oops. :p
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-16 19:32:12 +00:00
Kisuka
3c6b5afefd Updated rental items with rental item script.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13371 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-16 19:21:36 +00:00
zephyrus
c830a56da3 - Item Rental System.
Script Usage:
- rentitem <itemid>,<seconds>;
- rentitem <itemname>,<seconds>;

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-16 16:14:30 +00:00
zapbomb
5597a4fb60 Corrected wrong treasure spawn position in schg_cas01.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13369 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-13 18:48:56 +00:00