Beret Posted October 14, 2012 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Share Posted October 14, 2012 Hello guys, I want to create a new conf for my NPCs custons wanted to know how do I read my file. Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 14, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 14, 2012 If not mistaken, NPC/re/script_main.conf Add a line to ur custom conf Quote Link to comment Share on other sites More sharing options...
Mystery Posted October 14, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted October 14, 2012 Why would you want to create your own conf for custom NPCs? Use the script_custom.conf o_O // --------------------------------------------------------------// - Custom Scripts - // -------------------------------------------------------------- // All the custom scripts, remove the '//' to enable... // Place your scripts here! //npc: npc/location/to/script.txt // ----------------------- Basic Scripts ----------------------- //npc: npc/custom/warper.txt //npc: npc/custom/jobmaster.txt //npc: npc/custom/platinum_skills.txt //npc: npc/custom/healer.txt //npc: npc/custom/breeder.txt //npc: npc/custom/itemmall.txt //npc: npc/custom/stylist.txt //npc: npc/custom/resetnpc.txt //npc: npc/custom/card_remover.txt //npc: npc/custom/item_signer.txt //npc: npc/custom/woe_controller.txt // ----------------------- Other Scripts ----------------------- Also, If not mistaken, NPC/re/script_main.conf Add a line to ur custom conf script_main.conf in either re/PRE-re. Following the same format as you see in the script_mains, you can get your custom conf to work and be read depending on the server type you're running 1 Quote Link to comment Share on other sites More sharing options...
uDe Posted October 14, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted October 14, 2012 If I disable #define RENEWAL. So I need to move my custom script conf that I've created in npc/re/script_main.conf to npc/pre-re/script_main.conf right? Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 14, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 9 hours ago Share Posted October 14, 2012 why not you just put it in this directory ? trunk/npc/custom/ or create your own new directory for you script ?? Quote Link to comment Share on other sites More sharing options...
uDe Posted October 14, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted October 14, 2012 why not you just put it in this directory ? trunk/npc/custom/ or create your own new directory for you script ?? For me, it's nothing. Just want to try to make new script.conf. Well, I need to move it into pre-re/script_main.conf? Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 14, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 9 hours ago Share Posted October 14, 2012 as long as the file / folder is inside the trunk/npc/ folder...it will work fine.. Quote Link to comment Share on other sites More sharing options...
Beret Posted October 14, 2012 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Author Share Posted October 14, 2012 Thanks to everyone to do what they wanted. Quote Link to comment Share on other sites More sharing options...
Question
Beret
Hello guys, I want to create a new conf for my NPCs custons wanted to know how do I read my file.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.