Jump to content
  • 0
Judas

2013 Ragexe Area

Question

525 answers to this question

Recommended Posts

  • 0

its already in the repository

 

 

Leveraging ind customers equal or above  2012-06-18 to equip dagger in kagero takes crash, this why gravity removed support of daggers to kagero.

 

 

When in 2013 from the debug client in char-server.

 

1sjmed.png

Edited by Beret

Share this post


Link to post
Share on other sites
  • 0

wah Ind, your method is wrong :P

 

//----------------------------------------// Function to send char slot counts//----------------------------------------int hc_accept_enter2(int fd, struct char_session_data* sd)	WFIFOW(fd,0) = 0x82d;	WFIFOW(fd,2) = 0x1d; // packet len 29	WFIFOB(fd,4) = sd->char_slots;; // Normal slots.	WFIFOB(fd,5) = 0; // Premium slots.	WFIFOB(fd,6) = 0; // Billing slots.	WFIFOB(fd,7) = sd->char_slots; // Producible??	WFIFOB(fd,8) = sd->char_slots; // valid ??	memset(WFIFOP(fd,9), 0, 20); // trash bytes	WFIFOSET(fd,29);	return 0;}// Tell client how many pages, kRO sends 17void hc_charlist_notify( int fd, struct char_session_data* sd ){	WFIFOHEAD(fd, 6);	WFIFOW(fd, 0) = 0x9a0;	WFIFOL(fd, 2) = 1; // pages to req / send them all in 1 until mmo_chars_fromsql can split them up	WFIFOSET(fd,6);}// HC_ACK_CHARINFO_PER_PAGEvoid hc_ack_charinfo_per_page( int fd, struct char_session_data* sd ){	int j = 4;	WFIFOHEAD(fd, 6);	WFIFOW(fd, 0) = 0x99d;	j+=mmo_chars_fromsql(sd, WFIFOP(fd,j));	WFIFOW(fd,2) = j; // packet len	WFIFOSET(fd,j);}
 

 

i did some captures on kRO several days ago, to verify the packet order, and it goes like so.

 

HC = cHarserver -> Client

CH = Client -> cHarserver

 

PACKET_HC_ACCEPT_ENTER2 = 0x82d // tell how many slots

PACKET_HC_CHARLIST_NOTIFY =  0x9a0 // tell client how many pages of chars

 

//client then sends one for each value you sent in 0x9a0

PACKET_CH_CHARLIST_REQ =  0x9a1

PACKET_HC_ACK_CHARINFO_PER_PAGE =  0x99d, // 3 chars

 

PACKET_CH_CHARLIST_REQ =  0x9a1

PACKET_HC_ACK_CHARINFO_PER_PAGE =  0x99d, // 3 chars

 

PACKET_CH_CHARLIST_REQ =  0x9a1

PACKET_HC_ACK_CHARINFO_PER_PAGE =  0x99d, // 3 chars

 

etc

 

 

.. but

you can skip this and just send

PACKET_HC_ACCEPT_ENTER2 = 0x82d

PACKET_HC_ACCEPT_ENTER =  0x6b

Edited by Yommy

Share this post


Link to post
Share on other sites
  • 0

Here is a little script i wrote after facing issues using a ro-launcher program to allow login via SSO-Login packet. You just create a .bat file for example login.bat, rightclick -> edit, paste following in and edit the name and exe / clientinfo.xml for your server.

 

It's simplistic but should be 100% functional for all windows systems.

 

@echo offecho ##########################*echo ####YourServerRO Login####*echo ########################*echo.echo.set /p user=PLEASE ENTER YOUR USERNAME: echo.set /p pswd=PLEASE ENTER YOUR PASSWORD: start YOUREXENAME.exe 1rag1 -t:%pswd% %user% /account:clientinfo.xml

Then of course save the file and just double click it. Instructions will be self explaining.

Saves you time changing the username all the time and also make it possible to distribute a RE client with SSO packet for your players, enjoy.

Edited by Ryuuzaki

Share this post


Link to post
Share on other sites
  • 0

Here is a little script i wrote after facing issues using a ro-launcher program to allow login via SSO-Login packet. You just create a .bat file for example login.bat, rightclick -> edit, paste following it and edit the name and exe / clientinfo.xml for your server.

Then of course save the file and just double click it. Instructions will be self explaining.

Saves you time changing the username all the time and also make it possible to distribute a RE client with SSO packet for your players, enjoy.

 

except if your password has a space character :P

the password should be sent as md5 hash, otherwise it is transmitted over the internet in plain text, and also in the tasklist as params

Share this post


Link to post
Share on other sites
  • 0

Here is a little script i wrote after facing issues using a ro-launcher program to allow login via SSO-Login packet. You just create a .bat file for example login.bat, rightclick -> edit, paste following in and edit the name and exe / clientinfo.xml for your server.

 

It's simplistic but should be 100% functional for all windows systems.

 

@echo offecho ##########################*echo ####YourServerRO Login####*echo ########################*echo.echo.set /p user=PLEASE ENTER YOUR USERNAME: echo.set /p pswd=PLEASE ENTER YOUR PASSWORD: start YOUREXENAME.exe 1rag1 -t:%pswd% %user% /account:clientinfo.xml

Then of course save the file and just double click it. Instructions will be self explaining.

Saves you time changing the username all the time and also make it possible to distribute a RE client with SSO packet for your players, enjoy.

Thanks! At least it's a bit easier to do testing with

Share this post


Link to post
Share on other sites
  • 0

wah Ind, your method is wrong :P

 

 

