Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

How to Change In-Game Events

Moderator
Staff member
Moderator
Joined
Oct 8, 2006
Messages
647
Reaction score
369
This topic will be the brief version. Once you start digging through the different events and having read this thread, you should (heaven willing) be able to figure this out.


Before I go any further:
If anything is still not clear, please leave a "descriptive" response.
Do Not post thank you messages / off-topic / non-contributing posts
If you find this helpful, only use the Like button.



IF YOU MODIFY ANY FILES, AGAIN ANY IN THE DATA FOLDER...
YOU NEED TO REBIN YOUR FILES
(AKA You need to run the MakeBinsAndExitMaster command -- Community Edition will have a bat file for this)







Do Not Modify files without taking the time to make Backups
Backups are to be made OUTSIDE the C:\Cryptic folder.
IE Make a Backup folder somewhere like C:\Cryptic_Backups
DO NOT use C:\Backups (this folder may be created and removed during binning process for any Cryptic game).





First all events are defined in C:\Cryptic\data\defs\events folder


There are 5 types of files in this folder (2 of which you will Not Edit and 1 more that only references the events):


1. Extension .Activities (This is the reference only, modifying this will hose your Activities if you do so incorrectly)
This file is used in reference to the Activity ID by name.


2. Extension .xlsx (Do Not Edit this file, it is Auto-created when necessary by the system)
Do Not use Excel to open this file type, you will hose it and it will not get updated properly. Just leave it alone.
(I wont go into what application to open these files, as you will most likely corrupt the contents, again not something you touch)


3. Extension .def (Do Not Edit this file, it is used for the TAG's referenced by the system)


4. Extension .Ms (These are the MESSAGE file types)
Here is an example using the file Anniversary.Events.Ms:
Code:
Message
{
MessageKey Anniversary.Anniversary_02.msgDisplayName
DefaultString "2 Year Anniversary"
}


Message
{
MessageKey Anniversary.Anniversary_02.msgDisplayShortDesc
DefaultString "Celebrate 2 years of Star Trek Online with Q!"
}


Message
{
MessageKey Anniversary.Anniversary_02.msgDisplayLongDesc
DefaultString "Hooray! <br><br>Q is celebrating the second anniversary of the launch of Star Trek Online. Visit him in Earth Spacedock or Qo'noS for special anniversary gifts and rewards includind a free Odyssey or Bortas Class Starship for all characters level 5 and up!<br><br> Hurry -- Q will be leaving soon!"
}
As you can see by the code block, the contents of this file represent what you see inside the game in the form of MESSAGE's.
(This file type is used frequently through out the C:\Cryptic\data sub-folders for various purposes. They are always MESSAGE files and used, as I just explained, to display MESSAGE's to the client)


5. Extension .Events (These are the EVENTS file type)
Here is an example using the file Anniversary.Events:
Code:
Event Annviersary_02
{
Activity Anniversary_02


EventTime
{
StartDate "2012-02-02 18:00:00"
EndDate "2012-02-06 07:59:59"
TimeRepeat 345600
TimeDuration 345600
}


Warp Allegiance_Klingon
{
SpawnMap Klg_Qonos_Ground_02
}


Warp Allegiance_Starfleet
{
SpawnMap Kfr_Sol_Starbase_Ground
}


DisplayTag Monthly
DisplayTag Position_Event_Upper_Frame
msgDisplayName Anniversary.Anniversary_02.msgDisplayName
msgDisplayShortDesc Anniversary.Anniversary_02.msgDisplayShortDesc
msgDisplayLongDesc Anniversary.Anniversary_02.msgDisplayLongDesc 
Background Calendar_Event_Anniversary
}
As you can see by the code block, the contents of this file represent the "structured" information required for EVENTS.




--------------------------------------------------------------------------------------------------------------------------




SanGawku - How to Change In-Game Events - RaGEZONE Forums




--------------------------------------------------------------------------------------------------------------------------


The contents of the EVENTS and MESSAGES vary depending on what they are used for.


MESSAGES, should be self explanatory with the description I've given above and as such, I will not be going further into the MESSAGE (.Ms) files.


There are different types of EVENTS in the C:\Cryptic\data\defs\events folder. (They are all roughly the same structure, with slight variances depending on their use.)


There are however certain files you should pay closer attention to. They are as follows:
DO NOT JUST EDIT THESE WITHOUT READING THROUGH AND MAKING BACKUP's
Code:
EventHourlyExport.Events
EventHourlyExport_02.Events
STO_Daily.events
STO_Monthly.events
STO_Weekly.events


The EVENT files contain the StartDate, EndDate, TimeRepeat, and TimeDuration PER Event
Modifying the StartDate, EndDate, TimeRepeat, and TimeDuration will change when it is available.


Using file STO_Daily.Events as an example (only the first Event is pasted in the code block)
Code:
#Event KDFMirror
#{
#    Activity KDFMirror
#
[COLOR=#FF8C00]#    EventTime
#    {
#    StartDate "2011-01-01 01:00:00"
#    EndDate "2013-01-01 01:00:00"
#    TimeRepeat 36000
#    TimeDuration 3600
#    }[/COLOR]
#    
#    DisplayTag Daily
#    msgDisplayName STO_Daily.KDFMirror.msgDisplayName
#    msgDisplayShortDesc STO_Daily.KDFMirror.msgDisplayShortDesc
#    msgDisplayLongDesc STO_Daily.KDFMirror.msgDisplayLongDesc
#    Icon event_mirror_01_Klingon
#}


NOTE: The pound symbol # (This symbol is used for commenting the line so it is NOT READ)
Removing a # will allow the system to read the line.
YOU MUST: Uncomment or Comment the ENTIRE BLOCK per Event
What is a BLOCK?
The entire Event or Sections of the Event. The Entire code block above is a Full Event and an example Section is highlighted in Orange to show the difference.

IF YOU DO NOT UNDERSTAND THIS, CLOSE THIS PAGE AND DO NOT TOUCH THE FILES


At the top of the each EVENT you will find obviously a definition of the EVENT:
1. Event KDFMirror (This is the name of the EVENT) DO NOT MODIFY
2. Activity KDFMirror (This is the name of the ACTIVITY) DO NOT MODIFY
***You are only concerned with the following in the EVENT file types.
3. EventTime (This is a block "generally" consisting of 4 fields: StartDate, EndDate, TimeRepeat, and TimeDuration)
This is where you modify when the event takes place. Note the UDT or PAC timezone references, DO NOT CHANGE THEM.


Here are some basics about field values found in the EVENTS.
This is Not a full listing, but use common sense, you'll figure it out.
## Handy values!
## 5 minutes: 300
## 30 minutes: 1800
## 1 hour: 3600
## 12 hours: 43200
## 1 day: 86400
## 1 week: 604800
## 30 days: 1296000
 
Newbie Spellweaver
Joined
Aug 30, 2015
Messages
10
Reaction score
0
it's working, can you give me skype? can we working together ? i've something to say
 
Back
Top