de_airstrip hates my function??
Code:
This function is from my UT style weapon floating plugin. It works fine on every map I have except airstip. I have it set to execute the above statement ONCE from plugin_init in a test plugin. that's all that happens. It executes once and no other 3rd party plugin is running. Here is the log i get out: Code:
L 10/09/2007 - 13:18:06: [GHW_Floating_Weapons.amxx] StartCode:
|
Re: de_airstrip hates my function??
There is some weird infinite loop going on for that map
|
Re: de_airstrip hates my function??
I had very funny problems with sphere functions. Honestly, I set it up to search entities in radius of 128 units from player's origin. Then I calculated distance from found entity. In most cases, it was below 128 but in some, it found entities even further (much further).
Have you tried cs_siege? |
Re: de_airstrip hates my function??
de_torn crashes my server as well.
|
Re: de_airstrip hates my function??
I ran your snippet on several maps, including airstrip and torn, and didn't have any problems.
I did add a client command Code:
register_clcmd("say /spin", "force_spin", 0, "Spins ents")Code:
log_amx("%d",ent) |
Re: de_airstrip hates my function??
well then it is clear that there is some variable different between the two of us that stops this line of code from working properly.
me: listenserver windows AMXX 1.8 no 3rd party plugins |
Re: de_airstrip hates my function??
I ran it on:
Dedicated server on LAN Windows XP Amxx 1.8 Lots of other plugins Weird. |
Re: de_airstrip hates my function??
2 Attachment(s)
Here's the sma of the routine I used. Just "say /spin" and the weapons rotate and the log looks OK.
|
Re: de_airstrip hates my function??
I always get mixed results with findentinsphere, i prefer to loop through all the ents and check the classname as its give me better results and is probably a lot more economical and less cpu than findentinsphere.
I also hate using static variables because I never get any consistance (i probably use them wrong half the time lol) so I stick with new style variables. PHP Code:
|
| All times are GMT -4. The time now is 16:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.