//----------------------------------------// Function to send char slot counts//----------------------------------------int hc_accept_enter2(int fd, struct char_session_data* sd)	WFIFOW(fd,0) = 0x82d;	WFIFOW(fd,2) = 0x1d; // packet len 29	WFIFOB(fd,4) = sd->char_slots;; // Normal slots.	WFIFOB(fd,5) = 0; // Premium slots.	WFIFOB(fd,6) = 0; // Billing slots.	WFIFOB(fd,7) = sd->char_slots; // Producible??	WFIFOB(fd,8) = sd->char_slots; // valid ??	memset(WFIFOP(fd,9), 0, 20); // trash bytes	WFIFOSET(fd,29);	return 0;}// Tell client how many pages, kRO sends 17void hc_charlist_notify( int fd, struct char_session_data* sd ){	WFIFOHEAD(fd, 6);	WFIFOW(fd, 0) = 0x9a0;	WFIFOL(fd, 2) = 1; // pages to req / send them all in 1 until mmo_chars_fromsql can split them up	WFIFOSET(fd,6);}// HC_ACK_CHARINFO_PER_PAGEvoid hc_ack_charinfo_per_page( int fd, struct char_session_data* sd ){	int j = 4;	WFIFOHEAD(fd, 6);	WFIFOW(fd, 0) = 0x99d;	j+=mmo_chars_fromsql(sd, WFIFOP(fd,j));	WFIFOW(fd,2) = j; // packet len	WFIFOSET(fd,j);}
 

 

i did some captures on kRO several days ago, to verify the packet order, and it goes like so.

 

HC = cHarserver -> Client

CH = Client -> cHarserver

 

PACKET_HC_ACCEPT_ENTER2 = 0x82d // tell how many slots

PACKET_HC_CHARLIST_NOTIFY =  0x9a0 // tell client how many pages of chars

 

//client then sends one for each value you sent in 0x9a0

PACKET_CH_CHARLIST_REQ =  0x9a1

PACKET_HC_ACK_CHARINFO_PER_PAGE =  0x99d, // 3 chars

 

PACKET_CH_CHARLIST_REQ =  0x9a1

PACKET_HC_ACK_CHARINFO_PER_PAGE =  0x99d, // 3 chars

 

PACKET_CH_CHARLIST_REQ =  0x9a1

PACKET_HC_ACK_CHARINFO_PER_PAGE =  0x99d, // 3 chars

 

etc

 

 

.. but

you can skip this and just send

PACKET_HC_ACCEPT_ENTER2 = 0x28d

PACKET_HC_ACCEPT_ENTER =  0x6b

 

 

T___T and i spent so many hours on this =~ I would've saved the time if I had gone after you instead ;___:

Share this post


Link to post
Share on other sites
  • 0

if i where you i was glad. I'm a step closer to get ingame . Now i hang on charselect . My Server send this warning 

 

[Warning]: clif_parse: Received unsupported packet (packet 0x0888, 19 bytes received)

 what now wrong  :wacko:

Share this post


Link to post
Share on other sites
  • 0

To @Shakto: Here's the error when I try to use your hackshield diff.attachicon.gifaf.jpg

 

Open your ragexe.exe with hshield to update it in your system (Reg values i think)

Share this post


Link to post
Share on other sites
  • 0

if i where you i was glad. I'm a step closer to get ingame . Now i hang on charselect . My Server send this warning 

 

[Warning]: clif_parse: Received unsupported packet (packet 0x0888, 19 bytes received)

 what now wrong  :wacko:

 

0x0888,19,wanttoconnection,2:6:10:14:18

 

There is this packet in your packet.h ?

Did you write the right version in your clientinfo.xml (or sci.xml) ?

Share this post


Link to post
Share on other sites
  • 0

 

To @Shakto: Here's the error when I try to use your hackshield diff.attachicon.gifaf.jpg

 

Open your ragexe.exe with hshield to update it in your system (Reg values i think)

 

I've done it. Manually updated hackshield but still doesn't work.

Share this post


Link to post
Share on other sites
  • 0

T___T and i spent so many hours on this =~ I would've saved the time if I had gone after you instead ;___:

/hugs

Share this post


Link to post
Share on other sites
  • 0

so im ingame now  :D .I change this in mmo.h 

49:     #ifndef PACKETVER50:	     #define PACKETVER 2013032051:     #endif

 now i can login in with ragexe.exe or anything else exe with *.bat file.

 But im lonly while i can not speak with NPC .  :rolleyes:

Share this post


Link to post
Share on other sites
  • 0

so im ingame now  :D .I change this in mmo.h 

49:     #ifndef PACKETVER50:	     #define PACKETVER 2013032051:     #endif

 now i can login in with ragexe.exe or anything else exe with *.bat file.

 But im lonly while i can not speak with NPC .  :rolleyes:

Can't quite understand what you mean by that?

Share this post


Link to post
Share on other sites
  • 0

Sorry i read this Topic and I'm trying for some time to login wihtout success. Today i got this unsupported packet error.

i edit the row 50 from Hercules/scr/common/mmo.h from #define PACKETVER 20120418 to  #define PACKETVER 20130320 ,

and after that i could login in the game . But i cannot speak with NPC,thats crash my client .

I hope I have explained it better this time.

Edited by ParSalian

Share this post


Link to post
Share on other sites
  • 0

Are you saying speaking to NPC crashes your client?

 

Could be because of the npc extend dialog that was patched into it.

Share this post


Link to post
Share on other sites
  • 0

Thanks i diff the exe wihout it an i can speak now with the NPC. Work your exe with diffed npc extend dialog ?

Edited by ParSalian

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
Answer this question...

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