View Single Post
wickedd
Veteran Member
Join Date: Nov 2009
Old 09-30-2017 , 13:57   Re: Entity Resources Replacement[ V 1.4 ]
Reply With Quote #247

Quote:
Originally Posted by HamletEagle View Post
Looking at the include file, simply renaming socket_change to socket_is_readable should do the trick.
PHP Code:
if(socket_change(SocketVersionChecker, ._timeout 100000)) 

PHP Code:
if(socket_is_readable(SocketVersionChecker, ._timeout 100000)) 
I didn't get any warning when I changed the line ( 372 ) in the .sma.
Quote:
Originally Posted by Arkshine View Post
Why aren't you posting the compilation output?
Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// entities_resources_replacement.sma
//
// C:\Users\XXX\Downloads\scripting_5137\entities_resources_replacement.sma(37
2) : warning 233: symbol "socket_change" is marked as deprecated: Use socket_is_
readable() instead
//
// Header size:           2672 bytes
// Code size:            24156 bytes
// Data size:            62640 bytes
// Stack/heap size:      16384 bytes
// Total requirements:  105852 bytes
//
// 1 Warning.
// Done.
//
// Compilation Time: 1.17 sec
// ----------------------------------------

Press enter to exit ...
Edit: That's the warning I got when I tried to compile the plugin. Since the plugin didn't compile for Ricky I'm not sure he got the same warning.

Edit:2 I didn't get any warnings when I compiled it with version 5106
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 09-30-2017 at 14:09.
wickedd is offline