SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 12/07/2012, 06:55 AM   #2201
denom
Big Clucker
 
denom's Avatar
 
Join Date: Jul 2012
Posts: 91
Reputation: 15
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

cant get mysql work... on linux
__________________
denom is offline   Reply With Quote
Old 12/07/2012, 11:55 AM   #2202
ajam112
Little Clucker
 
Join Date: Jul 2012
Location: Malaysia
Posts: 37
Reputation: 4
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

Quote:
Originally Posted by Calgon View Post
nope
I dont know how to use / setting msql.
ajam112 is offline   Reply With Quote
Old 12/07/2012, 12:10 PM   #2203
Calgon
Godfather
 
Join Date: Jan 2009
Location: England
Posts: 6,540
Reputation: 697
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

Quote:
Originally Posted by ajam112 View Post
I dont know how to use / setting msql.
So learn? It's not rocket science.
Calgon is offline   Reply With Quote
Old 12/07/2012, 12:15 PM   #2204
ajam112
Little Clucker
 
Join Date: Jul 2012
Location: Malaysia
Posts: 37
Reputation: 4
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

Quote:
Originally Posted by Calgon View Post
So learn? It's not rocket science.
Oh lol, where can i download it? can teach me how to setting and connect with that?
ajam112 is offline   Reply With Quote
Old 12/07/2012, 12:23 PM   #2205
Calgon
Godfather
 
Join Date: Jan 2009
Location: England
Posts: 6,540
Reputation: 697
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

Quote:
Originally Posted by ajam112 View Post
Oh lol, where can i download it? can teach me how to setting and connect with that?
For everything you don't yet understand about MySQL, you can probably Google it. The package contains everything you need to start off. Also, there's a tutorial.
Calgon is offline   Reply With Quote
Old 13/07/2012, 08:56 AM   #2206
pl1xusz
Little Clucker
 
Join Date: Jul 2012
Location: Overijsel, The netherlands
Posts: 4
Reputation: 0
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

Works like a charm
Perfect gamemode
Love it
pl1xusz is offline   Reply With Quote
Old 14/07/2012, 06:12 PM   #2207
sanplayer
Huge Clucker
 
Join Date: Dec 2009
Location: UK, Wales
Posts: 302
Reputation: 18
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

Right,

I'm not a noob at computers or mysql.

It appears in the windows download you got no SQL Defines to define a connection.
__________________
sanplayer is offline   Reply With Quote
Old 14/07/2012, 07:08 PM   #2208
sanplayer
Huge Clucker
 
Join Date: Dec 2009
Location: UK, Wales
Posts: 302
Reputation: 18
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

You'll need to follow these instructions quite precisely to get this game mode working. If you don't, then I can't guarantee you'll be able to get this script working. I'd certainly appreciate it if you read these instructions instead of creating a rather quite stupid response.
  1. Download the relevant package for your server's operating system
  2. Unzip the package to a folder somewhere on your computer
  3. Edit your server.cfg for your server's name and RCON password
  4. Download the Scripting Package and unzip it
  5. Open Pawno from the Scripting Package from the 'pawno' folder
  6. Navigate to the .pwn file from Pawno to where you put the server package, open vx-rp.pwn
  7. Create your database/username for MySQL
  8. Use phpMyAdmin or some other alternative to import the SQL dump
  9. Update the SQL defines in the script from Pawno with your new MySQL info
  10. Re-compile the script by hitting F5
  11. Upload the server package with the newly updated .pwn & .amx file
  12. Confirm all of the correct files have been uploaded. This is everything in your server package - including server.cfg!
  13. (Re)Start your server

** NOTES FOR STEP 1 **
If you're not quite sure which operating system the server will be used on, take a look at this list.

Note: Debian is a Linux distribution, 'Win' is an abbreviation of Windows and CentOS is a Linux distribution. If multiple operating systems are listed, you should contact the support staff of the hosting company you're with to ask.

** NOTES FOR STEP 7 **
Assuming you're using a SA-MP host (such as volt-host or serverFFS), you'll be able to create a database for MySQL. To do this, you'll need to navigate to the part of your hosts' control panel which allows you to create a database - if you're unsure where the 'create database' tool will be located, take a look through each section of the hosts' control panel.

To create your database, you might be asked to create a username and password for your database - you'll have to remember this information for your server, because once you've created the database, you're going to need to fill out the information in the 'SQL_*' defines in the script.

** NOTES FOR STEP 8 **
In the server packages, you'll notice there's a file included that retains the file extension of '.sql', most server hosts will give you direct access to phpMyAdmin - where you'll probably be required to login to it with the information you used to create your MySQL database. You'll need to import the data of the sql file in to phpMyAdmin (or whatever you have to your avail). A video tutorial I found on the web which might be useful for this operation is
.
__________________
sanplayer is offline   Reply With Quote
Old 15/07/2012, 02:50 PM   #2209
dawiisss
Little Clucker
 
dawiisss's Avatar
 
Join Date: Jul 2012
Posts: 7
Reputation: 2
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

Quote:
[07:59:24] Number of vehicle models: 0
[07:59:24] Script[gamemodes/vx-rp.amx]: Run time error 19: "File or function is not found"
[07:59:24] *** Streamer Plugin: Obsolete or invalid native "Streamer_CallbackHook" found (script needs to be recompiled with the latest include file)

[07:59:24] Loaded 1 filterscripts.
[07:59:24] *** MoveDynamicObject: Expecting 8 parameter(s), but found 5
[07:59:24] *** MoveDynamicObject: Expecting 8 parameter(s), but found 5
[07:59:24] *** MoveDynamicObject: Expecting 8 parameter(s), but found 5
[07:59:24] *** MoveDynamicObject: Expecting 8 parameter(s), but found 5
[07:59:24] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyCheckpoint" found (script needs to be recompiled with the latest include file)
[07:59:24] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyPickup" found (script needs to be recompiled with the latest include file)
[07:59:24] *** Streamer Plugin: Obsolete or invalid native "Streamer_RemovePlayer" found (script needs to be recompiled with the latest include file)
[07:59:24] *** Streamer Plugin: Obsolete or invalid native "Streamer_AddPlayer" found (script needs to be recompiled with the latest include file)
[07:59:24] *** Streamer Plugin: Obsolete or invalid native "Streamer_RegisterInterface" found (script needs to be recompiled with the latest include file)
[07:59:24] Loading filterscript 'ls_elevator.amx'...
[07:59:24] ---------------
[07:59:24] Filterscripts
[07:59:24]

[07:59:24] Loaded 5 plugins.
[07:59:24] Loaded.
Why does this show up 0.o . I recompiled the script with latest streamer.inc and it still shows up with this

anyone please
dawiisss is offline   Reply With Quote
Old 19/07/2012, 04:07 PM   #2210
Calgon
Godfather
 
Join Date: Jan 2009
Location: England
Posts: 6,540
Reputation: 697
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

Quote:
Originally Posted by dawiisss View Post
Why does this show up 0.o . I recompiled the script with latest streamer.inc and it still shows up with this

anyone please
Download the latest version of the streamer plugin and the include, move the files for the plugin to the plugins directory in your SA-MP server folder and move the include over to compile it all.
Calgon 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
Vortex Roleplay AirPlus Scripting Help 1 03/12/2011 03:28 AM
Vortex roleplay help a!DaN)_)-) Server Support 8 28/11/2011 02:38 AM
Vortex 2 problem - MySql tbedy Help Archive 15 16/06/2011 07:35 PM
Whirlpool and MySQL Snipa Help Archive 2 31/05/2011 09:42 PM


All times are GMT. The time now is 03:40 AM.


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