Raised This Month: $99 Target: $400
 24% 

IRC <-> HLDS


Post New Thread Closed Thread   
 
Thread Tools Display Modes
QuakerOates
Senior Member
Join Date: Mar 2004
Location: UK
Old 04-06-2004 , 05:53  
#21

Any instructions to go with this?
Or are all configs done via console?

Thx

P.S: BTW u mention about the socket module, i had a look but only saw one ==> http://www.tcwonline.org/~amxmodx/fo...opic.php?t=901

Is that the one?

ADDED

Code:
L 04/06/2004 - 13:06:42: [AMXX] Function not found (name "socket_open") (plugin "irc.amx")
With the plugin and socket module installed, although tthe socket module only go a .dll file and no .so for linux. Correct me if am wrong here.
QuakerOates is offline
Send a message via ICQ to QuakerOates
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 04-06-2004 , 07:21  
#22

I don't believe there is a linux version of the sockets module at the moment, meaning this is a windows- only plugin, until someone compiles the sockets module for linux.

As for the FPS drop, there should be "#define wsec 50000" at the top of the code, change that to "#define wsec 25000" - if you still get preformance issues, cut that in half again. If you go too low, the plugin *may* stop detecting some of the messages sent from IRC.

That value controls how long the server waits for data on each, so larger values cause the server to pause at each server_frame. I'm thinking thats why you get poor preformace.. That parameter shouldn't even be required in the sockets module, but I don't know why it is.

And are you sure the fps drop was caused by the irc plugin and not the sockets module?
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 04-06-2004 , 07:29  
#23

Quote:
Originally Posted by devicenull
I don't believe there is a linux version of the sockets module at the moment
yes there is
__________________
My Plugins

Got ??
AssKicR is offline
Kenterfie
Junior Member
Join Date: Apr 2004
Old 04-06-2004 , 08:02  
#24

you need a bind and listen function in the socket modul?
Kenterfie is offline
QuakerOates
Senior Member
Join Date: Mar 2004
Location: UK
Old 04-06-2004 , 08:51  
#25

Quote:
Originally Posted by AssKicR
Quote:
Originally Posted by devicenull
I don't believe there is a linux version of the sockets module at the moment
yes there is
Where is it? =P
QuakerOates is offline
Send a message via ICQ to QuakerOates
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 04-06-2004 , 08:51  
#26

Quote:
Originally Posted by QuakerOates
Quote:
Originally Posted by AssKicR
Quote:
Originally Posted by devicenull
I don't believe there is a linux version of the sockets module at the moment
yes there is
Where is it? =P
modules forum in the sockets thread =)
__________________
My Plugins

Got ??
AssKicR is offline
QuakerOates
Senior Member
Join Date: Mar 2004
Location: UK
Old 04-06-2004 , 10:42  
#27

Thx...

All up and running..works pretty well except it joined the wrong channel so had to edit the irc.sma and ammend the details appropiately.

Also i was lagged ben the only one o the server my ping normaly is 50 but with the irc plugin its 168.
So i reduced the wsec to 12500 and hope that sorts out the lag as well.

I can't compile the .sma - any chance u can do this for me devicenull?

My email ap76_at_email.com [replace _at_ with @]
QuakerOates is offline
Send a message via ICQ to QuakerOates
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 04-06-2004 , 14:24  
#28

The channel to join is a cvar - irc_channel, putting this in your config.cfg will cause it to join that channel.
I'm going to see how low I can get that number while still getting all the messages from the IRC server, so I will recompile later today

Why can't you compile?
__________________
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
Location: UK
Old 04-06-2004 , 14:25  
#29

i get a compile error thats y?

can i email u my ammended version?
QuakerOates is offline
Send a message via ICQ to QuakerOates
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 04-06-2004 , 14:33  
#30

Yea, ok
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
Closed Thread


Thread Tools
Display Modes

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 07:19.


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