114 Commits

Author SHA1 Message Date
skotlex
d57406c09e - Char-SQL: Removed the ridiculous check for existing party/guild each time a character is saved. The check should be done upon loading (when the guild/party is not found, the char's party/guild id is set to 0 THERE)
- Removed the 'Quick loaded char' messages from the char-sql server
- Some cleaning of the guild sql saving routine.
- Various checks around the char-SQL server and a few memory leak fixes.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5309 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-17 14:37:43 +00:00
skotlex
eafb17b8fe - Fixed the memory leak on opt_2str as pointed out by End of Exam
- Fixed a few char SQL memory leaks as pointed out by End of Exam


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5307 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-17 13:36:49 +00:00
skotlex
dcd7d940b0 - Updated the login/char sql servers to let the sql tables autogenerate the new id, and then retrieve said id using mysql_insert_id rather than playing smart and loading the next insert ID on startup.
- Tables affected are: account creation, char creation, party creation, pet creation and guild creation.
- Also corrected some functions to be of type (void) rather than ()


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5298 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-16 20:15:21 +00:00
skotlex
e0fb2a113f - Fixed the char servers to store correctly exp as uints. They are also capped to LONG_MAX before being sent to the client.
- TK_DODGE now dodges all ranged attacks, when used with SPURT, dodges everything.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5289 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-15 20:18:11 +00:00
skotlex
53b671c36f - Fixed Char-SQL server setting up the save/last point to the novice grounds when either x, y or the map is 0.
- Commented the char server setting up Prontera as default point when there's none (this bug should not exist)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5218 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-08 00:39:47 +00:00
skotlex
26cff5461b - Fixed sql compile.
- Some small adjustments on how the user/password in the char server are read.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5207 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-07 01:39:51 +00:00
skotlex
382bc65f07 - Fixed sql compile.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5205 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-06 18:47:28 +00:00
skotlex
d69479b946 - Added define clif_deadsit to send the dead state into player packets if the player is in trick dead state.
- Venom Splasher always hits (but splash damage targets can still avoid it)
- Using autoloot with no arguments now toggles it between @autoloot 0 and @autoloot 100%
- Falcon Assault now takes Blitz Beat lv5 as base damage.
- Fixed pc_makesavestatus not updating status.option correctly.
- Corrected Waterball so that higher levels can do insane amount of hits.
- Altered slave behaviour. No more random walking, will stay within 2 cells of their master.
- Reverted the Summon Slave behaviour to not adjust level based on number of current slaves.
- Coma no longer sends SP to 1.
- Updated Meteor so that when level 11 or more is casted, the area over which meteors fall is tripled.
- Dark elemental characters are now inmune to Curse.
- Fixed sc_data saving to sql buffer building method. Thanks to its_sparky.
- Changed the map zone reading from using pow to a bit shift.
- Experience has now been changed to unsigned int, and is read as such from the dbs.
- Increased HT_DETECTING seek range to 7x7
- Added function map_foreachinrange which actually checks distance of nearing objects (unlike for each in area which uses a square area), may come handy for future code.
- Corrected Venom Splasher: Being hit does not cancels it, works at 75% or less of target's HP, being hit normally while under the count has a chance of causing poison. Damage is +400% + 50*lv%


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5204 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-06 18:38:51 +00:00
skotlex
d9f1d70901 - Map and char server now will complain if they are run using the default user/password set.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5158 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-01 20:56:48 +00:00
skotlex
523fed742d - Some compile warning fixes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5123 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-30 17:31:36 +00:00
Valaris
2178a86317 AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.  EVERYTHING ELSE
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:10:48 +00:00
Valaris
fd99753f8e Clearing trunk.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:00:45 +00:00
celest
3feabb0c74 * Simplified Valaris' online_timer
* Updated Fogwall, Spiderweb, and HP Conversion
* Adding saving character online/offline for TXT char and login (unfinished)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1411 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-05 14:57:03 +00:00
celest
27326acd4e * Removed anti-freeze system for login and char
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1396 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04 14:15:49 +00:00
shinomori
9cfffd0ac8 fixing
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1390 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-03 17:08:16 +00:00
celest
52668d1fc1 * Fixed @reloadgmdb in SQL
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1344 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30 17:47:54 +00:00
celest
8cdf7b2840 * Fixed SQL char server crashing when loading the item_db
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1336 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29 18:03:36 +00:00
celest
a2ca733706 * Added auto save guild dataevery 5 minutes during WOE
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1333 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29 16:32:28 +00:00
amber
dfd7258882 Fixe compile time problems with our mixed C++/C conformance
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29 06:18:21 +00:00
amber
150683e2e6 Fixed use of storage variable to conform to ANSI C spec [MouseJstr]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29 05:05:50 +00:00
celest
fe2688f05c * Fixed 'use_sql_db' not read properly in SQL char server
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29 02:39:29 +00:00
veider
de7940888a git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1316 54d463be-8e91-2dee-dedb-b68131a5f0ec 2005-03-28 21:25:11 +00:00
amber
cb34e8c48a memory bugs fixed
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1278 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-23 18:54:09 +00:00
celest
35d38ae942 Fixed compile warning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1276 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-23 16:01:51 +00:00
celest
91fb421a67 * Fixed alot of memory leaks
* Added stray memory cleaning routine to db.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-23 15:26:52 +00:00
celest
d2dd679325 * Don't log SQL char actions if log_char is not enabled in char_athena.conf
* Updated shop_exp's calculation to give more exp
* Some item and mob DB updates
* Added Einbech/Einbroch warps

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1249 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-18 10:04:41 +00:00
celest
7840576d02 Fixed SQL compile error
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1247 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-18 04:04:17 +00:00
celest
f4b515d055 * Fixed more typos in /cities/payon.txt
* Added 2 char-server packets to support Freya's login server
* Rewrite on Full Strip

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1243 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-17 09:03:06 +00:00
celest
dd74e90fca Speedup inventory and storage saving
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1210 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-08 05:05:04 +00:00
Lupus
b0c8088a8e SQL: Castles data saving bugfix (fully working! tested during WOE on 100 players, 19 guilds)
added 2 bugreports

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1201 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-03 21:24:00 +00:00
Lupus
58433b45e4 partial SQL Castles Saving (doesn't clear GuildID when you abandon a castle yet)
added 2 fixex by Pow (max positions, max guild members)

fixed Moving HP quest (added missing delitem)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1199 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-02 23:19:46 +00:00
Lupus
63dccbce3e fixed SQL Castle Saving BUGS
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1193 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-28 07:27:18 +00:00
celest
09c783610d * Fixed char server crash when sending wisp with a "'" in the names
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1167 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-23 07:42:30 +00:00
celest
fea0900092 * Corrected Spiral Pierce's hits in the skill_db
* Moved /common/*.o into a obj folder when compiling 
* Updated core and map server to jA 1094~1115

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1162 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-22 16:08:24 +00:00
amber
882e26643d Cleanup compiler warnings
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1159 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-22 05:42:31 +00:00
sirius
3b4e925885 fixed the guildcastle saving in charsql
fixed the /mm and /mapmove command access bugs .. 
[Sirius]

-This line, and those below, will be ignored--

M    src/char_sql/int_guild.c
M    src/map/clif.c
M    Changelog-SVN.txt


git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1144 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-20 21:07:45 +00:00
sirius
8d9ac1026a Changed the output of set user @ charserv_sql ... ^^[Sirius]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1143 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-20 19:20:44 +00:00
celest
fdbe7b1fb2 Fixed client errors when pecopeco Lord Knights/Paladins log in with a weapon equipped
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1132 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-18 08:38:09 +00:00
celest
e9a7ccf3f2 * Readded Chemical Protection
* Removed some old eA code that was causing Frost Nova to do an extra hit
* Corrected Vulcan Arrow's hits in skill_db
* Readded zlib and zconf .h files to under /lib
* Fixed some compile errors in Windows
* Changed remove_control_characters back to supporting korean chars
* Moved some other code around

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1125 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-17 16:28:36 +00:00
celest
3a2e00b268 * Changes to Dissonance -- don't increment the timer again if the target has died
* Changed some nullpo checks back to normal null checks
* Changed some nullpo checks to print some debug information
* Added some sd checks before calling pc_blockskill
* Added fix for SQL char's friend list updating
* Fixed a crash if the player invited to join a guild is not online
* Find the guild invitation sender first before clearing it

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1124 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-17 08:31:32 +00:00
sirius
f1290e68d2 Fixed the 0x3001 in inter.c for the char wisper on splittet mapservers (interchat)^^ [Sirius]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1121 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-16 20:52:02 +00:00
sirius
9e986f1b8a modyfyed the charserver sql for the mapchange ^^ on splitted mapservers
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1114 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-15 16:38:33 +00:00
sirius
f0586beb14 CharSQL: fixed the 0x2b05 packet, now the multi mapservers works ...
Login/LoginSQL: fixed the version check finaly :) now the servers can connect XD


git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1110 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-15 09:47:08 +00:00
(no author)
e4bf61cf00 * Moved all changes in the SVN to a new SVN-Changelog.txt
* Synchronise storage as well when saving character
* Added fix for super novices' Guardian Angel system crashing
* Check if login server is online before setting character to online (in SQL)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1076 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-11 15:58:58 +00:00
(no author)
a7b8d32eb5 Changed something @ the sql charserv, (makechar.. charlimit and some tuneups for sql querys)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1063 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-09 20:24:29 +00:00
(no author)
e492f69181 guild sql fix...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1060 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-06 22:41:04 +00:00
(no author)
417b04426f blank email for char deletion works when email is a@a.com (SQL)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1053 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-06 02:27:35 +00:00
(no author)
3108e8fef2 Changed how IP Bindings are handled
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1045 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-05 19:25:36 +00:00
(no author)
302cc85025 Servers can bind to single IP addresses now, and added buffer.(c/h)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1033 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-05 02:07:30 +00:00
(no author)
f107fd6254 fixed named item storage dupe
in sql

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1013 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-29 08:57:25 +00:00