Post: [GSCr/SPRX] Post your ideas below! [CommunityProject]
09-09-2015, 05:31 AM #1
01cedricv2
NGU Elite Lifetime Mermber
(adsbygoogle = window.adsbygoogle || []).push({});
Enzo HI NGU-Community Enzo

I started working on some cool GSC Mods for MW3 using SPRX, aswell as normal SPRX Mods, but I dont have enough time to collect ideas... Thats why I want to start up this Community Project, aswell as I noticed, that the community is getting lazy AF Sal

Anyway... Write down your Ideas into this Thread, and I´m gonna look, what I can do.

Use following format FOR IDEAS:



  • your name(s): (Can be more then one, depends on how much are involved into the idea)
  • your idea: (Only submit one at a time, or I will get 2 busy :p // Please submit realistic ideas, which aren´t too much of work)
  • In-depth Explaination:
  • (More details about your idea, example: How is it gonna work?)



I´m searching aswell for C++ Developers...
(I only take serious peeps, I will test your skills, before I involve you into the Development)
Use following format FOR C++(SPRX)Devs:


  • your name:
  • your skills based on C++: (From 1 to 10)
  • How much time you could effort per day into this Community-Project:

  • Would you like to join the Skype Group?
  • Y/N



So yeah this is basicly the idea behind this whole Project... MW3 is a great Game to Mod, there much different ways to make, for example: Fun Mods etc.
Lets bring back the old, good days, where modding was a "Community-Thingy" and not like today, where everyones leeching from each otherSal

You will find the List /w all the Stuff, To-Do/Already Done in the first comment!

Kryptus 01cedricv2 Kryptus
[/SIZE]
Last edited by 01cedricv2 ; 09-09-2015 at 06:25 AM. Reason: Added List into first comment!

The following 11 users say thank you to 01cedricv2 for this useful post:

EncepT, K51, koekiemonstarr2, Krool, LBK, Mango_Knife, mrdarkblue, ProfoundModz, VenoxCoding, zAlbanianModder
06-06-2016, 05:27 PM #29
matrixmods
Pokemon Trainer
Originally posted by Shark View Post
Semi-works, but needs some fixing.

    
enum netsrc_t
{
NS_CLIENT1 = 0x0,
NS_MAXCLIENTS = 0x1,
NS_SERVER = 0x2,
NS_PACKET = 0x3,
NS_INVALID_NETSRC = 0x4,
};


enum netadrtype_t
{
NA_BOT = 0x0,
NA_BAD = 0x1,
NA_LOOPBACK = 0x2,
NA_BROADCAST = 0x3,
NA_IP = 0x4,
};

struct netadr_s
{
netadrtype_t type; //0 = Bot
char ip[4];
unsigned short port; //ClientNum
netsrc_t localNetID; // 0 = Client
unsigned int addrHandleIndex;
};

int getClient_t(int client) {
return (*(int*)(0x17BB210)) + (client * 0x68B80);
}

int SV_AddTestClient() {
char buffer[1024];
int botport = 1;
int protocolVersion = ((int(*)())&ParseAddr(0x28FE40))(); //GetProtocolVersion
int checksum = ((int(*)())&ParseAddr(0x2093C))(); //BG_NetDataChecksum
int PersistentDataDefVersion = ((int(*)())&ParseAddr(0x1EA710))(); //LiveStorage_GetPersistentDataDefVersion
unsigned int PersistentDataDefVersionChecksum = ((int(*)())&ParseAddr(0x1EA740))(); //LiveStorage_GetPersistentDataDefFormatChecksum

//0x236084 - client->dropReason, causing issue, source: unknown. (SV_SendMessageToClient)
uint32_t patchData[] = { 0x38800005 };
write_process(0x22E55C, &patchData, 4);
Sprintf(buffer, "connect bot%d \"\\cg_predictItems\\1\\cl_anonymous\\0\\color\\4\\head\\default\\model\\multi\\snaps\\20\\rate\\5000\\name\\bot%d\\protocol\\%d\\checksum\\%d\\statver\\%d %u\\qport\\%d\"", botport, botport, protocolVersion, checksum, PersistentDataDefVersion, PersistentDataDefVersionChecksum, botport);
Memset((void*)ThreadStorage_a, 0, sizeof(netadr_s));
netadr_s* newConnection = (netadr_s*)(ThreadStorage_a);
newConnection->port = botport;

((void(*)(const char*))&ParseAddr(0x1DBA20))(buffer); //SV_CmdTokenizeString(const char* string)
((void(*)(netadr_s*))&ParseAddr(0x226074))(newConnection); //SV_DirectConnect(netadr_s* connectionInfo)
((void(*)())&ParseAddr(0x1DB524))(); //SV_CmdEndTokenizeString()

*(short*)(getClient_t(botport) + 0x352EA) = 0x3FF; //Set Stat Flags
*(short*)(getClient_t(botport) + 0x30) = botport; //botPort

((void(*)(int client))&ParseAddr(0x2284FCool Man (aka Tustin))(getClient_t(botport)); //SV_SendClientGameState(client_t* client)
((void(*)(int client, int usercmd))&ParseAddr(0x2272DC))(getClient_t(botport), ThreadStorage_a); //SV_ClientEnterWorld(client_t* client, usercmd_s* lastUserCmd)
}


When i use this it just puts the bot in spectator. how can i get them actually playing?
06-07-2016, 01:57 AM #30
Shark
Retired.
Originally posted by matrixmods View Post
When i use this it just puts the bot in spectator. how can i get them actually playing?


The way I usually do it is reverse Cmd_MenuResponse_f.
However you'll have to find a way to be able to call Scr__AddString & Scr_Notify

    
int SL_GetString(const char *str, unsigned int user);
void Scr_AddString(const char* str);
void Scr_Notify(gentity_s* ent, int strValue, int paramcount);

void MenuResponse(gentity_s* ent, const char* arg1, const char* arg2) {
int stringValue = SL_GetString("menuresponse");
Scr_Notify(ent, arg1, arg2);
}

//MenuResponse(ent, "changeteam", "autoassign");
//MenuResponse(ent, "changeclass", "class1") //class1, 2, 3, 4, 5


hope this helps Tiphat

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo