Jump to content

Recommended Posts

Posted (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 /ok

 

5bF3SB7.gif

 

 

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 by 2essy2killu
  • Upvote 1
Posted

attachicon.gifnobutton.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. 

Posted

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 :)

Posted

 

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

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...