IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

This section is for obtaining help on creating and releasing tools

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


Pages: (2) 1 [2]   ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 [WIP|REL] San Andreas .NET Script Hook

 Code SA scripts without the fuzz of CLEO
 
joemomma53  
Posted: Monday, Sep 14 2009, 02:38
Quote Post


Ohai
Group Icon
Group: Members
Joined: Jun 10, 2007

us.gif

XXXXX



Thanks for the help man, I can't believe I didn't think of that, with everything being GTA, haha

Yeah man i'm looking forward to the new version, That sounds awesome!. Keep up the good work biggrin.gif
PM
  Top
 

 
johnathon956  
Posted: Friday, Oct 16 2009, 13:50
Quote Post


Jim Davidson fan
Group Icon
Group: BUSTED!
Joined: Apr 15, 2009

uk.gif

XXXXX



does this work with cleo 3
Users WebsitePMMSNYahooXbox Live
  Top
 

 
joemomma53  
Posted: Saturday, Oct 17 2009, 00:52
Quote Post


Ohai
Group Icon
Group: Members
Joined: Jun 10, 2007

us.gif

XXXXX



QUOTE (johnathon956 @ Oct 16 2009, 13:50)
does this work with cleo 3

Err, i'm not quite sure what you mean by that, but I don't see why cleo wouldn't work if you used this also.
PM
  Top
 

 
Donny78  
Posted: Wednesday, Oct 28 2009, 18:06
Quote Post


Zombie
Group Icon
Group: Members
Joined: Jul 18, 2008

en.gif

XXXXX



I just tested this on Windows 7 (64) and it doesn't seem to goto plan.

It crashed once at the loading screen before you spawn, it just froze at the end when the white bar was full. This was when I forgot to put my scripts asi into the scripts folder, I dropped it in the root along with your scripthook asi but when I put it in the script folder it didn't crash but didn't appear to load as the console wouldn't activate and I couldn't test the button binds as it gives me an error on compile so I removed the lines that binds 'i' & 'o' ("Windows is not a member of System").

I'm using VB Express (free, just downloaded it now), I added the reference dll to my project and compiled after removing the bind lines so it's the RandomStuff.vb file without the binds on Windows 7 x64 and the 'gta_sa.exe' is set to run compatible for XP SP3 (can I do this for a dll, it's not a program so I haven't checked).

Does this have a log file it outputs ? I couldn't find one to explore the issue myself, I'll keep it testing and see if I can get it working but I thought I'd report this incase you already have a fix.

Cheers.
PM
  Top
 

 
NTAuthority  
Posted: Thursday, Oct 29 2009, 16:41
Quote Post


member_title
Group Icon
Group: Members
Joined: Sep 9, 2008

eu.gif

Member Award




QUOTE (Donny78 @ Oct 28 2009, 20:06)
I just tested this on Windows 7 (64) and it doesn't seem to goto plan.

It crashed once at the loading screen before you spawn, it just froze at the end when the white bar was full. This was when I forgot to put my scripts asi into the scripts folder, I dropped it in the root along with your scripthook asi but when I put it in the script folder it didn't crash but didn't appear to load as the console wouldn't activate and I couldn't test the button binds as it gives me an error on compile so I removed the lines that binds 'i' & 'o' ("Windows is not a member of System").

I'm using VB Express (free, just downloaded it now), I added the reference dll to my project and compiled after removing the bind lines so it's the RandomStuff.vb file without the binds on Windows 7 x64 and the 'gta_sa.exe' is set to run compatible for XP SP3 (can I do this for a dll, it's not a program so I haven't checked).

Does this have a log file it outputs ? I couldn't find one to explore the issue myself, I'll keep it testing and see if I can get it working but I thought I'd report this incase you already have a fix.

Cheers.

