Jump to content

Recommended Posts

Posted
11 hours ago, RACU said:

  response:
   '535-5.7.8 Username and Password not accepted. Learn more at\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials f204sm123876350wme.18 - gsmtp',
  responseCode: 535,
  command: 'AUTH PLAIN' }

Can you help me?

@joew

Login to the account that you set it up and enable less secure app at gmail's config: https://myaccount.google.com/lesssecureapps

And yes, you can code and make another type of login.

Posted
4 hours ago, RACU said:
Thank you @joew @MarkCavalli I have on Question , how can add Vehicleshop or Clotheshop
?

View source code to get all you need. But you will have to use 3 commands at in-game chat:

1) Create the shop (add it to the database)
2) You will have to get the ID of the shop that was created from database and use a second command to set it up where will be the position to users access (buy things) on the shop.
3) After that you will have to use another command to set it up the camera view, the position of the camera after users used the shop.

If i'm not wrong that's all. Sorry if i miss something, have some time that i don't added any shop.

Posted (edited)
vor 14 Stunden schrieb joew:

View source code to get all you need. But you will have to use 3 commands at in-game chat:

1) Create the shop (add it to the database)
2) You will have to get the ID of the shop that was created from database and use a second command to set it up where will be the position to users access (buy things) on the shop.
3) After that you will have to use another command to set it up the camera view, the position of the camera after users used the shop.

If i'm not wrong that's all. Sorry if i miss something, have some time that i don't added any shop.

I tried but did not manage. In what format do you have to register the coords in the database? I wrote that now 31.44,1110.23,23 or do you have to write it differently? @joew @MarkCavalli   Sry for my Questions

Edited by RACU
Posted
22 hours ago, RACU said:

I tried but did not manage. In what format do you have to register the coords in the database? I wrote that now 31.44,1110.23,23 or do you have to write it differently? @joew @MarkCavalli   Sry for my Questions

If i'm not wrong, the second command save the coords where you are, so you don't have to change it,. The only one you have to add is the command to set the camera view.

Anyway, one SQL e.g of the database is:

INSERT INTO `business` (`id`, `title`, `coord`, `price`, `owner`, `margin`, `balance`, `buyerMenuCoord`) VALUES
(1, 'Clothing Shop', '{\"x\":10.055,\"y\":6505.758,\"z\":31.538,\"rot\":43.63}', 750000, NULL, 0, 10350, '{\"x\":4.705,\"y\":6512.588,\"z\":31.878,\"rot\":227.89}'),
(2, 'Cheap Car Dealership', '{\"x\":-214.972,\"y\":6218.594,\"z\":31.491,\"rot\":43.81}', 1000000, NULL, 0, 0, '{\"x\":-231.748,\"y\":6235.291,\"z\":31.496,\"rot\":213.53}'),
(3, 'Gas Station', '{\"x\":-84.393,\"y\":6405.94,\"z\":31.64,\"rot\":56.52}', 1000000, NULL, 0, 4, '{\"x\":-92.975,\"y\":6410.063,\"z\":31.64,\"rot\":225.32}');

--
-- Дамп данных таблицы `cheapcardealership`
--

INSERT INTO `cheapcardealership` (`id`, `newCarCoord`) VALUES
(2, '{\"x\":-240.116,\"y\":6231.818,\"z\":31.513,\"rot\":43.11}');

--
-- Дамп данных таблицы `clothingshop`
--

INSERT INTO `clothingshop` (`id`, `camData`, `buyerStandCoord`) VALUES
(1, '{\"x\":6.069,\"y\":6508.089,\"z\":31.878,\"rx\":0,\"ry\":0,\"rz\":133,\"viewangle\":35}', '{\"x\":3.333,\"y\":6505.443,\"z\":31.878,\"rot\":308.84}');

--
-- Дамп данных таблицы `gasstation`
--

INSERT INTO `gasstation` (`id`, `fillingCoord`, `camData`) VALUES
(3, '{\"x\":-94.672,\"y\":6419.113,\"z\":31.49,\"r\":6}', '{\"x\":-101.079,\"y\":6442.736,\"z\":33.278,\"rz\":204.38,\"viewangle\":30}');

Make sure you don't have any data on the tables, or you can change the IDs.

Posted

Hallo,

 

ich hoffe Ihr könnt mir weiter helfen, es geht um, die conf.js Datei.

 

Den Befehl bind habe ich so reingeschrieben:

"bind" : "XXX.spdns.eu", 

doch leider kommt dann immer das:

[N] Starting network... - FAILED: Network failed to start.  Terminating..

 

Wenn ich die öffentliche IPV4 nehme, kommt auch die Meldung:

[N] Starting network... - FAILED: Network failed to start.  Terminating..

 

wenn ich aber die 127.0.0.1 oder die interne IP des Rechners verwende startet der Server durch.

 

Nun noch eine andere Frage muss ich die überhaupt ändern, wenn ich den Server mal offiziell setze mit dem announce Befehl? 

Posted

Hey @MarkCavalli, i tried to install the nativeUI with the lightcontrol script. So first it said "Point is not a constructor." Now I tried to require the nativeUI with .default at the end. The Result is that it says "NativeUI.Menu" is undefined. Can you maybe help me out with this problem?

Posted

Hi @MarkCavalli I have a problem with CEF. When I connect to the server, I download old files that I had in the Browsers folder. Is there any kind of cache that causes old files to be downloaded? If so, how is that cache cleaned?

Posted
48 minutes ago, Sakatum said:

Hi @MarkCavalli I have a problem with CEF. When I connect to the server, I download old files that I had in the Browsers folder. Is there any kind of cache that causes old files to be downloaded? If so, how is that cache cleaned?

run "npm build" in main directory every time after you changed sth in the app folder

Posted
47 minutes ago, Loxitation said:

run "npm build" in main directory every time after you changed sth in the app folder

I do that, but files still downloading when they arent in the client folder. Its like files are in cache

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...