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
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
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
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
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
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
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
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