Jump to content
  • 0

Problema Ban


stefanpuica

Question

Problema intalnita (descriere): Sunt unii player care le zice serverul ca au ban atunci cand vor sa intre pe server. Am verificat si bans din baza de date si samp.ban dar acei playeri nu au ban nicaieri si nici IP-urile lor nu sunt Banate.Nu stiu cum sa rezolv aceasta problema
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu): -
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?:
Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0
Acum 14 minute, stefanpuica a spus:

da asta trebuie sa fac.

Dar nu inteleg cum sa fac sa nu ii mai baneze.

M-a banat si pe mine la fel serverul cand mi-a crescut la login deodata ping-ul la 1000 ca aveam un torrent deschis

Arată OnPlayerConnect si OnPlayerLogin pune.le într.un pastebin.

  • Upvote 1

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

Link to comment
Share on other sites

  • 0
Acum 10 ore, stefanpuica a spus:
  1. (IsPlayerNPC(playerid)) {
  2.         new server_IP[16];
  3.         format(server_IP, 16, "93.119.26.164");
  4.  
  5.         if(strcmp(ipplayer,server_IP,true) != 0) {
  6.             Ban(playerid); // Anti-flood -> banned
  7.             return 0;
  8.         }
  9.     }
Scoate asta ca nu e făcută bine.Si de asta se da ban.
  • Upvote 1

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

Link to comment
Share on other sites

  • 0
Acum 18 minute, stefanpuica a spus:

Am scos, acum sper sa nu mai dea ban.

Mutumesc!

Deci s.a rezolvat?

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.