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!

Your own ticket.

Junior Spellweaver
Joined
Feb 25, 2014
Messages
163
Reaction score
40
Hello there, this guide will explain to you how to add a new ticket to a new(custom) map.

Since I haven't found any guide related to this subject(The one I found was about how to edit an existing ticket), I will explain it.

Before I get started, I am just making this guide to help people, remember that there are some people that doesn't know any of these stuffs, this will be helpful for them. If you already know how to do this, do not complain on posting anything like "This is so easy, anyone could do this...".

Remember, "Nobody is born wise".

Lets get started...

Files that you need to edit:

-DefineItem.h
-propItem.txt or Spec_item.txt
-propItem.txt.txt
-Ticket.inc

... So here we go:



  • DefineItem.h

Just scroll down to the bottom of the file, and just right before of the "#endif" add a new line like this:

#define II_SYS_SYS_SCR_BXMPSY120SET 224894
#define II_SYS_SYS_SCR_BXFPSY120SET 224896
#define II_SYS_SYS_SCR_BXFELE120SET 224897
#define II_SYS_TICKET_NEWTICKET 23017
#endif

We have just defined a new ticket with the code "23017". The red part will be your item, and the blue numbers are the in-game code to spawn the item using the command /ci.

IMPORTANT: Make sure that the number "23017" is not in use or it won't work. You must use a number that is not in use.


  • propItem.txt.txt

Scroll down again to the bottom and add a new line like this:

IDS_PROPITEM_TXT_012071 New Ticket
IDS_PROPITEM_TXT_012072 Description of the ticket.

The red part is a unique code, it must be different than the rest. Just add 1 to the number before. For example, If your last code is like this: IDS_PROPITEM_TXT_012021 add a new one like this: IDS_PROPITEM_TXT_012022. (21 + 1 = 22).

The blue part is going to be the Ticket name, you can write there anything you want.

The green part is the Ticket description, same as the name, you can write whatever you want.


  • propItem.txt or Spec_item.txt

Open the file, and search for II_SYS_TICKET_CISLAND02 you will find something like this:

Code:
13    [COLOR=#ff0000]II_SYS_TICKET_CISLAND02[/COLOR]    [COLOR=#0000ff]IDS_PROPITEM_TXT_010050[/COLOR]    1    1    IK1_SYSTEM    IK2_SYSTEM    IK3_TICKET    =    TRUE    1    =    4    =    =    =    =    =    =    =    0    =    =    1    =    =    1    1    =    =    [COLOR=#008000]21600[/COLOR]    =    _NONE    0    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    999999999    =    WUI_NOW    =    =    =    =    =    =    =    =    =    0    0    0    0    0    0    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    """Itm_SysTicketCisland.dds"""    0    """"""   [COLOR=#00ffff] IDS_PROPITEM_TXT_010051[/COLOR]

Copy that line, make some spaces between the lines like this, and add this:

Note: I am using propItem.txt, the lines in Spect_item.txt should be longer, just make sure that you copy all the line and you are fine.

Code:
13    II_SYS_TICKET_CISLAND02    IDS_PROPITEM_TXT_010050    1    1    IK1_SYSTEM    IK2_SYSTEM    IK3_TICKET    =    TRUE    1    =    4    =    =    =    =    =    =    =    0    =    =    1    =    =    1    1    =    =    21600    =    _NONE    0    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    999999999    =    WUI_NOW    =    =    =    =    =    =    =    =    =    0    0    0    0    0    0    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    """Itm_SysTicketCisland.dds"""    0    """"""   IDS_PROPITEM_TXT_010051


13    [COLOR=#0000ff][I]II_SYS_TICKET_NEWTICKET[/I][/COLOR]    [COLOR=#FF0000]IDS_PROPITEM_TXT_012071[/COLOR]    1    1    IK1_SYSTEM    IK2_SYSTEM    IK3_TICKET    =    TRUE    1    =    4    =    =    =    =    =    =    =    0    =    =    1    =    =    1    1    =    =    [COLOR=#008000]21600[/COLOR]    =    _NONE    0    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    999999999    =    WUI_NOW    =    =    =    =    =    =    =    =    =    0    0    0    0    0    0    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    =    """Itm_SysTicketCisland.dds"""    0    """""" [COLOR=#00ffff] IDS_PROPITEM_TXT_012072[/COLOR]

The blue part, is the exact code that we used on DefineItem.h, do you remember?

The red part, is the name of the ticket. That is the code in propItem.txt.txt.

The green part is the duration of the ticket counted in minutes: 21600 = 15 Days / 10080 = 7 Days / 1440 = 1 Day. You can edit with the time you want.

The cyan part is the description of the item. That is the code in propItem.txt.txt too.


  • Ticket.inc

Open this file and you should see something like this:

II_SYS_TICKET_KEBARAS01 WI_WORLD_KEBARAS 1271 114.000000 1326
II_SYS_TICKET_KEBARAS02 WI_WORLD_KEBARAS 1271 114.000000 1326
II_SYS_TICKET_KEBARAS001 WI_WORLD_KEBARAS 1271 114.000000 1326
II_SYS_TICKET_CISLAND01 WI_WORLD_CISLAND 2002 120 855
II_SYS_TICKET_CISLAND02 WI_WORLD_CISLAND 2002 120 855

Just add a new line like this:

II_SYS_TICKET_KEBARAS01 WI_WORLD_KEBARAS 1271 114.000000 1326
II_SYS_TICKET_KEBARAS02 WI_WORLD_KEBARAS 1271 114.000000 1326
II_SYS_TICKET_KEBARAS001 WI_WORLD_KEBARAS 1271 114.000000 1326
II_SYS_TICKET_CISLAND01 WI_WORLD_CISLAND 2002 120 855
II_SYS_TICKET_CISLAND02 WI_WORLD_CISLAND 2002 120 855
II_SYS_TICKET_NEWTICKET WI_WORLD_CISLAND 2002 120 855

The red part is your item, the one you defined in DefineItem.h.

The green part is your world, I am assuming that you already have made a world. Just go to DefineWorld.h, find your world and copy and paste it.

The blue part is the X coordinate where you will be teleported to the map.

The cyan part is the Y coordinate where you will be teleported to the map.

The brown part is the Z coordinate where you will be teleported to the map.

You can check the coordinates in the bottom left of the Beast World Editor, just by placing the mouse in the place you want to be teleported.

We have finished editing.

You must put the edited files in your Resource folder(obviously) and in the datas of your client by using res editor and that's all.

Remember to make a backup in case the files get messed.

Congratulations, you have your own ticket to your custom map.

Have a nice day, hope you liked it.

-Tarky.



 
Back
Top