Jump to content
  • 0

problema system vehicles


InceMan

Question

Problema intalnita (descriere):am un bug la vehicles adica la masinile personale cand apas 2 sa imi pornesc motorul sau sa dau rfv sau park imi da restart le server 
Ero(area / rile) / warning-(ul / urile):nu am erori dar ma gandesc ca decand am scos 
Liniile de cod / sursa / script-ul(obligatoriu):public OnQueryError( errorid, error[ ], callback[ ], query[ ], connectionHandle )
{
    print( "====================================================================" );
    printf( "Error ID: %d, Error: %s", errorid, error );
    printf( "Callback: %s", callback );
    printf( "gQuery: %s", query );
    print( "====================================================================" );
    return 1;
} sa  nu fie din causa asta problema 

Imagini / Video (optional):
Ati incercat sa rezolvati singur?: da si nu am reusit

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

baza de date ruleaza bine si nu am cu printf( sa imi apare mesaje la baza de date poare o fi de-la sscanf warning: Strings without a length are deprecated, please add a destination size.

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0

pai daca bag crashdetect.so

Loading plugin: crashdetect.so
[21:59:02]   CrashDetect must be loaded before 'streamer.so'

si imi da si la 
Loading plugin: crashdetect.so
[21:59:02]   CrashDetect must be loaded before 'profiler.so

si imi inchide si serverul

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0
6 minutes ago, Geani said:

pai daca bag crashdetect.so

Loading plugin: crashdetect.so
[21:59:02]   CrashDetect must be loaded before 'streamer.so'

si imi da si la 
Loading plugin: crashdetect.so
[21:59:02]   CrashDetect must be loaded before 'profiler.so

si imi inchide si serverul

La linia plugins în server cfg pune crashdetect înainte de streamer

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

Servicii Scripting de calitate:

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

Future Project: ExpertGame

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

Link to comment
Share on other sites

  • 0
6 minutes ago, DaEdRiC-FoX said:

La linia plugins în server cfg pune crashdetect înainte de streamer

ok deci asa apare 


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

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

[22:12:03] 
[22:12:03] Server Plugins
[22:12:03] --------------
[22:12:03]  Loading plugin: crashdetect.so
[22:12:03]   CrashDetect v4.15.1 is OK.
[22:12:03]   Loaded.
[22:12:03]  Loading plugin: streamer.so
[22:12:03] 

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

[22:12:03]   Loaded.
[22:12:03]  Loading plugin: sscanf.so
[22:12:03] 

[22:12:03]  ===============================

[22:12:03]       sscanf plugin loaded.     

[22:12:03]          Version:  2.8.1        

[22:12:03]    (c) 2012 Alex "Y_Less" Cole  

[22:12:03]  ===============================

[22:12:03]   Loaded.
[22:12:03]  Loading plugin: mysql_5.5.so
[22:12:03]  >> plugin.mysql: R34 successfully loaded.
[22:12:03]   Loaded.
[22:12:03]  Loading plugin: mysql.so
[22:12:03]  >> plugin.mysql: R38 successfully loaded.
[22:12:03]   Loaded.
[22:12:03]  Loading plugin: profiler.so
[22:12:03]   Profiler v2.10.4 is OK.
[22:12:03]   Loaded.
[22:12:03]  Loading plugin: mysql_static.so
[22:12:03]  >> plugin.mysql: R34 successfully loaded.
[22:12:03]   Loaded.
[22:12:03]  Loaded 7 plugins.

[22:12:03] 
[22:12:03] Filterscripts
[22:12:03] ---------------
[22:12:03]   Loading filterscript 'Harta.amx'...
[22:12:03] =============================================================
[22:12:03]         FilterScript Loaded By Andu 1886 Objects
[22:12:03] =============================================================

[22:12:03]   Loaded 1 filterscripts.

[22:12:03] Turfs: 48
[22:12:03] 3395 - Objects.
[22:12:03] 19 - Pickups.
[22:12:03] OnGameModeInit Loaded
[22:12:03] Script Loaded - Andu & Shower. FiveGame RPG v4.1.0
[22:12:03] Number of vehicle models: 120
[22:12:03] Houses: 102
[22:12:03] [debug] Run time error 4: "Array index out of bounds"
[22:12:03] [debug]  Accessing element at index 55 past array upper bound 54
[22:12:03] [debug] AMX backtrace:
[22:12:03] [debug] #0 000b7160 in public LoadBizz () from FiveGame.amx
[22:12:03] [debug] public LoadDynamicFactions()
[22:12:03] Dynamic Factions: 14
[22:12:03] Clans: 1
[22:12:03] Cars: 37
[22:12:03] Stocks: 101
[22:13:11] [connection] 46.102.90.106:56300 requests connection cookie.
[22:13:12] [connection] incoming connection: 46.102.90.106:56300 id: 0
[22:13:12] [join] Andu has joined the server (0:46.102.90.106)
[22:13:25] HelloBot: Andu has just logged in.
[22:13:25] HelloBot: Andu has just logged in.
[22:13:25] HelloBot: Andu has just logged in.
[22:13:25] HelloBot: Andu has just logged in.
[22:13:25] Andu has been connected to the server (IP: 46.102.90.106).
[22:13:46] [debug] Server crashed while executing FiveGame.amx
[22:13:46] [debug] AMX backtrace:
[22:13:46] [debug] #0 0000000c in public OnPlayerEnterVehicle (0, 401, 0) from FiveGame.amx

 

ok intradevar la public OnPlayerEnterVehicle era o problema nu era pus bine     

}
return 1;

dar am facut uploade si tot asa patesc cand pornesc motorul se restarteaza serverul

[22:21:16] Andu has been connected to the server (IP: 46.102.90.106).
[22:21:24] [debug] Server crashed while executing FiveGame.amx
[22:21:24] [debug] AMX backtrace:
[22:21:24] [debug] #0 0000000c in public OnPlayerEnterVehicle (0, 401, 0) from FiveGame.amx

 

 

 

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0

la public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) doar atata am 

 

     i f(PlayerInfo[playerid][pCarLic] < 1)
        {
            if(IsABike(vehicleid) || IsAExamen (vehicleid)) { }
             else
                {
                if(TakingLesson[playerid] == 1) { }
                else
                {
                     SendClientMessage(playerid,COLOR_GREY, "You don't have a driving license.");
                    ClearAnimations(playerid);
                }
              }
        }

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0

Aveai butonul edit.....

Nu vad sa scrie pe undeva ceva legat de baza de date deci ar putea sa nu se fi conectat la ea

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
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.