SA-MP Forums

Go Back   SA-MP Forums > SA-MP DL Edition > SA-MP 0.3.DL

Reply
 
Thread Tools Display Modes
Old 15/02/2019, 08:10 PM   #1
AdiPlayWell
Little Clucker
 
Join Date: Sep 2018
Posts: 6
Reputation: 0
Default ViceCity/LibertyCity Problem 0.3DL

Hello there.
I've just downloaded the VC, LC objects, I started the server, script lc2sa4samp, after that vc2sa4samp and now I have a problem. Objects do not have collisions and are not loading correctly. Objects files come from GTA United. Streamer seems to be up to date. Files update correctly.
Please help me.

https://forum.sa-mp.com/showthread.php?t=644886

Sorry for eventual mistakes.
Attached Images
File Type: jpg sa-mp-013.jpg (193.0 KB, 99 views)
File Type: jpg sa-mp-014.jpg (201.6 KB, 65 views)
AdiPlayWell is offline   Reply With Quote
Old 16/02/2019, 12:47 AM   #2
RenanMsV
Big Clucker
 
Join Date: May 2016
Posts: 193
Reputation: 6
Default Re: ViceCity/LibertyCity Problem 0.3DL

I think you just forgot to process the colision.

So to get this working you will need:

Installing / Extracting GTA United Models:
  • Download latest Alci's IMG Editor https://www.gtagarage.com/mods/show.php?id=17269 (tested with v1.5).
  • Install the GTA United in a clean folder. NOT YOUR GTA SA. And delete everything except the mod folder.
  • Extract all files using Alci's IMG Editor:
    Extract /mod/lc2sa/lc2sa.img => server/models/lc2sa/temp
    Extract /mod/vc2sa/vc2sa.img => server/models/vc2sa/temp
  • Then move all .txd files to their respective folders (txd folder)
    server/models/lc2sa/temp/*.txd => server/models/lc2sa/txd
    server/models/vc2sa/temp/*.txd => server/models/vc2sa/txd
  • The you will have only dff and others inside the temp folder. Move they to their respective folders (dff folder)
    server/models/lc2sa/temp/* => server/models/lc2sa/dff
    server/models/vc2sa/temp/* => server/models/vc2sa/dff
You should now have all .txd files inside the txd folder and all .dff and .col inside the dff folder. Thats it! Move on.

Processing DFF and COL files (windows only sorry, it should be also easy for linux tho):
  • Download KDFF Tool here https://forum.sa-mp.com/showpost.php...77&postcount=1 (tested with v025a)
  • Download Collision File Editor II https://www.gtagarage.com/mods/show.php?id=1154 (tested with v0.4beta)
  • Extract the KDFF.exe file to the dff folder.
  • Open windows command prompt and do /cd to go to the dff folder. Or simply type cmd in the path name input and hit enter.
  • Then type this command to generate .col files for all .dff files inside the folder (it will take a while, go grab a coffee):
    HTML Code:
    for %f in (*.dff) do kdff.exe -g mesh -d %f -o %~nf.col
    Note: This works in most objects, but sometimes it will create collision problems in some objects, to fix that you have to use the Collision File Editor II and fix each object manually. Unless someone knows another way. So you can ignore that for now.
  • In the end type this command twice to attach all .col files to their respectives .dff so your models will have collision and you wont fall in water. Do this again each time you change a .col file with Collision File Editor II, so it will update.
    HTML Code:
    kdff.exe -p *.dff
  • After that you can either delete all .col files (as they have a copy attached inside the .dff file) or leave them as backup.

So now you have all .txd files inside the txd folders and all .dff (with their .col files attached) in the dff folders. Great!

Setup the server:
  • Open your server.cfg file and add streamer as a plugin by editing or adding the line
    plugins streamer
  • Then add lc2sa and vc2sa .amx as filterscripts by editing or adding the line
    filterscripts lc2sa4samp vc2sa4samp
  • Change the gamemode to bare (optional) by editing or adding the line
    gamemode0 bare 1
  • Start your server and wait for it to load

Setup client:
  • Open your SAMP client and add the ip 127.0.0.1:7777
  • Connect to your sever
  • To go to a city type /gotovc (VC) or /gotolc (LC) , then it will download all files and will later spawn you in the city.
Note: The cities are in another world. So you cant fly using a plane from one to another. You can change it recompiling the .pwn file and using the same world id for both.
Thats it Hope it works.
__________________


Free SAMP Server Hosting (20 slots) or Hosted Tab: http://ultra-h.com
RenanMsV is offline   Reply With Quote
Old 16/02/2019, 05:41 PM   #3
AdiPlayWell
Little Clucker
 
Join Date: Sep 2018
Posts: 6
Reputation: 0
Default Re: ViceCity/LibertyCity Problem 0.3DL

Very good, that works! Thank you very much for help. But I have, another one problem: when I want to use my gamemode (0.3.7 R2) in 0.3DL, during the initialization, server says:
Script [gamemodes / gm_new.amx]: Run time error 19: "File or function is not found "

I don't know what is wrong...
AdiPlayWell is offline   Reply With Quote
Old 16/02/2019, 08:25 PM   #4
RenanMsV
Big Clucker
 
Join Date: May 2016
Posts: 193
Reputation: 6
Default Re: ViceCity/LibertyCity Problem 0.3DL

plugin/dll missing
__________________


Free SAMP Server Hosting (20 slots) or Hosted Tab: http://ultra-h.com
RenanMsV is offline   Reply With Quote
Old 17/02/2019, 01:01 PM   #5
AdiPlayWell
Little Clucker
 
Join Date: Sep 2018
Posts: 6
Reputation: 0
Default Re: ViceCity/LibertyCity Problem 0.3DL

From server.cfg:
plugins FileManager mysql sscanf streamer Whirlpool

I have all .dll files and it is not working. On 0.3.7 R2 this problem didin't exist.
AdiPlayWell is offline   Reply With Quote
Old 17/02/2019, 02:39 PM   #6
DyduShxD
Gangsta
 
DyduShxD's Avatar
 
Join Date: Jan 2013
Location: United Kingdom
Posts: 613
Reputation: 6
Default Re: ViceCity/LibertyCity Problem 0.3DL

Yeah mate, same problem here, just make a 3-4 sec timmer, at onplayerspawn just freeze the player and execute the timer, to load the map and when the timmer will be executed just unfreeze the player, it worked for me.
DyduShxD is offline   Reply With Quote
Old 20/02/2019, 05:59 PM   #7
Taavi
Little Clucker
 
Join Date: Sep 2013
Posts: 2
Reputation: 0
Default Re: ViceCity/LibertyCity Problem 0.3DL

Same here man..
Taavi is offline   Reply With Quote
Old 20/02/2019, 07:34 PM   #8
raydx
Huge Clucker
 
raydx's Avatar
 
Join Date: Feb 2017
Posts: 205
Reputation: 73
Default Re: ViceCity/LibertyCity Problem 0.3DL

Quote:
Originally Posted by AdiPlayWell View Post
From server.cfg:
plugins FileManager mysql sscanf streamer Whirlpool

I have all .dll files and it is not working. On 0.3.7 R2 this problem didin't exist.
Use native checker.
raydx is offline   Reply With Quote
Old 22/02/2019, 04:14 PM   #9
AdiPlayWell
Little Clucker
 
Join Date: Sep 2018
Posts: 6
Reputation: 0
Default Re: ViceCity/LibertyCity Problem 0.3DL

Nativechecker helped. Now server is starting correctly. Gamemode will work normally?
AdiPlayWell is offline   Reply With Quote
Old 02/03/2019, 01:05 AM   #10
SpectNaxz
Little Clucker
 
Join Date: Sep 2017
Posts: 3
Reputation: 2
Default Re: ViceCity/LibertyCity Problem 0.3DL

Libercity Map Files Fix COLLISIONS

Download: https://mega.nz/#!2t0jXChI! PASS: aJVTyNkgnIxGjjX0hlnlmjz5RRTmhs3kY_8e7_s9RD0

Extract the RAR file in the lc2sa folder and place it in the directory:

G: \ GAMES \ SAMP Server \ models \ ** Here **

I mean, staying in this way

G: \ GAMES \ SAMP Server \ models \ lc2sa \

Then

Using the source code of Libercity Generator by Kalcor

https://forum.sa-mp.com/showthread.php?t=644886

Already Libercity is playable in 80% of corrected map collisions.

The objects were corrected with these tools:

-ColEditor II, was used to extract some collisions from the collision packages of the Libercity game.
-kdffgui, was used to apply the collisions extracted or generated new to the DFF object.
-3DS Max to generate new collisions .COL if necessary.
SpectNaxz is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for Libertycity and vicecity correct place tysanio SA-MP 0.3.DL 2 09/03/2018 03:58 PM
[Map] ViceCity Island | BlackHawk Map's (~ViceCity) BlackHawkTR Maps 37 12/01/2014 05:52 PM
[Map] Cafe Map | BlackHawk Maps (~ViceCity) BlackHawkTR Maps 34 12/01/2013 10:27 PM
[Map] Hospital | BlackHawkTR Maps (~ViceCity) BlackHawkTR Maps 14 08/12/2012 10:17 AM
[Map] Hotel Map | BlackHawk Maps (~ViceCity) BlackHawkTR Maps 10 09/08/2012 02:18 PM


All times are GMT. The time now is 09:39 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.