Ark Adverts

Ark Adverts 1.2

No permission to download

cronos2018

New member
Messages
16
Likes
0
Points
1
hey all just wondering would i be possible to set each message to go off at different times ? like i have done in my config if thats how i can write it.
 

Attachments

Advertisement

Official Game Server Partner

kizariel

New member
Messages
9
Likes
0
Points
1
Hello, each time i try the "notification" it crash the server =/.
Fatal error!



VERSION: 298.31
KERNELBASE.dll!UnknownFunction (0x00007ffd667f9129) + 0 bytes [UnknownFile:0]
VCRUNTIME140.dll!UnknownFunction (0x00007ffd55a6480d) + 0 bytes [UnknownFile:0]
ArkAdvert.dll!UnknownFunction (0x00007ffd39f77ea5) + 0 bytes [UnknownFile:0]
VERSION.dll!ArkApi::Hook_AGameState_DefaultTimer() (0x00007ffd30b94262) + 80 bytes [D:\Github_Projects\ARK-Server-API\version\Core\Private\Ark\HooksImpl.cpp:136]
ShooterGameServer.exe!FTimerManager::Tick() (0x00007ff7d8f2b5d7) + 0 bytes [h:\trunk\engine\source\runtime\engine\private\timermanager.cpp:1080]
ShooterGameServer.exe!UWorld::Tick() (0x00007ff7d8de3a70) + 0 bytes [h:\trunk\engine\source\runtime\engine\private\leveltick.cpp:1288]
ShooterGameServer.exe!UGameEngine::Tick() (0x00007ff7d8d41d0f) + 0 bytes [h:\trunk\engine\source\runtime\engine\private\gameengine.cpp:1170]
ShooterGameServer.exe!FEngineLoop::Tick() (0x00007ff7d78ed44c) + 0 bytes [h:\trunk\engine\source\runtime\launch\private\launchengineloop.cpp:2421]
ShooterGameServer.exe!GuardedMain() (0x00007ff7d78e8dac) + 0 bytes [h:\trunk\engine\source\runtime\launch\private\launch.cpp:140]
ShooterGameServer.exe!GuardedMainWrapper() (0x00007ff7d78ee49a) + 5 bytes [h:\trunk\engine\source\runtime\launch\private\windows\launchwindows.cpp:125]
ShooterGameServer.exe!WinMain() (0x00007ff7d78ee5d0) + 8 bytes [h:\trunk\engine\source\runtime\launch\private\windows\launchwindows.cpp:209]
ShooterGameServer.exe!__tmainCRTStartup() (0x00007ff7d9d6e4d1) + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
KERNEL32.DLL!UnknownFunction (0x00007ffd6a1f7974) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ffd6a70a271) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ffd6a70a271) + 0 bytes [UnknownFile:0]

and i am using this config
{
"AdvertMessages":{
"WelcomeMsgEnabled":false,
"WelcomeMsg":"Welcome to my server!",
"WelcomeMsgColor":[
1.0,
0,
0,
1.0
],
"Interval":120,
"Messages":[
{
"Message":"Message 1",
"Type":"Notification",
"Color":[
1.0,
1.0,
1.0,
0.8
]
},
{
"Message":"Message 2",
"Type":"Notification",
"Color":[
1.0,
1.0,
1.0,
0.8
]
},
{
"Message":"Message 3",
"Type":"Notification",
"Color":[
1.0,
1.0,
1.0,
0.8
],
"DisplayScale":1.3,
"DisplayTime":20.0
}
]
}
}

I am unable to get it to work for "notification".
 

Foppa

Moderator
Staff member
Messages
755
Likes
70
Points
28
Website
foppasgaming.com
Hello, each time i try the "notification" it crash the server =/.
Fatal error!



VERSION: 298.31
KERNELBASE.dll!UnknownFunction (0x00007ffd667f9129) + 0 bytes [UnknownFile:0]
VCRUNTIME140.dll!UnknownFunction (0x00007ffd55a6480d) + 0 bytes [UnknownFile:0]
ArkAdvert.dll!UnknownFunction (0x00007ffd39f77ea5) + 0 bytes [UnknownFile:0]
VERSION.dll!ArkApi::Hook_AGameState_DefaultTimer() (0x00007ffd30b94262) + 80 bytes [D:\Github_Projects\ARK-Server-API\version\Core\Private\Ark\HooksImpl.cpp:136]
ShooterGameServer.exe!FTimerManager::Tick() (0x00007ff7d8f2b5d7) + 0 bytes [h:\trunk\engine\source\runtime\engine\private\timermanager.cpp:1080]
ShooterGameServer.exe!UWorld::Tick() (0x00007ff7d8de3a70) + 0 bytes [h:\trunk\engine\source\runtime\engine\private\leveltick.cpp:1288]
ShooterGameServer.exe!UGameEngine::Tick() (0x00007ff7d8d41d0f) + 0 bytes [h:\trunk\engine\source\runtime\engine\private\gameengine.cpp:1170]
ShooterGameServer.exe!FEngineLoop::Tick() (0x00007ff7d78ed44c) + 0 bytes [h:\trunk\engine\source\runtime\launch\private\launchengineloop.cpp:2421]
ShooterGameServer.exe!GuardedMain() (0x00007ff7d78e8dac) + 0 bytes [h:\trunk\engine\source\runtime\launch\private\launch.cpp:140]
ShooterGameServer.exe!GuardedMainWrapper() (0x00007ff7d78ee49a) + 5 bytes [h:\trunk\engine\source\runtime\launch\private\windows\launchwindows.cpp:125]
ShooterGameServer.exe!WinMain() (0x00007ff7d78ee5d0) + 8 bytes [h:\trunk\engine\source\runtime\launch\private\windows\launchwindows.cpp:209]
ShooterGameServer.exe!__tmainCRTStartup() (0x00007ff7d9d6e4d1) + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
KERNEL32.DLL!UnknownFunction (0x00007ffd6a1f7974) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ffd6a70a271) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ffd6a70a271) + 0 bytes [UnknownFile:0]

and i am using this config
{
"AdvertMessages":{
"WelcomeMsgEnabled":false,
"WelcomeMsg":"Welcome to my server!",
"WelcomeMsgColor":[
1.0,
0,
0,
1.0
],
"Interval":120,
"Messages":[
{
"Message":"Message 1",
"Type":"Notification",
"Color":[
1.0,
1.0,
1.0,
0.8
]
},
{
"Message":"Message 2",
"Type":"Notification",
"Color":[
1.0,
1.0,
1.0,
0.8
]
},
{
"Message":"Message 3",
"Type":"Notification",
"Color":[
1.0,
1.0,
1.0,
0.8
],
"DisplayScale":1.3,
"DisplayTime":20.0
}
]
}
}

I am unable to get it to work for "notification".
What API Version are you running?
 

Foppa

Moderator
Staff member
Messages
755
Likes
70
Points
28
Website
foppasgaming.com
same crash in 3.2 ^^", mmmh going to turn off all other API and try again.

edit: no server keep crashing =/
You are missing these lines:

"DisplayScale":1.3,
"DisplayTime":20.0

Correct:
JSON:
      {
        "Message": "Message 3",
        "Type": "Notification",
        "Color": [
          1,
          1,
          1,
          0.8
        ],
        "DisplayScale": 1.3,
        "DisplayTime": 20
      }
Wrong:
JSON:
      {
        "Message": "Message 2",
        "Type": "Notification",
        "Color": [
          1,
          1,
          1,
          0.8
        ]
      }
 
Top