Jump to content

Problem with scripting errors! [HELP]


toptional

Recommended Posts

Posted

So i run a server and i have quite a few errors

Some have effect

Some dont

and Some just spam the console and annoy me

please try and help me here are some of them thanks

[2012-10-09 17:32:56] ERROR: CMG_Gun_Death\server.lua:15: bad argument #1 to 'pairs' (table expected, got nil)

[2012-10-09 17:33:14] ERROR: CMG_Gun_Death\server.lua:15: bad argument #1 to 'pairs' (table expected, got nil)

[2012-10-09 17:33:18] WARNING: CMG_Levels\server.lua:2: Bad argument @ 'getPlayerAccount' [Expected element at argument 1, got boolean]

[2012-10-09 17:33:18] WARNING: CMG_Levels\server.lua:3: Bad argument @ 'getAccountData' [Expected account at argument 1, got boolean]

[2012-10-09 17:33:18] ERROR: CMG_Levels\server.lua:7: attempt to compare number with boolean

[2012-10-09 17:24:59] WARNING: File 'patriot.txd' in resource 'CMG' is invalid.

[2012-10-09 17:24:59] ERROR: Bad/missing 'posX' attribute in (line 84)

[2012-10-09 17:24:59] WARNING: CMG_CarrierRob\server.lua:32: Bad argument @ 'addEventHandler' [Expected element at argument 2, got nil]

[2012-10-09 17:24:59] WARNING: CMG_CarrierRob\server.lua:37: Bad argument @ 'addEventHandler' [Expected element at argument 2, got nil]

[2012-10-09 17:24:58] Querying game-monitor.com master server... failed! (302: Moved temporarily)

2012-10-05 01:37:15] WARNING: CMG_Levels\server.lua:2: Bad argument @ 'getPlayerAccount' [Expected element at argument 1, got boolean]

[2012-10-05 01:37:15] WARNING: CMG_Levels\server.lua:3: Bad argument @ 'getAccountData' [Expected account at argument 1, got boolean]

[2012-10-05 01:37:15] ERROR: CMG_Levels\server.lua:7: attempt to compare number with boolean

[2012-10-05 01:37:15] WARNING: CMG_Levels\server.lua:2: Bad argument @ 'getPlayerAccount' [Expected element at argument 1, got boolean]

[2012-10-05 01:37:15] WARNING: CMG_Levels\server.lua:3: Bad argument @ 'getAccountData' [Expected account at argument 1, got boolean]

2012-10-05 01:30:13] WARNING: CMG_Clear_Base\server.lua:38 Bad argument @ 'destroyElement' [Expected element at argument 1]

Also players get the 404 error when they come for the first time so i have to delete the folder resources-cache and then it

works for another 10 minutes. I need a solution to these errors Please help me thanks!

Also this spams the console!

2006-01-01 01:20:56] ERROR: CMG_Scoreboard\server.lua:10: attempt to perform arithmetic on local 'playerKills' (a nil value)

[2006-01-01 01:20:57] ERROR: CMG_Scoreboard\server.lua:10: attempt to perform arithmetic on local 'playerKills' (a nil value)

[2006-01-01 01:20:58] ERROR: CMG_Scoreboard\server.lua:10: attempt to perform arithmetic on local 'playerKills' (a nil value)

[2006-01-01 01:20:59] ERROR: CMG_Scoreboard\server.lua:10: attempt to perform arithmetic on local 'playerKills' (a nil value)

[2006-01-01 01:21:00] ERROR: CMG_Scoreboard\server.lua:10: attempt to perform arithmetic on local 'playerKills' (a nil value)

[2006-01-01 01:21:01] ERROR: CMG_Scoreboard\server.lua:10: attempt to perform arithmetic on local 'playerKills' (a nil value)

[2006-01-01 01:21:02] ERROR: CMG_Scoreboard\server.lua:10: attempt to perform arithmetic on local 'playerKills' (a nil value)

[2006-01-01 01:21:03] ERROR: CMG_Scoreboard\server.lua:10: attempt to perform arithmetic on local 'playerKills' (a nil value)

[2006-01-01 01:21:04] ERROR: CMG_Scoreboard\server.lua:10: attempt to perform arithmetic on local 'playerKills' (a nil value)

[2006-01-01 01:21:05] ERROR: CMG_Scoreboard\server.lua:10: attempt to perform arithmetic on local 'playerKills' (a nil value)

Posted

Im not gonna give away half of my gamemode wtf?

And i didnt just say "Im stuck help" I even gave you the errors!

If you don't give the code, don't expect anyone to be able to help you.

The maximum anyone will be able to do is tell you what is the problem.

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

Posted

Im not gonna give away half of my gamemode wtf?

Where did I ask for half or whole gamemode?

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

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...