Raised This Month: $32 Target: $400
 8% 

Multi Server Chat System


Post New Thread Reply   
 
Thread Tools Display Modes
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 10-24-2007 , 08:05   Re: An other useless plugin: multi server chat
Reply With Quote #21

How do you wrote the ips in "serverlist" cvar ?
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 10-24-2007 , 09:42   Re: An other useless plugin: multi server chat
Reply With Quote #22

serverlist "192.168.0.69:18107;82.232.102.55:18107"
serverlist "ip:port;ip:port;............."
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 10-24-2007 , 09:59   Re: An other useless plugin: multi server chat
Reply With Quote #23

I'm blind or what ?! O_O... You'r name is "nikerossxp" ?! , i've asked nikerossxp... If he put only one ip there is a trick, you must put a ";" after port.

Quote:
Originally Posted by Original Plugin msc.sma
register_cvar("serverlist","192.168.0.69:1810 7",FCVAR_SERVER)
wrong...after port must be a ";" :s
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 10-24-2007 , 12:30   Re: An other useless plugin: multi server chat
Reply With Quote #24

Quote:
Don't be negative for every plugin you make.
Someone will sure use it as useful.
here is the awnser
http://www.game-monitor.com/search.p...&type=variable

Quote:
-Eg. admins can see things happening on the other servers (maybe in console only) like kills, teamkills, votings, objective events, etc.
-Maybe allow admins to execute commands onto the other servers, if possible.
For example paired with the above, being able to see what players on other servers are doing, an admin could spot a TK'er and do something like
amx_ban server3 randomplayer
(or something like that, maybe a menu)
Yes, yes, but the plugin is quite useless due to the lack of team or community with more than one server...

Quote:
how to config plugin, help me plz...
Please copy here the value of cvar serverlist and you network conf ? Maybe the port is blocked by a firewall/router

Quote:
How about updating teamscores from server A to server B and vice versa. Also, it would be cool, if one server has alot of skilled players against poor players, and teams don't get balanced evenly, the player would be sent to another server and replaced with someone from there. I hope I make sense.
I don't know how teamscore works :/

Quote:
HEY!!

/me goes to cry in the corner.
in a friendly way ;)

Quote:
Is there a way that you can make is so that you need to type something before the text for it to go to the other server. Like if I only want to type to one server and it is a hns server, have it be like "!hns Hey" so that all the text in every server will not be broadcaster onto all of the servers?
add yourself

PHP Code:
if (containi(said,"!hns'){ 
after read args (said ...) at the beginning of handle_say

and

PHP Code:

at the end

Quote:
wrong...after port must be a ";" :s
I've corrected this bug
__________________
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 10-25-2007 , 18:20   Re: An other useless plugin: multi server chat
Reply With Quote #25

Ownage, thanks.
P4rD0nM3 is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 10-26-2007 , 07:13   Re: An other useless plugin: multi server chat
Reply With Quote #26

It's hard to approve when you put things like "An other [sic] useless plugin". Please, take this out.

I'll approve it anyway, but meh. Be more descriptive.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
nikerossxp
Junior Member
Join Date: Feb 2007
Location: Moscow, Russia
Old 10-26-2007 , 07:33   Re: Multi Server Chat System
Reply With Quote #27

Alka - yes, my nick is "nikerossxp"....


Ok, what i'm doing:


#define DEFAULTPORT 27016 <=I don't understand, what port i must write.... I have 2 servers on my PC, they running on one ip, but different port


register_cvar("only_admin","0",FCVAR_SERVER)
register_cvar("show_server","0",FCVAR_SERVER)
register_cvar("network_code","pumpit") //
register_cvar("serverlist","10.20.139.2:27016 ;10.20.139.2:27018",FCVAR_SERVER)
listening_socket = socket_listen("127.0.0.1",DEFAULTPORT,SOCKET_ UDP,error)


copyes of plugin installed on all servers... And, ofcourse, module enabled and works... This is not firewall...
nikerossxp is offline
Send a message via ICQ to nikerossxp Send a message via MSN to nikerossxp Send a message via Yahoo to nikerossxp Send a message via Skype™ to nikerossxp
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 10-26-2007 , 07:44   Re: Multi Server Chat System
Reply With Quote #28

Man, let the default port "18107" and you must do in this way:

1.Take the plugin...here
Code:
register_cvar("serverlist","10.20.139.2:27016 ;10.20.139.2:27018",FCVAR_SERVER)
add a ";" at the end of last ip too look like this
Code:
register_cvar("serverlist","10.20.139.2:27016;10.20.139.2:27018;",FCVAR_SERVER)
2. Let's say that you'r ip is 10.0.0.0.
Master: 10.0.0.0:27015
SERVER A: 10.20.139.2:18107
SERVER B: 10.20.139.2:18107

Then on server MASTER you must put the "serverlist" cvar like this
Code:
register_cvar("serverlist","10.20.139.2:18107;10.20.139.2:18107;",FCVAR_SERVER)
Then on server A you must put the "serverlist" cvar like this
Code:
register_cvar("serverlist","10.0.0.0:18107;10.20.139.2:18107;",FCVAR_SERVER)
Then on server B you must put the "serverlist" cvar like this
Code:
register_cvar("serverlist","10.0.0.0:18107;10.20.139.2:18107;",FCVAR_SERVER)
and done. You will see al chat's.

Note: Don't matter waht you'r server port is , put the Ip and DEFAULT socket port "18107" ; "10.1.1.2:18107" ;)
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 10-26-2007 at 07:51.
Alka is offline
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 10-26-2007 , 08:27   Re: Multi Server Chat System
Reply With Quote #29

debug version
Attached Files
File Type: sma Get Plugin or Get Source (msc_debug.sma - 659 views - 3.2 KB)
__________________
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
nikerossxp
Junior Member
Join Date: Feb 2007
Location: Moscow, Russia
Old 10-26-2007 , 08:41   Re: Multi Server Chat System
Reply With Quote #30

VERY BIG THANKS TO HACKZINER, HE HELP ME!!!!

please, karma+ to him, becose i already do it=)
nikerossxp is offline
Send a message via ICQ to nikerossxp Send a message via MSN to nikerossxp Send a message via Yahoo to nikerossxp Send a message via Skype™ to nikerossxp
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 06:55.


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