Jump to content

[REL] Zday, a Zombie Infestation Script


Recommended Posts

Has this to do anything with the zombie spawn?

ERROR: zombietest\zombie_server.lua:217: attempt to compare boolean with number 

newZombieLimit = get("" .. getResourceName(startedResource) .. ".Zlimit") 
    if newZombieLimit ~= false then 
        if newZombieLimit > ZombieLimit then --This is line 217 
            newZombieLimit = ZombieLimit 
        end 
    else 
        newZombieLimit = ZombieLimit 
    end 

Link to comment
  • Moderators

It's the limit of how many zombies that can spawn.

ZombieLimit = default (217)

newZombieLimit -- you have settings about this in the meta. >get("" .. getResourceName(startedResource) .. ".Zlimit")<

Check if the meta settings are correct.

Link to comment

It's currently set onto specified zombie spawn points. So what is causing this problem?

I added a custom map for this gamemode called: Ztown and it works only it gives lots of errors.

This is the meta.xml setting

"*StreamMethod" value="[2]" /> 

EDIT:

Wrong setting this is the right one

"*MaxZombies" value="[100]" /> --maximum allowed zombies --> 

Link to comment
  • 1 month later...
  • 2 weeks later...
  • 1 month later...
  • 2 weeks later...
  • 1 month later...
  • 1 month later...
  • 4 weeks later...

well this new " bug " i encounter is quite interesting one,when zombies run/walks/tries to catch me while being on ground/floor that has custom .col file,it starts to stress server a lot ,when i put them on usual gta object,while moving they do not lag at all and the same second they put their foots on modified object,with customized .col - lag begins ; any solutions ? i guess its more problematic than z script ,maybe has to do something with mta engine itself :|

Link to comment
  • 2 months later...
  • 4 weeks later...
  • 3 weeks later...
  • 2 weeks later...
  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...