Full Version : PacketHandler.cs Error
xmlspawner >>Troubleshooting >>PacketHandler.cs Error
<< Prev | Next >>
Xarlon- 09-07-2007
Owner ‎(4:41 PM):
I tried installing xmlspawner but it comes up with an error in the packethandler script. says line 26
Owner ‎(4:43 PM):
which is about this part
#if(CLIENT6017)
PacketHandlers.Register6017(0x66, 0, true, new OnPacketReceive(XmlTextEntryBook.ContentChange));
#endif
I think it said theres no definition for client6017
That's the error I'm told is occurring on the shard I help with. I couldn't find anything about it in the forums.
She's running RC1 freshly installed. (our 1.0 shard finally corrupted every save file, so we decided to redo the shard in 2.0)
--- edit ---
it's the packethandleroverrides.cs file... she corrected herself later.
ArteGordon- 09-07-2007
look at the beginning of PacketHandlerOverrides.cs, you should see this

CODE
#define CLIENT6017 using System; using System.IO; using System.Text; using Server;
using Server.Network;
using Server.Items;
using Server.Mobiles;
using Server.Engines.Quests;

if you are using an SVN beyond 194 then you should leave it like that. If you are using RC1 or an older SVN, then comment out the first line like this

CODE
//#define CLIENT6017 using System; using System.IO; using System.Text; using Server;
using Server.Network;
using Server.Items;
using Server.Mobiles;
using Server.Engines.Quests;

Note that if you are using RC1 you will not be able to connect to the most recent clients (6.0.1.7 or later). You will need to update to the latest SVN for that.
Xarlon- 09-07-2007
ah, ok thanks.