Quantcast

Jump to content

» «
Photo

Community Script Hook V .NET

V Released
1,190 replies to this topic
oliverrogerr
  • oliverrogerr

    Player Hater

  • Members
  • Joined: 24 Jun 2015
  • Brazil

#1171

Posted 07 October 2016 - 03:18 AM

So much thanks! I've managed to compile a new ScriptHookDotNet.asi with your fork and steering angle/scale seem to be working again. vehicle.Acceleration included.

 so plis make a download for us all \o/


ikt
  • ikt

    HAAAAAAAAANDS

  • Members
  • Joined: 02 Oct 2006
  • None

#1172

Posted 07 October 2016 - 07:16 AM

 

So much thanks! I've managed to compile a new ScriptHookDotNet.asi with your fork and steering angle/scale seem to be working again. vehicle.Acceleration included.

 so plis make a download for us all \o/

 

Just wait until the shvdn guys solve this, as my fork is of a significantly older version (I did not have the energy to bother with why it didn't want to switch to another branch locally and didn't bother updating it from upstream), but changes to the Vehicle.cpp itself should be fine.

 

Kinda f*cked it up there but w/e


_MK_
  • _MK_

    46EEK572

  • Members
  • Joined: 16 Jan 2014
  • None
  • Best Vehicle [Snap] 2016
    Best Scenery [Snap] 2015
    Best Filtered [Snap] 2015

#1173

Posted 07 October 2016 - 12:15 PM

My game with the latest version is crashing with "ScriptHookVDotNet" ?


ikt
  • ikt

    HAAAAAAAAANDS

  • Members
  • Joined: 02 Oct 2006
  • None

#1174

Posted 07 October 2016 - 10:08 PM Edited by ikt, 09 October 2016 - 12:26 PM.

If anybody wants the updated ScriptHookVDotNet for their vehicle scripts:
dev_v2 branch build
dev_v3 branch build

Click "artifacts" for the zip with the updated things. I don't think dev_v3 has been tested properly enough yet, but dev_v2 should be stable enough. I removed my old fork.

@anybody else
Is this how you're supposed to do pull requests?


Void since these are merged now!
https://github.com/c...HookVDotNet.zip

machine4578
  • machine4578

    Snitch

  • Members
  • Joined: 29 May 2015
  • United-States

#1175

Posted 17 October 2016 - 02:59 AM Edited by machine4578, 17 October 2016 - 03:00 AM.

@crosire 
are the 7 new Biker DLC weapons added to the WeaponHashes.hpp? if not can you add them please?

 

thanks alot!


shubham dubey
  • shubham dubey

    Player Hater

  • New Members
  • Joined: 03 Dec 2016
  • India

#1176

Posted 03 December 2016 - 03:48 PM

ScripthookVDotNet.asi run with 3dm crack

Eddlm
  • Eddlm

    Newie

  • Members
  • Joined: 24 Aug 2015
  • Spain

#1177

Posted 15 December 2016 - 11:46 PM

Looks like the steering stuff is broken again.


flynhigh09
  • flynhigh09

    Player Hater

  • Members
  • Joined: 22 Sep 2013

#1178

Posted 05 January 2017 - 01:05 AM

Looks like UI.DrawTexure() isnt working neither. Ive tried many ways?

flynhigh09
  • flynhigh09

    Player Hater

  • Members
  • Joined: 22 Sep 2013

#1179

Posted 05 January 2017 - 11:45 PM Edited by flynhigh09, 05 January 2017 - 11:47 PM.

Bump.... @crosire Is shvd dead.. Didnt see it in the source its under UI but thete isnt one now im lost

flynhigh09
  • flynhigh09

    Player Hater

  • Members
  • Joined: 22 Sep 2013

#1180

Posted 07 January 2017 - 11:32 AM

Guess so lmao

Kiryu
  • Kiryu

    Still waiting on the ground team.

  • Members
  • Joined: 14 May 2016
  • United-Kingdom

#1181

Posted 19 January 2017 - 11:33 PM

Yeah... This isn't working. Installed correctly, but none of my two scripts (NIBMods and Quantum Break) are working. Pressing INS just leads to 'error saving log file', and nothing happens. 


_MK_
  • _MK_

    46EEK572

  • Members
  • Joined: 16 Jan 2014
  • None
  • Best Vehicle [Snap] 2016
    Best Scenery [Snap] 2015
    Best Filtered [Snap] 2015

