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

IRC <-> HLDS


Post New Thread Closed Thread   
 
Thread Tools Display Modes
DopeFish
Senior Member
Join Date: Feb 2004
Old 04-06-2004 , 15:15  
#31

yre you sure there is no better way for hooking that then server_frame?
DopeFish is offline
Send a message via ICQ to DopeFish
QuakerOates
Senior Member
Join Date: Mar 2004
Old 04-06-2004 , 15:22  
#32

Quote:
Originally Posted by devicenull
Yea, ok
what ur email?

if not try mine and i'll reply ap76_at_email.com (replace _at_ with @)

thx
QuakerOates is offline
QwertyAccess
Veteran Member
Join Date: Feb 2004
Location: Enjiru Layer
Old 04-06-2004 , 18:47  
#33

well devicenull the fps drops to cause 200 ping might be the socket module... the server is FINE till the bot joins irc when it joins irc the server drops down horrible... might be some flaw in the socket module i wouldnt know but one thing is true in meta list if you look it says bad load, but you can still use the module for the irc bot but when it joinschan your dead
__________________
QwertyAccess is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 04-06-2004 , 18:57  
#34

Quote:
Originally Posted by DopeFish
yre you sure there is no better way for hooking that then server_frame?
Can you suggest any other way? I need an improved sockets module :/

We *think* all the preformace problems are related to the sockets module, and not the plugin.. Can anyone confirm this? (Unload my plugin, leave the module loaded, see what happens)
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
Kenterfie
Junior Member
Join Date: Apr 2004
Old 04-06-2004 , 19:01  
#35

the reason for this latency is not the socket modul
Kenterfie is offline
Kenterfie
Junior Member
Join Date: Apr 2004
Old 04-06-2004 , 19:03  
#36

change this line and the ping is ok

from
#define wsec 50000

into
#define wsec 10
or
#define wsec 1
Kenterfie is offline
Kenterfie
Junior Member
Join Date: Apr 2004
Old 04-06-2004 , 19:05  
#37

other idea is. use a thread modul and start a thread for recv the information
Kenterfie is offline
Kenterfie
Junior Member
Join Date: Apr 2004
Old 04-06-2004 , 19:06  
#38

or start a function with set_task and start the same function with set_task (recursive)
Kenterfie is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 04-06-2004 , 19:48  
#39

Fixed.. used set_task every second.. Server doesn't mind at all.
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
QwertyAccess
Veteran Member
Join Date: Feb 2004
Location: Enjiru Layer
Old 04-06-2004 , 20:05  
#40

ill test it ill tell you how it goes...
__________________
QwertyAccess is offline
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 03:24.


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