whitesn Posted August 9, 2013 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
mrlongshen Posted August 13, 2013 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
whitesn Posted August 14, 2013 Author 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
mrlongshen Posted August 14, 2013 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
whitesn Posted August 14, 2013 Author 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
mrlongshen Posted August 14, 2013 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
whitesn Posted August 14, 2013 Author 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
benching Posted September 8, 2013 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
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.