547 Commits

Author SHA1 Message Date
Paradox924X
b2f667910d Rewrote and reorganized checks in @autotrade to check and display most useful information first (bugreport:4253).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-31 23:54:48 +00:00
brianluau
2dbc188909 - Fixed the Juice Maker's "As many as I can" option. (bugreport:4155)
- Removed a duplicate 'next' in Kiel Hyre Quest. (bugreport:4222)
- Fixed 'checkequipedcard' not counter-checking for signed items. (bugreport:4231)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14294 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-10 00:53:22 +00:00
brianluau
6f7ff85a03 - Fixed a comparison check in OBB quest. (bugreport:4167)
- Fixed the equipment position numbers displayed by @refine. (bugreport:4173)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14281 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-04-10 00:16:06 +00:00
L0ne_W0lf
7a0e11a502 * Implemented NPC_TALK (Credit to SnakeDrak and Daegaladh)
- Also added in the ability to use '@npctalkc' as a GM command.
- Added supporting information to the databases.
- Sneaking in a fix to the Refined Ballista.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-24 03:49:39 +00:00
Inkfish
9622957e11 * Fixed change cart packet doesn't check for skill.
* Added new packets for Plagiarism.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14218 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-15 10:40:18 +00:00
brianluau
ed86db530d - Fixed a typo in Orc's Memory.
- Fixed a weight check in quests_13_1.
- Fixed some grouping variables in the sample PCRE npc.
- Updated SQL item/mob databases to latest.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14216 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-08 19:18:27 +00:00
skotlex
c92ff591f1 - Applied the renewal client support patch from Diablo (eA forum topic 222623)
- Added support for strcharinfo(3) to retrieve the player's map
- Added script command "searchitem" for name item searches.
- Moved PACKETVER to src/common/mmo.h as it's needed by the char-server now
- Changed the status valX from int to long so that it won't break for pointer-storage in other architectures.
- Moved the change party leader code to party.c
- A few bugfixes or packet field completions based on my past experience messing around with my server.



