summaryrefslogtreecommitdiff
path: root/src/char_sql/int_guild.c
AgeCommit message (Collapse)AuthorFilesLines
2006-06-12- Made guild member exp an unsigned int.skotlex1-2/+2
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7103 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-11* [Fixed] Lance1-1/+1
- Compilation warnings on guild.c and int_guild.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7088 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-09- Fixed @mapinfo displaying incorrectly maps with nosave which send you back ↵skotlex1-10/+21
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7074 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-09- Modified guild exp to be an unsigned int rather than a signed one.skotlex1-10/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31- Made the char_name_option char_athena.conf setting apply to parties and ↵skotlex1-0/+15
guilds as well. It cannot be applied to pets yet without adding a change-name-request interserver packet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Fixed the nocast flag 2 (not usable in pvp) returning true in pk-mode servers.skotlex1-0/+4
- When removing a castle's owning guild, the char servers will erase the guardian data now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6602 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01* Corrected a few Compiling Warnings [Codemaster]codemaster1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5405 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-17- Char-SQL: Removed the ridiculous check for existing party/guild each time ↵skotlex1-16/+12
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5309 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-16- Updated the login/char sql servers to let the sql tables autogenerate the ↵skotlex1-69/+35
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5298 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES ↵Valaris1-0/+1914
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29Clearing trunk.Valaris1-1719/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29* Added auto save guild dataevery 5 minutes during WOEcelest1-12/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1333 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29Fixe compile time problems with our mixed C++/C conformanceamber1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-23Fixed compile warningcelest1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1276 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-23* Fixed alot of memory leakscelest1-0/+29
* Added stray memory cleaning routine to db.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-03SQL: Castles data saving bugfix (fully working! tested during WOE on 100 ↵Lupus1-37/+19
players, 19 guilds) added 2 bugreports git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1201 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-02partial SQL Castles Saving (doesn't clear GuildID when you abandon a castle yet)Lupus1-41/+60
added 2 fixex by Pow (max positions, max guild members) fixed Moving HP quest (added missing delitem) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1199 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-28fixed SQL Castle Saving BUGSLupus1-5/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1193 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-22Cleanup compiler warningsamber1-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1159 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-20fixed the guildcastle saving in charsqlsirius1-41/+34
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://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1144 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-24A lot of changes. login and char server compile under both TXT and SQL under ↵(no author)1-18/+18
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://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-23update(no author)1-98/+98
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-30updateamber1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@866 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-29cxx updatesamber1-5/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-29git-svn-id: ↵celest1-2/+4
https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@859 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-28updateamber1-3/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@832 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27updateamber1-7/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27Updateamber1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@819 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27fooamber1-2/+16
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27More updatesamber1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@817 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27Fixamber1-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27Fix guild castle issuesamber1-6/+21
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@815 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27Corrected wrong logging of text in int_guild.ccelest1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-26updatesamber1-16/+38
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@793 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-23Rewrite inter server messagingamber1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@740 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-20* Updated makefiles to new strlib locations [Codemaster]codemaster1-1/+1
* 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://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-20GUILDCACHEamber1-216/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-20DFASTCHARamber1-1/+97
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@649 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-19guild_cacheamber1-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-13updateamber1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-08guild cache updateamber1-0/+145
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-29Fixed online system for char not sending players left "online" to login when ↵wizputer1-6/+0
restarting git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@408 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-28fixed Guild skill Extention +2 -> +6 people per level. Lupus1-1/+1
btw.. should txt-convertot use its own mmo.h? i think not git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@400 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-24git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@350 ↵codemaster1-6/+17
54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-14Fixed some file typesamber1-1614/+1614
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-05Fixed crash from guild skill point allocation, there seems to be a problem ↵valaris1-2/+19
with guilds loading still. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@16 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-04git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@2 ↵(no author)1-0/+1597
54d463be-8e91-2dee-dedb-b68131a5f0ec