Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: opening a card on certain days  (Visto 246 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline IceCream Posteado: January 29, 2023, 07:52:43 AM | Modificado: January 29, 2023, 01:08:21 PM by IceCream

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 115
  • Gracias recibida: 38
  • ru
Hello everyone, I want to share my experience. I saw on one server that a certain location opens only on weekends. I've been thinking for a long time how I can do the same. Because TvT doesn't work for me, I've redone this function so that the map opens only on Saturday and Sunday.




Spoiler for Hiden:

I made the card opening at 21:00 on Friday and closing at 21:00 on Sunday

opening CustomNpcMove

//Index   Npc   NpcMap   NpcX   NpcY   MoveMap   MoveX   MoveY   MinLevel   MaxLevel   MinReset   MaxReset   MinMReset   MaxMReset   AccountLevel   PKMove   Comment
0         239 - ( you NPC )   79 - ( you map )       236    92 - ( NPC coordinates )        86 - ( card number where we go to go )       150        20 ( - coordinates of the map where we go to go )       250 - ( min lvl )      *      *      *      *      *      0      

Spoiler for Hiden:
Opening TvTEvent
0
//AlarmTime      StandTime   EventTime   CloseTime
2880              1           2880           2880             
end

1
//Year   Month   Day   DoW   Hour   Minute   Second
2023        2       5      *    21      0       0
2023        2       12     *     21      0       0
2023        2       19     *     21      0       0
2023        2       26     *     21      0       0
2023        3       5      *     21      0       0
2023        3       12     *     21      0       0
2023        3       19     *     21      0       0
2023        3       26     *     21      0       0
2023        4       2      *     21      0       0
2023        4       9     *     21      0       0
2023        4       16     *     21      0       0
2023        4       23     *     21      0       0
2023        4       30      *     21      0       0
2023        5       7     *     21      0       0
2023        5       14     *     21      0       0
2023        5       21     *     21      0       0
2023        5       28     *     21      0       0
2023        6       4      *     21      0       0
2023        6       11     *     21      0       0
2023        6       18     *     21      0       0
2023        6       25     *     21      0       0
2023        7       2      *     21      0       0
2023        7       9     *     21      0       0
2023        7       16     *     21      0       0
2023        7       23     *     21      0       0
2023        7       30      *     21      0       0
2023        8       6      *     21      0       0
2023        8       13     *     21      0       0
2023        8       20     *     21      0       0
2023        8       27     *     21      0       0
2023        9       3      *     21      0       0
2023        9       10     *     21      0       0
2023        9       17     *     21      0       0
2023        9       14     *     21      0       0
2023        10       1      *     21      0       0
2023        10       8     *     21      0       0
2023        10       15     *     21      0       0
2023        10       22     *     21      0       0
2023        10       29      *     21      0       0
2023        11       5      *     21      0       0
2023        11       12     *     21      0       0
2023        11       19     *     21      0       0
2023        11       26     *     21      0       0
2023        12       3      *     21      0       0
2023        12       10     *     21      0       0
2023        12       17     *     21      0       0
2023        12       24     *     21      0       0
2023        12       31      *     21      0       0
end

WaitingGate - specify Gate.txt index map
EventMap - specify number map

Spoiler for Hiden:
Opening GameServerInfo - Event

EventTvtSwitch = 1
EventTvtNpc = you NPC
EventTvtNpcMap = NPC map
EventTvtNpcX = NPC coordinates
EventTvtNpcY = NPC coordinates
EventTvtMinUsers = 1
EventTvtMaxUsers = 200


Spoiler for Hiden:
editing messages about opening a map in Message.txt in lines 825 - 833

 cool2

Gracias:


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
8 Replies
2304 Views
Last post July 13, 2020, 03:23:25 AM
by hotspot
0 Replies
347 Views
Last post August 21, 2020, 02:47:25 AM
by daezugun
18 Replies
886 Views
Last post March 20, 2023, 12:52:41 PM
by surdido
2 Replies
409 Views
Last post June 22, 2023, 11:12:19 AM
by iCoder