Jump to content

AsiaGenius

Members
  • Content Count

    24
  • Joined

  • Last visited

Posts posted by AsiaGenius


  1. Did you configure your emulator to get mac address?

     

    Did you attached your dll file to be loaded by the client in order to get mac as well?

     

    Dll loaded and getting MAC successful

     

    The question is, how can I configure the emulator to receive MAC and other data that I want to send using my dll?

     

     

    Thanks for your attention!


  2. Hello!
     
    I need help to finish my DLL Shield.
     
     
    My packet 0x64 content: (my dll working)
     
    0e64853029be41dd80944029e6472a0a.png
     
     
    My part of DLL source:
     

    unsigned int command = (*(unsigned short*)buf);
    
    if( (command == 0x64) ) { //if login packet, send mac to host serv
    			char mac_address[18] = "";
    			GetMACaddress((char *)mac_address); //GET MAC 
    			memcpy((char*)buf+*len, mac_address, sizeof(mac_address)); //ATTACH MAC IN TO CURRENT PACKET 0X64
    			*len += 17;
    } ...
    

    correctly sends new packet value
     
    How do I get data added to the packet leng in the emulator?
     
    I tried so;
     

    char mac = RFIFOL(fd,12);
    

    But always returns zero...
     
    But I need some tips to properly handle this new value! I want to add MAC, HWID, Shield Version. I'm testing
    first only with the MAC!
     
    Help-me pls, I intend to share the DLL Shield for community!


  3. I'm using 2015-05-13aRagexe as well.

     

    I've tested it and the same problem appeared to me.

     

     

    How to solve this problem?

     

    Just remove the following check before you drag the item

     

    ZLD7Z5m.jpg=> YwC8csW.jpg

     

    "Safety check more than 10million Zeny" always made some trouble in the past, but it's not a big deal.

     

     

     

    Not exist other solution?


  4. void clif_parse_join_HUNT(int fd, struct map_session_data *sd) 
    {
    	const unsigned int blocksize = 6;
    	unsigned int count, packet_orga,packet_orgas,packet_orgass,packet_type;
    	struct s_packet_db* info = &packet_db[sd->packet_ver][RFIFOW(fd,0)];
    
    	packet_type = RFIFOW(fd,info->pos[0]);
    	packet_id = RFIFOW(fd,info->pos[1]);
    	
    
    	if (packet_orga == 26964){ 
    		ShowWarning("Packet Received!  \n");
    	} 
    
    }
    

    I'm making a system that when you get a packet, the hexed, it will call an NPC!

     

    Currently the script does the following;
    1 - Click the button on my hexed interface
    2 - A packet is sent
    3 - I get the packet and display a message "Packet Received: D"
     
    I must now call a script from an NPC in the game.
     
    Can anyone help me with something?
     
     
    void clif_parse_join_HUNT(int fd, struct map_session_data *sd) 
    {
    	const unsigned int blocksize = 6;
    	unsigned int count, packet_orga,packet_orgas,packet_orgass,packet_type;
    	struct s_packet_db* info = &packet_db[sd->packet_ver][RFIFOW(fd,0)];
    
    	packet_type = RFIFOW(fd,info->pos[0]);
    	packet_id = RFIFOW(fd,info->pos[1]);
    	
    
    	if (packet_orga == 26964){ //
    		//CALL NPC event_A WHERE 
    	} 
    
    }
    

     

    Script to call

    -	script	event_A	-1,{
    
    mes "Working!";
    close;
    
    }
    

     

     

     

    Sorry my bad english...

     

    Solved, close topic. :)


  5. Clientinfo might have passwordencrypt tag, remove it

     

    my file

     

    <?xml version="1.0" encoding="euc-kr"?>
    <clientinfo>
    	<servicetype>america</servicetype>
    	<servertype>primary</servertype>
    	<connection>
    		<display>playRO [^008000Online^000000]</display>
    		<address>127.0.0.1</address>
    		<port>6900</port>
    		<version>52</version>
    		<langtype>18</langtype>
    		<aid>
    			<admin>2004002</admin>
    			<admin>2004148</admin>
    			<admin>2005280</admin>
    		</aid>
    	</connection>
    	<registrationweb>www.sas.com.br</registrationweb>
    </clientinfo>
    

  6. Hello, I have one client diff 05-13-2015 perfect, read data folder first.

     

    9wzj68K.png

     

     

    But when I diff for him to read the GRF, read only GRF of iRO, not mine!

     

    --> I delete my data folder, re-diff reader GRF files and create my grf file

     

     

    When I login this message;
     
    Login or password incorrect
     
     
    He did not read my GRF, only GRF iRO!
     
     
    My data.ini
    [Data]
    1=data.grf
    2=mygrf.grf
    

     

     

    Sorry my bad english!

     

×
×
  • Create New...

Important Information

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