iRO Character Select Packet Fix

Wrote new code? Fixed a bug? Want to discuss technical stuff? Feel free to post it here.

Moderator: Moderators

Message
Author
bigtpsychoboy
Noob
Noob
Posts: 1
Joined: 10 May 2010, 23:56
Noob?: Yes

Re: iRO Character Select Packet Fix

#21 Post by bigtpsychoboy »

Would you guys mind uploading your files somewhere? I have no idea why I can't get this to work.

AlexLouis
Noob
Noob
Posts: 2
Joined: 07 Apr 2011, 10:43
Noob?: Yes

Re: iRO Character Select Packet Fix

#22 Post by AlexLouis »

i can log in u.u i dont know where i fail on the fix ;O
(sry for bad eng)

herballistic
Noob
Noob
Posts: 4
Joined: 07 Apr 2011, 10:50
Noob?: Yes

Re: iRO Character Select Packet Fix

#23 Post by herballistic »

I have done everything you said, probably wrong though... Is there no chance of you uploading your 3 files so I can overwrite my ones? I am still getting this error message:

couldn't connect: a connection failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (error code 10060)

It's driving me nuts, I am so close to being able to transcend!!! lol.

Please please please save me from this nightmare!! :D
Gary.

towerwarlock
Noob
Noob
Posts: 13
Joined: 24 Mar 2010, 13:20
Noob?: Yes

Re: iRO Character Select Packet Fix

#24 Post by towerwarlock »

I changed the servers.txt and the others but it still is not working. Can anyone actually provide anything that will help?

herballistic
Noob
Noob
Posts: 4
Joined: 07 Apr 2011, 10:50
Noob?: Yes

Re: iRO Character Select Packet Fix

#25 Post by herballistic »

I messed around with it a bit more and think I got it closer this time.
I now get the error message: Packet Tokenizer: Unknown switch: 082D

Grrrrrr!

chillaxin
Noob
Noob
Posts: 2
Joined: 07 Apr 2011, 14:15
Noob?: No

Re: iRO Character Select Packet Fix

#26 Post by chillaxin »

wizzdome's method works. just open servertype0 with wordpad and insert it into the correct place, using a search of the surrounding text block, save it and you're good the go.

same for the other text blocks, search, insert and save.

thanks for the info wizz

+1 karma

liquid-jc
Noob
Noob
Posts: 3
Joined: 07 Apr 2011, 14:06
Noob?: Yes

Re: iRO Character Select Packet Fix

#27 Post by liquid-jc »

sorry i feel so dump cant follow,.
where can i find (server text)

Motivus
Developers
Developers
Posts: 157
Joined: 04 Apr 2008, 13:33
Noob?: Yes

Re: iRO Character Select Packet Fix

#28 Post by Motivus »

I'm sorry that it's hard to follow. I posted it really late last. I updated it to reflect the latest svn changes and hopefully be easier to follow.

Here is the updated post:
Add the following to src/Network/receive/ServerType0.pm with all the similar lines

Code: Select all

		'082D' => ['received_characters'],
It should look like this if you paste it in between the two existing lines:

Code: Select all

		'0818' => ['buyer_items', 'v a4 a4', [qw(len venderID venderCID)]],
		'082D' => ['received_characters'],
		'084B' => ['item_appeared', 'a4 v2 C v2', [qw(ID nameID amount identified x y)]], # 19 TODO   provided by try71023
Update iRO's recvpackets in tables/iRO/recvpackets.txt with

Code: Select all

082D 0
Or just generate a new one with klab's tool. My recvpackets: here

Technical side of what changed: The packet's non-charBlock structure changed for iRO's received_characters. Kore ignores this portion of the packet. It added ~22 bytes to the packet. In order to accommodate this change they gave it a new id, but the character block portion of the packet (that kore cares about) remained the same as before.

Other iRO Changes:

-Valkyrie server no longer has its own account server ip, it is shared with ymir/ygg

Code: Select all

[International - iRO: Valkyrie/Ymir/Yggdrasil]
ip 128.241.92.162
port 6900
master_version 1
version 18
serverType iRO
serverEncoding Western
patchserver ropatch1.gravityus.com
patchpath /patch02
addTableFolders iRO
charBlockSize 112
Oh no.

chillaxin
Noob
Noob
Posts: 2
Joined: 07 Apr 2011, 14:15
Noob?: No

Re: iRO Character Select Packet Fix

#29 Post by chillaxin »

Motivus wrote:I'm sorry that it's hard to follow. I updated it slightly. Attachments don't work for me either. I was going to post the updated recvpackets.
No, I think your original post was / is pretty clear, I think the confusion came about from those unfamiliar with tweaking the text blocks themselves.

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: iRO Character Select Packet Fix

#30 Post by EternalHarvest »

Looks like it works. Committed to svn.

Valkyrie users: unset "server" in your config to choose Valkyrie from the new list - or set it to "2".

Locked