ziggi / FCNPC

FCNPC - Fully Controllable NPC
Apache License 2.0
138 stars 31 forks source link

Invalid names if you don't use "_" #187

Closed Malganys closed 5 months ago

Malganys commented 5 years ago

Hello, as the title says there is a bug (or I don't know if it's something related with security) with FCNPCCreate, which is that if you don't add "" to string name, the server drops an error. i.e:

FCNPC_Create("Kiko"); // This drops an error FCNPC_Create("Kiko_"); // but this no

Sorry if my english is bad.

ziggi commented 5 years ago

What kind of error? Did you try on empty server script?

Malganys commented 5 years ago

What kind of error? Did you try on empty server script?

I tried on an empty script, the error is: [FCNPC] Error: NPC 'kiko' not created. Name 'kiko' is invalid or the maxnpc limit in server.cfg has been reached.