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

[EXTENSION] Socket (3.0.1)


Post New Thread Reply   
 
Thread Tools Display Modes
Visual77
Veteran Member
Join Date: Jan 2009
Old 09-10-2012 , 13:06   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #381

Do anyone know how to solve these compile errors. I can not get any socket version to compile. Also note that if I comment out line 54 in sp_file_headers.h, I'm getting tons of other compile errors.
Could anyone provide me with a working source?

Code:
1>------ Rebuild All started: Project: socket, Configuration: Release Win32 ------
1>  Callback.cpp
1>c:\users\desktop\compile-mm-sm\sourcemod-central-2f7e80c007b9\sourcemod-central-2f7e80c007b9\public\sourcepawn\sp_file_headers.h(54): error C2371: 'int8_t' : redefinition; different basic types
1>          C:\Users\Desktop\msinttypes-r26\stdint.h(82) : see declaration of 'int8_t'
1>  CallbackHandler.cpp
1>  Extension.cpp
1>C:\Users\Desktop\msinttypes-r26\stdint.h(82): error C2371: 'int8_t' : redefinition; different basic types
1>          c:\users\desktop\compile-mm-sm\sourcemod-central-2f7e80c007b9\sourcemod-central-2f7e80c007b9\public\sourcepawn\sp_file_headers.h(54) : see declaration of 'int8_t'
1>  smsdk_ext.cpp
1>  Socket.cpp
1>c:\users\desktop\compile-mm-sm\sourcemod-central-2f7e80c007b9\sourcemod-central-2f7e80c007b9\public\sourcepawn\sp_file_headers.h(54): error C2371: 'int8_t' : redefinition; different basic types
1>          C:\Users\Desktop\msinttypes-r26\stdint.h(82) : see declaration of 'int8_t'
1>  SocketHandler.cpp
1>c:\users\desktop\compile-mm-sm\sourcemod-central-2f7e80c007b9\sourcemod-central-2f7e80c007b9\public\sourcepawn\sp_file_headers.h(54): error C2371: 'int8_t' : redefinition; different basic types
1>          C:\Users\Desktop\msinttypes-r26\stdint.h(82) : see declaration of 'int8_t'
1>  Generating Code...
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Last edited by Visual77; 09-11-2012 at 07:41. Reason: Merged posts
Visual77 is offline
away000
Veteran Member
Join Date: Sep 2010
Old 09-23-2012 , 23:57   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #382

Where i can find a link to the 2.4.0+ or most recent build?
__________________
away000 is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 09-24-2012 , 22:40   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #383

The latest version is linked at the top of the first post.
bl4nk is offline
away000
Veteran Member
Join Date: Sep 2010
Old 09-24-2012 , 23:30   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #384

Ah lol i was confusing socket_3.0.1 with socket_2.4.0+ @.@, idk why but i was thinking it was 4.3.1 or something like this X.X
__________________
away000 is offline
Mike_BoG
SourceMod Donor
Join Date: Jul 2011
Old 10-27-2012 , 07:39   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #385

Does this need an update for the Halloween tf2 update or is it fine as it is?
__________________
Founder and Owner of BlackOut Gaming
Mike_BoG is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-27-2012 , 07:40   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #386

Quote:
Originally Posted by Mike_BoG View Post
Does this need an update for the Halloween tf2 update or is it fine as it is?
a) Testing would have been faster.
b) No, as always.
__________________
asherkin is offline
cypis
SourceMod Donor
Join Date: Apr 2011
Location: Poland
Old 10-27-2012 , 08:21   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #387

Socket wouldn't work:

Quote:
meta load addons/sourcemod/extensions/socket.ext.so
Failed to load plugin addons/sourcemod/extensions/socket.ext.so (Function CreateInterface not found).
cypis is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-27-2012 , 08:23   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #388

Quote:
Originally Posted by cypis View Post
Socket wouldn't work:
You're trying to load a SourceMod extension as a Metamod:Source plugin.
__________________
asherkin is offline
cypis
SourceMod Donor
Join Date: Apr 2011
Location: Poland
Old 10-27-2012 , 08:36   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #389

Plugin with socket don't work:

Quote:
L 10/27/2012 - 142:45: [test.smx] Socket error 3 (errno 1)
Quote:
sm exts list
[SM] Displaying 15 extensions:
[01] Automatic Updater (1.5.0-dev+3669): Updates SourceMod gamedata files
[02] Webternet (1.5.0-dev+3669): Extension for interacting with URLs
[03] TF2Items (1.5.2): TF2 Item Modifier
[04] TF2 Tools (1.5.0-dev+3669): TF2 extended functionality
[05] BinTools (1.5.0-dev+3669): Low-level C/C++ Calling API
[06] SDK Tools (1.5.0-dev+3669): Source SDK Tools
[07] Top Menus (1.5.0-dev+3669): Creates sorted nested menus
[08] Client Preferences (1.5.0-dev+3669): Saves client preference settings
[09] SQLite (1.5.0-dev+3669): SQLite Driver
[10] Socket (3.0.1): Socket extension for SourceMod
[11] Regex (1.5.0-dev+3669): Provides regex natives for plugins
[12] SteamTools (0.8.3): SteamWorks for SourceMod.
[13] cURL Extension (1.3.0.0): cURL Extension
[14] SDK Hooks (2.2.0b4): Source SDK Hooks
[15] MySQL-DBI (1.5.0-dev+3669): MySQL driver implementation for DBI

Last edited by cypis; 10-27-2012 at 08:50.
cypis is offline
Jstn7477
Senior Member
Join Date: Mar 2011
Location: Florida, USA
Old 10-27-2012 , 10:28   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #390

Quote:
Originally Posted by cypis View Post
Plugin with socket don't work:
Update to SourceMod 1.5.0 hg3675 and see what happens. ServerHop works fine on my servers (uses Socket).
__________________
Yo , I heard you like , so I put a in your so you can while you .
Jstn7477 is offline
Reply


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 03:36.


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