| Anonymous | Login | 2025-11-04 06:06 UTC | ![]()  | 
| Main | My View | View Issues | Change Log | Roadmap | My Account | 
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0000138 | Soldat Dedicated Server | Scripting Core | public | 2011-12-06 03:24 | 2012-07-29 22:05 | ||||
| Reporter | Szaman | ||||||||
| Assigned To | Falcon | ||||||||
| Priority | high | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | won't fix | ||||||
| Platform | x86 | OS | Windows | OS Version | 7 SP1 | ||||
| Product Version | 2.7.2 | ||||||||
| Target Version | Fixed in Version | 2.7.4 | |||||||
| Summary | 0000138: Creation of sockets in scripts (via EnEsCe manual) causes Out of Range/Access Violation error | ||||||||
| Description | Using this code as the only scipt: http://4programmers.net/Pastebin/1467 [^] I get: [*] [Error] spect-join -> (MainSocketLoop): Out of range when "safe mode" is ON and this: [*] [Error] spect-join -> (ThreadedCreate): Access Violation at address 004E52EE in module 'soldatserver.exe'. Write of address 0000008C. when "safe mode" in OFF. (spect-join is a name of script file) This occurs on the newest version of server (2.7.2). See also "additional information".  | ||||||||
| Steps To Reproduce | 1. Create new script 2. Enable scripting in server 3. Paste code into script file 4. Run the server with/without safe mode (-safe option). 5. Observe messages  | ||||||||
| Additional Information | On the picture u can see both situations (safe mode ON/OFF) and sometimes there is duplicated info about "function disabled". Error occurs also on 2.7.0 version. Error NOT occurs in server 2.6.3 version (2.2 of ScriptCore) - bug (?) with "out of range" also occurs there but no Access Violation with no safemode. Also 2.6.3 correctly handles connection to remote server problem - error "connection refused". In case of additional info: e-mail me.  | ||||||||
| Tags | No tags attached. | ||||||||
| John | |||||||||
| Attached Files | |||||||||
  		Notes	 | 
|
| 
				(0001259) Szaman (reporter) 2011-12-06 14:14  | 
	"(spect-join is a name of script file)" -> of course not, this is name of the directory. Sorry for mistake ;) Name of file is sockets.pas. | 
| 
				(0001374) Falcon (administrator) 2012-02-29 19:16  | 
	There's no much we can do about this. It's all about threads being desynchronized and that's quite a lot of code to fix. | 
| 
				(0001574) Falcon (administrator) 2012-07-29 22:05  | 
	Socket functions has been removed from source. If you need socket support, please use DLLs instead, or consider using adminport. | 
  Issue History	 | 
|||
| Date Modified | Username | Field | Change | 
| 2011-12-06 03:24 | Szaman | New Issue | |
| 2011-12-06 03:24 | Szaman | File Added: server bugs.png | |
| 2011-12-06 14:14 | Szaman | Note Added: 0001259 | |
| 2012-02-29 19:16 | Falcon | Note Added: 0001374 | |
| 2012-02-29 19:16 | Falcon | Assigned To | => Falcon | 
| 2012-02-29 19:16 | Falcon | Status | new => confirmed | 
| 2012-05-24 18:52 | Falcon | Assigned To | Falcon => | 
| 2012-07-29 22:05 | Falcon | Note Added: 0001574 | |
| 2012-07-29 22:05 | Falcon | Status | confirmed => closed | 
| 2012-07-29 22:05 | Falcon | Assigned To | => Falcon | 
| 2012-07-29 22:05 | Falcon | Resolution | open => won't fix | 
| 2012-07-29 22:05 | Falcon | Fixed in Version | => 2.7.4 | 
| Copyright © 2000 - 2025 MantisBT Team |