Jump to content


Photo

Get last_mac Address

Others last_mac mac address

  • Please log in to reply
38 replies to this topic

#21 Alexandria

Alexandria

    Advanced Member

  • Members
  • PipPipPip
  • 340 posts
  • Locationlocalhost

Posted 19 February 2015 - 03:21 AM

[font="'comic sans ms', cursive;"][color=rgb(238,130,238);]Is there another way to get MAC without an updater?[/color][/font]


3jJV0Bu.png


#22 Angelmelody

Angelmelody

    (\ /) ( . .)

  • Members
  • PipPipPip
  • 772 posts
  • Locationnew_1-1,53,111
  • Emulator:Hercules
  • Github:Angelmelody

Posted 19 March 2015 - 06:08 AM

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

Spoiler

Edited by Angelmelody, 19 March 2015 - 06:20 AM.

Spoiler


#23 Litro

Litro

    Advanced Member

  • Members
  • PipPipPip
  • 364 posts
  • LocationProntera
  • Emulator:Hercules
  • Github:Litro

Posted 19 March 2015 - 09:24 AM

[font="'lucida sans unicode', 'lucida grande', sans-serif;"]maybe this can do http://herc.ws/board...ge-4#entry47642[/font]


:thx:For being you, For all of you :thx: 

 

:wub: ~ Certified Fans of AnnieRuru ~ :wub:

 


#24 evilpuncker

evilpuncker

    The Suggester

  • Community Contributors
  • 2122 posts
  • Locationbr br hue hue

Posted 11 May 2015 - 09:21 PM

@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, 11 May 2015 - 09:21 PM.

before asking for help, click here

some people that I admire:

Ai4rei (tools and client stuff) • Aeomin (the awesome thor patcher) • AnnieRuru (very helpful with script and source stuff)

Neo (N.E.M.O... do I need to say more?) • KeyWord (roBrowser <3) • k3dt (clients and clients) • Tokeiburu (awesome tools)

Dastgir (lua stuff) • Yommy • Ind • Haru • malufett

 

:ok:    and everyone that contributed in any way to the *Athena community in general (emulator, releases, support etc)  :no1: 


#25 Alexandria

Alexandria

    Advanced Member

  • Members
  • PipPipPip
  • 340 posts
  • Locationlocalhost

Posted 11 May 2015 - 09:31 PM

@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.

 

[font="'comic sans ms', cursive;"][color=rgb(238,130,238);]Ty.[/color][/font]

 

[font="'comic sans ms', cursive;"][color=rgb(238,130,238);]Is there a .dll to inject to my .exe (2012 04 10) to make it to work without a login tool?[/color][/font]y


3jJV0Bu.png


#26 Summit51

Summit51

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 29 May 2016 - 08:08 PM

@evilpuncker Could this be updated again for the latest Hercules source?

Edited by Summit51, 29 May 2016 - 08:18 PM.


#27 evilpuncker

evilpuncker

    The Suggester

  • Community Contributors
  • 2122 posts
  • Locationbr br hue hue

Posted 29 May 2016 - 08:34 PM

@evilpuncker Could this be updated again for the latest Hercules source?

 

sorry but I was not able to update it, lets wait for someone more capable of, like @Dastgir, @hemagx, @malufett etc :P


before asking for help, click here

some people that I admire:

Ai4rei (tools and client stuff) • Aeomin (the awesome thor patcher) • AnnieRuru (very helpful with script and source stuff)

Neo (N.E.M.O... do I need to say more?) • KeyWord (roBrowser <3) • k3dt (clients and clients) • Tokeiburu (awesome tools)

Dastgir (lua stuff) • Yommy • Ind • Haru • malufett

 

:ok:    and everyone that contributed in any way to the *Athena community in general (emulator, releases, support etc)  :no1: 


#28 Summit51

Summit51

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 29 May 2016 - 10:05 PM


@evilpuncker Could this be updated again for the latest Hercules source?

 
sorry but I was not able to update it, lets wait for someone more capable of, like @Dastgir, @hemagx, @malufett etc :P


It's okay. Hopefully they can update it since this is a really useful feature. :D

#29 MikZ

MikZ

    Advanced Member

  • Members
  • PipPipPip
  • 183 posts

Posted 15 June 2016 - 10:22 AM

following this topic.

Hoping for sooner update /no1



#30 Dastgir

Dastgir

    Advanced Member

  • Script Developers
  • 3341 posts
  • IRC Nickname:Dastgir
  • Emulator:Hercules
  • Github:dastgir

Posted 15 June 2016 - 12:15 PM

Let me see what I can do


Edit: Might not able to test the edit, since I don't have Launcher (and I need to recompile the server , which I couldn't afford atm)


