Jump to content
Sign in to follow this  
Sultan

[Extension] Simple Random Notice System

Recommended Posts

[Extension] Simple Random Notice System

xOK2BLc.png

Hello all! This is Simple Random Notice System. Small release, I use it in my server and I hope you all like it :D

Simple Random Notice System Extension v0.1:

  • Will shout in System some helpful information text for players
  • Manage your notice heading, website, forums, staffs and every X minute announcement
  • Make very sure you put RanNoticeTicking() inside any of map_copy_run_? else it will not show up any message in the system. I tried to make it simple by using Hooks but it wouldn't work because maps are loaded last thing, which it possible in AddHelpNPC.lua only.

Example (map_copy_run_garner):

hpp6I9q.png

P/S: This is neccessary to show up your random notice messages and ONLY place it in 1 gameserver MAP because the announcement will reach the rest of gameservers because we're using function Notice().

Thank you so much :x

Random Notice System (V0.1).rar

Edited by Sultan
  • Like 4

Share this post


Link to post
Share on other sites
On 3/23/2016 at 7:36 PM, Sultan said:

[Extension] Simple Random Notice System

xOK2BLc.png

Hello all! This is Simple Random Notice System. Small release, I use it in my server and I hope you all like it :D

Simple Random Notice System Extension v0.1:

  • Will shout in System some helpful information text for players
  • Manage your notice heading, website, forums, staffs and every X minute announcement
  • Make very sure you put RanNoticeTicking() inside any of map_copy_run_? else it will not show up any message in the system. I tried to make it simple by using Hooks but it wouldn't work because maps are loaded last thing, which it possible in AddHelpNPC.lua only.

Example (map_copy_run_garner):

hpp6I9q.png

P/S: This is neccessary to show up your random notice messages and ONLY place it in 1 gameserver MAP because the announcement will reach the rest of gameservers because we're using function Notice().

Thank you so much :x

Random Notice System (V0.1).rar

 

Good evening, paste the content in: garner / ctrl.lua

What am I doing wrong? I am new at this.

 

 

1.png.6301314c7e43b8ac93c2d744ce2cb198.png2.png.7ae030b5b248d6b5337604d94c1d2b88.png

 

Share this post


Link to post
Share on other sites
44 minutes ago, ZidSliverr said:

 

Good evening, paste the content in: garner / ctrl.lua

What am I doing wrong? I am new at this.

 

 

1.png.6301314c7e43b8ac93c2d744ce2cb198.png2.png.7ae030b5b248d6b5337604d94c1d2b88.png

 

Remove "function Notice()", I clearly didn't ask in guide to add this. Follow steps provided.

 

If you want to load a file, just go to extensions and add it OR follow this:

 

1st:

-Add the file in (resource/script/calculate/)

 

2nd:

-go to skilleffect.lua (located at: resource/script/calculate/skilleffect.lua)

 

3rd:

open it and add this line

dofile(GetResPath("script/calculate/index.lua"))

Edited by Sultan

Share this post


Link to post
Share on other sites
5 hours ago, Sultan said:

Remove "function Notice()", I clearly didn't ask in guide to add this. Follow steps provided.

 

If you want to load a file, just go to extensions and add it OR follow this:

 

1st:

-Add the file in (resource/script/calculate/)

 

2nd:

-go to skilleffect.lua (located at: resource/script/calculate/skilleffect.lua)

 

3rd:

open it and add this line

dofile(GetResPath("script/calculate/index.lua"))

 

 

 

Thank you very much @Sultan I worked following the last steps you left me.

PSD: In the guide were not those last steps you left (I'm pretty newbie in this scripts) :(
PSD2: When you say "if you want to upload a file, just go to extensions and add it" does it mean that there is an automated form or program? Could you teach me the form or the program, thank you.

paint1.png.83f0eb72ee773482cf691a5691a6a57e.png

Edited by ZidSliverr

Share this post


Link to post
Share on other sites

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.   Restore formatting

  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.

Sign in to follow this  

×
×
  • Create New...