Iris2.de
http://iris2.de/forum/

Can't connect to own server =)
http://iris2.de/forum/viewtopic.php?f=15&t=1634
Page 1 of 1

Author:  MoX [ Sat Apr 03, 2010 9:09 pm ]
Post subject:  Can't connect to own server =)

hi all . First of all i must say : That client are amazing thing ! Greetz 2 u guys for a great work =)


i am using POL server emulator , newest version of core - 099 beta 2 .
at server side in uoclient.cfg i am type Encryption 5.0.8.0
at client side in .iris2/config.lua added lines
gClientVersion = "5.0.8.0"
gLogPackets = true


at .iris2/shards/localhost.xml

<table>
<string key="gLoginname"></string>
<boolean key="gPolServer">true</boolean>
<boolean key="gClientDisable_kPacket_Mega_Cliloc">true</boolean>
<table key="gBaseHues"></table>
<string key="gClientVersion">5.0.8.0</string>
<number key="gServerSeed">4294967295</number>
<number key="gLoginServerPort">5003</number>
<string key="gPassword"></string>
<string key="gLoginServerIP">127.0.0.1</string>

<boolean key="gDisableSendingPartyPos">true</boolean>
<number key="gAutoSelectServerIndex">1</number>
<number key="gWalkTimeout_MovingSpeed">400</number>
<number key="gWalkTimeout_RunningSpeed">200</number>
<number key="gWalkTimeout_MountMovingSpeed">205</number>
<number key="gWalkTimeout_MountRunningSpeed">115</number>
<number key="gWalkTimeout_DirectionChange">100</number>
<number key="gWalkRequestAntiStuckTimeoutDelay">2000</number>
<number key="gMaxWalkQueueEntries">3</number>
</table>


but i can't connect !
CRASH triggereddrom script ....
In console window client writing that server reply are not right Packet with unknow packetsize recieved

At another servers i can connect and play perfectly.
What i do wrong ?
thnx

Author:  ghoulsblade [ Sun Apr 04, 2010 4:11 pm ]
Post subject:  Re: Can't connect to own server =)

iris doesn't support encrypted connections -> shard must allow unencrypted clients.
maybe shard needs to be restarted for config change to take effect ?

another thing you can try is :
copy & adjust config/shards/pangaea.xml for your server, that is a pol shard as well

Author:  MoX [ Sun Apr 04, 2010 9:43 pm ]
Post subject:  Re: Can't connect to own server =)

Just tested at old version of my shard , based on old core POL 095 - normaly connect's...
at 099 - client crashes ...

Still testing =)


FOR OTHER POL USERS
1) TURN OFF all packet hooks .(May be not nessesary, test on your shard).
2) In newest versions edit UOCLIENT.CFG set Encryption to "none" (without quotes)
2.1) In oldest versions edit POL.CFG set ClientEncryptionVersion=none

Sorry for bad english=)

Author:  MoX [ Sun Apr 04, 2010 11:00 pm ]
Post subject:  Re: Can't connect to own server =)

As i understand from my tests Iris2 doesnt support latest POL core .
Normally connects to:
095
096.6


In future i will test 097 \ 098 cores.

Now i have a bug at all workable version of POL. When i drag a stackable item (like gold \ regs \resources etc.) Client at first says that item was destroyed , then i do some steps and client crashes.
Screen of crash attached .


I am upload POL 099 compiled with all needed files .
http://www.sendspace.com/file/vpdyf4
just unpack and start pol.exe.

After start u may connect at 2593 port.

Please test , why Iris can't conect to POL 099

Attachments:
File comment: Screen with crash text
scr.JPG
scr.JPG [ 63.91 KiB | Viewed 43973 times ]

Author:  ghoulsblade [ Sun Apr 04, 2010 11:16 pm ]
Post subject:  Re: Can't connect to own server =)

sounds like network protocol changes dependant on client-version.
please try in iris/config/shards/yourshard.xml :

A) <string key="gClientVersion">7.0.0.0</string>

B) <string key="gClientVersion">6.0.1.7</string>

C) <string key="gClientVersion">5.0.8.0</string>

i think it should work with one of them.

Author:  ghoulsblade [ Sun Apr 04, 2010 11:21 pm ]
Post subject:  Re: Can't connect to own server =)

note : got info via icq : server for testing pol099 with auto-accountign :
http://zuluhotel.kiev.ua/ login server projecthope.game-host.org,5000

Author:  SiENcE [ Wed Apr 07, 2010 6:31 pm ]
Post subject:  Re: Can't connect to own server =)

@MoX:

Try using a different Seed.

I think the server checks for an 7+ UO Client using the Seed (1st Packet send from UOClient). The problem is, that we take this Seed as default for Iris2. Just change the Seed and you can login.

Paste this into your "config.lua" file
Code:
gServerSeed = 0xC0A80266


or this into your XML Shardconfig like "config\shards\localhost.xml":
Code:
<number key="gServerSeed">3232236134</number>



Updated!

Author:  ghoulsblade [ Thu Apr 08, 2010 5:04 pm ]
Post subject:  Re: Can't connect to own server =)

sience : iris does support 7.0+ protocol. otherwise we couldn't logon to vetus-mundus anymore, it has minimum v7 now.

Author:  SiENcE [ Thu Apr 08, 2010 6:00 pm ]
Post subject:  Re: Can't connect to own server =)

Ah yes :). I only copied an explanation from an ealier post. Thx. I updated my post.

But it was the Seed problem. Taking an other Seed as our default, i can login.

Author:  MoX [ Thu Apr 08, 2010 8:21 pm ]
Post subject:  Re: Can't connect to own server =)

Really after adding seed i log in succesfully !! =)
Thnx !

Can you explain how u calculate seed ?

Author:  SiENcE [ Fri Apr 09, 2010 1:56 am ]
Post subject:  Re: Can't connect to own server =)

The Seed is only a random number from the Client. It can be any.

In <6.0 UO Client they used it as Encyption Key for the Loginserver. But i think 7.+ UO Client use this as Identification String, that thier Servers know, oh this is an 7.+ Client and this Client has a different Loginencryption as the old one.

The bad thing is, that esp. the Seed we use for Iris2 as default is used as 7+ Identification. And if you use an newer Server witch supports 7+ Clients....this causes an Error, just because we do not support the newest 7+ Login-Server Encryption.

Author:  Turley [ Fri Apr 30, 2010 2:11 pm ]
Post subject:  Re: Can't connect to own server =)

to be correct seed 0xFFFFFFFF is UOKR
0xEF seed is >=6.0.5.0 (including 7.x)
dont blame us blame osi :) UOKR needs this special 0xe3 packet right after seed receive

Author:  ghoulsblade [ Sat May 01, 2010 4:51 pm ]
Post subject:  Re: Can't connect to own server =)

we made some client v7 network protocol systems in trunk/unstable recently. might be worth a try =)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/