Here you go:

https://github.com/d...ree/master/diff


My Services: Click Here
Clientside Translation: Click HERE
If you like my work Please Click [i]rep_up.png


#31 MikZ

MikZ

    Advanced Member

  • Members
  • PipPipPip
  • 183 posts

Posted 16 June 2016 - 09:57 AM

Let me see what I can do


Edit: Might not able to test the edit, since I don't have Launcher (and I need to recompile the server , which I couldn't afford atm)


Here you go:

https://github.com/d...ree/master/diff

OMG! TNX dastgir!

 

 

 

Tested and:
I don't know if it is related. but somehow, if i use ROCRED it always says failed (no error in map-server) to connect to server after character select. cant seem to check if last_mac is working. but i can log in without the ROCRED launcher could not detect last_mac.

FIXED! WORKING!


Edited by MikZ, 18 June 2016 - 02:29 PM.


#32 Ranz

Ranz

    Advanced Member

  • Members
  • PipPipPip
  • 264 posts
  • LocationSa bahay

Posted 19 November 2016 - 10:46 AM

http://imgur.com/a/Mm7wu

not working for me. tried with the latest git ver as of 11/19/16


sg2x4o.gif


#33 Dastgir

Dastgir

    Advanced Member

  • Script Developers
  • 3341 posts
  • IRC Nickname:Dastgir
  • Emulator:Hercules
  • Github:dastgir

Posted 19 November 2016 - 11:07 AM

http://imgur.com/a/Mm7wu
not working for me. tried with the latest git ver as of 11/19/16

You should login via rocred

My Services: Click Here
Clientside Translation: Click HERE
If you like my work Please Click [i]rep_up.png


#34 Ranz

Ranz

    Advanced Member

  • Members
  • PipPipPip
  • 264 posts
  • LocationSa bahay

Posted 19 November 2016 - 11:20 AM

Thank you


sg2x4o.gif


#35 Only4fun

Only4fun

    Member

  • Members
  • PipPip
  • 11 posts

Posted 25 November 2016 - 08:00 PM

Nice, worked here too.


Edited by Only4fun, 03 December 2016 - 01:15 AM.


#36 Ranz

Ranz

    Advanced Member

  • Members
  • PipPipPip
  • 264 posts
  • LocationSa bahay

Posted 05 December 2016 - 07:52 PM

@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.


Its confusing me. is this working or no? the First line of this topic is "it is not working" 
please edit if its working now. TY


sg2x4o.gif


#37 DarkGuerra

DarkGuerra

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • Github:Gabriel

Posted 17 January 2017 - 05:01 PM

Buenas, esto funciona? esta muy bueno la verdad! y e intentado meterlo manual pero no encuentro la linea

 

char *accname = (char *)RFIFOP(fd, 9);
         char *token = (char *)RFIFOP(fd, 0x5C);
+        char *mac = {(char *)RFIFOP(fd, 60)};
         size_t uAccLen = strlen(accname);
+        size_t uMac = 18;
         size_t uTokenLen = RFIFOREST(fd) - 0x5C;
+        safestrncpy(mac,mac, uMac);
+        safestrncpy(sd->mac_address,mac, uMac);
 
         version = RFIFOL(fd,4);
 
en src/login/login.c
 
alguien me colabora? y decir si funciona o no?


#38 InFiNiTe

InFiNiTe

    Member

  • Members
  • PipPip
  • 12 posts
  • Emulator:Hercules

Posted 18 February 2017 - 08:21 PM

Buenas, esto funciona? esta muy bueno la verdad! y e intentado meterlo manual pero no encuentro la linea

 

char *accname = (char *)RFIFOP(fd, 9);
         char *token = (char *)RFIFOP(fd, 0x5C);
+        char *mac = {(char *)RFIFOP(fd, 60)};
         size_t uAccLen = strlen(accname);
+        size_t uMac = 18;
         size_t uTokenLen = RFIFOREST(fd) - 0x5C;
+        safestrncpy(mac,mac, uMac);
+        safestrncpy(sd->mac_address,mac, uMac);
 
         version = RFIFOL(fd,4);
 
en src/login/login.c
 
alguien me colabora? y decir si funciona o no?

Funciona...



#39 pidow

pidow

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 17 April 2017 - 01:40 PM

Error in clif :

lclif.c:87:37: error: ‘const struct packet_CA_LOGIN’ has no member named ‘mac_address’
  safestrncpy(sd->mac_address, packet->mac_address, 17); // Mac Length on Address is 17
 
Can somebody update patch file ?
Thx a lot !






Also tagged with one or more of these keywords: Others, last_mac, mac address

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


This topic has been visited by 605 user(s)