This current version is really buggy and out-of-date, a more recent version can be found here (copy the .asi to a .dll for a reference, you need a scripts folder and datafiles folder... all old code should still work after recompiling. and please, remove the old .asi), but it does not contain the console. Also, for key bindings, you need to add a reference to System.Windows.Forms to your project. (though I usually prefer the new GTAKey in a OnTick event... it's what you prefer)

(that version in the mod has some of the bugs still in, but a lot more features and such smile.gif )

Also, did you really have the code 'extend'-ing ('Inherits' in VB, possibly?) Script? Your file structure should, by the way, be for example:

GTASA\
-- citizenhook.asi
-- scripts\
---- DBNetwork.Citizen.Game.dll (your DLL file)
------ datafiles\ (nothing specific needed in there)

Another thing is that the mod still is incompatible with the CLEO GXTHook, but it's possible to emulate it using the new Game.CustomGXTs property. smile.gif Also, it hasn't been used much with VB, but since both are full .NET languages, it should still work. smile.gif

(offtopic: decided you didn't like C++? tounge.gif )

PS: Do you intend on releasing a mod made with this? If so, it's just about time. tounge.gif

This post has been edited by NTAuthority on Thursday, Oct 29 2009, 16:43
PMMSNXbox LivePlayStation Network
  Top
 

 
Donny78  
Posted: Saturday, Oct 31 2009, 10:46
Quote Post


Zombie
Group Icon
Group: Members
Joined: Jul 18, 2008

en.gif

XXXXX



I'm going to reinstall XP on another drive soon so I'll have another go with this then dude, nothing seems to work no matter what I do, everything is setup correctly like you explained so I'm either being retarded or it's this bloody OS messing with me (probably the case).

No I like C++ just fine, it's C++ that doesn't like me biggrin.gif

I plan on doing a few mods if I ever get anything working, I have many ideas that I would like to put into action, once I go back to XP then I'll start on them for sure.

Cheers for the help, I apreciate it.
PM
  Top
 

 
denisy  
Posted: Monday, Feb 1 2010, 03:40
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 1, 2010

XXXXX



QUOTE (sgt.slaughter @ Aug 23 2009, 01:30)
I tried the link,it seems to get some sort of error confused.gif .I'll post the link to the GTAGaming download page just in-case someone else is getting the same thing icon14.gif :

http://www.gtagaming.com/downloads/gta-san...reas/tools/2354

Thanks for the link man! biggrin.gif
PM
  Top
 

 
NTAuthority  
Posted: Monday, Feb 1 2010, 07:58
Quote Post


member_title
Group Icon
Group: Members
Joined: Sep 9, 2008

eu.gif

Member Award




QUOTE (denisy @ Feb 1 2010, 04:40)
QUOTE (sgt.slaughter @ Aug 23 2009, 01:30)
I tried the link,it seems to get some sort of error confused.gif .I'll post the link to the GTAGaming download page just in-case someone else is getting the same thing icon14.gif :

http://www.gtagaming.com/downloads/gta-san...reas/tools/2354

Thanks for the link man! biggrin.gif

Noooooooooooooooooooooooo, do not use that very old version! Until I write a new topic for the new GTAScriptHook, you should use the pre-release instead... unless you like compatibility with the 2 crap scripts I've written tounge.gif
PMMSNXbox LivePlayStation Network
  Top
 

 
The_Siggi  
Posted: Monday, Sep 27 2010, 13:26
Quote Post


Surgeon
Group Icon
Group: Members
Joined: Jul 5, 2009

ja.gif

XXXXX



Could you upload your latest version aswell?
cheers
PM
  Top
 

 
The_Siggi  
Posted: Monday, Nov 1 2010, 20:25
Quote Post


Surgeon
Group Icon
Group: Members
Joined: Jul 5, 2009

ja.gif

XXXXX



I know this is a bump and I'm also doubleposting suicidal.gif

But: Can it be that some incompability problems occour when VC++ 2010 Runtime is installed? Because I noticed starnge behaviour of scripts since i updated the Runtime...
I also know .NET 4 is compatible downwards but could it be a cause for problems too?
cheers
PM
  Top
 

 
falenone  
Posted: Saturday, Dec 11 2010, 09:22
Quote Post


Mapper
Group Icon
Group: Members
Joined: Jun 7, 2008

et.gif

XXXXX



Ooo , looks nice tounge.gif going to test it
Users WebsitePMMSN
  Top
 

 
goin-god  
Posted: Monday, Apr 4 2011, 23:57
Quote Post


High Roller
Group Icon
Group: $outh $ide Hoodz
Joined: Mar 18, 2007

ar.gif

Member Award




The Link is dead. sad.gif
Users WebsitePMMSNPlayStation Network
  Top
 

 
Jur1zz  
Posted: Tuesday, Apr 5 2011, 11:52
Quote Post


Playa
Group Icon
Group: Members
Joined: Jul 16, 2009

lt.gif

XXXXX



QUOTE (goin-god @ Apr 5 2011, 01:57)
The Link is dead.  sad.gif

QUOTE (NTAuthority @ Feb 1 2010, 09:58)

Noooooooooooooooooooooooo, do not use that very old version! Until I write a new topic for the new GTAScriptHook, you should use the pre-release instead... unless you like compatibility with the 2 crap scripts I've written tounge.gif


the pre-release
Users WebsitePMMSNXbox Live
  Top
 

 
TopAz  
Posted: Sunday, Oct 23 2011, 09:59
Quote Post


Programmer
Group Icon
Group: Members
Joined: Aug 24, 2010

us.gif

XXXXX



Could you please post the source code so that we can develop it?
Users WebsitePMMSNYahooXbox Live
  Top
 

 
kmccmk9  
Posted: Monday, Jul 23 2012, 08:14
Quote Post


Crackhead
Group Icon
Group: Members
Joined: May 12, 2007

XXXXX



This would be awesome, however, how could one develop scripts for it. I can't find a download link for any actual coding examples with dll files etc.
PMXbox Live
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Pages: (2) 1 [2] 

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG