Jump to content

Bluffs V3 & V4


ionutdrg45

Recommended Posts

On 4/12/2020 at 3:15 PM, Florin23 said:

bun

panelbugat.jpg

Salut, incearca sa verifici linia 137, "bun" cred ca a fost mai mult la misto sau nu stiu, e posibil sa fie o problema la un sistem pe care nu il terminasem de securitate, insa nu va opreste pe voi sa il faceti, nu totul vine gata facut, desi e printre putinele lucruri pe care trebuie sa le rezolvati

  • Upvote 1
Link to comment
Share on other sites

Acum 5 ore, ionutdrg45 a spus:

conectarea la baza de date nu este realizata, daca observi s-a pus automat parola si nu mai stiu daca era afisat si in nameserver, insa, asta se intampla pentru ca numarul maxim de conexiuni de pe acelasi ip este luat din baza de date, cum conectarea nu e realizata, preia valoarea 0 si nu te lasa sa intri.

Am reusit intr-un final sa ma conectez la server, problema sta in felul urmator cand ma urc in masina de la /exam imi da kick serverul pe motiv de troll hack, am atasat o poza mai jos. 

Cum pot sa rezolva problema ?

Care este comanda ca admin sa imi pot oferi cate ore de joc doresc ?

Cum activez statutul de " vip " ?

La orice job la care ma duc ca civil si spawneaza automat vehicul si dau /work imi da kick serverul ( exemple: pizza / buss )

tr.png

Edited by aNDyro
Link to comment
Share on other sites

7 hours ago, aNDyro said:

Am reusit intr-un final sa ma conectez la server, problema sta in felul urmator cand ma urc in masina de la /exam imi da kick serverul pe motiv de troll hack, am atasat o poza mai jos. 

Cum pot sa rezolva problema ?

Care este comanda ca admin sa imi pot oferi cate ore de joc doresc ?

Cum activez statutul de " vip " ?

La orice job la care ma duc ca civil si spawneaza automat vehicul si dau /work imi da kick serverul ( exemple: pizza / buss )

tr.png

Sa o luam pe rand, problema de la exam se repeta si la alte joburi, problema este rezolvata de mine in topic mai sus, cauta prin reply-uri, am omis eu ceva cand am facut detectarea, pentru a-ti da ore, ai comanda /set, statutul de vip a fost gandit sa fie oferit de catre admini prin setarea (/set) contului premium pe "2", asta putea fi modificat ulterior in functie de donatii etc

Link to comment
Share on other sites

Acum 21 ore, ionutdrg45 a spus:

Salut, incearca sa verifici linia 137, "bun" cred ca a fost mai mult la misto sau nu stiu, e posibil sa fie o problema la un sistem pe care nu il terminasem de securitate, insa nu va opreste pe voi sa il faceti, nu totul vine gata facut, desi e printre putinele lucruri pe care trebuie sa le rezolvati

Am rezolvat ☺

Link to comment
Share on other sites

On 3/21/2020 at 9:58 PM, SeNaToRuL. said:

Ii din header, cauta:

<li class="user-footer">
                        <div class="pull-left">
                            <a href="<?php echo Config::$_PAGE_URL; ?>logout<?php echo Config::getData('users','name',$_SESSION['user']); ?>" class="btn bg-black  btn-zoom">Profile</a>

 

si modifica cu 

<li class="user-footer">
                        <div class="pull-left">
                            <a href="<?php echo Config::$_PAGE_URL; ?>profile/<?php echo Config::getData('users','name',$_SESSION['user']); ?>" class="btn bg-black  btn-zoom">Profile</a>

 

On 4/22/2020 at 2:06 PM, eminemlol10 said:

Ma poti ajuta cu panelul?

Daca esti logat si cauti un jucator cand dai pe profilul jucatorului te delogheaza automat? Care poate fii cauza? Eu nu mi-am dat seama... si nu am mare experienta in html..

