Jump to content
Sign in to follow this  
Riizq

Removal of Sytem Messages?

Recommended Posts

Please I need help in removing these System Messages, and wanting to add custom system messages. How do I do it?

 

_1c791c94b1bdb67a63daa2774487ed44-png.jp

 

This is what I am talking about.


fa806971ebc265ed5ebee27896f16509.png

Share this post


Link to post
Share on other sites
1 minute ago, Riizq said:

Please I need help in removing these System Messages, and wanting to add custom system messages. How do I do it?

 

_1c791c94b1bdb67a63daa2774487ed44-png.jp

 

This is what I am talking about.

As far as I remember, you can find those inside gameserver.exe

Share this post


Link to post
Share on other sites
1 minute ago, wowo said:

As far as I remember, you can find those inside gameserver.exe

 

How do I edit it and add custom messages?


fa806971ebc265ed5ebee27896f16509.png

Share this post


Link to post
Share on other sites
4 minutes ago, Riizq said:

 

How do I edit it and add custom messages?

Hex editor but you have to keep same file size. Another approach you can take is to rewrite the string and change addresses using any assembler. 

You can also check tool called 'OgreGUI', it allows you to change those messages without having to change the addresses (it automatically does so on its own).

edit: ogregui might be available only in Russian (not entirely sure tho).

Edited by wowo
  • Like 1

Share this post


Link to post
Share on other sites

If you want to remove them without edits then check your map folder>ctrl.lua

and remove these things with AddWeather or so.

Share this post


Link to post
Share on other sites
1 hour ago, Sk3let0n said:

If you want to remove them without edits then check your map folder>ctrl.lua

and remove these things with AddWeather or so.

Hope this wont have any adverse effect

 


fa806971ebc265ed5ebee27896f16509.png

Share this post


Link to post
Share on other sites

If you want to edit the weather messages - in en_US.txt in the gameserver folder (which gets extracted from en_US.res):

GM_WEATHER_CPP_00001 { "Weather: {2} has occurred at location {0} {1}" }

Edit it, then compile it back to en_US.res using ICU.

 

To remove it, you would either have to hex it, or to comment a line in the source located in Weather.cpp which contains the GM_WEATHER_CPP_00001 string, and compile it.

 

If your server has voyager skills that don't use energy from corals, removing/commenting AddWeather function calls from lua scripts will work, and won't be missed.

  • Like 2

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