#Asking for help to put my gamemode on hosting...

35 messages ยท Page 1 of 1 (latest)

wet swan
#

I am probably doing it wrong ๐Ÿ˜ฆ

iron tundra
#

Are you using open-mp or samp, and have you tried running the server locally?

wet swan
#

samp, and no I did not

iron tundra
#

Okay there should be a server.cfg file in the main folder, open it and make sure the gamemode name is set to the name of your gamemode

#

After that, run the samp server .exe in your main folder.

wet swan
#

Okay what now

iron tundra
#

Is the server running?

#

Does it say it booted up?

#

If so, open your samp client and connect to the ip 127.0.0.1

#

Which is your localhost ip.

wet swan
#

yep its working

#

I cant log in.... " base " or whatever is not connected I guess

wet swan
#

Chat tomorrow, I go sleep

cedar wave
#

looks like it fails to establish a database connection

wet swan
#

Hello I am here now

wet swan
#

Just to be clear I wanna put this on web hosting not local... but sure local is for testing

wet swan
#

Still need help

iron tundra
#

Like @cedar wave said it could be that the DB connection couldn't be established.

wet swan
#

Ill write you a DM

iron tundra
#

I get a lot of DM's daily so i'd rather have you type here.

#

As for hosting idk which SAMP/Open-mp hosting services there are.

#

I'd personally use some cloud solution by Hetzner e.g. but you'll need to know how to get around with Linux for that.

wet swan
#

Okay Ill write here

#

its connected and it works untill here

iron tundra
#

I don't know that language

wet swan
#

it says "press enter when ur done " and nothing happends, its just like this
im wondering if its because it was on sscanf before and now its on mysql
cuz under KEY_ENTER there is nothing
and under KEY_FIRE its not it

iron tundra
#

sscanf and now mysql? You lost me there cuz those are 2 entirely different things xD

wet swan
#

mod is old and before it was on sscanf

iron tundra
#

You mean it was SAMP and now Open-mp?

wet swan
#

there is some parameters that should be deleted in mysql

iron tundra
#

Anw you should follow debugging practices like print("Hello I made it here"); to see if a function get's called

#

Add more debugging messages along the way and you'll soon find out where the issue lies.

#

If there's nothing under KEY_ENTER maybe it's another key?