[FilterScript] jGarage - Dynamic garages
#41

I just downloaded a fresh SA-MP server package and all other stuff from the main topic, and it worked fine for me, so I really don't understand why it doesn't work for you.
Code:
SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[17:03:16] 
[17:03:16] Server Plugins
[17:03:16] --------------
[17:03:16]  Loading plugin: sscanf
[17:03:16] 

[17:03:16]  ===============================

[17:03:16]       sscanf plugin loaded.     

[17:03:16]          Version:  2.8.1        

[17:03:16]    © 2012 Alex "Y_Less" Cole  

[17:03:16]  ===============================

[17:03:16]   Loaded.
[17:03:16]  Loading plugin: streamer
[17:03:16] 

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

[17:03:16]   Loaded.
[17:03:16]  Loaded 2 plugins.

[17:03:16] 
[17:03:16] Filterscripts
[17:03:16] ---------------
[17:03:16]   Loading filterscript 'jgarage.amx'...
[17:03:16] 
--------------------------------------
[17:03:16]  jGarage V1.1 by Jstylezzz loading..
[17:03:16]                   ---                 

[17:03:16]     Initializing saving system 4      
[17:03:16] 
--------------------------------------
[17:03:16] [jGarage]: Loaded 0 garages.
[17:03:16]   Loaded 1 filterscripts.

[17:03:16] Loaded 3 vehicles from: vehicles/trains.txt
[17:03:16] Loaded 3 vehicles from: vehicles/pilots.txt
[17:03:16] Loaded 15 vehicles from: vehicles/lv_law.txt
[17:03:16] Loaded 39 vehicles from: vehicles/lv_airport.txt
[17:03:16] Loaded 255 vehicles from: vehicles/lv_gen.txt
[17:03:16] Loaded 38 vehicles from: vehicles/sf_law.txt
[17:03:16] Loaded 35 vehicles from: vehicles/sf_airport.txt
[17:03:16] Loaded 353 vehicles from: vehicles/sf_gen.txt
[17:03:16] Loaded 24 vehicles from: vehicles/ls_law.txt
[17:03:16] Loaded 37 vehicles from: vehicles/ls_airport.txt
[17:03:16] Loaded 98 vehicles from: vehicles/ls_gen_inner.txt
[17:03:16] Loaded 389 vehicles from: vehicles/ls_gen_outer.txt
[17:03:16] Loaded 71 vehicles from: vehicles/whetstone.txt
[17:03:16] Loaded 168 vehicles from: vehicles/bone.txt
[17:03:16] Loaded 61 vehicles from: vehicles/flint.txt
[17:03:16] Loaded 96 vehicles from: vehicles/tierra.txt
[17:03:16] Loaded 96 vehicles from: vehicles/red_county.txt
[17:03:16] Total vehicles from files: 1781
[17:03:16] 
---------------------------------------
[17:03:16] Running Grand Larceny - by the SA-MP team

[17:03:16] ---------------------------------------

[17:03:16] Number of vehicle models: 173
Try redownloading everything, because I really have no other idea. Just get a fresh server package, download all the plugins and includes needed, and configure the server.cfg to work.
Reply
#42

your logs is different from mine :/
Reply
#43

Nice!
Reply
#44

Quote:
Originally Posted by Sumair
View Post
your logs is different from mine :/
Yeah, I loaded only the jgarage filterscript, that's why you don't see all the stuff you had.

Quote:
Originally Posted by iRaiDeN
View Post
Nice!
Thanks
Reply
#45

just added all thing that required but again same result

Quote:

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

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[20:31:38]
[20:31:38] Server Plugins
[20:31:38] --------------
[20:31:38] Loading plugin: sscanf
[20:31:38]

[20:31:38] ===============================

[20:31:38] sscanf plugin loaded.

[20:31:38] Version: 2.8.1

[20:31:38] © 2012 Alex "Y_Less" Cole

[20:31:38] ===============================

[20:31:38] Loaded.
[20:31:38] Loading plugin: streamer
[20:31:38]

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

[20:31:38] Loaded.
[20:31:38] Loaded 2 plugins.

[20:31:38]
[20:31:38] Filterscripts
[20:31:38] ---------------
[20:31:38] Loading filterscript 'jGarage.amx'...
[20:31:38] Loaded 1 filterscripts.

