Code Monkey home page Code Monkey logo

gtacoop's Introduction

An abandoned (still works) online co-op modification for GTA5. Does not use Rockstar's Online code.

If you have questions be sure to check the wiki first.

GitHub license Copyright (C) 2016 Guad

GitHub contributors Join the chat at https://gitter.im/Bluscream/GTACoop

gtacoop's People

Contributors

anycraft avatar bluscream avatar dorcomando avatar guad avatar leonardosnt avatar mazyger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gtacoop's Issues

Server browser gives incomplete list and friend unable to connect to my server

When my friend checks his server browser there's quite a few servers. For some reason I only see two of the servers that are on his list and nothing more. Also when I tried making my own server, it didn't show up in the list for either of us despite announcing to the main server being enabled. I was able to connect via local IP and my domain name, but he couldn't connect at all using the domain. I have the port forwarded and no software firewall so I don't see what could be blocking him.

Nothing happens when I select 'Server Browser'

After I click on Server Browser, nothing happens at all, can't even reopen the menu by pressing F9.

It's not the scripthook either since I can open the Map Editor and Simple Native Trainer.

List of Server and Client Events and Functions with parameters please

Short of saying we need a wiki. And knowing something new is coming. Presuming they are closely related, or not... Can you give us a list of Server and Client Events and Functions with parameters please.

I need createObject and deleteObject local and world among other things

Premission denied

Hello Guadmaz,

I got an Issue, because of that im contacting you, when ever I want to join a Server/ or use Server Browser, then I get the message: " The connection of the remoteserver cant be reached."
And looked up the log of ScriptHookVDotNet, but can't really understand the issue, I will post the link here and I hope you can understand it.

http://pastebin.com/bQbu318N

Error serverside

"approve() called in wrong status; expected RespondedAwaitingApproval; got Connected
Ignoring multiple connect() most likely due to a delayed approval

This happens when my friend tries to connect to a server when im on it and vice versa.

Help.

SHDotNet.log Error

I Installed Co-Op Mod With ScriptHook And ScriptHookVDotNet
I'm Using Win 10, My Windows Has Visual Studio C++ 2013 Installed
When I Play MY Game Sounds Like Hurt, And *IYKWIM, and some messages shows up in my screen, and says

System.NullReferenceException: Object reference not set to an instance of an object.
at Class1.onKeyUp(Object sender, KeyEventArgs e)
at GTA.Script.raise_KeyUp(Object value0, KeyEventArgs value1)
at GTA.Script.MainLoop()

I cant see players

Hey,

I can not see players on the map, and not in the game.

How can I fix this?

Greetings Mika.

f9 not working for a friend

My friend and me decided to install this mod, everything works fine for me when i press f9 the menu opens, but my friend also installed the mod and the required programs, but once he press f9 ingame nothing happends the menu won't open is there a way to fix this so my friend can play co-op with me?

not working

it dosen't work anymore for me. i need help

I cannot See my friend

I made a server and I could see people normally apart from my friend. We do not have the gameCO-OP.xml but the server still says that the player has still connected. Its just him I cannot interact with. Other players are fine.
EDIT: The GameCO-OP setting are show now. But problem still persists. Where I cannot see my friend at all even though other players show up.

F9 Coop Scritp not working!

// GTA V SCRIPT HOOK (build Dec 20 2015, v1.0.573.1a)
// (C) Alexander Blade 2015
[10:32:10] INIT: Started
[10:32:10] INIT: Success, game version is VER_1_0_350_1_STEAM
[10:32:10] INIT: Registering script 'NativeTrainer.asi' (0x00007FFFC0E0A510)
[10:32:10] INIT: Registering script 'ScriptHookVDotNet.asi' (0x00007FFFABF20700)
[10:32:16] INIT: Pool 1 extended
[10:32:16] INIT: Pool 2 extended
[10:32:16] INIT: Pool 3 extended
[10:32:16] INIT: Pool 4 extended
[10:32:21] INIT: GtaThread collection size 172
[10:32:21] INIT: wnd proc 0x00000000FFFF06CF
[10:32:21] INIT: IDXGISwapChain 0x00007FFFC9A6EF40 (0x00007FFFC9A21DA0)
[10:32:21] INIT: IDXGISwapChain set
[10:32:21] INIT: DX init started
[10:32:21] INIT: DX feature level B000
[10:32:21] INIT: DX init succeeded
[10:33:30] CORE: Requesting thread creation
[10:33:30] CORE: Creating threads
[10:33:32] CORE: Started control thread, id 40 active 1
[10:33:32] CORE: Started thread 'NativeTrainer.asi' (0x00007FFFC0E0A510), id 41 active 1
[10:33:32] CORE: Started thread 'ScriptHookVDotNet.asi' (0x00007FFFABF20700), id 42 active 1
[10:33:32] CORE: Launching main() for 'NativeTrainer.asi' (0x00007FFFC0E0A510), id 41
[10:33:32] CORE: Launching main() for 'ScriptHookVDotNet.asi' (0x00007FFFABF20700), id 42

What is wrong?!

Police mod

Help my friend and I are trying to play lcpdfr together and we don't see traffic and we only see the call that we get and we don't see the other players perp or person hes chasing

Connection timed out

After a moment of play on everyone server, i have connection timed out :c
help me pls xd

Kills

Players can not kill one another , how can I free to kill them.

Grand Theft Auto V crash.

Here is the problem, I installed all the needed files. I start up GTA V, press offline and after that there is a little bit of waiting and I crash. Is it because I have the steam version?

AdminTools not working

Hi, I have a problem with AdminTools, when I launch my server I have this error:
Failed to load filterscript "AdminTools", error: Impossible de charger le fichie r ou l'assembly 'file:///D:\Grand Thef Auto V\server\filterscripts\AdminTools.dll' ou une de ses dépendances. L'opération n'est pas prise en charge. (Exception de HRESULT : 0x80131515)

The filterscript isn't detected but I have it. This error is only on my "Data (D:)" HDD and I have no problem on my "OS (C:)" HDD. How can I fix it ? Thanks.

Race

want to try out the gamemode race but my server crashed and gives rare data how does race gamemode work?

F9 not working D:

Hi could you help me to install the mod please i cant get it working...

When i press F9 nothing opens, just a quick black screen

my folders : http://imgur.com/a/onpZs
my script hook dot net.txt : http://pastebin.com/YU0FbYrc

I used scripthook.net 2.4 (i also tried 2.7), i have installed visual C++ packages ( x86 and x64), i can't install .net framework 4.5.2 because i'm on W10, i have reboot my pc many times, and executed the game as admin, framework are on in my Windows settings, others mods works

Help please ^^

Lags

After 5 minutes of game, synchronisation with players is lagged and messages on chat is showing up to minute after i send it.

I Press F9 and Nothing Opens

Hey I did everything what i have to do to install the mod but nothing happens when i press f9, other mods works, but only this mod isnt working. Any Help?

Optimize network usage

As of one of the latest updates (most probably the one with sync improvements) my network usage has drastically increased, now always causing me to have timeouts after about a minute on a server. This is most likely caused by the synchronization taking up too much bandwidth usage.

This might be unnoticable for most players, because they have good internet nowadays, but keep in mind there are still people with bad internet connections who want to play online. So I hope the network usage is getting some optimization in the future, giving me the chance to play online again 👍

BTW: Some might say "get better internet" now, but where I live this is sadly impossible. However I can play online games such as SA-MP, MTA, Battlefield 3/4 Multiplayers, Star Wars Battlefront and so on. So it must be possible to reduce network usage without the loss if sync quality.

Failed to load AdminTools

Is this suppose to happend?
It's a vanilla installation.

Failed to load filterscript "AdminTools", error: Kan bestand of assembly file:///D:\Servers\GTA COOP - MP\filterscripts\AdminTools.dll of een van de afhankelijkheden hiervan niet laden. Bewerking wordt niet ondersteund. (Uitzondering van HRESULT: 0x80131515)

Clicking browser freezing game?!

When i click browser can try to connect game just freeze a couple of seconds and then i cant open on F9 anymore, tried reinstalling 2 times, help?!

Mod Sync

I have angry planes, Pedestrian Riot Mod, and train driver. I have sharing traffic and the world enabled but my friends see the train still moving and me just hovering in the air. And the planes and peds dont really stay in sync. Sometimes my friends will randomly disappear

Grocery list of wanted features

So, here is your chore list, ordered by how important i think each one is:

  • Open a freaking suggestions page so I can put this in a proper place.(Google Forms is a good one :D)
  • P2P/Mesh server list system:

Clients:
1). The Client tries to retrieve an updated list from at most 10 servers that it can reach.
(a list comes with the mod download)

2). The servers respond with a list of all other online servers that they know of (including itself)

3). The client then clears it's own server list and writes all server entries that are mentioned in more than or equal to 50% of the server lists it has received from the ones it has recieved.

Servers:
1). When a server starts up in public mode, or regained connection to google, have the multiplayer server grab the list from another(same method as client), and contact all other servers to add their ip to their list.

2). If you can reach google, go through the list(a certain wait time between each server), and remove one if marked as offline/private.

3). If in public mode, send back the list of servers to anyone that requests it. (30 second wait)

  • Have the amount of npcs that are spawned/maintained by a client be lowered when other players are in the same npc spawning radius of that client(effectively removing the herd of NPCs) Ex: M÷(P+1)=A spawns [A=amount, P=players in radius, M=Multiplier]
  • Custom URL for servers (in the settings or something have a url to open [with confirmation of user(via a button or something)])
  • An Installer for the newbs (detect game version/detect if script hook is installed/c++/.net/recommended side-mods/backup option)
  • Banner ads(jk, a place for important updates in the menu.[checks a DNS that is pointing to a puu.sh hosted text file or something similar])
  • Show other player's health
  • Sync props

Please join my discord if you'd like to talk to me or something.. (type @brad in a chat channel to grab my attention)

Clones of me

I installed GTA Coop and everything went fine, pressed F9 and used my Hamachi IP to connect to my server, this is also how my friend connected. When I connected I had 2 clones of me which would follow me and copy everything I do not allowing me to actually play the game and would usually result in crashes. Any ideas? Thanks.
untitled

Running Server under Linux

Hello dear Community,

I tried to run the Server under my Linux System.
After adding all needed dll files:

AdminTools.dll
kernel32.dll
Lidgren.Network.dll
Microsoft.CSharp.dll
mscorlib.dll
NativeUI.dll
Newtonsoft.Json.dll
protobuf-net.dll
ScriptHookVDotNet.dll
System.dll
user32.dll

My Server shows still an error:

Unhandled Exception:
System.UriFormatException: Invalid URI: The format of the URI could not be determined.
  at System.Uri.Parse () <0x40fe8fa0 + 0x0042f> in <filename unknown>:0
  at System.Uri..ctor (System.String uriString, Boolean dontEscape) <0x40fe8be0 + 0x00212> in <filename unknown>:0
  at System.Uri..ctor (System.String uriString) <0x40fe8bb0 + 0x00013> in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Uri:.ctor (string)
  at System.Configuration.DefaultConfigurationSystem.get_AppConfigPath () <0x40fe8620 + 0x0011f> in <filename unknown>:0
  at System.Configuration.DefaultConfigurationSystem.System.Configuration.IConfigurationSystem.Init () <0x40fe8120 + 0x00047> in <filename unknown>:0
  at System.Configuration.ConfigurationSettings.SetConfigurationSystem (IConfigurationSystem configSystem) <0x40fe8020 + 0x00063> in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.UriFormatException: Invalid URI: The format of the URI could not be determined.
  at System.Uri.Parse () <0x40fe8fa0 + 0x0042f> in <filename unknown>:0
  at System.Uri..ctor (System.String uriString, Boolean dontEscape) <0x40fe8be0 + 0x00212> in <filename unknown>:0
  at System.Uri..ctor (System.String uriString) <0x40fe8bb0 + 0x00013> in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Uri:.ctor (string)
  at System.Configuration.DefaultConfigurationSystem.get_AppConfigPath () <0x40fe8620 + 0x0011f> in <filename unknown>:0
  at System.Configuration.DefaultConfigurationSystem.System.Configuration.IConfigurationSystem.Init () <0x40fe8120 + 0x00047> in <filename unknown>:0
  at System.Configuration.ConfigurationSettings.SetConfigurationSystem (IConfigurationSystem configSystem) <0x40fe8020 + 0x00063> in <filename unknown>:0

