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

IRC <-> HLDS


Post New Thread Closed Thread   
 
Thread Tools Display Modes
reese
Junior Member
Join Date: Apr 2004
Location: TeXaS
Old 04-24-2004 , 02:04  
#111

and i didnt touch the code i used your .amx
reese is offline
Send a message via AIM to reese Send a message via Yahoo to reese
QuakerOates
Senior Member
Join Date: Mar 2004
Old 04-24-2004 , 12:34  
#112

Since version .21 this plugin hasn'r worked for me.

.21 connect fine and runing it on a linux steam cs server
QuakerOates is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 04-24-2004 , 16:23  
#113

I have a new idea on how to send all the messages - it will mean that flood control no longer drops any messages, but just delays when they are sent.
I'm going to modify this so it sends a message every 0.5 second (prone to tweaking) - PONG's will be sent whenever they are needed.

If anyone has any ideas on a better way to get the args from the messages, I'd really like to hear it.

I *may* just turn this how it is now into a basic framework, that connects to irc and maintains a connection, if I can send events from the plugin, I could make it so you could add new functions by adding a new plugin, and not touching this one

To everyone who said it wont work above version 0.2x - whats the problem? do you get runtime errors?

To everyone with runtime errors, I will hopefully be posting a debug version, that should give me more info about runtime errors, gimmie a little while to look at compiler flags
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
QuakerOates
Senior Member
Join Date: Mar 2004
Old 04-24-2004 , 17:41  
#114

k =/

gl
QuakerOates is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 04-24-2004 , 19:26  
#115

Yea, I dont that will be happening any time soon, so I'll take another shot at the connection problems and do the new way of sending messages now

I highly doubt I will be able to do the module I wanted any time soon, but if anyone out there knows C++ well enough to make this module, but doesn't want to learn the IRC protocal, heres the basics of what it would need to do:
Quote:
Replace all CLRF with Character 10 + 13
irc_connect(server,port,nick,username,realnam e) //Connects to IRC server
Open a socket to the server, send this:
NICK nick CLRF
USER username 0 *:realname CLRF

irc_sendmsg(dest,message) //Sends Message to person/channel
PRIVMSG dest :message CLRF

irc_joinchannel(channel) //Joins the channel
JOIN channel CLRF

irc_recvdata(data) //Called when data arrives
-> Sends data to plugin
-> If first part of data is PING, respond with PONG 2ndarg, and dont forward to plugins

irc_partchannel(channel) //Parts the channel
PART channel CLRF

irc_disconnect(optional(message)) //Disconnect from server
QUIT message CLRF
->Close socket
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
StreetProphet
Member
Join Date: Mar 2004
Location: Colorado Springs, CO
Old 04-24-2004 , 20:37  
#116

today during an IRC split, the flood control caused a HUGE flood and I had to exit HLDS and restart it to get it to fix.

IRC split, a message was sent just as the split happened, suddenly that last message sent started spamming like no other on the server.
StreetProphet is offline
Send a message via ICQ to StreetProphet Send a message via AIM to StreetProphet Send a message via MSN to StreetProphet Send a message via Yahoo to StreetProphet
StreetProphet
Member
Join Date: Mar 2004
Location: Colorado Springs, CO
Old 04-24-2004 , 21:21  
#117

0.29 is actually ping timing out more, it isnt networks fault.

Anyone have an older version of the plugin, i trashed my backup =/
StreetProphet is offline
Send a message via ICQ to StreetProphet Send a message via AIM to StreetProphet Send a message via MSN to StreetProphet Send a message via Yahoo to StreetProphet
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 04-24-2004 , 21:38  
#118

Once I fix how messages are sent, all that should be fixed..
But that could be awhile
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
StreetProphet
Member
Join Date: Mar 2004
Location: Colorado Springs, CO
Old 04-24-2004 , 23:10  
#119

hehe alright
StreetProphet is offline
Send a message via ICQ to StreetProphet Send a message via AIM to StreetProphet Send a message via MSN to StreetProphet Send a message via Yahoo to StreetProphet
Girthesniper
Senior Member
Join Date: Mar 2004
Location: Maryland
Old 04-25-2004 , 02:21  
#120

Could you add a Cvar where the admin can send the text and recive the text from the cvar? eg. amx_irc_say.
__________________
BANNED
Girthesniper is offline
Send a message via AIM to Girthesniper Send a message via MSN to Girthesniper
Closed Thread



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 12:23.


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