git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14155 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-19 18:19:09 +00:00
brianluau
f3ca552ec5 - Fixed a typo in Strawberry Cake (12319). (bugreport:3702)
- Fixed a typo in Halloween 2009 Event. (bugreport:3711)
- Updated SQL item/mob databases to latest. (thanks Peter)
- Applied the change from r14087 to @tonpc, @shownpc, @hidenpc. (bugreport:3599)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14142 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-11 21:49:50 +00:00
Gepard
f9cff9c6e0 Extended broadcast implementation:
- support for font formatting, like font-size
 - `bc_woe` flag to allow client-side filtering of WoE announcements
 - new broadcast packet 0x40C  

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14120 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03 15:56:54 +00:00
Inkfish
b9c5a5fc32 * Quick fix to char command checking gm level of the target player instead of the command user (bugreport:3255).
* Disalbed @jump/@jumpto usage when dead.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-02 14:31:24 +00:00
Inkfish
da07c3b06e Reverted renaming foreach functions and create a new one for OnTouch so that last commit will hopefully break NOTHING in use.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-25 11:20:47 +00:00
Inkfish
42987f61ad * Implemented the official version of 'OnTouch' named as 'OnTouch_'.(it can be defined in script_athena.conf)
* Adapted 'map_foreachinarea' to 'map_forsomeinarea' so that it allows you to specify the number of bl you wanna operate on.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14097 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-25 09:38:33 +00:00
Inkfish
137e993d52 Partially revert r14085, NPC names are allowed to be more than 24 character long in Aegis.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14087 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-12 08:57:02 +00:00
zephyrus
115d6a3fd0 - Implemented new packets for rental items (from Jobbie and Natz and fixed by me).
- Rental items now can be moved to storage and cart.
- Autotrade cannot be used when user is dead, and it's not dispelled if user dies to prevent abuse.
- Fixed pc_checkitem to do a proper item check and remove.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14082 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-04 21:42:15 +00:00
ultramage
e54bf092d2 Fixed sql char deletion code using a broken pet deletion query (ran very slow, and had a typo in a binary shift operation) (bugreport:3304).
Fixed change r13774 to the code responsible for deciding whether to move 1 extra cell when stopping walking; it had its logic inverted by mistake (bugreport:3312).
Cleaned up the itemlist, cartlist and storagelist gm command code:
- fixed buffer overflows in all three functions (bugreport:456).
- merged all three atcommand functions into a single one; the appropriate behavior is detected from the command's name.
- using the StringBuf class instead of static-size buffers and string operations for more efficient and safe processing.
- using 'jname' (the one without underscores) as the primary item name in the list, and not using the aegis name for cards at all (since it's almost identical).
- fixed forged item details never being displayed due to a missing strcat().
- extended item info (crafted/named items, pet eggs) will now be displayed for storage and cart list as well.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-30 09:21:28 +00:00
Paradox924X
c52de2b250 Minor update to atcommand_jailfor and atcommand_char_ban's modif_p var incrementation for minute-based bans/jails.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-23 21:42:16 +00:00
Paradox924X
f93f3b1e33 Changed a few sprintf's that had no format arguments to strcpy's.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13887 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-13 05:00:57 +00:00
brianluau
04789654b8 - Added 'font' config in atcommand_athena.conf (bugreport:3123)
- Changed some defaults in src to match defaults in config.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13865 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08 16:39:54 +00:00
ultramage
046c8f501f Removed the optional target parameter from atcommand_homshuffle, since the standard #-charcommand mechanism exists for this very purpose (code from r9671).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13788 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-17 20:36:05 +00:00
skotlex
418f0d9200 - Fixed a bunch of invalid memory access bugs as reported by Valgrind.
- Updated unit_stop_walking to not move character an extra cell when it is already half-way there unless flag 0x4 is        passed. (bugreport:3078)
- Fixed the monster MD_CASTSENSOR code not correctly setting the monster's aggressive state.
- Corrected a few compiler warnings
- Changed a bit the code for SC_BOSSMAPINFO so it is not so hideously ugly.



git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13774 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15 10:27:05 +00:00
zephyrus
15a8174e29 - Rental items now can be stackable items too.
- Added @font command to test kRO fonts. (Client side requires : Langtype 0 / Hex + Fonts Files on the data folder).
- Rental now announces with a maximum time to fix a problem with 1 month or more rentals.
- Reduced amount of calculations of Flee on map change (only if required).
- More security on Rental items.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13761 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12 16:47:12 +00:00
sketchyphoenix
67adb599ab (bugreport:2836) A correction of a typographical error with GM command logging.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-31 15:08:57 +00:00
ultramage
0180cacd4e Fixed atcommand_param() using a hardcoded @ symbol, which broke on charcommands and changed atcommand_symbol (bugreport:2918).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13642 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-30 10:18:25 +00:00
Sara
b3860fdc01 * Added support for new status change packet, uses new setting display_status_timers in client.conf.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13613 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24 01:56:16 +00:00
zephyrus
7311750f56 - Bugreport #2800 ( Atcommands usables without restriction :S )
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13547 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-25 06:04:18 +00:00
sketchyphoenix
23f462ad60 Replaced giving dummy sd gm levels in script commands atcommand and charcommand with a check by internal flag.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13546 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-24 01:17:36 +00:00
sketchyphoenix
35dbe82eea * Consolidated is_atcommand() and is_atcommand_sub()
- replaced gmlvl arg with a flag arg for internal/player generated checks. (dummy sds that used this arg are given gm levels)
	- each command check runs through is_atcommand() and is checked for its origin (internal or player generated)
	- charcommands are also parsed in this function.
	- script atcommand/charcommand function calls to is_atcommand() have been updated
	- also updated some clif/map functions calls to is_atcommand()
	* charcommands should now log properly with the target of the command included.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-23 18:32:43 +00:00
ultramage
c2cc0763d9 Increased variable size for status/skill points to remove the 65k cap (bugreport:1579).
Added sql upgrade script to adjust the appropriate char table columns.
This is an enhancement to r5762.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-20 19:47:17 +00:00
FlavioJS
ad963e52e6 * Fixed impropper filling of w4 in npc_parsesrcfile when there are less than 4 fields. (bugreport:1063)
* Simplified atcommand_spiritball. (deprecated msg_txt 204 and 205)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13538 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-19 16:57:01 +00:00
FlavioJS
29183f62d5 * Follow up to r13485. (bugreport:2741)
- @spiritball creates spiritballs without timer (limited to the array size instead of 500)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13509 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-06 18:47:30 +00:00
zephyrus
d4c7aad803 - Implemented new Pet Bonus System. Enjoy!! :D
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-25 20:06:13 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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