I hope you can help me!

Thanks in advance,

  • fabilau

AI Vehicle/Ped Lag

I am trying to stream and make videos on LSPDFR with a youtuber but we are running into the issue where random ped with spawn in the middle of the road or on our vehicles and also other vehicles are spawning under me and making me crash and flip over and our cars and other ped car disappear all the time. Is there an update come out for that soon or is there no way to fix that.

f9 Don't work

// GTA V SCRIPT HOOK (build Dec 20 2015, v1.0.573.1a)
// (C) Alexander Blade 2015
[19:41:46] INIT: Started
[19:41:46] INIT: Success, game version is VER_1_0_573_1_STEAM
[19:41:46] INIT: Registering script 'ScriptHookVDotNet.asi' (0x00007FFB43B90700)
[19:41:46] INIT: Registering script 'TrainerV.asi' (0x00007FFB33042A20)
[19:42:00] INIT: Pool 1 extended
[19:42:00] INIT: Pool 3 extended
[19:42:00] INIT: Pool 4 extended
[19:42:05] INIT: GtaThread collection size 175
[19:42:05] INIT: wnd proc 0x00000000FFFF0551
[19:42:05] INIT: IDXGISwapChain 0x00007FFB639B2D80 (0x00007FFB328B50C0)
[19:42:05] INIT: IDXGISwapChain set
[19:42:05] INIT: DX init started
[19:42:05] INIT: DX feature level B000
[19:42:05] INIT: DX init succeeded
[19:43:01] CORE: Requesting thread creation
[19:43:01] CORE: Creating threads
[19:43:03] CORE: Started control thread, id 30 active 1
[19:43:03] CORE: Started thread 'ScriptHookVDotNet.asi' (0x00007FFB43B90700), id 31 active 1
[19:43:03] CORE: Started thread 'TrainerV.asi' (0x00007FFB33042A20), id 32 active 1
[19:43:03] CORE: Launching main() for 'ScriptHookVDotNet.asi' (0x00007FFB43B90700), id 31
[19:43:03] CORE: Launching main() for 'TrainerV.asi' (0x00007FFB33042A20), id 32
[19:50:08] UNINIT: Unregistering script 'TrainerV.asi'
[19:50:08] UNINIT: Unregistering script 'ScriptHookVDotNet.asi'

[19:43:03] [DEBUG] Created script domain 'ScriptDomain_5C250BD2'.
[19:43:03] [DEBUG] Loading scripts from 'C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\scripts' into script domain 'ScriptDomain_5C250BD2' ...
[19:43:03] [ERROR] Failed to reload scripts because directory is missing.

I have no idea why this is not working any suggestion's?

Player movements.

I am wondering if there will be an update soon regarding the smoothing movements of players and vehicles, I also did see it says (abandoned) in the readme as well, are you done with the project altogether?

f9 or diffrent key not working

i tried but any key is not working.
f11 and f6 i tried shift+f11
1
this is my scripts folder
2
this is gta v main folders please help !

Please Help

When I Press write and /register myusername my password
it say your acccount has been created
And when i login it say no account have been found with your name please help !!

Admin Commands

As an admin of a server please can you tell me how I can find the IP to ban people, or if it isn't done that way how do we ban people?

For names all I am see is RLD (1) etc....

Privilege escalation

I have been logging chat on my server and i have noticed some of my /root files written in chat log by some player while the folder was in /root/gtaserver (Yes, my bad, i ran the server as root in root folder).. this has raised my attention and as a result i have locked my serverhost for security measures.. so this zeroday exploit reminds me of stagefreight exploits and is very severe.
I am writing this from my phone, i will update this once at home.

Drive right! Chat left!

Your chat is on the wrong side. Please reference MTA's client for the perfect chat. It should be upper left, 10-12 font, Arial, 10 lines. Yours is tough to pick name from chat, and if you blink the message is gone when the chat is busy.

Everybody freezes for me

I can play with my friends for a while but after a couple of minutes, everybody in the server freezes and some of them I can't even see. I tried to update scripthookvdotnet and reconnect to the servers to no avail.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.