weeztor / darkrp

Automatically exported from code.google.com/p/darkrp
0 stars 1 forks source link

Eror with commands #531

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the problem?

When i write any of the chat commands (f.e. /job Scientific) the text appears 
in chat instead of beeing recognised by DarkRP

What steps will reproduce the problem?

Writing any command in chat or clicking any of the buttons of the F4 menu.

Do you have any errors? serverside or clientside? If you do, which ones?

No.

Are you using the downloaded version or an SVN revision (if SVN, which
revision number)?

SVN Lastest

Please provide any additional information below.

I only have: PXH3, wiremod and evolve (i worked before with DarkRP 2.4.1 and 
Evolve svn and i had no problems)

Original issue reported on code.google.com by kinitoa...@gmail.com on 10 Feb 2011 at 6:31

GoogleCodeExporter commented 9 years ago
same problem here, with theses serverside error :
Lua Error: [@lua\includes\extensions\string.lua:191] bad argument #1 to 'sub' 
(number expected, got string)(Hook: PlayerSay)
Lua Error: [cpp] Error: hook->PlayerSay returned a non-string!

Original comment by slay3...@gmail.com on 12 Feb 2011 at 1:22

GoogleCodeExporter commented 9 years ago
Also when player spawns first time in server their jobs is unassigned,wallet 
shows up as 0 all the time.Also issues with changing jobs and buying 
entities.Instead of buying them the messages such as /gundealer or /buygunlab 
show up.

Original comment by zygimant...@gmail.com on 12 Feb 2011 at 2:50

GoogleCodeExporter commented 9 years ago
I believe this is a Garry's Mod bug

Original comment by xFROzENFUSiONx on 12 Feb 2011 at 3:25

GoogleCodeExporter commented 9 years ago
It's not a garry's mod bug. It's a bug caused by an external addon.

Original comment by fpeijnen...@gmail.com on 12 Feb 2011 at 4:06

GoogleCodeExporter commented 9 years ago
Deleting sv.db solved this problem.

Original comment by slay3...@gmail.com on 12 Feb 2011 at 7:54

GoogleCodeExporter commented 9 years ago
There is still an issue with this.Everything worked fine before the gmod update 
but now when you type /dropmoney or /give it does not work.Comes up in chat but 
nothing happens.

Original comment by zygimant...@gmail.com on 13 Feb 2011 at 1:34

GoogleCodeExporter commented 9 years ago
It doesn't happen in any server with the latest version I joined. It must be 
you.

Original comment by fpeijnen...@gmail.com on 13 Feb 2011 at 4:30

GoogleCodeExporter commented 9 years ago
on this server (where i am an Admin it happens too) with exactly the same 
Problem 

IP: 78.46.19.75:27015

Original comment by quarks...@online.de on 13 Feb 2011 at 10:51

GoogleCodeExporter commented 9 years ago
may i add that it is a German server

change rpname /rpname a b never works!
after a while the commands (10minutes) /dropmoney /givemoney /toggleown 
/buymicrowave /buymoneyprinter /buy*weapon* /drop /vote*job* and so on don't 
work anymore

also the Problem that new people spawns as a grey model with job unassigned 
happening too (after 10 Minutes) 

Original comment by quarks...@online.de on 14 Feb 2011 at 11:28

GoogleCodeExporter commented 9 years ago
Experiencing same problems as quarks and others.After a while the commands die 
out and players spawn in grey model with unassigned job.Restarting server helps 
most of the time,but still.

Original comment by zygimant...@gmail.com on 14 Feb 2011 at 8:42

GoogleCodeExporter commented 9 years ago
This is the error in console when this happens:

L 02/15/2011 - 23:12:43: Tom (STEAM_0:1:19461452) SpawnedL 02/15/2011 - 
23:12:43: Lua Error: ERROR: GAMEMODE:'PlayerSetModel' Failed: 
[gamemodes\darkrp\gamemode\sv_gamemode_functions.lua:428] attempt to index 
local 'TEAM' (a nil value)

Original comment by zygimant...@gmail.com on 15 Feb 2011 at 11:56

GoogleCodeExporter commented 9 years ago
our owner from the server fixed the Problem by himself, don't know how ???
he said it has to be something with the names (i have no plan with lua so i 
can't help) but i can say that all people on our Server had to change their RP 
Name after he fixed it

Original comment by quarks...@online.de on 16 Feb 2011 at 11:02

GoogleCodeExporter commented 9 years ago
I know that error is caused by an incorrectly made team.

Original comment by fpeijnen...@gmail.com on 16 Feb 2011 at 9:39

GoogleCodeExporter commented 9 years ago
However this happens when player spawns in the server and it only happens after 
the server has been up for a while like 2 hours or so.I have checked and all 
teams are fine.

Original comment by zygimant...@gmail.com on 17 Feb 2011 at 6:23

GoogleCodeExporter commented 9 years ago
Hi guys, this issue is usually caused by a corrupt SQLite database or bad 
SQLite journal file. (Not the teams issue)

To solve it try using SQLite 3 SDK tools to run diagnostics and then 
dump/rebuild the sv.db sqlite database. You may also want to drop the RPNames 
table to reduce the size of the database because this table isn't holding any 
critical data.

Thanks,

Chuteuk

Original comment by chut...@googlemail.com on 18 Feb 2011 at 2:51