Se rezolva daca faci cum a facut baiatul mai sus, cred ca inlocuisem eu cu ceva de la logout si a ramas asa

Link to comment
Share on other sites

Acum 6 ore, ionutdrg45 a spus:

 

Se rezolva daca faci cum a facut baiatul mai sus, cred ca inlocuisem eu cu ceva de la logout si a ramas asa

                    <li class="user-footer">
                        <div class="pull-left">
                            <a href="<?php echo Config::$_PAGE_URL; ?>profile/<?php echo Config::getData('users','name',$_SESSION['user']); ?>" class="btn btn-default btn-flat">Profile</a>

exact asa este facut dar tot face asta....

 

 

REVIN CU EDIT! Am rezolvat.

Pentru cine are nevoie de rezolvare cautati in header 

if($data->webip != Config::getUserIpAddr() && $data->Email != "[email protected]" && $data->webip!="127.0.0.1" && $data->webip != "::1") {
	echo '<script> location.replace("'.Config::$_PAGE_URL.'logout"); </script>';
}

dupa care stergeti ultimul script adaugat

{ echo '<script> location.replace("'.Config::$_PAGE_URL.'logout"); </script>'; }

Edited by eminemlol10
Link to comment
Share on other sites

3 hours ago, eminemlol10 said:

                    <li class="user-footer">
                        <div class="pull-left">
                            <a href="<?php echo Config::$_PAGE_URL; ?>profile/<?php echo Config::getData('users','name',$_SESSION['user']); ?>" class="btn btn-default btn-flat">Profile</a>

exact asa este facut dar tot face asta....

 

 

REVIN CU EDIT! Am rezolvat.

Pentru cine are nevoie de rezolvare cautati in header 


if($data->webip != Config::getUserIpAddr() && $data->Email != "[email protected]" && $data->webip!="127.0.0.1" && $data->webip != "::1") {
	echo '<script> location.replace("'.Config::$_PAGE_URL.'logout"); </script>';
}

dupa care stergeti ultimul script adaugat

{ echo '<script> location.replace("'.Config::$_PAGE_URL.'logout"); </script>'; }

sau asta, mentionasem si mai sus in topic ca probabil asta e problema, insa ceilalti spuneau ca nu, so, ti-am dat rezolvarea lor, bine ca ai rezolvat

Link to comment
Share on other sites

9 hours ago, sintetickul said:

Ce diferente sunt in v3 si v4 sa stiu daca merita sa-l descarc pe v3.

bug fix uri, sisteme adaugate, mai multe pe care nu mi le mai amintesc, la panel modificari destul de multe. Daca vrei o parere, nu merita sa mai iei v3, daca nu iti place ceva din v4 poti sa scoti si macar ai problemele rezolvate.

Link to comment
Share on other sites

1 hour ago, Garcea said:

Cum imi dau admin? am scris /rcon login si parola da nu merge sa imi dau functia, iar in baza de date nu am gasit linia 'Users' ca sa imi pot da de acolo.

 

in baza de date cred ca ai structurat pe pagini, users e pe urmatoarea pagina si din gamemode trebuie sa iti setezi numele, cauta ionutdrg45 si pune nick-ul tau

Link to comment
Share on other sites

45 minutes ago, Andrei_25 said:

Este optimizat?Cam cati playeri duce?

categoric este loc de mult mai bine in ceea ce priveste optimizarea, chiar daca am mai facut pe ici pe acolo, nu m-am axat pe asta ca nu am avut de ce, nu am urmarit sa fie ceva mare, deci, nu am verificat cati playeri duce, dar din ce vazusem la cei care l-au mai luat, au avut si 100+ unele sv, deci, duce cat de cat

Link to comment
Share on other sites

19 minutes ago, Andrei_25 said:

Cum as putea sa il optimizez

 

din moment ce esti interesat de asta, ma gandesc ca ar trebui sa stii, functiile care nu sunt optime poate le gandesti altfel, chestiile inutile, repetitive etc

Link to comment
Share on other sites

Salut! Recent un post a dus la rezolvarea unei probleme legate de questurile zilnice, inloc ca delcararea kilometrilor pentru masini sa  fie in functie de numarul maxim de vehicule era in functie de numarul de playeri, asta nu era o problema daca numarul nu era modificat din include-uri (P.s: daca vreti mai mult de 50 de playeri, trebuie sa modificati in include, eu am pus 50 ca se compileaza mai repede si e mai optim din ce citisem). In orice caz, verificati postul 

 E de bine sa folositi rezolvarea indiferent de numarul pe care il veti decide ca maxim de playeri, e mai clean.

Screenshot_1.png

Edited by ionutdrg45
Link to comment
Share on other sites

La 05.05.2020 la 23:38, ionutdrg45 a spus:

Salut! Recent un post a dus la rezolvarea unei probleme legate de questurile zilnice, inloc ca delcararea kilometrilor pentru masini sa  fie in functie de numarul maxim de vehicule era in functie de numarul de playeri, asta nu era o problema daca numarul nu era modificat din include-uri (P.s: daca vreti mai mult de 50 de playeri, trebuie sa modificati in include, eu am pus 50 ca se compileaza mai repede si e mai optim din ce citisem). In orice caz, verificati postul 

 E de bine sa folositi rezolvarea indiferent de numarul pe care il veti decide ca maxim de playeri, e mai clean.

Screenshot_1.png

Salut, cum pot face ca viteza de la vehicule sa nu se mai updateze la secunda ? gen sa fie normala

Link to comment
Share on other sites

1 hour ago, CSORIN said:

Salut, cum pot face ca viteza de la vehicule sa nu se mai updateze la secunda ? gen sa fie normala

te referi la kilometraj sau la sistemul de stage? Legat de kilometraj trebuie sa modifici timerul, insa asta va afecta si sistemul de stage pe care va trebui sa il muti in alti timer, adica sa faci altul. Daca vrei ca viteza vehiculelor din stage sa nu fie actualizata la milisecunda, trebuie facut alt timer.

Link to comment
Share on other sites

Acum 12 minute, ionutdrg45 a spus:

te referi la kilometraj sau la sistemul de stage? Legat de kilometraj trebuie sa modifici timerul, insa asta va afecta si sistemul de stage pe care va trebui sa il muti in alti timer, adica sa faci altul. Daca vrei ca viteza vehiculelor din stage sa nu fie actualizata la milisecunda, trebuie facut alt timer.

la kilometraj, unde gasesc acel timer

Link to comment
Share on other sites

  • 5 months later...


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[12:43:51] weburl = "www.sa-mp.com"  (string)
[12:43:51] 
[12:43:51] Server Plugins
[12:43:51] --------------
[12:43:51]  Loading plugin: mysql
[12:43:51]  >> plugin.mysql: R41-4 successfully loaded.
[12:43:51]   Loaded.
[12:43:51]  Loading plugin: sscanf
[12:43:51] 

[12:43:51]  ===============================

[12:43:51]       sscanf plugin loaded.     

[12:43:51]          Version:  2.8.2        

[12:43:51]    (c) 2012 Alex "Y_Less" Cole  

[12:43:51]  ===============================

[12:43:51]   Loaded.
[12:43:51]  Loading plugin: crashdetect
[12:43:51]   CrashDetect v4.15.1 is OK.
[12:43:51]   Loaded.
[12:43:51]  Loading plugin: streamer
[12:43:51] 

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[12:43:51]   Loaded.
[12:43:51]  Loading plugin: tde
[12:43:51] 
TDEditor Plugin loaded, thank you for using.

[12:43:51]   Loaded.
[12:43:51]  Loaded 5 plugins.

[12:43:51] 
[12:43:51] Filterscripts
[12:43:51] ---------------
[12:43:51]   Loading filterscript 'ls_beachside.amx'...
[12:43:51] 

[12:43:51]   |---------------------------------------------------
[12:43:51]   |--- LS BeachSide Filterscript
[12:43:51]   |--  Script v1.03
[12:43:51]   |--  19th April 2015
[12:43:51]   |---------------------------------------------------
[12:43:51]   |--  LS BeachSide Building Elevator created
[12:43:51]   |---------------------------------------------------
[12:43:51]   Loading filterscript 'ls_elevator.amx'...
[12:43:51]   Loading filterscript 'TDE.amx'...
[12:43:52]  
[12:43:52] ___ __  __
[12:43:52]  | |  \|_  _|.|_ _  _        
[12:43:52]  | |__/|__(_|||_(_)|            
[12:43:52]  
[12:43:52] TDEditor v2.3 by pawn-wiki.ru
[12:43:52] TDEditor çàãðóæåí
[12:43:52]  
[12:43:52]   Loaded 3 filterscripts.

[12:43:52] [debug] Run time error 19: "File or function is not found"
[12:43:52] [debug]  cache_get_field_content
[12:43:52] [debug]  cache_get_field_content_float
[12:43:52] [debug]  cache_get_field_content_int
[12:43:52] [debug]  cache_get_row_int
[12:43:52] [debug] Run time error 19: "File or function is not found"
[12:43:52] [debug]  cache_get_field_content
[12:43:52] [debug]  cache_get_field_content_float
[12:43:52] [debug]  cache_get_field_content_int
[12:43:52] [debug]  cache_get_row_int
[12:43:52] Script[gamemodes/bluffs.amx]: Run time error 19: "File or function is not found"
[12:43:52] Number of vehicle models: 0
[12:43:52] [debug] Run time error 19: "File or function is not found"
[12:43:52] [debug]  cache_get_field_content
[12:43:52] [debug]  cache_get_field_content_float
[12:43:52] [debug]  cache_get_field_content_int
[12:43:52] [debug]  cache_get_row_int
[12:43:52] [debug] Run time error 19: "File or function is not found"
[12:43:52] [debug]  cache_get_field_content
[12:43:52] [debug]  cache_get_field_content_float
[12:43:52] [debug]  cache_get_field_content_int
[12:43:52] [debug]  cache_get_row_int
[12:43:52] [debug] Run time error 19: "File or function is not found"
[12:43:52] [debug]  cache_get_field_content
[12:43:52] [debug]  cache_get_field_content_float
[12:43:52] [debug]  cache_get_field_content_int
[12:43:52] [debug]  cache_get_row_int
[12:43:52] [debug] Run time error 19: "File or function is not found"
[12:43:52] [debug]  cache_get_field_content
[12:43:52] [debug]  cache_get_field_content_float
[12:43:52] [debug]  cache_get_field_content_int
[12:43:52] [debug]  cache_get_row_int
[12:43:52] [debug] Run time error 19: "File or function is not found"
[12:43:52] [debug]  cache_get_field_content
[12:43:52] [debug]  cache_get_field_content_float
[12:43:52] [debug]  cache_get_field_content_int
[12:43:52] [debug]  cache_get_row_int
[12:43:52] [debug] Run time error 19: "File or function is not found"
[12:43:52] [debug]  cache_get_field_content
[12:43:52] [debug]  cache_get_field_content_float
[12:43:52] [debug]  cache_get_field_content_int
[12:43:52] [debug]  cache_get_row_int
[12:43:52] [debug] Run time error 19: "File or function is not found"
[12:43:52] [debug]  cache_get_field_content
[12:43:52] [debug]  cache_get_field_content_float
[12:43:52] [debug]  cache_get_field_content_int
[12:43:52] [debug]  cache_get_row_int
[12:43:52] [debug] Run time error 19: "File or function is not found"
[12:43:52] [debug]  cache_get_field_content
[12:43:52] [debug]  cache_get_field_content_float
[12:43:52] [debug]  cache_get_field_content_int
[12:43:52] [debug]  cache_get_row_int
 

 

 

 

 

,Ma poate ajuta cineva?

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.