Jump to content

Strange bugs


EvoGT

Recommended Posts

Posted

Hello.

Well i noticed some strange bugs.

resource link : https://community.multitheftauto.com/in ... ls&id=6623

The strange is that when i test this script in my local server, everything works perfectly.

And when i test it on my VPS server ( fedora 32 bit ) it bugs..

i dont know why..

in my local and my VPS server. i used /login /register ... ( registered )

I dont know why it bugs...

Could someone tell me why ?

  • Moderators
Posted

Well it can have many reasons, but to find the right reason:

- admin

- /debugscript 3

- start source.....

Posted

it dont give errors.

But the bugs are with hunters and wins.

On VPS server Linux , dont update hunter stats, and even dont outputchatbox that hunter taken. And with wins, dont update wins..

But in Local everything works..

Posted
There is nothing about Protect

Meta

    "Norbinarius" type="script" version="1.0" /> 
    

remove the zip and put in a folder and test sertifique that the script has admin rights

Posted
Are the client scripts protected in the meta?

protect="true"

There is no such thing, you are confusing with the server's configuration file.

Posted

Now i got errors...

Wins error;

[2013-03-22 18:01:11] WARNING: [gamemodes]/[race]/race/race_server.lua:1408: Access denied @ 'getPlayerIP' 
[2013-03-22 18:01:11] ERROR: [gamemodes]/[race]/race/race_server.lua:1409: Race security - Client/player mismatch from nil (onElementDataChange Wins) 

Hunters error;

[2013-03-22 18:01:11] WARNING: [gamemodes]/[race]/race/race_server.lua:1408: Access denied @ 'getPlayerIP' 
[2013-03-22 18:01:11] ERROR: [gamemodes]/[race]/race/race_server.lua:1409: Race security - Client/player mismatch from nil (onElementDataChange Hunters) 

  • Moderators
Posted
Are the client scripts protected in the meta?

protect="true"

There is no such thing, you are confusing with the server's configuration file.

@ixjf

ye? well it is already working for windows servers, I don't know how far it is with a Linux servers.

If you don't believe me, go try it your self .... and ........!

remove the zip and put in a folder and test sertifique that the script has admin rights

Script needs admins rights,

  • Moderators
Posted

For the race gamemode?

as far I can see this leads to the race resource: race/race_server.lua

and not to the statsdm resource.

Posted
For the race gamemode?

as far I can see this leads to the race resource: race/race_server.lua

and not to the statsdm resource.

Ye i added admin line to resource statsdm

should i add to race too ?

Posted
Are the client scripts protected in the meta?

protect="true"

There is no such thing, you are confusing with the server's configuration file.

@ixjf

ye? well it is already working for windows servers, I don't know how far it is with a Linux servers.

If you don't believe me, go try it your self .... and ........!

What does that "protect" option do?

Posted

Added race.

Now

Wins:

[2013-03-22 19:35:43] ERROR: [admin]/admin/server/admin_server.lua:1436: Admin security - Client/player mismatch from 86.38.40.97 (onElementDataChange Wins) 
[2013-03-22 19:35:43] ERROR: [gamemodes]/[race]/race/race_server.lua:1409: Race security - Client/player mismatch from 86.38.40.97 (onElementDataChange Wins) 

Hunters:

[2013-03-22 19:35:43] ERROR: [admin]/admin/server/admin_server.lua:1436: Admin security - Client/player mismatch from 86.38.40.97 (onElementDataChange Hunters) 
[2013-03-22 19:35:43] ERROR: [gamemodes]/[race]/race/race_server.lua:1409: Race security - Client/player mismatch from 86.38.40.97 (onElementDataChange Hunters) 

  • Moderators
Posted

yes, it is very strange bug.

I have that kind of problems all the time :(

What does that "protect" option do?

You add it like this:

(I only know it works for windows servers )

I think when these other systems are up-todate they probably will work, but I haven't tried yet.

More info:

viewtopic.php?f=108&t=29990&start=30

Posted
What does that "protect" option do?

You add it like this:

(I only know it works for windows servers, I don't know how long it will take before it can be used for other systems. These must also be up-to-date.)

More info:

viewtopic.php?f=108&t=29990&start=30

As far as I know, it's called cache now (that's what I think, protected isn't listed on the Wiki).

  • Moderators
Posted

As far as I know, it's called cache now (that's what I think, protected isn't listed on the Wiki).

indeed, protected is working fine for me.

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