4121 Commits

Author SHA1 Message Date
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
FlavioJS
f74b445add * Updated script_commands.txt
* Made scripts terminate with an error: (fixes bugreport:2429)
- when getitem/getitem2 tries to delete more items than the player has
- when trying to set Zeny to a negative number.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-11 04:02:48 +00:00
Paradox924X
227444c5d6 Added a check to make sure killed monster's level was greater than half of the mercenary owner's level before incrementing mercenary's killcount. (bugreport:2410)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13367 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-10 04:05:59 +00:00
ultramage
2016dd0599 Cleaned up mob_readskilldb() a bit (moved row processing to its own function).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-08 01:31:08 +00:00
L0ne_W0lf
cd70b692e7 Changed how mobcount works since it wasn't counting last mob death. (bugreport:2419)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13358 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-08 00:33:58 +00:00
FlavioJS
d474fff85a * Fixed 'Char creation denied' message not being sent properly.
- Number 2 didn't exist in old clients so it used the default message, now it exists so the wrong message is displayed.
- Changed 2 to 0xFF to get the default message.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13356 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-06 20:23:33 +00:00
ultramage
caa8b3ed2a some minor tweaks to previous commits
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13355 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-06 06:40:14 +00:00
Sara
61c3fbb337 Fix of accident in 13353
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13354 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-06 04:46:51 +00:00
Sara
f772c39910 * Fixed the maximum level of Create Elemental Converter. (bugreport:2326) [Sara]
* Fixed issue preventing you from changing to the original cart when using Change Cart. (bugreport:2383) [Sara]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-06 04:30:35 +00:00
ultramage
cdea1dc7b2 stop erasing revision history, damnit...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13345 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-02 22:27:34 +00:00
sketchyphoenix
e6948a5344 * Added charcommands again. Wrong project.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13344 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-02 22:12:33 +00:00
sketchyphoenix
aea361cf91 Removed charcommands from the source.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13343 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-02 22:07:09 +00:00
sketchyphoenix
8ec09d7121 slight cleanup for r13336
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13339 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-30 15:28:51 +00:00
ultramage
a8929509cc Small cleanup of r13321/r13322/r13331.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13338 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-30 06:32:10 +00:00
ultramage
98ba2dd843 Small cleanup of r13332 (bugreport:2368).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13337 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-30 06:06:28 +00:00
sketchyphoenix
a09c05061a * Novice skill, Trick Dead, will no longer be granted to classes upon reset (save for Novice and Baby) (bugreport:2312)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13336 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-29 13:22:47 +00:00
Paradox924X
787268e492 Made script command "unequip" call status_calc_pc. Thanks to Orcao. (bugreport:2368).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13332 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-28 05:50:48 +00:00
Paradox924X
0381279f21 Fixed all overflow checks and made the code a bit cleaner from r13322.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13331 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-28 05:45:34 +00:00
Paradox924X
58a0da9e75 Added protection from segfault by int overflow in charcommand heal and fixed a typo in atcommand heal. (Follow-up to r13321)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13322 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-24 21:32:59 +00:00
Paradox924X
53264778f7 Added protection from segfault by int overflow in atcommand heal. (bugreport:1886)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13321 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-24 21:18:15 +00:00
Paradox924X
7659437737 Commented out unused function clif_marriage_process.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13320 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-24 18:38:59 +00:00
Paradox924X
7224f76a0a Added a check to make sure a player wasn't in a guild when they accepted a guild invitation. This fixes a few possible problems that could/would arise.
(Zomg. My first source commit. =x)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-21 07:59:09 +00:00
sketchyphoenix
c8ee515fed * Corrected a target checking problem brought about with Kaizel/Osiris combination.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13308 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-18 21:17:34 +00:00
FlavioJS
2f4acc9ad7 * Added missing char_sql/int_mercenary files to txt-converter's Makefile.in
(run the configure script after updating to rebuild the Makefile's)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13302 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-16 17:32:10 +00:00
skotlex
0167134620 - Added the required changes to support the 2008-09-10+ clients
- Cleaned around the char set offline function to properly avoid setting offline a character that had relogged faster than the map server's packet arrival to the char-server (I presume this was the bugfix that Kevin attempted a long time ago, but the current code for that causes a dangling pointer problem).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13293 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-15 12:31:16 +00:00
FlavioJS
c0e0d9924a * Fixed ipban sql connecting to the sql server when disabled
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13292 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-15 12:12:14 +00:00
ultramage
2d9497a09d Fixed multiple casts of NPC_REBIRTH interfering with activation of mob death events.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13287 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-12 12:59:34 +00:00
ultramage
ec583fcd36 Fixed silly assignment operator mistake in r13281.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13285 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-12 12:25:53 +00:00
zephyrus
a3824eee1c - Fixed divorce should work on both partners. Bug Report #2339.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13284 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-12 10:31:05 +00:00
sketchyphoenix
0a9fb059bb * Using Kaizel in conjunction with Osiris Card should now work. (bugreport:2251)
* #monsterignore should turn off properly now. (bugreport:2306)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13281 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-11 11:34:28 +00:00
ultramage
7f73f8e594 Code improvement for r13279.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13280 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-11 11:10:04 +00:00
ultramage
19aebb455c Going 90% overweight will now make you stop attacking (bugreport:2315).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13279 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-11 10:23:35 +00:00
ultramage
287402e21b Swapped around packets 0x2b6 and 0x2b7, ought to fix some issues with the quest system.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13278 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-11 07:47:43 +00:00
ultramage
543a78b62f Added safeguards to Redemptio's exp penalty code to prevent arithmetic overflow in case its requirement checks are somehow bypassed (see topic:152196).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13277 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-11 06:57:14 +00:00
ultramage
7bd0715d13 Quick fix to txt charserver initialization order - chardb needs to be ready for parties to load correctly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-11 03:41:10 +00:00
ultramage
494f00e4fb Slightly corrected the NPC_REBIRTH code from r13272.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13274 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-10 10:06:05 +00:00
L0ne_W0lf
5f19f788b4 Updated NPC_REBIRTH. Has it's own values, and no longer leeches off SL_KAIZEL.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-09 17:21:32 +00:00
ultramage
90ad9f3a8c Fixed chat_createnpcchat() not checking if a chatroom already exists, producing memleaks in certain situations (bugreport:2325).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-08 13:15:35 +00:00
ultramage
bf913cb3ba Fixed the 'exp calculation overflow fix' from r10291 which wasn't really working properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13265 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-07 06:38:10 +00:00
L0ne_W0lf
7536205e10 Damage count on rebirthed mobs is now reset. (Valaris)
Changed exp_calc_type to 1, as type 0 seems to be based off old rumour, and to compliment the update to mob_revive.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13264 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-06 20:17:26 +00:00
L0ne_W0lf
f17bc9ba3e voided out clif_blown as per Valaris' instruction.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13263 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-06 11:54:45 +00:00
L0ne_W0lf
5094741787 SC_WEIGHT50 and 90 are no longer removed on death. (bugreport:2316)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13262 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-06 11:26:24 +00:00
ultramage
ef5a49688d Fixed knockback not updating the client position of disguised players (bugreport:2308).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13261 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-06 08:11:49 +00:00
ultramage
b9929bd369 Fixed friends list ack packet using truncated values (bugreport:2310).
Blame goes to r2574.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13260 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-06 08:03:37 +00:00
ultramage
85ef827422 Fixed offline divorce not working properly (bugreport:2295).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13259 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-04 11:32:43 +00:00
ultramage
743c6d45eb Fixed NPC_REBIRTH not working if the caster had no status active at the moment of death.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13258 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-04 11:01:24 +00:00
FlavioJS
12b9def7a8 * Delete ST_LOGIN auth in chrif_disconnectplayer (followup to r13256, bugreport:2292)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13257 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-03 22:23:31 +00:00
FlavioJS
2f1d2b2199 * Fix for "yet another online check bypass technique". (bugreport:2292)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-03 16:30:41 +00:00
L0ne_W0lf
bc3b30a2d3 Kaupe will now trigger from mobs, homuns and mercenaries, as well. (bugreport:2297)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13252 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-01 12:27:51 +00:00
L0ne_W0lf
850cf0d038 * Rev. 13251 Removed 'casttime' adjustment from offensive ressurection. Follow up to r13225.
* Kaahi will now override override higher existing levels previously casted. (bugreport:2296)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-01 11:21:49 +00:00