Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

Hax's Pedestrian Mod Crashing


Tomoz1123
 Share

Recommended Posts

I have a problem.

 

No matter what version of IV I run, be it 1.0.1.0 or 1.0.7.0, I get the same results.

 

The Pedestrian Mod is something I've sought after since I saw GTA IV on PC, I only got a PC capable of running IV this Chistmas, and the first thing I did was get to work trying to mod it.

 

Other mods run fine, 1st person view, Simple Trainer etc.

 

I downloaded 2 different versions of the Ped Mod, the first one I downloaded was the one on this site, which runs, I press F11 which is smoke a fag, Niko does it, but as soon as he finishes the fag, IV crashes.

 

The 2nd version I got from another site, the game loads, I press F11 and I get: "Error in script: _haxWorks's_PedestrianMod!"

 

The scripthookdotnet log says something along the lines of GTA3 Vector or something, I forgot to save the results.

 

I replaced the one that won't even load with the one that makes it crash to see what the error is, and this is the result:

 

 

2012-01-01 20:57:27 - Initializing ScriptHookDotNet v1.7.1.7 BETA (on GTA IV version 1.0.7.0 with C++ Hook version 0.5.1)

2012-01-01 20:58:24 - Direct3D device created!

 

2012-01-01 20:58:25 - SEARCHING FOR SCRIPTS...

2012-01-01 20:58:25 - Loading scripts in Assembly 'scripts\PedestrianMod.net.dll' ...

2012-01-01 20:58:25 -  ...found script '_haxWorks.PedestrianMod'!

2012-01-01 20:58:25 - DONE! 1 valid scripts found!

 

2012-01-01 20:58:25 - STARTING SCRIPTS...

2012-01-01 20:58:25 - INFO: Phone number checks are not available!

2012-01-01 20:58:25 -  ...successfully started script '_haxWorks.PedestrianMod'!

2012-01-01 20:59:09 - Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> GTA.NonExistingObjectException: Invalid call to an object that doesn't exist anymore!

                         at GTA.Object.Detach()

                         at _haxWorks.PedestrianMod.DropAFag()

                         --- End of inner exception stack trace ---

                         at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

                         at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

                         at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

                         at System.Delegate.DynamicInvokeImpl(Object[] args)

                         at _haxWorks.TimeoutInvoker.Execute()

                         at System.Threading.ThreadHelper.ThreadStart_Context(Object state)

                         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

                         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

                         at System.Threading.ThreadHelper.ThreadStart()

2012-01-01 20:59:09 - CRASH!

2012-01-01 20:59:09 - Unhandled Exception: System.Runtime.Serialization.SerializationException: Type 'GTA.NonExistingObjectException' in Assembly 'ScriptHookDotNet, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.

                         at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)

                         at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)

                         at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)

                         at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)

                         at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeObject(Object obj, MemoryStream stm)

                         at System.AppDomain.Serialize(Object o)

                         at System.AppDomain.MarshalObject(Object o)

                     

2012-01-01 20:59:09 - CRASH!

 

 

I'm on Windows 7 x64-bit, .Net 4.0, 3.5 and 2.0 both wouldn't install. I use xliveless as my .asi loader, scripthook is 1.0.7.0 compatible.

 

I am going mad with this, please help.

 

Thanks

Edited by Tomoz1123
Link to comment
Share on other sites

The mod is outdated and doesn't work properly with the latest ScriptHookDotNet releases. You can try to use this ScriptHookDotNet release along with GTA IV Patch #4.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.