Get last_mac Address

evilpuncker

vai se tratar garota
Messages
2,178
Points
0
Age
109
Location
bronzil
Github
EPuncker
Emulator
Client Version
2019-05-30a MAIN
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
default_tongue.png

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²]

 

Attachments

Last edited by a moderator:
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
default_tongue.png

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.gif
mac_check.patch




Thanks
default_smile.png


 
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
default_tongue.png


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.gif
mac_check.patch
Thank you evilpuncker

 
Thanks gonna try this.
default_smile.png


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

 
Last edited by a moderator:
Not working with 2012-04-10Ragexe client.

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

 
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.

 
I hope there's a way to capture MAC IP using thor patcher
default_sad.png


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

 
Last edited by a moderator:
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

 
Back
Top