Lugia Posted June 22, 2013 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 95 Reputation: 2 Joined: 08/23/12 Last Seen: September 2, 2015 Share Posted June 22, 2013 Is there any guide on how to add this to my source? Release by Ind : Index: src/char/char.c =================================================================== --- src/char/char.c (revision 15859) +++ src/char/char.c (working copy) @@ -1366,6 +1366,13 @@ return -2; // character account limit exceeded } + if( sd->group_id > 0 && sd->group_id < 99 ) { + if( SQL_ERROR == Sql_Query(sql_handle, "SELECT 1 FROM `%s` WHERE `account_id` = '%d'", char_db, sd->account_id) ) + Sql_ShowDebug(sql_handle); + if( Sql_NumRows(sql_handle) >= 1 ) + return -2; // character account limit exceeded + } + // check char slot if( SQL_ERROR == Sql_Query(sql_handle, "SELECT 1 FROM `%s` WHERE `account_id` = '%d' AND `char_num` = '%d' LIMIT 1", char_db, sd->account_id, slot) ) Sql_ShowDebug(sql_handle); Need this asap. Quote Link to comment Share on other sites More sharing options...
Patskie Posted June 22, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 13 hours ago Share Posted June 22, 2013 Use wiki there's a tons of guides there http://rathena.org/wiki/Diff Quote Link to comment Share on other sites More sharing options...
0 Bes Posted January 12, 2017 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 24 Reputation: 3 Joined: 11/30/16 Last Seen: Saturday at 11:14 PM Share Posted January 12, 2017 Not working on latest revision Quote Link to comment Share on other sites More sharing options...
0 maczekiel Posted April 18, 2020 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 12 Reputation: 1 Joined: 10/18/12 Last Seen: June 20, 2020 Share Posted April 18, 2020 On 1/12/2017 at 8:23 AM, Bes said: Not working on latest revision yeah, you have patch for this? Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 22, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 22, 2013 Just patch it to your SVN and recompile. Quote Link to comment Share on other sites More sharing options...
Lugia Posted June 22, 2013 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 95 Reputation: 2 Joined: 08/23/12 Last Seen: September 2, 2015 Author Share Posted June 22, 2013 I dunno how? Kindly teach me NVM I got it. Quote Link to comment Share on other sites More sharing options...
Archetype Saber Posted June 22, 2013 Group: Members Topic Count: 90 Topics Per Day: 0.02 Content Count: 361 Reputation: 19 Joined: 01/09/13 Last Seen: January 19 Share Posted June 22, 2013 Install it manualy. Quote Link to comment Share on other sites More sharing options...
Question
Lugia
Is there any guide on how to add this to my source?
Release by Ind :
Need this asap.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.