Jump to content

Untested (Very Long) Plugins Guides (w/ Example)


gooby

Recommended Posts

IMPORTANT! You must build your apps from the most recent upstream/development branch in order to have all the fixes and usages shown in this guide so it runs properly. You must also follow all the nuances or else your plugin may not work, so I highly suggest you use the In-Depth guides first.

 

Introduction

  Reveal hidden contents

 

FAQs

  Reveal hidden contents

 

Plugin Capabilities

  Reveal hidden contents

 

Plugin Overrides and Callbacks

  Reveal hidden contents

 

Client Plugin Script Template

  Reveal hidden contents

 

Client Plugin Guide w/ Discord Example

  Reveal hidden contents

 

  Adding Custom Packets and Handlers

  Reveal hidden contents

 

Conclusion

  Reveal hidden contents

 

Link to comment
Share on other sites

this is amazing, way more convenient than work and release niche/game specific mods in .patch files (for the non-programmer users, may be as easy to drag n' drop the compiled plugins ! ) 
-> in the other hand, wouldn't it open the risk of sus/infected plugins being distributed in the future? convenience may often come with few cons, yet this is amazing, thanks for this guide!

Link to comment
Share on other sites

  On 7/20/2021 at 3:04 AM, Arufonsu said:

this is amazing, way more convenient than work and release niche/game specific mods in .patch files (for the non-programmer users, may be as easy to drag n' drop the compiled plugins ! ) 
-> in the other hand, wouldn't it open the risk of sus/infected plugins being distributed in the future? convenience may often come with few cons, yet this is amazing, thanks for this guide!

Expand  

Yeah i suppose youre right... so dont download and install DLLs from strangers! :P 

Link to comment
Share on other sites

Dude you explained everything about plugins and explained how to create plugins and detailed how the discord button plugin works as if you were talking to monkeys and that was EXACTLY what I needed. Thank you so much for taking the time to create something so (not so anymore) complex. I'm learning C# (when I have time) so as soon as possible I'll follow your tutorial and get back to you if everything went well.

Link to comment
Share on other sites

  On 7/20/2021 at 3:04 AM, Arufonsu said:

this is amazing, way more convenient than work and release niche/game specific mods in .patch files (for the non-programmer users, may be as easy to drag n' drop the compiled plugins ! ) 
-> in the other hand, wouldn't it open the risk of sus/infected plugins being distributed in the future? convenience may often come with few cons, yet this is amazing, thanks for this guide!

Expand  

I mean all of you downloaded Intersect for years before it was open source. :P If anything, the plugin system could open up an easier avenue for people to make cheats for games.

Link to comment
Share on other sites

  On 7/20/2021 at 12:09 PM, panda said:

I mean all of you downloaded Intersect for years before it was open source. :P

Expand  

Guess i joined in the party sort of late, it was already Open Source when i first found about you guys :3_grin:
The security risks are always going to be there anyway, not something we should ignore and simply let anyone release any .dll around forums without double checking that everything is safe!

Anyway, that was just a small offtopic that people tend to forget about :35_thinking:, didn't meant to bring down the party to anyone and i think myself that this right here is a big step into the moon for this game engine :77_alien: cheers u guys, and once again, thanks for this guide @gooby !

Link to comment
Share on other sites

@gooby I finished reading and writing your tutorial today, I loved it, I'm not a programmer and I barely know how to program, I only know very basic concepts and the way you explained I understood everything perfectly well, I could even put the button inside the game (if (lifecycleChangeStateArgs.State == GameStates.Menu || lifecycleChangeStateArgs.State == GameStates.InGame)) ( just to test if it would work and it did). Thanks for your time in doing this.

8f0f7ae2cbf7afa8a20cf72b45a37b46.png

 a29f5540d1f7cba51797712b3b42eabd.png

I would like to know (in case you want to add it in your tutorial in the future as an optional thing), how to generate those json files that are generated in the gui so we could change the position of the button through the json file, how does it work for the rest of the interface? It would be possible?

Link to comment
Share on other sites

  On 7/22/2021 at 2:07 PM, Weylon Santana said:

I would like to know (in case you want to add it in your tutorial in the future as an optional thing), how to generate those json files that are generated in the gui so we could change the position of the button through the json file, how does it work for the rest of the interface? It would be possible?

Expand  

 

Somewhere in the code for that button there will be a line to load the ui from json. If that json file is not found, it will be created with default/empty values automatically in which you can then modify. (So you don't need to worry about manually creating the json file)

Link to comment
Share on other sites

  On 7/22/2021 at 2:17 PM, jcsnider said:

 

Somewhere in the code for that button there will be a line to load the ui from json. If that json file is not found, it will be created with default/empty values automatically in which you can then modify. (So you don't need to worry about manually creating the json file)

Expand  

Are you referring to this plugin code? https://pastebin.com/eQyTJHp1(At the end of the tutorial this is what the main script looks like) or to the official intersect plugin that panda made?

Link to comment
Share on other sites

  On 7/22/2021 at 2:07 PM, Weylon Santana said:

I would like to know (in case you want to add it in your tutorial in the future as an optional thing), how to generate those json files that are generated in the gui so we could change the position of the button through the json file, how does it work for the rest of the interface? It would be possible?

Expand  

 

yeah what they said ^

 

you could also add those values to your config script and then people could just modify them through the JSON it generates. then, just load those values before drawing your button in the plugin script :) 

Link to comment
Share on other sites

  On 7/22/2021 at 5:54 PM, gooby said:

 

yeah what they said ^

 

you could also add those values to your config script and then people could just modify them through the JSON it generates. then, just load those values before drawing your button in the plugin script :) 

Expand  

I like it, this is a good alternative, I will try to look at how the url property value is obtained and I will try to replicate for position and size, I will do that soon, can I call you in discord if I have any questions, if doesn't bother you?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Γ—
Γ—
  • Create New...