whitesn Posted August 9, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 193 Reputation: 14 Joined: 12/02/11 Last Seen: October 30, 2018 Share Posted August 9, 2013 (edited) This script will help your player not to lose track from the changes you have made. Code is still messy though, I'm still learning the basics and I hope you guys can give me some feedbacks Features • Display Changelog in sequence 1.1, 1.2, 1.3, until 1.9 then 2.0, 2.1..... • Edit a specific log • Remove a specific log • Remove all the logs • Some simple configuration • to be added later.... How to use ? 1. Open your phpmyadmin and execute this SQL Query CREATE TABLE `changelog` ( `id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, `changelog` VARCHAR(300) NOT NULL, `date` VARCHAR(30) NOT NULL, `author` VARCHAR(24) NOT NULL, PRIMARY KEY (`id`) ) ENGINE = InnoDB; 2. Download the attachment below, put it in your npc folder and add it to scripts_custom.conf 3. Configuration (optional) // ------------- Inline Configuration ----------------- set .npcname$,"[ ^3a68ffChangelog^000000 ]"; set .minGMLevel,99; // The minimum level of GM to make, edit, or remove a log. set .broadcast,1; // 0=Disabled || 1=Enabled, broadcast when a GM edit / add a Change Log. set .loglimit,5; // The Limit of Changelogs displayed end; // ---------------------------------------------------- 4. Restart your server or just type @reloadscript in game. changelog.txt changelog.txt Edited August 14, 2013 by 2essy2killu 1 Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted August 13, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted August 13, 2013 hello sir. i have a problem. after i add new log. there is no exit button there. so i have to use @go 0 to back to hometown. please help me. Quote Link to comment Share on other sites More sharing options...
whitesn Posted August 14, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 193 Reputation: 14 Joined: 12/02/11 Last Seen: October 30, 2018 Author Share Posted August 14, 2013 nobutton.png hello sir. i have a problem. after i add new log. there is no exit button there. so i have to use @go 0 to back to hometown. please help me. Can you give me the error message on your map server? Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted August 14, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted August 14, 2013 nobutton.png hello sir. i have a problem. after i add new log. there is no exit button there. so i have to use @go 0 to back to hometown. please help me. Can you give me the error message on your map server? no error. but weird no button there sir. Quote Link to comment Share on other sites More sharing options...
whitesn Posted August 14, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 193 Reputation: 14 Joined: 12/02/11 Last Seen: October 30, 2018 Author Share Posted August 14, 2013 no error. but weird no button there sir. Uhh, I tested it already and it's working fine, try restart the server or reloadscript Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted August 14, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted August 14, 2013 no error. but weird no button there sir. Uhh, I tested it already and it's working fine, try restart the server or reloadscript i have try @reloadscript. but restart server not yet. i will restart on this saturday and give you a feedback. thanks alot sir Quote Link to comment Share on other sites More sharing options...
whitesn Posted August 14, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 193 Reputation: 14 Joined: 12/02/11 Last Seen: October 30, 2018 Author Share Posted August 14, 2013 i have try @reloadscript. but restart server not yet. i will restart on this saturday and give you a feedback. thanks alot sir I've updated the file, but I think it's the latest file I've tried and it's working fine on me o.o Quote Link to comment Share on other sites More sharing options...
benching Posted September 8, 2013 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 350 Reputation: 43 Joined: 09/07/12 Last Seen: August 30, 2019 Share Posted September 8, 2013 (edited) make sure you add "close;" or "end;" in your respective line of NPC script. Edited September 8, 2013 by jordan Quote Link to comment Share on other sites More sharing options...
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.