Raised This Month: $51 Target: $400
 12% 

[NATIVE] Server Comm


Post New Thread Reply   
 
Thread Tools Display Modes
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-25-2011 , 19:41   Re: [NATIVE] Server Comm
Reply With Quote #21

Quote:
Originally Posted by fmfs10 View Post
Add a optional server tag to know from wich server the message in coming from
That plugin is only an example and is not going to be updated with new features.
If you want that feature, use the plugin by hackziner.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
fmfs10
Senior Member
Join Date: Mar 2009
Location: Brasil
Old 02-26-2011 , 07:42   Re: [NATIVE] Server Comm
Reply With Quote #22

Quote:
Originally Posted by Exolent[jNr] View Post
All suggestions and comments are welcome.
Sorry... I read this so I thought that you would update the plugin =P

I prefer your method so I will use your plugin '-'
I just edit it xD
fmfs10 is offline
mabaclu
Senior Member
Join Date: Jun 2010
Location: Portugal
Old 02-26-2011 , 09:02   Re: [NATIVE] Server Comm
Reply With Quote #23

I have this error with your plugin:

Quote:
L 02/26/2011 - 13:28:23: IP address did not include port (188.93.232.73)
L 02/26/2011 - 13:28:23: [AMXX] Displaying debug trace (plugin "cross-server_chatting.amxx")
L 02/26/2011 - 13:28:23: [AMXX] Run time error 25: parameter error
L 02/26/2011 - 13:28:23: [AMXX] [0] cross-server_chatting.sma::SendChat (line 101)
L 02/26/2011 - 13:28:23: [AMXX] [1] cross-server_chatting.sma::CmdSay (line 74)
And yes, I didn't forget writting the port.
mabaclu is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-26-2011 , 12:11   Re: [NATIVE] Server Comm
Reply With Quote #24

Quote:
Originally Posted by mabaclu View Post
I have this error with your plugin:



And yes, I didn't forget writting the port.
That is because I did not update the plugin after updating Server Comm.
It should work fine now. Just download the plugin update for Cross-Server Chatting.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 02-03-2012 , 16:42   Re: [NATIVE] Server Comm
Reply With Quote #25

I put .ini onto 2 servers
at first I see doubleposting on each text message like

*dead* lol: gg
*dead* lol: gg


at the second server I see nothing at all.

I have 2 sever:ports in each ini. ( both with same Ip.s)
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-03-2012 , 17:18   Re: [NATIVE] Server Comm
Reply With Quote #26

Are they the same IP but different ports?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Old 04-21-2012, 04:01
Firippu
This message has been deleted by Firippu.
mabaclu
Senior Member
Join Date: Jun 2010
Location: Portugal
Old 04-21-2012 , 10:13   Re: [NATIVE] Server Comm
Reply With Quote #27

Quote:
Originally Posted by avril-lavigne View Post
I put .ini onto 2 servers
at first I see doubleposting on each text message like

*dead* lol: gg
*dead* lol: gg


at the second server I see nothing at all.

I have 2 sever:ports in each ini. ( both with same Ip.s)
I also had the same problem (except for the doubleposting) in 2 servers with different IPs and ports.
__________________
mabaclu is offline
zhulo
Senior Member
Join Date: Jun 2010
Location: Slovakia
Old 08-12-2012 , 05:49   Re: [NATIVE] Server Comm
Reply With Quote #28

I'm trying to send a server name (hostname) and the current map name from the server A to the server B, but still getting this error.

Code:
Error connecting a TCP socket for XX.XXX.X.XXX:XXXXX
PHP Code:
public send_data( )
{    
    new 
mapname[32], hostname[64]
    
get_mapnamemapnamecharsmaxmapname ) );
    
get_cvar_string"hostname"hostnamecharsmaxhostname ) );
        
    
scomm_sendf"XX.XXX.X.XXX:XXXXX""INFO ^"%s^" %s"hostnamemapname );
}

public 
scomm_receiveszData[ ], iDataLen )
{
    if( 
equalszData"INFO ") )
    {
        new 
hostname64 ], mapname32 ];
        
strtokszData""0szDataiDataLen'"' );
        
strtokszDatahostnamecharsmaxhostname ), szDataiDataLen'"' );
        
strbreakszDatamapnamecharsmaxmapname ), szDataiDataLen );
    }

zhulo is offline
Send a message via ICQ to zhulo Send a message via Skype™ to zhulo
dieeho
Member
Join Date: Oct 2011
Old 11-12-2012 , 19:39   Re: [NATIVE] Server Comm
Reply With Quote #29

Quote:
Originally Posted by Exolent[jNr] View Post
Example Plugin(s) Using Server Comm:

Cross-Server Chatting
1) hello exolent plugins just try the "Cross-Server Chatting" but I do not get the messages serves another server and I've done all the steps you said, I tried more than 5 times and do not get the messages you write by say to another server .. :/

2) I can send a print_chat as a server to another server? can you help me? you can do it here I leave an example of how it is that you say?

example:

writing to server 1:
say: /help

send an print_chat towards server # 2
print_chat "[AMXX] * are asking for help in the server 1"

Last edited by dieeho; 11-12-2012 at 19:41. Reason: .
dieeho is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 04-29-2013 , 13:16   Re: [NATIVE] Server Comm
Reply With Quote #30

I have two servers with the same IP and different port and it don't work.

Example,
192.168.1.1:1337
192.168.1.1:1338

scomm_key is the same in both servers.
loopback works fine.

PHP Code:
hSocket socket_openszIPiPortSOCKET_TCPiError ); 
returns -1

Last edited by guipatinador; 04-29-2013 at 13:48.
guipatinador is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode