Raised This Month: $ Target: $400
 0% 

More than *** ammount of entities, array.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Davidos
Senior Member
Join Date: Feb 2005
Old 12-01-2007 , 08:25   More than *** ammount of entities, array.
Reply With Quote #1

Good mornin-afternoon-evenin Amxmodx community.

I'm trying to find out how to fix a simple problem.

It has to do with the door(un)locker mod, you probably heard of. I think it's either by Avalanche or Suzuka.

Anyways, the problem is that the 'door mod' has a certain ammount of max doors, set to 999 as frankly you can't go any higher (with array).

What I'm trying to do here is 'up' the max entities, seeing there are more than 999 entities 'called' for the doors in the map.

... does... anyone get what I'm saying?

Well, check out the plugin.
Attached Files
File Type: sma Get Plugin or Get Source (doorunlocker.sma - 773 views - 18.4 KB)
__________________
Roar.
Davidos is offline
Drak
Veteran Member
Join Date: Jul 2005
Old 12-01-2007 , 23:10   Re: More than *** ammount of entities, array.
Reply With Quote #2

So wait, why can't you just change "MAXDOORS" and make it a greater value?
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
Davidos
Senior Member
Join Date: Feb 2005
Old 12-02-2007 , 04:48   Re: More than *** ammount of entities, array.
Reply With Quote #3

Quote:
Originally Posted by Drak View Post
So wait, why can't you just change "MAXDOORS" and make it a greater value?

Tried it, 999 is the max, -1 doesn't exist.

If you try it higher than 999 the whole game will blow up in your face, let alone not compile.
__________________
Roar.
Davidos is offline
Drak
Veteran Member
Join Date: Jul 2005
Old 12-02-2007 , 05:43   Re: More than *** ammount of entities, array.
Reply With Quote #4

Changing it from 999 to 1800. Worked just fine.
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
Davidos
Senior Member
Join Date: Feb 2005
Old 12-02-2007 , 05:57   Re: More than *** ammount of entities, array.
Reply With Quote #5

Quote:
Originally Posted by Drak View Post
Changing it from 999 to 1800. Worked just fine.

Awkward... it doesn't appear to work for me.
__________________
Roar.
Davidos is offline
Drak
Veteran Member
Join Date: Jul 2005
Old 12-02-2007 , 05:59   Re: More than *** ammount of entities, array.
Reply With Quote #6

Quote:
Originally Posted by Davidos View Post
Awkward... it doesn't appear to work for me.
The plugin doesn't even compile? What AMXX version are you using to compile it with?
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
Davidos
Senior Member
Join Date: Feb 2005
Old 12-02-2007 , 06:00   Re: More than *** ammount of entities, array.
Reply With Quote #7

Quote:
Originally Posted by Drak View Post
The plugin doesn't even compile? What AMXX version are you using to compile it with?
The latest, and the newest of amxx studio.
__________________
Roar.
Davidos is offline
Drak
Veteran Member
Join Date: Jul 2005
Old 12-02-2007 , 06:12   Re: More than *** ammount of entities, array.
Reply With Quote #8

I'm not sure why it's not compiling. But.. Here's a compiled one with the limit set to 2000. If that helps at all..
Attached Files
File Type: amxx doorunlocker.amxx (31.8 KB, 161 views)
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
Davidos
Senior Member
Join Date: Feb 2005
Old 12-02-2007 , 06:12   Re: More than *** ammount of entities, array.
Reply With Quote #9

Quote:
Originally Posted by Drak View Post
I'm not sure why it's not compiling. But.. Here's a compiled one with the limit set to 2000. If that helps at all..
Well, thanks, + karma I guess :p
__________________
Roar.
Davidos is offline
Reply



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 11:02.


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