7661 Commits

Author SHA1 Message Date
ultramage
ee76a93424 Fixed a boolean operator mistake in @memo command, caused by r11625 (bugreport:2681).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13459 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-20 11:33:57 +00:00
L0ne_W0lf
d6abaf694d * Rev. 13458 Looooots of bugfixes provided by various people! [L0ne_W0lf]
- Fixed Seal quest checking for oridecon hammer. Again. (Bugreport:2363)
- Fixed some requirements for the socket NPC. (famiong) (Bugreport:2572)
- Fixed a global variable-collision in Z-Gang quest. (Bugreport:2616)
- Fixed issue with Zhed saying things he shouldn't (Bugreport:2627)
- Fixed OnMyMobDwead in Nameless quest issue. (Bugreport:2628)
- Fixed Kyle Hyre script halting on delitem. (Bugreport:2633)
- Added missing part of Peace for Arunafelts (Gepard) (Bugreport:2639)
- Added missing Kafra npc to Comodo. (Daegaladh) (Bugreport:2662)
- Fixed a minor error in Einbroch Tower NPC. (magegahell) (Bugreport:2669)
- Fixed exp reward in Peace for Arunafeltz. (Gepard) (Bugreport:2676)
- Fixed exp reward in Meg. God Seal quest. (Daegaladh) (Bugreport:2677)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13458 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-20 03:44:40 +00:00
zephyrus
551e20a850 - Added support for item effect Ignore Def Rate by Race. bonus2 bIgnoreDefRate,<race>,<%>;
- Added support for item status effects on skills. bonus3 bAddEff,<sc_effect>,<rate>,ATF_SKILL;
- Update to battleground equipment.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13457 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-20 02:19:05 +00:00
Kisuka
0b90c94b7a - Some episode 13.1 accessories. (Changes to Rogue's Treasure now called Thief Ring with different effects)
(Cannot complete Angelic Ring's effect, no such bonus on eA that I can think of)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13454 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-19 03:00:51 +00:00
sketchyphoenix
21b7ebe262 Updated script_commands.txt with the book reading command info.
Added/reworded/removed comments to/in/from r13450

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13451 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-15 12:31:10 +00:00
sketchyphoenix
feb6e94bf5 #commands used by nonGM players now appear in the chat like normal
rather than being processed and ultimately failed, printing out
	  failed command messages that should be visible to only GMs. (bugreport:2637)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13450 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-14 15:18:04 +00:00
FlavioJS
e478e97941 * Added client login packets 0x01fa and 0x027c.
* Other minor cleanups.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13449 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-14 14:03:06 +00:00
sketchyphoenix
7ffc67deaa Corrected a typo in r13444
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13448 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-14 13:37:23 +00:00
ultramage
09be248ca5 Fixed Sql_SetEncoding() returning SQL_ERROR when it succeeds and vice versa (thanks to Rail for noticing it).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13447 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-13 15:44:47 +00:00
FlavioJS
e64c3496a8 * Cleaned up command @users/#users:
- displays everything on the target user (self for @users)
- uses a static array instead of a temporary DBMap
- displays percentages with precision of 0.01%
- uses safesnprintf instead of sprintf

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13446 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-13 12:53:11 +00:00
ultramage
95d25086a6 Mobs with nonzero spawn time can now be cached as well, saving some more cpu/memory (bugreport:1197).
Fixed dynamic mobs being unloaded without stopping their respawn timer.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13445 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-13 10:38:54 +00:00
sketchyphoenix
753620d68c * #command parsing cleaned up.
- Fixed charname reading problems from r13441 
- Corrected agitend typo to agitend2 (bugreport:2654)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13444 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-12 17:49:10 +00:00
ultramage
b80a8cdc87 Added regen_db to reduce hp/sp processing delays (bugreport:2256).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-12 14:26:33 +00:00
sketchyphoenix
3547890011 bugreport:2637
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13441 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-11 19:07:16 +00:00
L0ne_W0lf
b2105f97ff Updated monster modes for battleground NPCs.
Uncommented warp moc_fild02 -> pay_fild04, in morroc_fild.txt.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-06 17:02:28 +00:00
sketchyphoenix
800a0366a5 Added @charcommands to return a list of available charcommands (bugreport:2630)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-05 19:10:03 +00:00
ultramage
578532f577 Moved the 'changed' mailbox flag from shared mmo.h to mapserver-only.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13433 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-05 15:34:09 +00:00
ultramage
f9d21826b8 Fixed @mobsearch and @showmobs (bugreport:2481)
- now only search for mobs on the same map as the caller
- now properly distinguish between dead and alive mobs

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13432 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-05 11:13:14 +00:00
Kisuka
283de6f7a1 - Typo fixes to THQS.
- Few fixes on warper.txt
- Official warp cords for Kafra Teleport Service.
(Someone delete Custom folder already before l0ne kills himself! :<)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13431 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-04 11:18:10 +00:00
zephyrus
5e0c890d8a - Novice quest fix
- 2 missing headgears

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13430 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-02 23:48:36 +00:00
L0ne_W0lf
1bbc7ad39e Removed bonuses from Novice Armlet. C'mon guys. :(
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-02 05:26:05 +00:00
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