2677 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
jmanfffreak
eed5fc395a Fixed location error in Blacksmith quest. NPC said Alberta, NPC location in Einbech (bugreport:2401)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13335 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-28 23:48:16 +00:00
jmanfffreak
7225261b15 Fixed minor typo in tu_archer script (bugreport:2393).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13334 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-28 23:33:43 +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
2df3de1596 Removed leftovers of "bLoseSPWhenUnequip" and "bDamageWhenUnequip" -- deprecated in r6204.
Item 2385 was still using bLoseSPWhenUnequip -- fixed.
npc/custom/events/xmas_rings_event.txt still uses both in conjunction with setitemscript. Someone will need to make it so equip and/or unequip scripts change be changed as well, or find an alternative solution.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-28 00:50:32 +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
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
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
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
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
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
ultramage
5b970f8c18 Fixed clif_changelook betraying the presence of gm-hidden players (bugreport:2283).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-27 11:28:28 +00:00
L0ne_W0lf
339fd39352 Corrected Lex Divina not showing animation on fail. (bugreport:1740)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13226 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-21 13:36:57 +00:00
L0ne_W0lf
80ddaaca35 Corrected Offensive Res using Turn Undead cast time. (bugreport:1704)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13225 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-21 13:03:29 +00:00
L0ne_W0lf
de1a2bb0ac Removed a few out of date messages from msg_athena, and updated some others.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13204 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-11 22:15:23 +00:00
L0ne_W0lf
331e0a0a15 Enabled WoE SE to be run independently of WoE. Let's see how long it is before something blows up, or Ultramage pulls out his hair while cursing my existence.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13202 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-09 17:33:10 +00:00
L0ne_W0lf
02e80513d3 * Updated mmo.h, increased merc max count to 36.
* Fixed save crash related to non-guilded mercenaries.
* Removed job and level restriction on Mercenary ASPD potions.
* Added Monster Mercenaries using mobs original stats.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13192 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-04 23:41:59 +00:00
ultramage
cf57c2fc20 Removed hardcoded equip position names from getequipname (bugreport:2156).
Now it's the npc's responsibility to store and display the names.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13171 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-01 08:06:46 +00:00
ultramage
8fcc1c7432 Fixed @cash/@points not handling negative values properly (bugreport:2132)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13145 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-28 03:55:21 +00:00
sketchyphoenix
c8fec27dfe * pc_isGM() checks in gm_cant_party config checks will now check against being lower or higher than lowest_gm_level config.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13143 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-27 19:47:26 +00:00
sketchyphoenix
b30900cce1 * Fixed @agjgmlvl bug preventing its use on other players. (bugreport:2124)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13138 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-26 06:10:57 +00:00