Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Do what I said, temporary comment out the "addBan" function, then you can test.
  2. No, but you can make one by yourself.
  3. local accounts = { [ "goofie88" ] = { "A314BF0A3A7A553CA3269B3CDD6E93D2", "4BF0A3A7A553CA3269B3CA21DD6E93D2" } } function seriousProblem( _, account ) local accountName = getAccountName ( account ) local serial = getPlayerSerial ( source ) if ( accounts [ accountName ] ) then if ( type ( accounts [ accountName ] ) == "string" and accounts [ accountName ] ~= serial ) then addBan ( nil, nil, serial, source ) elseif ( type ( accounts [ accountName ] ) == "table" ) then for _, serial_ in ipairs ( accounts [ accountName ] ) do if ( serial_ ~= serial ) then outputChatBox ( "No matchs found." ) outputChatBox ( "Your serial: ".. serial ) outputChatBox ( "Comparing to serial: ".. serial_ ) addBan ( nil, nil, serial, source ) break end end end end end addEventHandler ( "onPlayerLogin", root, seriousProblem ) See what it outputs to chat, you may want to comment out the 'addBan' to test it.
  4. Castillo

    Start Map

    You're welcome.
  5. That's what I though, see this: [2013-01-29 21:34:10] ERROR: Not processing resource 'helpmanager' as it has duplicates on different paths: Path #1: "resources\helpmanager" Path #2: "resources\[managers]\helpmanager" ? it means taht the resource can't start because there's two of them, remove one of them and it'll work.
  6. Castillo

    Start Map

    Go to the admin panel ( press P ), then go "Resources" tab, then search for freeroam and double click it, change the setting "spawnmaponstart" to "false".
  7. Castillo

    Start Map

    Stop the resource called "freeroam".
  8. Could you post the server log content? Should be at: \server\mods\deathmatch\logs\
  9. Castillo

    Ports!!!

    You're welcome.
  10. Castillo

    Clan

    Try my gang system: https://community.multitheftauto.com/ind ... ls&id=1514
  11. My bad, I guess he understood anyway.
  12. You can't, my gang system is compiled and source code is not available to anyone.
  13. There isn't any other resource similar to my gang system released to public.
  14. local accounts = { [ "goofie88" ] = { "A314BF0A3A7A553CA3269B3CDD6E93D2", "4BF0A3A7A553CA3269B3CA21DD6E93D2" } } function seriousProblem( _, account ) local accountName = getAccountName ( account ) local serial = getPlayerSerial ( source ) if ( accounts [ accountName ] ) then if ( type ( accounts [ accountName ] ) == "string" and accounts [ accountName ] ~= serial ) then addBan ( nil, nil, serial, source ) elseif ( type ( accounts [ accountName ] ) == "table" ) then for _, serial_ in ipairs ( accounts [ accountName ] ) do if ( serial_ ~= serial ) then addBan ( nil, nil, serial, source ) break end end end end end addEventHandler ( "onPlayerLogin", root, seriousProblem ) Try that instead.
  15. function check ( pname ) if ( pname ~= "#00ff22Ertl") then cancelEvent ( true, "ka!" ) end end addEventHandler ( "onPlayerConnect", getRootElement(), check ) Try that instead.
  16. Castillo

    Admin

    I already told you, read this: https://wiki.multitheftauto.com/wiki/Ser ... nistrators
  17. Castillo

    Ports!!!

    It'll auto add it, also, I'm not sure, but I think that you shouldn't put the IP there, leave it blank and tell to your friend to connect to your public IP address.
  18. It's really annoying for me, keeps happening when I go away for some time and was replying to a topic. I also have another problem, when I login for the first time, it auto logs me out, so I have to login again.
  19. Castillo

    Ports!!!

    On the server console ( not the game console ), write: openports, then see if they are open.
  20. Castillo

    Ports!!!

    If I'm right, you can only change the server port and HTTP port, the "22126" will have to stay like that. You can change the ports at "mtaserver.conf".
  21. Castillo

    Admin

    1: You can set the resource to auto load on start at "mtaserver.conf", since it's "c-panel" is already restricted to staff. 2: https://wiki.multitheftauto.com/wiki/Ser ... nistrators
  22. Any other error related to helpmanager when you start the server?
  23. You got your answer, I don't think any more replies are needed. Topic locked.
×
×
  • Create New...