openkore icon indicating copy to clipboard operation
openkore copied to clipboard

Map init problem

Open RaynV opened this issue 8 years ago • 17 comments

------------------ Bug Report Template ------------------

Summary:

lack of packet sent after changing map / teleport IdRO

Affected configuration(s)/ file(s):

Network

Impact:

Bot stuck

Expected Behavior:

Change map / teleport normally after sending 7D 00 packet, send 47 04 immediately

Actual Behavior:

Can't move or do anything after teleport or change map only sending 7D 00 packet.

Steps to Reproduce:

Teleport or move to portal using openkore

RaynV avatar Mar 10 '18 06:03 RaynV

?

RaynV avatar Mar 10 '18 09:03 RaynV

@RaynV openkore support only RE server with xkore1 xkore 3

007D is maploading 
0437 is move

you need sniff from client for check it .

sctnightcore avatar Mar 10 '18 09:03 sctnightcore

yes, i've sniffed and the client send 007D and then sent 0447. While openkore only send 007D, not sending the 0447 packet. FYI, packet move in idro is 035F this issue occur in both server (RE and Classic)

RaynV avatar Mar 10 '18 14:03 RaynV

@RaynV Do you have data 0447 ? idRO ?

sctnightcore avatar Mar 10 '18 15:03 sctnightcore

image Its just plain 47 04

RaynV avatar Mar 11 '18 14:03 RaynV

0447 is sync ? I think .

sctnightcore avatar Mar 11 '18 14:03 sctnightcore

Nope. It appear after portal bug fix patch. My character can't do anything unless i sent the packet manually from bot after map loaded.

RaynV avatar Mar 11 '18 14:03 RaynV

Now we can't do something like this in idRO https://www.youtube.com/watch?v=qHqUOk2VQrM

RaynV avatar Mar 11 '18 14:03 RaynV

// packet 0x447
struct PACKET_CZ_BLOCKING_PLAY_CANCEL {
  /* this+0x0 */ short PacketType
}

it like kRO:zero . i will add if have freetime

sctnightcore avatar Mar 11 '18 16:03 sctnightcore

See #1735 Fix : #1845 //Edit by sctnightcore :p

alisonrag avatar Mar 11 '18 19:03 alisonrag

Where file to put (add 0447 to idRO_RE)

and this

// packet 0x447
struct PACKET_CZ_BLOCKING_PLAY_CANCEL {
  /* this+0x0 */ short PacketType
}

i just update two from this src/Network/Receive.pm & src/Network/Receive/ServerType0.pm #1845

And src/Network/Send/idRO.pm

send_equip 0998
		storage_password 023B
		sync 0360
		character_move 035F ---> change to 0437
		actor_info_request 0368
		actor_look_at 0361
		item_take 0362
		item_drop 0363
		storage_item_add 0364
		storage_item_remove 0365
		skill_use_location 0366
		party_setting 07D7
		buy_bulk_vender 0801
		char_delete2_accept 098f

and i dont know where i must put 007D is maploading this one

banirizal avatar Mar 14 '18 07:03 banirizal

Don't add 0437

sctnightcore avatar Mar 14 '18 08:03 sctnightcore

Add actor_action 0437 update ServerType0.pm, bot still freeze 20 second until change map

banirizal avatar Mar 27 '18 10:03 banirizal

@banirizal ! update you bot !

sctnightcore avatar Mar 27 '18 11:03 sctnightcore

New openkore you mean?

banirizal avatar Mar 27 '18 13:03 banirizal

https://github.com/OpenKore/openkore/archive/master.zip

sctnightcore avatar Mar 27 '18 13:03 sctnightcore

Hi, sorry to reopen this issue. the fix working perfectly for map changing. but it didn't send 47 04 first time after login (after map loaded).

RaynV avatar Mar 28 '18 22:03 RaynV