PDA

View Full Version : 5.7-DR6 Login


Facet42
04-14-2005, 12:42 AM
Hi,

I am putting together a login server for a 5.7-DR6 client/server so I can run a local server and have just about got it finished. I am having an issue where the client just isn't playing ball, although I have verified that I am able to log into a public server and play perfectly well. I have got as far as being able to select my server on the server list and am receiving the network message for a connection request, however when my login server responds the client is sending a packet of the form 0x00, 0x11, 0x00, 0x03 and timing out.

I have even run a network monitor on a live server and mimiced the response packet exactly byte for byte but can't get past this. I am probably missing something glaringly obvious, but have yet to spot it ;)

Is anyone able to explain how the client / to worldserver protocol works (not the actual login / server info bit as I have sussed that), or at least tell me what opcode 17 is...?

Apologies if this is not the right place to ask.

sdabbs65
04-14-2005, 02:44 AM
OP_AckPacket=0x0017

Facet42
04-14-2005, 04:34 AM
Sorry, I should have specified, that's 17 decimal (0x0011 hex.)

sdabbs65
04-14-2005, 07:07 AM
That one is not listed...
here are the ones I have, maybe the old source is different.

OP_Unknown=0x0000
OP_Heartbeat=0x0176
OP_ReloadUI=0x02d7
OP_IncreaseStats=0x01eb
OP_ApproveZone=0x0134
OP_Dye=0x01d5
OP_Stamina=0x0168
OP_ControlBoat=0x014d
OP_MobUpdate=0x003e
OP_ClientUpdate=0x0027
OP_ChannelMessage=0x0024
OP_SimpleMessage=0x01d7
OP_FormattedMessage=0x01d8
OP_TGB=0x01c6
OP_Bind_Wound=0x012d
OP_Charm=0x01ab
OP_Begging=0x014c
OP_MoveCoin=0x0152
OP_SpawnDoor=0x0292
OP_Sneak=0x009d
OP_ExpUpdate=0x0079
OP_DumpName=0x027d
OP_RespondAA=0x01ea
OP_SendAAStats=0x01c9
OP_SendAATable=0x0366
OP_AAAction=0x01e9
OP_BoardBoat=0x00bb
OP_LeaveBoat=0x00bc
OP_AdventureInfoRequest=0x02b8
OP_AdventureInfo=0x02b9
OP_AdventureRequest=0x02a6
OP_AdventureDetails=0x02a8
OP_LDoNButton=0x02a9
OP_AdventureData=0x02ba
OP_AdventureFinish=0x02c9
OP_LeaveAdventure=0x02c6
OP_AdventureUpdate=0x02ce
OP_SendExpZonein=0x002b
OP_ZoneInSendName=0x01e4
OP_GuildLeader=0x01bf
OP_GuildPeace=0x009a
OP_GuildRemove=0x0132
OP_GuildMemberList=0x0059
OP_GuildMemberUpdate=0x026e
OP_GuildInvite=0x0130
OP_GuildMOTD=0x01c0
OP_GuildPublicNote=0x003c
OP_GetGuildMOTD=0x027e
OP_GuildDemote=0x0277
OP_GuildInviteAccept=0x0131
OP_GuildWar=0x00a4
OP_GuildDelete=0x0133
OP_GuildManageRemove=0x0233
OP_GuildManageAdd=0x022d
OP_GuildManageStatus=0x0039
OP_Trader=0x01e8
OP_Bazaar=0x01e7
OP_BecomeTrader=0x01c4
OP_TraderItemUpdate=0x006e
OP_TraderShop=0x01eb
OP_TraderBuy=0x01ca
OP_PetCommands=0x01ac
OP_TradeSkillCombine=0x0042
OP_AugmentItem=0x02e5
OP_ItemName=0x0367
OP_ShopItem=0x02cd
OP_ShopPlayerBuy=0x0065
OP_ShopPlayerSell=0x006a
OP_ShopDelItem=0x006d
OP_ShopRequest=0x00f7
OP_ShopEnd=0x006c
OP_LFGCommand=0x0270
OP_LFGAppearance=0x01d0
OP_GroupUpdate=0x024a
OP_GroupInvite=0x025f
OP_GroupDisband=0x00ff
OP_GroupInvite2=0x00d5
OP_GroupFollow=0x025e
OP_GroupFollow2=0x00d7
OP_GroupCancelInvite=0x00d6
OP_Split=0x0156
OP_Jump=0x00d8
OP_ConsiderCorpse=0x01d6
OP_SkillUpdate=0x0064
OP_GMEndTrainingResponse=0x0178
OP_GMEndTraining=0x013c
OP_GMTrainSkill=0x0175
OP_GMTraining=0x013b
OP_ConsumeAmmo=0x017b
OP_CombatAbility=0x0171
OP_TrackUnknown=0x009c
OP_TrackTarget=0x0234
OP_Track=0x0286
OP_ItemLinkClick=0x001f
OP_ItemLinkResponse=0x01f4
OP_ItemLinkText=0x01d9
OP_RezzAnswer=0x00e5
OP_RezzComplete=0x019b
OP_SendZonepoints=0x0247
OP_SetRunMode=0x008c
OP_InspectRequest=0x0248
OP_InspectAnswer=0x0249
OP_SenseTraps=0x0187
OP_DisarmTraps=0x018e
OP_Assist=0x01bc
OP_PickPocket=0x0240
OP_LootRequest=0x0119
OP_EndLootRequest=0x011a
OP_MoneyOnCorpse=0x011b
OP_LootComplete=0x0179
OP_LootItem=0x013f
OP_MoveItem=0x0151
OP_WhoAllRequest=0x0056
OP_WhoAllResponse=0x0229
OP_Consume=0x0167
OP_AutoAttack=0x0172
OP_AutoAttack2=0x0186
OP_TargetMouse=0x0173
OP_TargetCommand=0x01ba
OP_TargetReject=0x01d8
OP_Hide=0x009e
OP_Forage=0x012e
OP_Fishing=0x0077
OP_Bug=0x0246
OP_Emote=0x00f2
OP_EmoteAnim=0x0140
OP_Consider=0x015c
OP_FaceChange=0x01cb
OP_RandomReq=0x0197
OP_RandomReply=0x0087
OP_Camp=0x01c3
OP_YellForHelp=0x0192
OP_SafePoint=0x00ef
OP_Buff=0x0157
OP_BuffFadeMsg=0x00c0
OP_SpecialMesg=0x021c
OP_Consent=0x0013
OP_ConsentResponse=0x029d
OP_Deny=0x02d4
OP_Stun=0x016c
OP_BeginCast=0x0021
OP_CastSpell=0x00be
OP_InterruptCast=0x01a8
OP_Death=0x0105
OP_FeignDeath=0x023f
OP_Illusion=0x012b
OP_LevelUpdate=0x0078
OP_LevelAppearance=0x0371
OP_MemorizeSpell=0x00c2
OP_HPUpdate=0x0244
OP_Mend=0x007d
OP_Taunt=0x0160
OP_GMDelCorpse=0x0199
OP_GMFind=0x0047
OP_GMServers=0x0020
OP_GMGoto=0x010b
OP_GMSummon=0x028c
OP_GMKill=0x0109
OP_GMLastName=0x00a3
OP_GMToggle=0x01b3
OP_GMEmoteZone=0x028f
OP_GMBecomeNPC=0x0074
OP_GMHideMe=0x00de
OP_GMZoneRequest=0x0184
OP_GMZoneRequest2=0x0239
OP_Petition=0x0068
OP_PetitionRefresh=0x0085
OP_PDeletePetition=0x01ee
OP_PetitionBug=0x0092
OP_PetitionUpdate=0x0069
OP_PetitionCheckout=0x0076
OP_PetitionCheckout2=0x0056
OP_PetitionDelete=0x0091
OP_PetitionResolve=0x02b4
OP_PetitionCheckIn=0x007e
OP_PetitionUnCheckout=0x0090
OP_PetitionQue=0x01ec
OP_SetServerFilter=0x01bb
OP_NewSpawn=0x0218
OP_Animation=0x0140
OP_ZoneChange=0x0142
OP_DeleteSpawn=0x00f3
OP_EnvDamage=0x00e8
OP_Action=0x0101
OP_Damage=0x00e2
OP_ManaChange=0x00bf
OP_ClientError=0x027c
OP_Save=0x00fb
OP_LocInfo=0x0316
OP_Surname=0x0188
OP_SwapSpell=0x018f
OP_DeleteSpell=0x01db
OP_CloseContainer=0x029f
OP_ClickObjectAck=0x029f
OP_CreateObject=0x00fa
OP_ClearObject=0x01c1
OP_ZoneUnavail=0x0265
OP_ItemPacket=0x02e0
OP_TradeRequest=0x029a
OP_TradeRequestAck=0x0037
OP_TradeAcceptClick=0x002d
OP_TradeMoneyUpdate=0x0162
OP_TradeCoins=0x0036
OP_CancelTrade=0x002e
OP_FinishTrade=0x002f
OP_SaveOnZoneReq=0x00a1
OP_Logout=0x0185
OP_DuelResponse2=0x016e
OP_InstillDoubt=0x007c
OP_SafeFallSuccess=0x00ac
OP_DisciplineUpdate=0x02fb
OP_TributeUpdate=0x02f2
OP_TributeItem=0x02f3
OP_TributePointUpdate=0x02f4
OP_SendTributes=0x02f5
OP_TributeInfo=0x02f6
OP_SelectTribute=0x02f7
OP_TributeTimer=0x02f8
OP_StartTribute=0x02f9
OP_TributeNPC=0x02fa
OP_TributeMoney=0x02fe
OP_TributeToggle=0x0364
OP_RecipesFavorite=0x0322
OP_RecipesSearch=0x01f9
OP_RecipeReply=0x01fa
OP_RecipeDetails=0x01fb
OP_RecipeAutoCombine=0x01fc
OP_FindPersonRequest=0x02db
OP_FindPersonReply=0x02dc
OP_Shielding=0x01dd
OP_SetDataRate=0x0198
OP_ZoneEntry=0x023b
OP_PlayerProfile=0x006b
OP_CharInventory=0x0291
OP_ZoneSpawns=0x0170
OP_Weather=0x015b
OP_ReqNewZone=0x00ec
OP_NewZone=0x00eb
OP_ReqClientSpawn=0x00fd
OP_SpawnAppearance=0x012F
OP_ClientReady=0x0086
OP_ZoneComplete=0x0086
OP_ApproveWorld=0x0195
OP_LogServer=0x035f
OP_MOTD=0x01b2
OP_SendLoginInfo=0x0251
OP_DeleteCharacter=0x00ea
OP_SendCharInfo=0x0102
OP_ExpansionInfo=0x00e1
OP_CharacterCreate=0x0104
OP_RandomNameGenerator=0x02ab
OP_GuildsList=0x005d
OP_ApproveName=0x0125
OP_EnterWorld=0x0261
OP_World_Client_CRC1=0x015a
OP_World_Client_CRC2=0x015e
OP_SetChatServer=0x0269
OP_ZoneServerInfo=0x0264
OP_AckPacket=0x0017
OP_WearChange=0x012c
OP_CrashDump=0x0265
OP_LoginComplete=0x0000
OP_RezzRequest=0x0a41
OP_GMKick=0x010a
OP_MultiLineMsg=0x0440
OP_TimeOfDay=0x0026
OP_MoneyUpdate=0x01b5
OP_ClickObject=0x00f9
OP_ReadBook=0x0297
OP_GMNameChange=0x0b40
OP_SendHPTarget=0x022e
OP_MoveDoor=0x0128
OP_TraderDelItem=0x017c
OP_AdventureMerchantPurchase=0x02d3
OP_TestBuff=0x0285
OP_DuelResponse=0x0a5d
OP_RequestDuel=0x0298
OP_BazaarInspect=0x01f4
OP_ClickDoor=0x0127
OP_GroupAcknowledge=0x0272
OP_GroupDelete=0x0721
OP_AdventureMerchantResponse=0x02d2
OP_ShopEndConfirm=0x0f6d
OP_AdventureMerchantRequest=0x02d1
OP_0x0282=0x0282
OP_0x01a6=0x01a6
OP_0x0202=0x0202
OP_0x0380=0x0380
OP_0x037f=0x037f
OP_0x0347=0x0347
OP_0x02e4=0x02e4
OP_0x01d7=0x01d7
OP_0x0193=0x0193
OP_0x01e7=0x01e7
OP_0x02f2=0x02f2
OP_0x0120=0x0120

Facet42
04-14-2005, 08:19 AM
Ok, think I've sorted it. Somehow the sequence numbers of the packets got out of sync and the type 0x0011 packet from the client was trying to tell me that it had received a packet number it wasn't expecting.