|
 |
|
|
|
|
|
GTA Modification Forums
[WIP|REL] San Andreas .NET Script Hook Code SA scripts without the fuzz of CLEO
 |
|
 |
| |
NTAuthority  |
Posted: Thursday, Oct 29 2009, 16:41
|
member_title

Group: Members
Joined: Sep 9, 2008



|
| 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  ) 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.  Also, it hasn't been used much with VB, but since both are full .NET languages, it should still work.  (offtopic: decided you didn't like C++?  ) PS: Do you intend on releasing a mod made with this? If so, it's just about time. This post has been edited by NTAuthority on Thursday, Oct 29 2009, 16:43
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
goin-god  |
|
High Roller

Group: $outh $ide Hoodz
Joined: Mar 18, 2007



|
The Link is dead.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Jur1zz  |
|
Playa

Group: Members
Joined: Jul 16, 2009


|
| QUOTE (goin-god @ Apr 5 2011, 01:57) | The Link is dead. |
| 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  | the pre-release
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Pages:
(2) 1 [2]
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|