26 Commits

Author SHA1 Message Date
ai4rei
10aab49306 * Added msinttypes (rev. 26, http://msinttypes.googlecode.com/svn/trunk/) portability framework for Visual C++ compilers (related bugreport:4059).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14478 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21 13:44:10 +00:00
zephyrus
6b710571ad - Optimization to instance system.
* Removed the crc feature to generate instance npc names. The instance npc name will be "dup_" + instanceid + "_" + srcnpcid.
* Removed the big array under map structure and coded in a different way. It was only used to generate map names, but i just used the instance_id + "origin map name".
* Moved all instance features to separated files.
* Moved the npc duplication for instances into npc.c as Ultramage says (removed npcname_db from npc.h).
* Added recomendations for scripts commands by Saithis.
- Testing required, i will prepare Endless Tower script soon. I hope this do almost anything in bugreport 3276.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-12 21:44:02 +00:00
brianluau
53998c9f3d * Added the md5() script command. (follow up to r13719)
- Changed kafra storage password to be stored as md5 hash in #kafra_code$.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04 08:22:53 +00:00
zephyrus
1c69065343 - Updating visual basic project files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13552 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-26 21:59:43 +00:00
ultramage
54d610302d Applied patch to getitem2/delitem2 to handle charid embedding correctly (bugreport:2735).
Added missing codepage option for ipban module in login_athena.conf.
Converted dbghelpplug project in vs9 directory to vs9 format.
Updated effects list doc with new data from 2009/01/21a sakexe.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-12 12:27:59 +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
de25376177 Fixing the txt-char converter compilation (bugreport:2171).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13245 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-28 15:02:55 +00:00
zephyrus
5954733c85 - Moved char server's mercenary code to a different file (int_mercenary.*)
- New Sql Patch for create mercenary_owner DB.
- Removed mer_id from char_db.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13166 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-01 00:03:10 +00:00
zephyrus
c5cc2257d3 - Moving all content of Homunculus code to a proper file Homunculus.c/h
- Update of all project files.

NOTE: All functions on homunculus.c should be renamed i think, to remove all the merc_*.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13122 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-24 15:00:26 +00:00
ultramage
dcc2cdb5da Split off mapreg code from script.c
* new mapserver files, mapreg.h, mapreg_txt.c, mapreg_sql.c
 * removed MAPREGSQL from project files / makefiles
 * mapreg storage engine is now fully dependent on the server type
 * added config settings mapreg_txt and mapreg_db to inter config
 * added get_str() function to complement add_str()
 * fixed txt mapreg code allowing too long variable names

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13081 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15 11:14:45 +00:00
ultramage
970aa9fa35 Corrected an outdated compilation option in the login txt->sql converter projects (bugreport:2025).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13054 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09 02:32:33 +00:00
ultramage
02995dceab Fixed old zlib library path in vs9 project file (bugreport:1959)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 05:01:04 +00:00
ultramage
6409465768 Fixed one 'additional include directories' entry in the vs9 mapcache project file (release mode) that wasn't updated for the new paths (bugreport:1950).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-30 11:13:57 +00:00
ultramage
54dc1c0f1a Removed the IRC bot system, now a customization (see topic:194306)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-30 02:24:04 +00:00
ultramage
106b44c1e7 Merged the /loginmerge branch (topic:192754)
* the login server storage, ipban and logging systems have been abstracted and now provide a common interface; the rest has been merged into a single login server core (no more login/login_sql duplicity)
 * storage systems are now added via compiler options (WITH_SQL / WITH_TXT)
 * multiple storage engines can be compiled in at the same time, and the config option account.engine defines which one will be used.
 * due to MySQL autoincrement limitations, accounts with id '0' will not be supported; account IDs from this point on should start from '1'.
 * login_log() functions now again record IP addresses in dotted format, not as 4-byte integers (undo from r6868).
 * removed config options that defined column names in the login table
 * removed `memo` and `error message` columns from login db/savefile
 * moved `loginlog` table to the logs database
 * added sql files upgrade_svn12975.sql and upgrade_svn12975_log.sql
 * due to changes to the login table layout, I added an !optional! sql file (upgrade_svn12975_view.sql) that will provide a certain degree of backwards compatibility with existing software; read the instructions inside carefully!
 * moved third-party includes/libs to a separate directory
 * updated project files / makefiles

Changed the way GM levels are handled
 * removed conf/gm_account.txt
 * added the gm level column to the txt savefile (after 'email' column)
 * gm level information is now transferred along with account data
 
For open problems see bugreport:1889.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-26 20:45:57 +00:00
ultramage
2ecdab9606 Moved the options to disable specific compiler warnings from the generic 'AdditionalOptions' to the appropriate 'DisableSpecificWarnings' section.
Corrected an ancient mistake in the grfio/zlib code (calling inflateEnd in case of an error during the Deflate process).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12726 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-26 12:16:53 +00:00
Kevin
302adbf42a Major updates to the quest system.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-13 22:19:02 +00:00
ultramage
0c69d0879c the proper way to use version control
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12573 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-12 09:15:55 +00:00
Kevin
fe1fd152a7 Updated visual studio 9 files to reflect TXT support removal.
Added txt server code to the txt converter directories to maintain the txt converter programs.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12571 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-12 08:12:18 +00:00
Kevin
9bcdb353a4 More questlog code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12556 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 01:38:41 +00:00
ultramage
c72d39ae5b Reverted my recent changes to trunk.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-05 12:33:02 +00:00
ultramage
24989df4ce Added login.c to hold most of the common functionality of the login server.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12479 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-04 20:07:53 +00:00
ultramage
6148165707 Preparations for the login server TXT/SQL merge
- copied the sql login server code to /src/login
- merged the login server header files
- moved the account savefile name config setting to inter_athena.conf and renamed it to match the other settings

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12478 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-04 17:07:31 +00:00
ultramage
7b3fbf72a8 Fixed a compilation issue with r12446 (C can't handle non-constant initializers for static variables).
Switched trunk's VS9 project files back to "Compile as C code" (topic:183217).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12448 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-29 13:14:18 +00:00
ultramage
94943b2b6a Adjusted eAthena code to compile cleanly in C++ mode.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-26 10:37:45 +00:00
Lupus
c1d6abe5eb Added VS9 project files. Removed redundant map_getallusers() function
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-21 11:52:29 +00:00