Jump to content
evilpuncker

Get last_mac Address

Recommended Posts

IT IS BROKEN AND NOT COMPATIBLE WITH LATEST HERCULES AS OF (29/05/2016) ANY DEV IS FREE TO POST THE UPDATED CODE

 

By Ryuuzaki
 

Since the original thread got into "rejected", I decided to put it here for those who want to apply this! on hercules behalf! no rep needed :P
http://herc.ws/board/topic/1163-mac-ip-address/?p=17512


 
NOTE, do backups of your src folder AND your login mysql database.
 
1. Download the file I attached.
2. Place mac_check.patch into your hercules folder and apply the patch via GIT (or add it manually if you got problem with GIT).
3. Recompile the server, do NOT start the server yet!
4. Open your mysql tool (or phpMyAdmin) and select your ragnarok (server) database.
5. Copy the below text into the query window
 

ALTER TABLE `login` ADD COLUMN `last_mac` VARCHAR(18) NOT NULL DEFAULT ''  AFTER `pincode_change` ; 

 
6. Click run / apply to add the new last_mac to your login database.
 
You are set serverwise!!
 
What do you need to send the mac?
 
1. Your client must have the "Use SSO login packet" diff enabled.

2. You need to use a launcher to run your client, like ROCred.
3. That's all.
4. Enjoy!
 
last_mac.patch [mirror¹] [mirror²]

Edited by evilpuncker

Share this post


Link to post
Share on other sites

 

^

 

Your client must have the "SSO login" enabled

lol i see that im not blind :)) im just asking if there is any possible way to use it without SSL login.

Share this post


Link to post
Share on other sites

 

 

By Ryuuzaki

 

 

Since the original thread got into "rejected", I decided to put it here for those who want to apply this! on hercules behalf! no rep needed :P
http://herc.ws/board/topic/1163-mac-ip-address/?p=17512

 

 

NOTE, do backups of your src folder AND your login mysql database.

 

1. Download the file I attached.

2. Place mac_check.patch into your hercules folder and apply the patch via GIT (or add it manually if you got problem with GIT).

3. Recompile the server, do NOT start the server yet!

4. Open your mysql tool (or phpMyAdmin) and select your ragnarok (server) database.

5. Copy the below text into the query window

 

ALTER TABLE `login` ADD COLUMN `last_mac` VARCHAR(18) NOT NULL DEFAULT ''  AFTER `pincode_change` ; 

 

6. Click run / apply to add the new last_mac to your login database.

 

You are set serverwise!!

 

What do you need to send the mac?

 

1. Your client must have the "SSO login" enabled. (i suggest R.O.L.e.X http://herc.ws/b...opic/930-rolex/ as the login system of your choice)

2. That's all.

3. Enjoy!

 

attachicon.gifmac_check.patch

 

 

 

Thanks :)

Share this post


Link to post
Share on other sites

By Ryuuzaki

 

 

Since the original thread got into "rejected", I decided to put it here for those who want to apply this! on hercules behalf! no rep needed :P

http://herc.ws/board/topic/1163-mac-ip-address/?p=17512

 

 

NOTE, do backups of your src folder AND your login mysql database.

 

1. Download the file I attached.

2. Place mac_check.patch into your hercules folder and apply the patch via GIT (or add it manually if you got problem with GIT).

3. Recompile the server, do NOT start the server yet!

4. Open your mysql tool (or phpMyAdmin) and select your ragnarok (server) database.

5. Copy the below text into the query window

 

ALTER TABLE `login` ADD COLUMN `last_mac` VARCHAR(18) NOT NULL DEFAULT ''  AFTER `pincode_change` ; 

 

6. Click run / apply to add the new last_mac to your login database.

 

You are set serverwise!!

 

What do you need to send the mac?

 

1. Your client must have the "SSO login" enabled. (i suggest R.O.L.e.X http://herc.ws/b...opic/930-rolex/ as the login system of your choice)

2. That's all.

3. Enjoy!

 

attachicon.gifmac_check.patch

 

Thank you evilpuncker

Share this post


Link to post
Share on other sites

Thanks gonna try this. :)

 

*edit* successfully patched, compiled and i meet the requirements listed but it doesn't log the mac address... it remains blank.

Edited by Helena

Share this post


Link to post
Share on other sites

Not working with 2012-04-10Ragexe client.

I guess this is useless for those who dont use SSO login.

It is mentioned in first post:

 

Your client must have the "SSO login" enabled. (i suggest R.O.L.e.X : http://herc.ws/b...opic/930-rolex/ as the login system of your choice) 

You need to have SSO login and must use a launcher.

Share this post


Link to post
Share on other sites

I hope there's a way to capture MAC IP using thor patcher :(

BTW, I tried using rolex & loki it works...

 

 

Quick question. How can I patch LOKI or ROLEX? looks like the only way is to create a separate exe for patch. it's not included in LOKI

Edited by Hadeszeus

Share this post


Link to post
Share on other sites

I hope there's a way to capture MAC IP using thor patcher :(

 

BTW, I tried using rolex & loki it works...

 

make thor run the launcher before client 

Share this post


Link to post
Share on other sites

 

I hope there's a way to capture MAC IP using thor patcher :(

 

BTW, I tried using rolex & loki it works...

 

make thor run the launcher before client 

 

Damn! I never thought that! thanks evil! :D

Share this post


Link to post
Share on other sites

@evil off topic can i ask if it is possible to change loki_launcher.ini to something?

 

I don't know, I never used it, I prefer ROCred by ai4rei

Share this post


Link to post
Share on other sites

 

 

^

 

Your client must have the "SSO login" enabled

lol i see that im not blind :)) im just asking if there is any possible way to use it without SSL login.

if client not using SSO Login, then make a check if client try to login with no mac address, reject it. maybe like that

Share this post


Link to post
Share on other sites

 

 

if client not using SSO Login, then make a check if client try to login with no mac address, reject it. maybe like that

 

yes how can we reject login without mac address?

 

just create a script that @kicks user if his last_mac = 0000--000-0-00--0-0-0

Share this post


Link to post
Share on other sites

 

 

 

if client not using SSO Login, then make a check if client try to login with no mac address, reject it. maybe like that

 

yes how can we reject login without mac address?

 

just create a script that @kicks user if his last_mac = 0000--000-0-00--0-0-0

 

 

thanks evilpuncker, i never thought about that :D

Share this post


Link to post
Share on other sites

I had already enabled sso packet when diff my client , but dunno why my last_mac  always goes to  0 -_-

 

 

 

AUAabs7w4.png

 

 

Edited by Angelmelody

Share this post


Link to post
Share on other sites

@@Alexandria rocred is not an updater, but a login tool :P

 

 

 

@Topic

Updated it to the latest Hercules source code (as of the date of this post) and changed patch format to Git compliant, and added some mirrors.

Edited by evilpuncker

Share this post


Link to post
Share on other sites

@@Alexandria rocred is not an updater, but a login tool :P

 

 

 

@Topic

Updated it to the latest Hercules source code (as of the date of this post) and changed patch format to Git compliant, and added some mirrors.

 

Ty.

 

Is there a .dll to inject to my .exe (2012 04 10) to make it to work without a login tool?y

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.