akositiki Posted August 12, 2016 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 08/09/16 Last Seen: August 26, 2016 Share Posted August 12, 2016 as the title suggest. i tried downloading a starter freebie script here downloaded it put in in my trunk/npc/gmh_freenpc using winscp and edited gmh_freenpc.conf and added a line that looks like this npc: npc/gmh_freenpc/freebies.txt save it all. start the server. then log in with a new account. nothing happens. - script ItemGiver 1,{ OnPCLoginEvent: if(!#givenStartItems) { set #givenStartItems, 1; //=== Freebies getitem <14545>, <1>; } getitem <14533>, <10>; } getitem <12210>, <10>; } rentitem <12622>, <604800>; } end; } heres the code. Quote Link to comment Share on other sites More sharing options...
0 wOni Posted August 12, 2016 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 69 Reputation: 2 Joined: 04/20/13 Last Seen: October 6, 2018 Share Posted August 12, 2016 -<TAB>script<TAB>ItemGiver<TAB>-,{ Quote Link to comment Share on other sites More sharing options...
0 Ehcloprom Posted August 12, 2016 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 82 Reputation: 11 Joined: 01/01/12 Last Seen: December 29, 2018 Share Posted August 12, 2016 (edited) I'm not sure why you would make a new .conf for 1 script Just put freebies.txt inside of the folder named "custom" Then edit scripts_custom.conf and add this line npc: npc/custom/freebies.txt Also try this as that script isn't going to work I haven't tested it but it should work. freebies.txt Edited August 12, 2016 by Morpolche Quote Link to comment Share on other sites More sharing options...
0 akositiki Posted August 12, 2016 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 08/09/16 Last Seen: August 26, 2016 Author Share Posted August 12, 2016 I'm not sure why you would make a new .conf for 1 script Just put freebies.txt inside of the folder named "custom" Then edit scripts_custom.conf and add this line npc: npc/custom/freebies.txt Also try this as that script isn't going to work I haven't tested it but it should work. this works when i logged in my gm account it gives me the items, but when i logged in my test account and create a new character it does not give me the items. thanks man. Quote Link to comment Share on other sites More sharing options...
0 Ehcloprom Posted August 12, 2016 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 82 Reputation: 11 Joined: 01/01/12 Last Seen: December 29, 2018 Share Posted August 12, 2016 I'm not sure why you would make a new .conf for 1 script Just put freebies.txt inside of the folder named "custom" Then edit scripts_custom.conf and add this line npc: npc/custom/freebies.txt Also try this as that script isn't going to work I haven't tested it but it should work. this works when i logged in my gm account it gives me the items, but when i logged in my test account and create a new character it does not give me the items. thanks man. After reading this I decided to test my script on 4 different accounts and it worked on each one. I do use Hercules but I don't think that matters. Try reloading server maybe it's just some fluke? Quote Link to comment Share on other sites More sharing options...
0 akositiki Posted August 13, 2016 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 08/09/16 Last Seen: August 26, 2016 Author Share Posted August 13, 2016 I'm not sure why you would make a new .conf for 1 script Just put freebies.txt inside of the folder named "custom" Then edit scripts_custom.conf and add this line npc: npc/custom/freebies.txt Also try this as that script isn't going to work I haven't tested it but it should work. this works when i logged in my gm account it gives me the items, but when i logged in my test account and create a new character it does not give me the items. thanks man. After reading this I decided to test my script on 4 different accounts and it worked on each one. I do use Hercules but I don't think that matters. Try reloading server maybe it's just some fluke? i dont know why it works for you, i tried preloading the server, restarting server, reloading scripts, and stil doesnt work on any new player characters/accounts Quote Link to comment Share on other sites More sharing options...
0 Ehcloprom Posted August 13, 2016 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 82 Reputation: 11 Joined: 01/01/12 Last Seen: December 29, 2018 Share Posted August 13, 2016 I'm not sure why you would make a new .conf for 1 script Just put freebies.txt inside of the folder named "custom" Then edit scripts_custom.conf and add this line npc: npc/custom/freebies.txt Also try this as that script isn't going to work I haven't tested it but it should work. this works when i logged in my gm account it gives me the items, but when i logged in my test account and create a new character it does not give me the items. thanks man. After reading this I decided to test my script on 4 different accounts and it worked on each one. I do use Hercules but I don't think that matters. Try reloading server maybe it's just some fluke? i dont know why it works for you, i tried preloading the server, restarting server, reloading scripts, and stil doesnt work on any new player characters/accounts Are you sure it even actually loaded and worked on your GM account as you said? did you use the scripts_custom.conf? or your "gmh_freenpc.conf" and if you did is it set to load in the scripts_main.conf? Besides this I have no clue why it would work for only your GM account one single time. Maybe someone else can help or you can use the search feature I'm sure someone else made another script. Quote Link to comment Share on other sites More sharing options...
Question
akositiki
as the title suggest.
i tried downloading a starter freebie script here downloaded it put in in my trunk/npc/gmh_freenpc using winscp
and edited gmh_freenpc.conf and added a line that looks like this npc: npc/gmh_freenpc/freebies.txt
save it all. start the server. then log in with a new account. nothing happens.
heres the code.
Link to comment
Share on other sites
6 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.