#1182

Posted 22 January 2017 - 06:49 PM Edited by _MK_, 22 January 2017 - 07:14 PM.

Why is it crashing ?

 

cLRhUbz.png

 

Spoiler

 

EDIT: it just crashed after going in airbrake under the map.


_MK_
  • _MK_

    46EEK572

  • Members
  • Joined: 16 Jan 2014
  • None
  • Best Vehicle [Snap] 2016
    Best Scenery [Snap] 2015
    Best Filtered [Snap] 2015

#1183

Posted 23 January 2017 - 06:52 AM Edited by _MK_, 23 January 2017 - 06:52 AM.

Found the problem,this is causing the crash Grab Anything.

Removed it and the game no longer crashes.


Rbn 3d
  • Rbn 3d

    Rbn_3D

  • Members
  • Joined: 13 Jan 2008
  • None

#1184

Posted 01 February 2017 - 09:16 AM

Hi! I'm trying to determine how to check is a control is pressed, so I found this: Game.IsControlPressed(int index, GTA.Control control).
So, what index parameter should be?
The 2nd one is obvious, but no idea about first one


SilverRST
  • SilverRST

    Big Homie

  • Members
  • Joined: 25 Mar 2013
  • None

#1185

Posted 02 February 2017 - 05:56 PM

Hi, I get the error "A new guard page for the stack cannot be created" Not sure what that means but it's too often.


John Berden
  • John Berden

    Player Hater

  • Members
  • Joined: 06 Aug 2016
  • Ukraine

#1186

Posted 09 February 2017 - 02:43 AM

Hello.
Sorry my English.
My script is not running.
In the script by pressing G, should an explosion occur. But nothing happens.
Help me please!
This script code:
using System;
using System.Windows.Forms;
using GTA;
using GTA.Math;

namespace ExplosionScript
{
    public class Thread : Script
    {
        public Thread()
        {
            Vector3 MyVec;
            MyVec = Game.Player.Character.Position;
            while(true)
            {
                if (Game.IsKeyPressed(Keys.G))
                {
Wait(5000);
                    World.AddExplosion(MyVec, ExplosionType.Grenade, 750.0F, 10.0F, true, false);
            }
                Wait(0);
            }
        }
    }
}
Thank you in advance!


_MK_
  • _MK_

    46EEK572

  • Members
  • Joined: 16 Jan 2014
  • None
  • Best Vehicle [Snap] 2016
    Best Scenery [Snap] 2015
    Best Filtered [Snap] 2015

#1187

Posted 17 February 2017 - 12:27 PM Edited by _MK_, 17 February 2017 - 12:28 PM.

Ok and now Lasso script is crashing the game since the latest version of DOTNET is broken.

 

Is anyone working on it ? 

 

Spoiler

Rohurd
  • Rohurd

    Player Hater

  • Members
  • Joined: 14 Apr 2017
  • Austria

#1188

Posted 14 April 2017 - 06:04 PM

One quick question as a developer: Is it possible to capture mouse clicks with Script Hook Dot Net? I wanted to do some stuff specifically when the left mouse button was clicked...


MoMadenU
  • MoMadenU

    Driverless

  • Members
  • Joined: 19 Jun 2015
  • United-States

#1189

Posted 3 weeks ago

One quick question as a developer: Is it possible to capture mouse clicks with Script Hook Dot Net? I wanted to do some stuff specifically when the left mouse button was clicked...

I get them like this

public static bool IsLeftMouseClicked()
{
    return Game.IsControlPressed(0, Control.Attack);        
}

public static bool IsRightMouseClicked()
{
    return Game.IsControlPressed(0, Control.CursorCancel);
}

MoMadenU
  • MoMadenU

    Driverless

  • Members
  • Joined: 19 Jun 2015
  • United-States

#1190

Posted 3 weeks ago

Ok and now Lasso script is crashing the game since the latest version of DOTNET is broken.

 

Is anyone working on it ? 

 

Spoiler

Rohurd, Are you referring to .net 4.7 as latest?  


Rohurd
  • Rohurd

    Player Hater

  • Members
  • Joined: 14 Apr 2017
  • Austria

#1191

Posted 3 weeks ago

No, still using .Net 4.5.2, but your suggestion is working, thanks a lot!

Also, I wasn't the one, whose lasso script was crashing...





6 user(s) are reading this topic

0 members, 6 guests, 0 anonymous users