Jump to content

Recommended Posts

Posted
2 часа назад, Takumi_Dev сказал:

@MarkCavalli how are you doing? I send new pull request. I corrected some words and did more translations.

There are no files changed 😃

6 часов назад, rpgidai11 сказал:

Hey again, i fixed all these problems... clothing store is working just fine... but how to add more clothes to it?.. and HOW properly save data before killing the server (how to properly shutdown in debian 9 vps? cant find anywhere :D)? Because everytime i shutdown the server, char data and car/player pos doesnt save. And how does the medic system works? Is there an opportunity to call 911? or be a medic? And theres a bug of dying, cause you can walk, do whatever you want but when you try to enter any marker it tp's to hospital.

to save data before restart use /save

mod doesnt have phone, soyou need create it by yourself.

Thanks for bugreport =). There some problem with current dying system.

Posted (edited)
6 минут назад, edouardlicn сказал:

it need an autosave?

no. If player exits between death and call death event by settimeout, server crashes. Fix it in head, need time to code

Edited by MarkCavalli
Posted

I have a little bit more complicated question... i would like to implement housing system, some jobs, police, medics, mechanics... and there are open sources already, but some of them are only "packages/client packages"... how to implement those functions to your source? do i need to create something in app? or it should work if i will put it in packages/client packages and create a new tables in mysql?

Posted

And i uploaded a client package,  but the problem is, that scripts in that package uses "accounts" for fractions etc, and your source creates it in users... how i can change that scripts to use your created db? because it looks like two servers in one, working separate from each other...

Posted
5 часов назад, rpgidai11 сказал:

I have a little bit more complicated question... i would like to implement housing system, some jobs, police, medics, mechanics... and there are open sources already, but some of them are only "packages/client packages"... how to implement those functions to your source? do i need to create something in app? or it should work if i will put it in packages/client packages and create a new tables in mysql

app/server simulates packages folder

app/client simulates client_packages folder

first run npm run watch

then do your implementings in app folder

4 минуты назад, rpgidai11 сказал:

And i uploaded a client package,  but the problem is, that scripts in that package uses "accounts" for fractions etc, and your source creates it in users... how i can change that scripts to use your created db? because it looks like two servers in one, working separate from each other...

dont understand the question) Do you need access to my mysql database?

Posted

Thanks for reply, but those open source scripts are using the other sql... yours creates "users" and scripts takes info from "accounts"... how i can change the script to take "g_faction" from "users" collumn.. not from "accounts"? cause login system creates nothing in "accounts"

Posted
10 часов назад, rpgidai11 сказал:

Thanks for reply, but those open source scripts are using the other sql... yours creates "users" and scripts takes info from "accounts"... how i can change the script to take "g_faction" from "users" collumn.. not from "accounts"? cause login system creates nothing in "accounts"

What do you mean other sql? I have no table aacounts on my db

Posted

I mean, your DB has "users"..  right? and i would like to upload one script from lsrp open source... but that script is in the whole server files... so what i'm trying to do is to turn off all plugins but leave the police... but that lsrp uses db that creates "accounts".... and i think police script takes "fraction_id" from "accounts" table... but i would like to set up that script in to yours open source, how i can make that script to take info from your db lets say not "accounts" which not exists but "users"? not lsrp?  and can you help me with code? how i can change marker from random to 1,2.3? im novice in js and cant find proper info in wiki... and make a waypoint...

Posted

New update!

Changelog:

- A lot bug fixes

- Added prison system

- Added Player Menu

i5Kweqv.jpg

QsieI6w.jpg

4V0MGYS.jpg

2R2dAL2.jpg

 

I think, it will be last update, i'm going to continue mod with private development.

Now Im thinking about server name, and later it will appear in server adv section. 

  • Like 2
  • Mask 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...