Version 0.1.5

Status
Not open for further replies.
ARGH!
How the.... what the.... bah!
I'll have to force it to create the log somehow...

rmaster: FriedPasta just informed me. Stop shouting, and stop assuming that I'll add you on Skype to provide personal assistance.
 
Try this version.
It should at least produce a log at C:\PDPatcher.log if it crashes.
It also fixes a bug.

But if it crashes, please just open the log in Notepad and paste it in here!
 
2014.01.24-06.10.12:info: Fetched file:Bass.Net.dll
2014.01.24-06.10.12:error: Exception in KISS.ReadCallback: System.ArgumentException: Path cannot be the empty string or all whitespace.
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
at PDPatcher.FileManager.CreateDirectory(String FilePath)
at PDPatcher.Form1.m_Requester_OnFetchedFile(MemoryStream MemStream)
at KISS.Requester.ReadCallback(IAsyncResult AResult)
 
We always the same problem/bug than the previous version when we try to update. :/
 
Wohooo, thanks Rhys! :D
I'm going to the gym now, but I'll try fixing the bug when I get home (hopefully I'll find something, but it might be hard seeing as I don't get the exception myself).
 
RHY3756547 said:
I didn't think anyone used 32-bit windows anymore... Well, whatever! I'll be able to test in an hour or two.
Does that mean I'm the last person on EARTH to use 32-bit OSes? AWESOME.
I get the manifest error (still!)
EDIT: Didn't run the client, that's why *DUUUUUUUUUUUH*
 
OK, I ran through the code and found the problem.

Every time you're about to write a file, you call FileManager.CreateDirectory at that file's filename. The CreateDirectory method removes the filename from the path and tries to create the directory... However with files that are meant to be in the root directory this operation is returning "". It's erroring out because it can't create a directory with no name!

Change:
if (!Directory.Exists(Dir))
to:
if (!(Dir == "" ||Directory.Exists(Dir)))
 
Here's my log:

2014.01.24-07.59.34:info: Fetched file:Bass.Net.dll
2014.01.24-07.59.34:error: Exception in KISS.ReadCallback: System.ArgumentException: Path cannot be the empty string or all whitespace.
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
at PDPatcher.FileManager.CreateDirectory(String FilePath)
at PDPatcher.Form1.m_Requester_OnFetchedFile(MemoryStream MemStream)
at KISS.Requester.ReadCallback(IAsyncResult AResult)
 
Only need to install that patch, is so confusing know whats the right version now

Also i recieve the error "Ea server is temporaly unavaliable"
 
Did you run the latest updater? Did it crash?
Edit: Just checked, and servers are running.

If you run the updater and it says that the client is the latest version, you should probably try to reinstall the client, add the latest updater, then run it. Then the client should be the latest version and work! :D
 
Alright, reinstalled everything from scratch, copied over new files, ran PDBootstrap, chose no to backup, patched just fine, launched client, tried logging in, "EA temporarily unavailable."

Edit: it does still say no maxis products found but it doesn't prevent it from launching the patcher, so it isn't a big deal.
 
Afr0 said:
Did you run the latest updater? Did it crash?
Edit: Just checked, and servers are running.

If you run the updater and it says that the client is the latest version, you should probably try to reinstall the client, add the latest updater, then run it. Then the client should be the latest version and work! :D

I downloaded PDPatcher and triend to run it just says Maxix products wasn't found on system and when i press ok it crashes.

I have windows 7 x64 yeah

but tso is installed to Program Files and not to Program Files (x86)
 
Status
Not open for further replies.
Back
Top