Jump to content

Release: @lockid - Account Protection for Gepard


Break

Recommended Posts


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  153
  • Reputation:   14
  • Joined:  07/07/12
  • Last Seen:  

@lockid - Account Protection for Gepard


Bind your account to the hardware and login the game only from it. Compatible only with Gepard Shield


 

  • Upvote 1
Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  81
  • Reputation:   5
  • Joined:  02/07/12
  • Last Seen:  

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 by Badarosk0
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  153
  • Reputation:   14
  • Joined:  07/07/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  81
  • Reputation:   5
  • Joined:  02/07/12
  • Last Seen:  

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 by Badarosk0
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  153
  • Reputation:   14
  • Joined:  07/07/12
  • Last Seen:  

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;

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  81
  • Reputation:   5
  • Joined:  02/07/12
  • Last Seen:  

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);

----------------------------------------------------------------------------------------------------------------------------------------------------

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  153
  • Reputation:   14
  • Joined:  07/07/12
  • Last Seen:  

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);

 

Link to comment
Share on other sites

  • 2 years later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   0
  • Joined:  08/18/12
  • Last Seen:  

Hello, I  bought  this system, could you help me, I get this error when compiling

image.thumb.png.515fc3abdd591fcbb748895e77016567.png

Edited by somer14
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  153
  • Reputation:   14
  • Joined:  07/07/12
  • Last Seen:  

Try... @somer14

Open ../src/common/mmo.hpp

Search:

struct mmo_charstatus {

After add:

unsigned int lock_id;

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   0
  • Joined:  08/18/12
  • Last Seen:  

I'll try very well and I'll tell you how it went

 

Edited by somer14
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...