Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Опубликовано:

Г‰ fГЎcil de usar.

Extrais o "messages.dll" para a pasta "scripts", e depois crias lГЎ um documento de texto chamado "message" (message.txt)

Esse "message.txt" tem que ter 6 linhas (mesmo que algumas das linhas nГЈo tenham nada). Cada uma das linhas Г© uma das mensagens que aparecem no servidor (a quarta linha Г© para carregar um Г­cone por baixo das mensagens). O developer diz ainda que a sexta linha tem que estar em branco.

O txt fica mais ou menos com este aspecto:

Bem-vindo ao servidor
Nao uses cheats
Diverte-te
cardicon_skull_black
Servidor do Nescau

Lembra-te que podes optar por deixar linhas em branco. Exemplo:

Bem-vindo ao servidor



Servidor do Nescau

(neste exemplo, sГі aparece a mensagem fixa em cima e uma mensagem de boas vindas quando alguГ©m se liga)

Опубликовано:
  • Автор

ola Paulo, Gilson e Amigos tudo bem?, muito obrigado por fazer a traduГ§ГЈo do topico e explicar, ja baixei mas por inquanto nao copiei para a pasta "scripts", quando eu for fazer tudo certinho posso postar o console do server IW5M para ver se deu tudo certinho? Att: |CM.BR|Nescau (Igor)

Опубликовано:

ГЂ partida, quando meteres a correr, vai funcionar Г  primeira.

Se alguma coisa correr mal (a unica coisa que pode correr mal Г© a construГ§ГЈo do txt) podes postar aqui tudo o que ajude a identificar o problema.

Опубликовано:
  • Автор
ГЂ partida, quando meteres a correr, vai funcionar Г  primeira.

Se alguma coisa correr mal (a unica coisa que pode correr mal Г© a construГ§ГЈo do txt) podes postar aqui tudo o que ajude a identificar o problema.

 

Ola Paulo, creio que esse dever algum tipo de erro, ou estou enganado?

 

[scriptLoader] Loading script GameLog v1.1.0.28
[scriptLoader] Loading script TestScript v1.1.0.28
[scriptLoader] An error occurred during initialization of the script Message: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not find file "D:\IW5M\scripts\message.txt".

File name: 'D:\IW5M\scripts\message.txt'

 at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in :0 

 at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in :0 

 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)

 at System.IO.File.OpenRead (System.String path) [0x00000] in :0 

 at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in :0 

 at System.IO.StreamReader..ctor (System.String path) [0x00000] in :0 

 at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)

 at System.IO.File.OpenText (System.String path) [0x00000] in :0 

 at System.IO.File.ReadAllLines (System.String path) [0x00000] in :0 

 at Message.Message..ctor () [0x00000] in :0 

 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)

 at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 

 --- End of inner exception stack trace ---

 at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 

 at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 

 at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in :0 

 at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in :0 

 at System.Activator.CreateInstance (System.Type type) [0x00000] in :0 

 at InfinityScript.ScriptLoader.LoadAssembly (System.Reflection.Assembly assembly) [0x00000] in :0 

Опубликовано:

Fez dessa forma:

1 - coloque dentro da pasta script esses dois arquivos:

message.txt e messages.dll

 

2 - insira esse comando em algum lugar da sua server.cfg (pode ser logo abaixo da linha rcon password "")

loadscript messages.dll

 

3 - dГЄ um fast restart no server se estiver a rodar, ou apenas ligue-o se estiver desligado

 

Se estiver dessa maneira e o erro persistir, aГ­ sГі o Paulofonta pra te ajudar

Опубликовано:
[scriptLoader] An error occurred during initialization of the script Message: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not find file "D:\IW5M\scripts\message.txt".

Isso nГЈo funciona sem o ficheiro de texto.

Опубликовано:
  • Автор

Ola Gilson todo bem? Cara eu fiz o seguinte, consegui achar um TГіpico no FГіrum Espanhol (Se encontra aqui: http://fourdeltaone.net/forum/viewtopic.php?f=21&t=21831), dentro dele tem um link de um VГ­deo no YouYube, no vГ­deo tem um link de Downlaod do "message.txt" (no caso do link o nome esta em Espanhol: "Mensaje.txt"), o que eu fiz:

 

1: Baixei o Arquivo;

2: Renomeei o Arquivo "Mensaje.txt" para "message.txt"

3: Fiz igual nosso querido amigo Gilson:

 

"1 - coloquei dentro da pasta script esses dois arquivos:

message.txt e messages.dll

 

2 - inseri o comando "loadscript messages.dll" em algum lugar do server.cfg (no caso logo abaixo da linha rcon password "")

seta rcon_password "XXX"

loadscript messages.dll

 

SГі que nГЈo precisei dar um Fast Restart, ai dentro do "message.txt" edite conforme seu gosto (Obs: Edite so a primeira parte onde esta escrito igual nosso querido amigo Paulofonta nos disse) Ex:

 

using System; (Pode substituir por -> "Bem-vindo ao servidor")

using System.Collections.Generic; (Pode substituir por -> "NГЈo uses cheats")

using System.Linq; (Pode substituir por -> "Divirta-se")

using System.Text; (Pode substituir por, no caso o Icone -> "cardicon_skull_black")

using InfinityScript; (Pode substituir por -> "Servidor do XXX")

  • 1 month later...
Опубликовано:

Desculpe a minha ignorГўncia, mais este script Г© para iw4m ou iw5m, ou Г© para ambos ? ? ?

Опубликовано:

Tem algo parecido para o iw4m ? ?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Account

Navigation

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.