876 Commits

Author SHA1 Message Date
shennetsind
2bb3fdceb3 Fixed bugreport:4955 @changegm no longer functions within gvg castles, special thanks to masao
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16099 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-11 22:17:11 +00:00
shennetsind
a7d875ae98 Follow up r16071 Fixed memory thing (if atcommand_suggestions_enabled was disabled it'd allocate the iterators but not free them.)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16082 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-05 04:03:25 +00:00
xazax-hun
ff9de8d82c * Partially reverted r16076. The 2 loops wasn't unnecessary, they use different match strategy.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16078 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-04 21:53:09 +00:00
epoque11
ee483eea0e - Fixed feature.conf improper formatting and removed two unnecessary iterations (follow-up to r16071)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16076 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-04 09:43:31 +00:00
xazax-hun
be17243094 * Implemented an atcommand suggestion system.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16071 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03 19:35:17 +00:00
shennetsind
fae298d8f7 @mi/@mobinfo: Added support for mob FLEE & HIT, dropped SP support (all official mobs have 1 sp).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16032 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 02:15:17 +00:00
shennetsind
d1beddaeb1 Added @accinfo atcommand. "Huge thanks to"/"Credits to" Dekamaster/Nightroad <3.
All the queries are handled by char-server.
You might notice there is a odd way to retrieve job names in char server, this is only temporary until we're done arguing what'd be the best way to do it in char and map server.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16025 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-01 21:57:53 +00:00
shennetsind
535e0712a9 reasonably-sized performance improvement: @reloadscript is about to 3 times faster.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16004 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29 15:47:57 +00:00
epoque11
02e4daf67d - Updated the script engine to make use of the DBMap* structure for storing variables (for Ind <3)
- Fixed missing new-lines at the end of various files causing warnings

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-28 21:50:55 +00:00
xazax-hun
f304ebb056 * Replaced rand() calls with rnd().
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25 18:31:34 +00:00
shennetsind
9d14415b75 Removed pc_cant_newmount since it has been proved newer clients still support them.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15966 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25 11:20:28 +00:00
brianluau
ff15797bc5 - Changed @pettalk /dice to roll random 1-6 (before it always rolled 1).
- Added more /emotions to pet emotion processing.
- Removed the clif_skill_fail so it doesn't spam them with a message 
(the client limits spamming clif_parse_Emotion, but not spamming @commands).
- Follow up to r15009: used clif_emotion constants (see r14518).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15916 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 06:38:03 +00:00
epoque11
15d1f7106f - Updated the at-command system to exchange hard-coded messages with those from the at-command help file
- Amended existing commands to display additional information when no parameters are entered

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21 11:01:56 +00:00
brianluau
5c60eb69e5 - Fixed emperium coordinates in Payon Holy Shadow (payg_cas03).
- Also enforce sd->emotionlasttime for pet emotions.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21 08:26:58 +00:00
shennetsind
a1612031a6 Initial support for Genetic, Sorcerer and Elemental Summons. Special Thanks to 3CeAM for the base.
Notice this revision onwards requires you to update your char sql table and add the elemental sql table (check sql-files/upgrade_svn15885_log.sql)
If you step by any bugs, let us know at http://rathena.org/board/tracker/ Thank you very much.
ARRIBA ARRIBA.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15885 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20 18:05:14 +00:00
technote24
b34833c2d0 =General
*Did some cleaning up and enabled all job lines in job_db 1 and 2.

*Added some more jobs to the pre-re and re exp tables.

*Enabled all typeable job changing names for the job change command.
-Also did some more cleaning and organizing for the list that shows
-when typing the command by itself. This will be the final time I
-touch this until a new job is released.

*Increased MAX_SKILL_TREE to 84 as the Expanded Super Novice/Baby jobs needs it.

=Jobs
*Added 7 new jobs.
-Added jobs are Gangsi, Death Knight, Dark Collector,
-Expanded Super Novice, Expanded Super Baby, Kagerou, and Oboro.
-Note: Keep in mind that Gangsi, Death Knight, and Dark Collector
-are official jobs that were never completed and arnt fully playable
-like other jobs. Im just adding them in since their official and to
-let the curious people out there mess with them.

*Did some major skill tree updates.
-Corrected the required level of SM_RECOVERY needed for LK_CONCENTRATION.
-Fixed a few other trans skill requirements in the 3rd job skill trees.
-Added complete skill trees for Sorcerer, Genetic, Baby 3rd's,
-Expanded Super Novice/Baby, Kagerou, and Oboro.
-Note: Even tho Sorcerer, Genetic, and Kagerou/Oboro skills arnt in
-the server, the skills introduced in these jobs will still be read
-by the server, but will not appear on players skill window until entrys
-are added to the skill_db and skill_requirement_db.
-No error's will be generated when read. So its perfectly safe to leave
-them entirely enabled so skills will slowly appear 1 by 1 as their coded in.
-Also added a pre-tree for Gangsi, Death Knight, and Dark Collector
-jobs for now and added some extra tree lines. These will be worked with in the future.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15876 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20 05:34:53 +00:00
technote24
885a642019 =General
*Added some extra data here and there that will be used in the future.
-Mostly stuff for adding more jobs.
*Corrected how the server listed a few job names. Like Mage should be Magician.
-As the job name is seen hard coded in the client.
*Added support for all 3rd jobs in the pre-re exp table.
-Base levels use a copy of the Trans exp table. Job levels use a copy of the
-Trans 2nd job exp table.
*Added baby 3rd's to the renewal exp table.
*Did some cleaning and updating in the atcommand.c file for the jobchange command.
-Added a few job changes by job name typing.
-Spaced things out in the message strings to allow job names of up to 16 characters.
-If a name is bigger then 16 characters, it will need to be reduced to fit the space.
-No more then 4 jobs listed max per line
-Also removed unneeded text lines as the ID's they point to are dummy ID's.
-Finally, updated the list of dummy ID's to prevent changing to, as well as added a
-message to display if someone attempts to job change to one of those dummy ID's.
*Readded the spaces in the pc.c file as tabs in the middle causes unorganized viewing issues.
-The space gap is now big enough to allow everything to line up.

=Jobs
*Added 3rd job babys.
-Everything is working properly for them except the max stats and skill trees.
-I will add this stuff in the next update.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-19 12:06:34 +00:00
epoque11
0495f532c5 - Small change to @version command (fixed invalid project name)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-02 20:41:22 +00:00
epoque11
1ce49ea08e - Merged main-chat message handling (as requested/enforced by trojal <3)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-29 18:43:58 +00:00
shennetsind
ca93d7b9cb Fixed bugreport:5468 Swordsman upper classes and ranger are no longer allowed to use reins of mount (new mounts)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22 01:31:52 +00:00
shennetsind
3b6c3eee25 Fixed bug in @mount allowing you to mount dragon/mado while in disguise (BADABOOM CRASH).
Adjusted @mount for dragons to require your class to be a rune knight (so @allskill gms mount their correct job)
Added Wug riding support for @mount

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22 01:05:39 +00:00
epoque11
7bcfb36e0e - Fixed Clown/Gypsy/Minstrel/Wanderer not receiving skill points upon change-sex
- Fixed missing casts from void* to struct online_char_data* in char.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15735 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-20 14:01:10 +00:00
gepard1984
8817eaa885 Code cleanup: replaced DBIterator function calls with macros where possible.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-09 14:31:15 +00:00
lordttseven
272d3792c5 * fixed job change level not being recorded for 2nd -> 3rd class (bugreport:5383). the fix should be self-regenerating on existing 3rd job characters
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15653 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-03 23:39:20 +00:00
gepard1984
b4d04d7117 Enabled DB_OPT_RELEASE_DATA for atcommands DBMaps so they are able to free data automatically (as pointed out by Wildcard).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15642 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-01 17:50:26 +00:00
eathenabot
0041662145 * Merged changes up to eAthena 15075.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15631 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-27 03:15:59 +00:00
gepard1984
99e244448e Fixed /lb and /nlb commands displaying additional nickname (bugreport:5351).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 12:38:25 +00:00
shennetsind
7eb9e49530 Added Wildcard's fix for @hide gms on @pvp'd pvp maps
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15596 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-17 17:01:37 +00:00
shennetsind
5332a0c0b7 Fixed missing parenthesis in @who code, removed unused variable in is_atcommand
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15590 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-17 15:36:56 +00:00
gepard1984
0b9e91afe9 Updated @marry and @divorce to use standard charcommand invocation (#command target) if used remotely.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15579 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-14 11:30:14 +00:00
gepard1984
ff37675328 Merged @kill and @die, since @kill was just a remote version of @die.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15578 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-14 02:05:16 +00:00
gepard1984
ea87ba8993 Merged code of @whomap commands into @who.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15577 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-14 01:33:13 +00:00
gepard1984
f57ff71170 Merged code of @who, @who2 and @who3 commands.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15576 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-14 00:03:00 +00:00
gepard1984
22f0714c07 - Added libconfig (configuration file library: http://www.hyperrealm.com/libconfig/):
- Updated VS9/10 project files.
   - Updated `configure` & `Makefile`s.
 - New GM, Commands & Permissions system:
   - '''This is a backwards compatibility breaking update''', please read tid:58877
   - Replaced GM levels with Player Groups.
   - Commands permissions & other privileges now depend on group, not GM level.
 - `@help` command improvements: requires "commandname" param and shows more detailed info about commands.
 - Modified GM whisper system to deliver messages basing on permissions, not GM level.
 - Remote trade request is now possible only if player is allowed to use `@trade` command as well.
 - Added a proper permission to use `/changemaptype` command.
 - `clif_displaymessage` is now capable of displaying multiline messages.
 - All `ACMD_FUNC`s are static now, and the only way to invoke them is with `is_atcommand()`; all client commands (starting with `/`) are now translated into corresponding atcommands (with exception of `/kick` used on monster, as there is no atcommand to kill single monster).
 - Removed nonsense "bot check" triggering when player blocked (`/ex`) Server.
 - Merged `@monster`, `@monsterbig` and `@monstersmall`.
 - Improved flow of atcommand execution to avoid revealing info about online players or existing commands to non-privileged players.
 - Merged `atcommand` and `charcommand` script functions (`charcommand` is aliased to `atcommand`).
   - Fixed `atcommand` script function reading unknown memory area (possible access violation).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-13 01:19:04 +00:00
shennetsind
57c9c1c1c6 Follow up r15557, modified it so that @ban only checks for @unban if the overall time is negative (before 1d-1h for example would fail). Credit goes to Gepard!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15558 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-09 14:10:58 +00:00
shennetsind
d6096cd2bf @ban is no longer able to reduce the length of a ban unless you can also @unban, special thanks to brian for the suggestion!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15557 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-09 04:22:11 +00:00
shennetsind
1f958f879d Added minor autolootitem code improvement. saves from scenarios like:
Kill a monsters on a aoe, with 10 drops looking up a empty autolootitem array -- 100 times ? -- (10 per loot with AUTOLOOITEM_SIZE as 10).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15556 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-09 03:27:59 +00:00
gepard1984
eb551436fd * Added display name to warps created with @addwarp, so their name is visible in @mapinfo 2 (bugreport:1491).
* `@mapinfo 2` now also displays unique NPC name if it's different than display name.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15534 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-31 23:12:20 +00:00
gepard1984
f2474de01c * Fixes and improvements related to MVP rewards (bugreport:1259):
- removed obsolete (since r1!) ExpPer column from mob_db
 - official way to drop MVP rewards (always starts from first slot)
 - added MAX_MVP_DROP as define for max possible MVP reward slots
 * Updated mob_db SQL scripts.
 * Removed some renewal only monsters from pre-RE mob_db (were commented out anyway).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15531 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-31 20:06:57 +00:00
brianluau
00367cd7b7 - Removed more trailing tabs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30 20:17:55 +00:00
brianluau
3aede46965 - Removed trailing tabs, and fixed some spacing.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30 16:02:55 +00:00
xazax-hun
d4cae50fe1 Minor cleanups, mostly reducing scopes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15504 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-22 13:49:09 +00:00
gepard1984
bf1c81839f Merged TXT removal branch back to trunk.
* TXT save engine is removed and no longer supported.
* See also tid:53926, tid:57717.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15503 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-20 20:33:32 +00:00
gepard1984
7b975aa4ba Extended @alootid command to support multiple items (default: 10).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-18 12:08:41 +00:00
gepard1984
54ac5c18de Enabled Mersenne Twister MT19937 as random number generator instead of standard rand() function (follow-up to r14865, r14870).
- It fixes issues caused by RAND_MAX being only 32k in Windows system (bugreport:1927, bugreport:86).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17 18:06:34 +00:00
eathenabot
0b4a77d2d2 * Merged changes up to eAthena 15061.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15477 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17 06:53:19 +00:00
eathenabot
a68054d4ee * Merged changes ONLY eAthena 15002.
[ai4rei]
* Preparation clean up in clif.h
- Synced function declarations and argument names with clif.c including whitespace.
- Removed orphaned function declarations.
- Removed include to storage.h and put it into .c files that need it instead.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15469 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17 03:25:15 +00:00
shennetsind
54eb42ab7f fixed bug with @homevolution not refreshing homun's skill tree (4th skill missing), bugreport:49
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15448 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14 10:21:06 +00:00
shennetsind
7e71fb2a97 fixed bug with aliases of the @commands command from working properly; bugfix by xantara. bugreport:5225
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15434 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-12 01:14:19 +00:00
shennetsind
db452bf53d Fixed bug with @commands/@charcommands not displaying aliases
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15433 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-12 01:09:30 +00:00