Raised This Month: $ Target: $400
 0% 

Showing results 1 to 5 of 5
Search took 0.01 seconds.
Search: Posts Made By: Horst Arnold
Forum: Scripting Help 01-29-2013, 12:34
Replies: 0
Views: 605
Posted By Horst Arnold
Strange issue with vformat (or something, I honestly don't know) (IRC plugin)

So I'm working on an IRC plugin of my own.


To make things easier, I made an irc_print() function which formats and prints strings for me:

public irc_print(msg[], ...) {
new str[513];
...
Forum: Scripting Help 01-29-2013, 11:01
Replies: 5
Views: 1,102
Posted By Horst Arnold
Re: Keeping socket open beyong map changes

Yes, that was the answer to my question, I'm sorry if I wasn't being clear enough.

In my initial post I said "resulting in the socket being closed (?)" because I suspected it wasn't an accurate...
Forum: Scripting Help 01-28-2013, 13:17
Replies: 5
Views: 1,102
Posted By Horst Arnold
Re: Keeping socket open beyong map changes

Alright, someone on the AMXX IRC channel pointed out that the socket object is stored in a cvar which then is accessed after the map has changed.

So the basic code is something along these lines:...
Forum: Scripting Help 01-27-2013, 13:38
Replies: 5
Views: 1,102
Posted By Horst Arnold
Re: Keeping socket open beyong map changes

Thank you for your reponse.

I've studied the code (as well as the code of two other IRC client plugins) but I'm unable to figure out what's to be done differently. :(
Forum: Scripting Help 01-27-2013, 11:42
Replies: 5
Views: 1,102
Posted By Horst Arnold
Keeping socket open beyong map changes

Hi,

so I'm using the default sockets module to create a TCP connection to an IRC server.

(The socket object is declared globally at the beginning of the script, the socked is opened in...
Showing results 1 to 5 of 5

 
Forum Jump

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


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