Commit Graph

51 Commits

Author SHA1 Message Date
skotlex
6ffb2533a7 - Some minor cleanups.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8455 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-23 16:42:42 +00:00
toms
cc6ddef2e4 Fixed SQL-Guild Creation, guild name was escaped 2 times
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8413 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21 21:44:52 +00:00
toms
5511cb9ea3 Changed atoi to strtoul for guild-experience's field
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8090 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03 09:46:35 +00:00
toms
8e191af335 Code cleanup & optimization on guild part of char-server
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 16:37:02 +00:00
skotlex
3b13b070e1 - Made guild member exp an unsigned int.
- Modified npc_click to receive the bl that was clicked directly. Also cleaned it up so it isn't as easy to crash the server with invalid ids <.<
- Moved npc_checknear to npc_checknear2 and added npc_checknear. The near version receives a bl, checks it's validity, and returns a TBL_NPC object, near2 does the same but doesn't checks for type NPC. The first returns a pointer, the second returns 1 on fail, 0 success.
- Also uncommented various npc_checknear calls in the code, who's idea was to comment them out so you could exploit npcs from afar with custom packets?
- Added overflow checks for bonus settings mdef_rate/def_rate.
- Added missing update of INT after a buf. 
- Small cleanup of how SC_BLEEDING works.
- Fixed party_foreach_samemap invoking the function on the CASTER instead of on the party members.
- Added clif_parse_ActionRequest_sub to handle player commands, is used from npc_click or any other function that needs to "re-route" a player's request.
- Modified clif_parse_NpcClicked to handle the different situations with different bl-objects (attack on players/mobs, click on npcs or mobs with npc attached)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7103 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-12 14:55:35 +00:00
Lance
3b9eeb4451 * [Fixed]
- Compilation warnings on guild.c and int_guild.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7088 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-11 05:30:23 +00:00
skotlex
2e5660ec68 - Fixed @mapinfo displaying incorrectly maps with nosave which send you back to your last savepoint.
- Moved guild_exp_rate from a mapserver battle config setting to a char server config. It no longer modifies the total taxed exp as seen on the guild information window, but directly modifies the exp that the guild earns.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7074 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-09 15:12:53 +00:00
skotlex
51db3a7cdc - Modified guild exp to be an unsigned int rather than a signed one.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-09 03:51:18 +00:00
skotlex
ca917a0909 - Made the char_name_option char_athena.conf setting apply to parties and guilds as well. It cannot be applied to pets yet without adding a change-name-request interserver packet.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 20:37:39 +00:00
skotlex
b2b800212c - Fixed the nocast flag 2 (not usable in pvp) returning true in pk-mode servers.
- When removing a castle's owning guild, the char servers will erase the guardian data now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6602 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15 18:35:18 +00:00
codemaster
e2b51026b8 * Corrected a few Compiling Warnings [Codemaster]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5405 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01 05:43:41 +00:00
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
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
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
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
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
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
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
(no author)
dea15d7c9a A lot of changes. login and char server compile under both TXT and SQL under g++. Same for the convertors (login and char). One change that I felt iffy about, but it worked, was the char* buf -> unsinged char* bug in clif.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-24 03:12:42 +00:00
(no author)
778e804dd6 update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-23 20:38:44 +00:00
amber
d46146370c update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@866 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-30 03:47:18 +00:00
amber
0452a9c55f cxx updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-29 19:18:18 +00:00
celest
39521cb4a5 git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@859 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-12-29 17:22:35 +00:00
amber
ba5cf284da update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@832 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-28 05:05:48 +00:00
amber
d8dd831efb update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27 16:29:44 +00:00
amber
db26596032 Update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@819 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27 14:15:47 +00:00
amber
f199254cd1 foo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27 14:13:55 +00:00
amber
f057cd658d More updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@817 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27 14:01:47 +00:00
amber
355bd00f87 Fix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27 12:44:53 +00:00
amber
f68c5caeba Fix guild castle issues
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@815 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27 12:41:46 +00:00
celest
ddad1300ed Corrected wrong logging of text in int_guild.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27 11:09:31 +00:00
amber
f922478b19 updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@793 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-26 19:44:00 +00:00
amber
d091c2e147 Rewrite inter server messaging
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@740 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-23 01:51:17 +00:00
codemaster
f16fea0829 * Updated makefiles to new strlib locations [Codemaster]
* Moved strlib.h and strlib.c into the common directory [Codemaster]
* Updated a bit of jA 1081 - it's not completly updated yet!!! [Codemaster]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-20 20:11:23 +00:00
amber
e8402a3971 GUILDCACHE
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-20 15:54:31 +00:00
amber
ba67cc63d9 DFASTCHAR
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@649 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-20 01:51:58 +00:00
amber
c056c6be90 guild_cache
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-19 02:41:24 +00:00
amber
ef8620bc6f update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-13 23:04:22 +00:00
amber
1bd978e10b guild cache update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-08 00:59:42 +00:00
wizputer
48d6db7a75 Fixed online system for char not sending players left "online" to login when restarting
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@408 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-29 03:10:26 +00:00
Lupus
92e415176a fixed Guild skill Extention +2 -> +6 people per level.
btw.. should txt-convertot use its own mmo.h? i think not

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@400 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-28 11:42:05 +00:00
codemaster
3a769716f1 git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@350 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-11-24 22:23:26 +00:00
amber
d479e29aee Fixed some file types
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-14 16:18:26 +00:00
valaris
94bcb3e6de Fixed crash from guild skill point allocation, there seems to be a problem with guilds loading still.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@16 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-05 20:59:29 +00:00