[20:31:38] Loaded 3 vehicles from: vehicles/trains.txt
[20:31:38] Loaded 3 vehicles from: vehicles/pilots.txt
[20:31:38] Loaded 15 vehicles from: vehicles/lv_law.txt
[20:31:38] Loaded 39 vehicles from: vehicles/lv_airport.txt
[20:31:38] Loaded 255 vehicles from: vehicles/lv_gen.txt
[20:31:38] Loaded 38 vehicles from: vehicles/sf_law.txt
[20:31:38] Loaded 35 vehicles from: vehicles/sf_airport.txt
[20:31:38] Loaded 353 vehicles from: vehicles/sf_gen.txt
[20:31:38] Loaded 24 vehicles from: vehicles/ls_law.txt
[20:31:38] Loaded 37 vehicles from: vehicles/ls_airport.txt
[20:31:38] Loaded 98 vehicles from: vehicles/ls_gen_inner.txt
[20:31:38] Loaded 389 vehicles from: vehicles/ls_gen_outer.txt
[20:31:38] Loaded 71 vehicles from: vehicles/whetstone.txt
[20:31:38] Loaded 168 vehicles from: vehicles/bone.txt
[20:31:38] Loaded 61 vehicles from: vehicles/flint.txt
[20:31:38] Loaded 96 vehicles from: vehicles/tierra.txt
[20:31:38] Loaded 96 vehicles from: vehicles/red_county.txt
[20:31:38] Total vehicles from files: 1781
[20:31:38]
---------------------------------------
[20:31:38] Running Grand Larceny - by the SA-MP team

[20:31:38] ---------------------------------------

[20:31:38] Number of vehicle models: 173
[20:32:40] Incoming connection: 192.168.1.2:61218
[20:32:41] [join] SumairAli has joined the server (0:192.168.1.2)
[20:33:23] RCON (In-Game): Player #0 (SumairAli) has logged in.
[20:33:39] [part] SumairAli has left the server (0:1)

Reply
#46

do you have fb account if yes then add me = *******/mohammad.sumair.11
Reply
#47

working fine thanks i just update streamer plugin then recompile then script working thanks
btw can you add givegaragekey and takegaragekey system in your script please...
Reply
#48

Quote:
Originally Posted by Sumair
View Post
working fine thanks i just update streamer plugin then recompile then script working thanks
btw can you add givegaragekey and takegaragekey system in your script please...
I'm very happy it works for you now
I've added the key idea to the suggestions in the main post, I'll make sure to have it in the next version.
Reply
#49

also add sell garage to player system
Reply
#50

Thanks for releasing! Looks good.
Reply
#51

waiting for next update
Reply
#52

Minor Update
V1.2 (bug quickfix)
  • What's new?
This is a minor update that adresses the bugs reported. Reported bugs were:
  • /removegarage command doesn't work when using ZCMD
  • Garage value goes into minus when selling it

    I checked out both the issues, and the /removegarage bug seems to have been a false report, as it was working fine. The minus value bug has been fixed aswell by simply resetting the value to '1200' as soon as the garage price drops below 100$.
If you find anything else that isn't working correctly, please let me know. If you have any suggestions (yes, there's an update under way that includes the suggestions so far), let me know aswell.
Thanks!

Ps. Download links are in the main post.
Reply
#53

This is epic, good work. Rep+
Reply
#54

Got some problem when 2 or 3 are owned and when the next one gets owned it takes on of the first 2 away also yini makes random numbers and didni like 12456 you know how i could fix this (have these kind of problems with all the saving systems)
Reply
#55

When you enter the garage and goes to the "gate" of the interior you go through and drops from the inside! Porfavor arrange this bug, thanks! God Job
Reply
#56

Nice work mate !
Keep it up
Reply
#57

Quote:
Originally Posted by devil shill
View Post
Got some problem when 2 or 3 are owned and when the next one gets owned it takes on of the first 2 away also yini makes random numbers and didni like 12456 you know how i could fix this (have these kind of problems with all the saving systems)
Thanks for the heads up. I'll have a look into this, although I did not have these problems while testing. Are you sure that all your includes are up to date and not modified? I'll try to recreate this anyways, if I find the issue, I'll fix it.

EDIT: I am not able to reproduce this bug. I created 15 garages and bought 10 of them, without any issues. I used dini and y_ini, both work fine for me. I suggest you take a look at your includes and recompile. If the issue still persists, try posting a video, which I might be able to use to reproduce the problem.

Quote:
Originally Posted by xArt
View Post
When you enter the garage and goes to the "gate" of the interior you go through and drops from the inside! Porfavor arrange this bug, thanks! God Job
This fix is actually made in the upcoming update, I'll be sure to release it asap! Thanks for telling me

Quote:
Originally Posted by iNiko
View Post
Nice work mate !
Keep it up
Thanks
Reply
#58

I have problem, when i restart server i lose my garage and price for all garages is 0! Please help me!
Reply
#59

Sounds like the garages are not saved. Which saving system are you using, and are you sure all folders are created, and if you use MySQL or SQLite, are you sure the databases are created, online and accessible, and that the script is connected to the database?
Reply
#60

i'm using mysql can't load garages when i create a garage it save in mysql database but can't load help me plz
sorry for my bad english
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)