Break Posted July 10, 2018 Posted July 10, 2018 View File @lockid - Account Protection for Gepard Bind your account to the hardware and login the game only from it. Compatible only with Gepard Shield Submitter Break Submitted 06/14/2018 Category Source Modifications Video Content Author Functor, Break 1 Quote
Badarosk0 Posted July 27, 2018 Posted July 27, 2018 (edited) Could you upgrade to the latest version of rAthena? @Break There is something incompatible with src. If possible, generate a .patch. I made the purchase but could not use it. Thank you. Edited July 31, 2018 by Badarosk0 Quote
Break Posted August 2, 2018 Author Posted August 2, 2018 On 7/27/2018 at 2:14 PM, Badarosk0 said: Could you upgrade to the latest version of rAthena? @Break There is something incompatible with src. If possible, generate a .patch. I made the purchase but could not use it. Thank you. You can set the changes manually. Quote
Badarosk0 Posted August 2, 2018 Posted August 2, 2018 (edited) 7 hours ago, Break said: You can set the changes manually. Open ../src/login/account.h Search: struct global_reg account_reg2[ACCOUNT_REG2_NUM]; The above line of code no longer exists in the file. Could help? Even if you do manual the instructions are outdated with the version of rAthena. @Break Edited August 2, 2018 by Badarosk0 Quote
Break Posted August 3, 2018 Author Posted August 3, 2018 8 hours ago, Badarosk0 said: Open ../src/login/account.h Search: struct global_reg account_reg2[ACCOUNT_REG2_NUM]; The above line of code no longer exists in the file. Could help? Even if you do manual the instructions are outdated with the version of rAthena. @Break Open ../src/login/account.hpp After: #ifdef VIP_ENABLE int old_group; time_t vip_time; #endif Add: unsigned int lock_id; Quote
Badarosk0 Posted August 3, 2018 Posted August 3, 2018 4 hours ago, Break said: Open ../src/login/account.hpp After: #ifdef VIP_ENABLE int old_group; time_t vip_time; #endif Add: unsigned int lock_id; Thank you! @Break For that part, what should I do? ------------------------------------------------------------------------------------------------------------------------- Open ../src/login/account_sql.c Search: "SELECT `account_id`,`userid`,`user_pass`,`sex`,`email`,`level`,`state`,`unban_time`,`expiration_time`,`logincount`,`lastlogin`,`last_ip`,`birthdate` FROM `%s` WHERE `account_id` = %d", Change to: "SELECT `account_id`,`userid`,`user_pass`,`sex`,`email`,`level`,`state`,`unban_time`,`expiration_time`,`logincount`,`lastlogin`,`last_ip`,`birthdate`,`lock_id` FROM `%s` WHERE `account_id` = %d", Search: Sql_GetData(sql_handle, 12, &data, NULL); safestrncpy(acc->birthdate, data, sizeof(acc->birthdate)); Adding below: Sql_GetData(sql_handle, 13, &data, NULL); acc->lock_id = strtoul(data, NULL, 10); ---------------------------------------------------------------------------------------------------------------------------------------------------- Quote
Break Posted August 3, 2018 Author Posted August 3, 2018 I will try to update in the near future for the latest version of the rAthena. Open ../src/login/account.cpp Search: "SELECT `account_id`,`userid`,`user_pass`,`sex`,`email`,`group_id`,`state`,`unban_time`,`expiration_time`,`logincount`,`lastlogin`,`last_ip`,`birthdate`,`character_slots`,`pincode`, `pincode_change`, `vip_time`, `old_group` FROM `%s` WHERE `account_id` = %d", Change to: "SELECT `account_id`,`userid`,`user_pass`,`sex`,`email`,`group_id`,`state`,`unban_time`,`expiration_time`,`logincount`,`lastlogin`,`last_ip`,`birthdate`,`character_slots`,`pincode`, `pincode_change`, `vip_time`, `old_group`,`lock_id` FROM `%s` WHERE `account_id` = %d", Search: "SELECT `account_id`,`userid`,`user_pass`,`sex`,`email`,`group_id`,`state`,`unban_time`,`expiration_time`,`logincount`,`lastlogin`,`last_ip`,`birthdate`,`character_slots`,`pincode`, `pincode_change` FROM `%s` WHERE `account_id` = %d", Change to: "SELECT `account_id`,`userid`,`user_pass`,`sex`,`email`,`group_id`,`state`,`unban_time`,`expiration_time`,`logincount`,`lastlogin`,`last_ip`,`birthdate`,`character_slots`,`pincode`, `pincode_change`, `lock_id` FROM `%s` WHERE `account_id` = %d", Search: #ifdef VIP_ENABLE Sql_GetData(sql_handle, 16, &data, NULL); acc->vip_time = atol(data); Sql_GetData(sql_handle, 17, &data, NULL); acc->old_group = atoi(data); #endif After add: Sql_GetData(sql_handle, 18, &data, NULL); acc->lock_id = strtoul(data, NULL, 10); Quote
somer14 Posted March 5, 2021 Posted March 5, 2021 (edited) Hello, I bought this system, could you help me, I get this error when compiling Edited March 5, 2021 by somer14 Quote
Break Posted April 7, 2021 Author Posted April 7, 2021 Try... @somer14 Open ../src/common/mmo.hpp Search: struct mmo_charstatus { After add: unsigned int lock_id; Quote
somer14 Posted April 7, 2021 Posted April 7, 2021 (edited) I'll try very well and I'll tell you how it went Edited April 8, 2021 by somer14 Quote
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.