Register for your free account! | Forgot your password?

You last visited: Today at 05:57

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Auto-notice.

Discussion on Auto-notice. within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2009
Posts: 228
Received Thanks: 26
Auto-notice.

For example, in source of LTD:

In:
Code:
void CDPClient::OnJoin( CAr & ar )
Code:
//DSystem
		CString nick = pMover->GetName();
		g_WndMng.PutString( "[DSystem] Bienvenue, " + nick + ", passez un bon moment!", NULL, prj.GetTextColor(TID_ADMIN_ANNOUNCE), CHATSTY_SYSTEM );
Work, but this string don't accept characteres with accents.
Examples: á,ã,à,é,ê,ç ...

Anyone have any idea how to fix?
julioclitwin is offline  
Old 05/28/2013, 23:41   #2
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Try this:

PutString( _T("[DSystem] Bienvenue, " + nick + ", passez un bon moment!"), NULL, prj.GetTextColor(TID_ADMIN_ANNOUNCE), CHATSTY_SYSTEM );"
xTwiLightx is offline  
Old 05/29/2013, 00:16   #3
 
elite*gold: 0
Join Date: Aug 2009
Posts: 228
Received Thanks: 26
error C2144: syntax error : 'time_t' should be preceded by ';'
error C2001: newline in constant
julioclitwin is offline  
Old 05/29/2013, 00:24   #4
 
ademir321's Avatar
 
elite*gold: 0
Join Date: Nov 2012
Posts: 80
Received Thanks: 33
Quote:
Originally Posted by julioclitwin View Post
error C2144: syntax error : 'time_t' should be preceded by ';'
error C2001: newline in constant
tira aquela aspa do final.

PutString( _T("[DSystem] Bienvenue, " + nick + ", passez un bon moment!"), NULL, prj.GetTextColor(TID_ADMIN_ANNOUNCE), CHATSTY_SYSTEM );"
ademir321 is offline  
Old 05/29/2013, 00:32   #5
 
elite*gold: 0
Join Date: Aug 2009
Posts: 228
Received Thanks: 26
@xTwiLightx
Thanks man, working!

@ademir321
kkkkkkkkkkk, nem reparei. Obrigado Ademir.

Você tem noção de como posso deixar um pouco melhor? Do tipo, que eu crie por exemplo:
notice.txt
E nesse arquivo ficaria o noticia que aparecerá no chat. Sem ter que ficar sempre compilando o Neuz para editar a Mensagem.
julioclitwin is offline  
Old 05/29/2013, 22:26   #6
 
ademir321's Avatar
 
elite*gold: 0
Join Date: Nov 2012
Posts: 80
Received Thanks: 33
Quote:
Originally Posted by julioclitwin View Post
@xTwiLightx
Thanks man, working!

@ademir321
kkkkkkkkkkk, nem reparei. Obrigado Ademir.

Você tem noção de como posso deixar um pouco melhor? Do tipo, que eu crie por exemplo:
notice.txt
E nesse arquivo ficaria o noticia que aparecerá no chat. Sem ter que ficar sempre compilando o Neuz para editar a Mensagem.
No source, já tem muitos desse tipo, tente usar um como exemplo, ou faça para usar no TextClient.txt.txt
ademir321 is offline  
Old 05/30/2013, 00:16   #7
 
elite*gold: 0
Join Date: Aug 2009
Posts: 228
Received Thanks: 26
Quote:
Originally Posted by ademir321 View Post
No source, já tem muitos desse tipo, tente usar um como exemplo, ou faça para usar no TextClient.txt.txt
Não tenho muito noção de como posso fazer.
julioclitwin is offline  
Old 05/30/2013, 00:37   #8
 
ademir321's Avatar
 
elite*gold: 0
Join Date: Nov 2012
Posts: 80
Received Thanks: 33
Quote:
Originally Posted by julioclitwin View Post
Não tenho muito noção de como posso fazer.
Usa então apenas o textclient.txt.txt
ademir321 is offline  
Old 05/30/2013, 01:13   #9
 
elite*gold: 0
Join Date: Aug 2009
Posts: 228
Received Thanks: 26
Quote:
Originally Posted by ademir321 View Post
Usa então apenas o textclient.txt.txt
Poderia escrever? E outra coisa, quando fosse para adicionar uma nova linha, teria que modificar na source para adicionar a nova string?
julioclitwin is offline  
Old 05/30/2013, 17:36   #10
 
ademir321's Avatar
 
elite*gold: 0
Join Date: Nov 2012
Posts: 80
Received Thanks: 33
a string ex:TID_ADMIN_ANNOUNCE_001 , isso teria de adcionar so source, mas para mudar apenas o texto , ai é no textclient.txt.txt , já para criar um .inc ou .txt pra rodar automaticamente, isso ai já existem varios espalhados no source, é só procurar.
ademir321 is offline  
Old 05/30/2013, 23:10   #11

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
please speak english so everybody is able to understand you
xxfabbelxx is offline  
Old 05/30/2013, 23:44   #12
 
elite*gold: 0
Join Date: Nov 2012
Posts: 142
Received Thanks: 41
wow spanish is hard
i wanned to understand to learn some c++ from you pro guys but eh ...

iHellsBlade is offline  
Old 05/31/2013, 04:18   #13
 
elite*gold: 0
Join Date: Aug 2009
Posts: 228
Received Thanks: 26
We are talking about how can I make an Auto-notice that can be edited in the archives of the Client. Or, edit my notice in WorldServer.ini

Is Portuguese.
julioclitwin is offline  
Old 05/31/2013, 07:07   #14
 
elite*gold: 0
Join Date: Nov 2012
Posts: 142
Received Thanks: 41
as far as i know , there is a notice script in event.lua, try to get that to work instead
iHellsBlade is offline  
Reply


Similar Threads Similar Threads
[Release] vSRO - Auto Notice
03/10/2013 - SRO PServer Guides & Releases - 6 Replies
Auto-notice is a file which sends notices whilst your away, it's pretty self-explanatory, the picture below explains. http://i46.tinypic.com/w17ald.png 1) - Enter your server IP, Locale and Version, then click "connect to server." 2) Enter you account ID & PW, Login and select your character. 3) Write your notice, and choose the time scale you want the program to send out the notice.
auto notice
10/05/2012 - Rappelz Private Server - 0 Replies
auto notice how do I delete and How do I change the language of the server
Auto server notice
03/20/2012 - Shaiya Private Server - 16 Replies
well some servers have this. there is like gold cheaters and don't buy from other 3 partyes stuff and so on. spamming the notice board. i do not think that a gm does that all day long LOL. where do you set this up? anyone found that out? number 2. where do you change the grb day? the portal say saterday but i have it on sunday. anyway to change that one? thanks for any help..
[QUEST]Auto Notice with timer [ ENG ]
12/13/2011 - Metin2 PServer Guides & Strategies - 26 Replies
Hello, this days i found this quest auto notice with timer, original quest language was italian i translated to english. QUEST IT IS NOT MADE BY ME, ( OWNER : Superisi ) quest automex begin state start begin when letter with pc . is_gm ( ) begin send_letter ( "GM Auto Notice" )
Auto server notice
06/16/2011 - Metin2 Private Server - 3 Replies
Hi! I would like to ask that,how can I make auto notice-s?I just dont get it: Example: someone is joining he gets a greeting notice,or when a SA is online it says xy is online,you can ask questions form him..or something like that:D



All times are GMT +1. The time now is 05:59.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.