Raised This Month: $32 Target: $400
 8% 

[BUG - RESOLVED] Infinite loop EngFunc_FindEntityInSphere for some maps


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-20-2008 , 13:09   Re: [BUG - RESOLVED] Infinite loop EngFunc_FindEntityInSphere for some maps
Reply With Quote #11

I tried again... And again, no crash and without duplicate numbers.

The result. :

Code:
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 5
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 34
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 35
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 36
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 37
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 38
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 39
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 40
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 41
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 42
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 43
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 44
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 45
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 46
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 47
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 48
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 49
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 50
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 51
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 52
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 53
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 54
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 55
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 56
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 57
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 58
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 59
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 60
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 61
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 62
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 63
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 64
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 65
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 66
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 67
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 68
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 69
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 70
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 71
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 74
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 75
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 76
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 77
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 78
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 79
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 80
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 81
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 82
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 83
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 84
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 85
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 86
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 87
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 88
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 89
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 92
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 99
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 100
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 103
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 104
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 176
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 177
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 178
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 179
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 180
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 181
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 182
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 183
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 184
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 185
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 186
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 187
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 188
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 189
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 190
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 191
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 192
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 193
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 194
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 195
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 196
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 197
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 198
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 200
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 209
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 210
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 211
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 212
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 213
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 214
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 215
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 216
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 217
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 218
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 219
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 220
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 241
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 242
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 243
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 244
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 245
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 246
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 247
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 248
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 249
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 250
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 251
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 252
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 253
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 254
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 255
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 256
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 257
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 258
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 259
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 260
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 261
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 262
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 263
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 264
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 265
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 266
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 267
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 268
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 269
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 270
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 271
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 272
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 273
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 274
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 275
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 276
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 277
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 278
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 279
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 280
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 281
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 282
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 283
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 284
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 304
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 305
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 306
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 307
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 308
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 311
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 313
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 314
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 315
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 316
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 317
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 318
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 319
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 320
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 321
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 322
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 325
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 326
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 327
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 332
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 333
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 334
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 335
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 378
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 379
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 380
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 381
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 382
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 383
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 384
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 385
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 388
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 389
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 390
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 392
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 393
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 394
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 396
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 397
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 398
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 410
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 414
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 415
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 416
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 417
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 418
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 419
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 420
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 423
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 424
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 425
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 426
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 427
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 428
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 438
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 441
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 442
L 09/20/2008 - 19:03:09: [Untitled.amxx] Entity ID = 445
How do you explain that ?
Attached Thumbnails
Click image for larger version

Name:	Sans titre.JPG
Views:	151
Size:	60.2 KB
ID:	31632  
__________________
Arkshine is offline
hebusletroll
Senior Member
Join Date: Apr 2006
Old 09-20-2008 , 13:13   Re: [BUG - RESOLVED] Infinite loop EngFunc_FindEntityInSphere for some maps
Reply With Quote #12

I've just copied your code and run : crashing !
__________________
Boring about playing same weapons ? PowerWeapons is available !
PowerWeapon v1.0 released !
Play up to 70 new weapons and create your own weapons !
Tested on Windows Server 2003, 2008/R2, 2012 and Linux Ubuntu 10.x and CentOs 6.x
hebusletroll is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-20-2008 , 13:16   Re: [BUG - RESOLVED] Infinite loop EngFunc_FindEntityInSphere for some maps
Reply With Quote #13

don't forget to add : set_pev(entity,pev_iuser1, 1 ); I prefer this fast checking against checking classname.

Anyway, I've tried a lot of times to reproduce your angle and such. No crash at all, even with a large radius. For me, this EngFunc_FindEntityInSphere works perfectly fine.

[edit] no crash on de_torn, tried severals locations, severals times, angles and such. no crash, no duplicates number.
__________________

Last edited by Arkshine; 09-20-2008 at 13:19.
Arkshine is offline
hebusletroll
Senior Member
Join Date: Apr 2006
Old 09-20-2008 , 13:18   Re: [BUG - RESOLVED] Infinite loop EngFunc_FindEntityInSphere for some maps
Reply With Quote #14

Added, crash again...

Hum !
__________________
Boring about playing same weapons ? PowerWeapons is available !
PowerWeapon v1.0 released !
Play up to 70 new weapons and create your own weapons !
Tested on Windows Server 2003, 2008/R2, 2012 and Linux Ubuntu 10.x and CentOs 6.x
hebusletroll is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-20-2008 , 13:35   Re: [BUG - RESOLVED] Infinite loop EngFunc_FindEntityInSphere for some maps
Reply With Quote #15

Too bad for you. Maybe it's because of another thing in another plugin or main plugin. Dunno. So far I tested ( severals map ), it works fine with my basic plugin.
__________________

Last edited by Arkshine; 09-20-2008 at 13:37.
Arkshine is offline
solidsnake
Member
Join Date: Jul 2006
Old 09-20-2008 , 13:40   Re: [BUG - RESOLVED] Infinite loop EngFunc_FindEntityInSphere for some maps
Reply With Quote #16

Me too, since some weeks i want to use find entity sphere, and it also crash. I've tried your code Arkshine, and it crash also.

Trying with hebu's stock : working ! There is no user feedback about this issue ?
solidsnake is offline
hebusletroll
Senior Member
Join Date: Apr 2006
Old 09-20-2008 , 13:40   Re: [BUG - RESOLVED] Infinite loop EngFunc_FindEntityInSphere for some maps
Reply With Quote #17

Arkshine, i've made a clean install of AmxModx 1.8.1 (After removing all folder, and Amx related files)

I create new plugin, just pasting your code.

Retryed it,

and... it still crash

I'm gonna to test on a clean Steam install.

__________________
Boring about playing same weapons ? PowerWeapons is available !
PowerWeapon v1.0 released !
Play up to 70 new weapons and create your own weapons !
Tested on Windows Server 2003, 2008/R2, 2012 and Linux Ubuntu 10.x and CentOs 6.x
hebusletroll is offline
solidsnake
Member
Join Date: Jul 2006
Old 09-20-2008 , 13:42   Re: [BUG - RESOLVED] Infinite loop EngFunc_FindEntityInSphere for some maps
Reply With Quote #18

Lol same time to post !!

Wow !
solidsnake is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-20-2008 , 13:49   Re: [BUG - RESOLVED] Infinite loop EngFunc_FindEntityInSphere for some maps
Reply With Quote #19

Who is trying on a listenserver and who is trying on a dedicated server ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-20-2008 , 13:50   Re: [BUG - RESOLVED] Infinite loop EngFunc_FindEntityInSphere for some maps
Reply With Quote #20

Did you test on listenserver or dedicatedserver ?

Me : dedicated server under windows. Connor will test under listen server.
__________________
Arkshine 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 04:48.


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