[DiscordArchive] NPCBots requires changes to the core in addition to the module, so you will need to use the .patch f
[DiscordArchive] NPCBots requires changes to the core in addition to the module, so you will need to use the .patch f
Archived author: 郑佩茹 • Posted: 2023-02-21T21:22:35.266000+00:00
Original source
NPCBots requires changes to the core in addition to the module, so you will need to use the .patch file in addition to the module folder and SQL files. What trouble are you having with applying the patch?
Archived author: Jazzie • Posted: 2023-02-21T21:23:03.428000+00:00
Original source
First of all, thank you so much for all your work! Let me grab you a screenshot!
![[Image: image.png?ex=690c695e&is=690b17de&hm=853...d0e7cf5fd&]](https://cdn.discordapp.com/attachments/284406375495368704/1077702447864221787/image.png?ex=690c695e&is=690b17de&hm=8538ef9b6769f9332cb02efcde875205a458f831679f37ef1949fd0d0e7cf5fd&)
![[Image: image.png?ex=690c695e&is=690b17de&hm=3a7...bd4c042ec&]](https://cdn.discordapp.com/attachments/284406375495368704/1077702448086528160/image.png?ex=690c695e&is=690b17de&hm=3a7e1f043cf52db8d2cebf83f5f735a4f61310f9f192bd0fcad02a5bd4c042ec&)
Archived author: Jazzie • Posted: 2023-02-21T21:24:46.425000+00:00
Original source
Immediately after the command, it proceeds to list all the files. Then it creates "modes" for all the files and prompts the user to designate which file to patch.
![[Image: image.png?ex=690c695e&is=690b17de&hm=853...d0e7cf5fd&]](https://cdn.discordapp.com/attachments/284406375495368704/1077702447864221787/image.png?ex=690c695e&is=690b17de&hm=8538ef9b6769f9332cb02efcde875205a458f831679f37ef1949fd0d0e7cf5fd&)
![[Image: image.png?ex=690c695e&is=690b17de&hm=3a7...bd4c042ec&]](https://cdn.discordapp.com/attachments/284406375495368704/1077702448086528160/image.png?ex=690c695e&is=690b17de&hm=3a7e1f043cf52db8d2cebf83f5f735a4f61310f9f192bd0fcad02a5bd4c042ec&)
Archived author: Jazzie • Posted: 2023-02-21T21:25:03.233000+00:00
Original source
This is a new concept for me, so I figured this would be a good place to ask questions and learn
Archived author: Jazzie • Posted: 2023-02-21T21:25:55.699000+00:00
Original source
(Also, thank you for responding!)
Archived author: 郑佩茹 • Posted: 2023-02-21T21:26:48.628000+00:00
Original source
Are you sure you are using the correct method of applying the patch? I usually apply git patch files with the `git apply ./patch-file.patch` command. Is your `patch` command an alias for this?
Archived author: Jazzie • Posted: 2023-02-21T21:27:17.962000+00:00
Original source
That's the command listed in Tricker's readme, but let me try that command
Archived author: Roddan • Posted: 2023-02-21T21:27:29.750000+00:00
Original source
Put file in core folder and do git apply NPCBots.patch
Archived author: Roddan • Posted: 2023-02-21T21:27:34.500000+00:00
Original source
Then compile
![[Image: image.png?ex=690c6a54&is=690b18d4&hm=03d...2b4a952d1&]](https://cdn.discordapp.com/attachments/284406375495368704/1077703481244270613/image.png?ex=690c6a54&is=690b18d4&hm=03d368bb24b2e1aaf4ec6ea108fd83163efa5e9d9027f33aaa58e812b4a952d1&)
Archived author: Jazzie • Posted: 2023-02-21T21:28:52.750000+00:00
Original source
Here's the result from using git apply.
The rest of the way down is "error: [file path and name] patch does not apply"
![[Image: image.png?ex=690c6a54&is=690b18d4&hm=03d...2b4a952d1&]](https://cdn.discordapp.com/attachments/284406375495368704/1077703481244270613/image.png?ex=690c6a54&is=690b18d4&hm=03d368bb24b2e1aaf4ec6ea108fd83163efa5e9d9027f33aaa58e812b4a952d1&)