SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 09/08/2012, 10:04 PM   #2251
Syntax
Huge Clucker
 
Join Date: Feb 2011
Location: Romania
Posts: 256
Reputation: 17
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

Are you running it on your localhost or an actual server? If you're using a host (VOLT-Host, KingJ etc.) then you need to change your plugins line.
__________________
Syntax is offline   Reply With Quote
Old 09/08/2012, 10:39 PM   #2252
Don_Speed
High-roller
 
Don_Speed's Avatar
 
Join Date: Sep 2011
Posts: 2,475
Reputation: 149
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

One of the best GM I have ever seen in my life!
__________________


Encomendas pawn via skype: maurilio.don (Apenas pedidos de encomendas)
Don_Speed is offline   Reply With Quote
Old 10/08/2012, 03:20 PM   #2253
DoubeL
Little Clucker
 
Join Date: Aug 2012
Posts: 27
Reputation: 0
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

MYSQL loaded and still it does this error:

SA-MP Dedicated Server
----------------------
v0.3e, (C)2005-2012 SA-MP Team

[18:23:57]
[18:23:57] Server Plugins
[18:23:57] --------------
[18:23:57] Loading plugin: mysql.dll
[18:23:58]

> MySQL plugin R7 successfully loaded.

[18:23:58] Loaded.
[18:23:58] Loading plugin: GeoIP_Plugin.dll
[18:23:58] GeoIP_Plugin got loaded.
[18:23:58] Loaded.
[18:23:58] Loading plugin: irc.dll
[18:23:58]

*** IRC Plugin v1.4.2 by Incognito loaded ***

[18:23:58] Loaded.
[18:23:58] Loading plugin: sscanf.dll
[18:23:58]

[18:23:58] ===============================

[18:23:58] sscanf plugin loaded.

[18:23:58] (c) 2009 Alex "Y_Less" Cole

[18:23:58] 0.3d-R2 500 Players "dnee"

[18:23:58] ===============================

[18:23:58] Loaded.
[18:23:58] Loading plugin: streamer.dll
[18:23:58]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[18:23:58] Loaded.
[18:23:58] Loading plugin: wp.dll
[18:23:58]
[18:23:58] ==================
[18:23:58]
[18:23:58] Whirlpool loaded
[18:23:58]
[18:23:58] ==================
[18:23:58]
[18:23:58] Loaded.
[18:23:58] Loaded 6 plugins.

[18:23:58] I couldn't load any gamemode scripts. Please verify your server.cfg
[18:23:58] It needs a gamemode0 line at the very least.


and this is my server.cfg:
echo Executing Server Config...
lanmode 0
rcon_password not gonna show here
maxplayers 200
port 7777
hostname L-B-I-T Roleplay [ENG/0.3e]
gamemode0 vx-rp 1
filterscripts ls_elevator
announce 1
plugins mysql.dll GeoIP_Plugin.dll irc.dll sscanf.dll streamer.dll wp.dll
query 1
weburl not gonna show here
maxnpc 500
onfoot_rate 30
incar_rate 30
weapon_rate 40
stream_distance 200.0
stream_rate 1000


So I tried to compile it again and it shows me this error:

G:\GTA SA\Vortex\Windows-Server\gamemodes\vx-rp.pwn(89) : fatal error 100: cannot read from file: "foreach"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
help me please?
DoubeL is offline   Reply With Quote
Old 12/08/2012, 01:29 AM   #2254
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 DoubeL View Post
MYSQL loaded and still it does this error:

SA-MP Dedicated Server
----------------------
v0.3e, (C)2005-2012 SA-MP Team

[18:23:57]
[18:23:57] Server Plugins
[18:23:57] --------------
[18:23:57] Loading plugin: mysql.dll
[18:23:58]

> MySQL plugin R7 successfully loaded.

[18:23:58] Loaded.
[18:23:58] Loading plugin: GeoIP_Plugin.dll
[18:23:58] GeoIP_Plugin got loaded.
[18:23:58] Loaded.
[18:23:58] Loading plugin: irc.dll
[18:23:58]

*** IRC Plugin v1.4.2 by Incognito loaded ***

[18:23:58] Loaded.
[18:23:58] Loading plugin: sscanf.dll
[18:23:58]

[18:23:58] ===============================

[18:23:58] sscanf plugin loaded.

[18:23:58] (c) 2009 Alex "Y_Less" Cole

[18:23:58] 0.3d-R2 500 Players "dnee"

[18:23:58] ===============================

[18:23:58] Loaded.
[18:23:58] Loading plugin: streamer.dll
[18:23:58]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[18:23:58] Loaded.
[18:23:58] Loading plugin: wp.dll
[18:23:58]
[18:23:58] ==================
[18:23:58]
[18:23:58] Whirlpool loaded
[18:23:58]
[18:23:58] ==================
[18:23:58]
[18:23:58] Loaded.
[18:23:58] Loaded 6 plugins.

[18:23:58] I couldn't load any gamemode scripts. Please verify your server.cfg
[18:23:58] It needs a gamemode0 line at the very least.


and this is my server.cfg:
echo Executing Server Config...
lanmode 0
rcon_password not gonna show here
maxplayers 200
port 7777
hostname L-B-I-T Roleplay [ENG/0.3e]
gamemode0 vx-rp 1
filterscripts ls_elevator
announce 1
plugins mysql.dll GeoIP_Plugin.dll irc.dll sscanf.dll streamer.dll wp.dll
query 1
weburl not gonna show here
maxnpc 500
onfoot_rate 30
incar_rate 30
weapon_rate 40
stream_distance 200.0
stream_rate 1000


So I tried to compile it again and it shows me this error:

G:\GTA SA\Vortex\Windows-Server\gamemodes\vx-rp.pwn(89) : fatal error 100: cannot read from file: "foreach"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
help me please?
You need to make sure you're opening the Pawno.exe provided in the download package.
Calgon is offline   Reply With Quote
Old 12/08/2012, 04:21 AM   #2255
Willy
Little Clucker
 
Willy's Avatar
 
Join Date: Jul 2010
Posts: 7
Reputation: 0
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

Nice gamemode!
Willy is offline   Reply With Quote
Old 15/08/2012, 12:08 AM   #2256
[TC]XxJuggaloxX
Big Clucker
 
[TC]XxJuggaloxX's Avatar
 
Join Date: Jun 2011
Location: ugg-gaming.tk
Posts: 162
Reputation: 5
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

Simple Request,

What lines are needed to be changed to make it so a player can own up to 5 Vehicles.
I also can assume I will be needing to change some of the SQL. I have been racking my brain on this for a while now, and I just cant get it. Every time I get close to getting it some Error pops up that I cannot fix, So I have to get rid of it all.

I realize that it's gonna take more than One or Two Lines of code to be changed and I am perfectly fine with changing that. I have been working with this script for more than 4 Months now and have learned how to Manipulate just about every aspect about this, Except for of course the vehicle system.

Thank You
__________________
Any scripter that's likely to ever be any good will be the sort who finds out WHY you do things, not just WHAT you do.
If you explain why something is done people can improve your method or decide better when to use it and when to not.
- Y_Less

[TC]XxJuggaloxX is offline   Reply With Quote
Old 15/08/2012, 04:55 AM   #2257
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 [TC]XxJuggaloxX View Post
Simple Request,

What lines are needed to be changed to make it so a player can own up to 5 Vehicles.
I also can assume I will be needing to change some of the SQL. I have been racking my brain on this for a while now, and I just cant get it. Every time I get close to getting it some Error pops up that I cannot fix, So I have to get rid of it all.

I realize that it's gonna take more than One or Two Lines of code to be changed and I am perfectly fine with changing that. I have been working with this script for more than 4 Months now and have learned how to Manipulate just about every aspect about this, Except for of course the vehicle system.

Thank You
That's not a very simple request really, and with the code in the script as it is I wouldn't suggest doing so.

However, there is some experimental code I have yet to finish for unlimited player vehicles, it's commented out, but you can finish it. I can't tell you where I left the code at though because I have no idea.

If you do just want to increase the limit for the old system, you have to create a new variables in the enum for a new vehicle slot, you need to load them and you need to save them - then all the car functions (like mod saving) you have to update them too. The hardest thing is probably updating the script to detect which one of the player vehicles is being spawned, saved, or loaded. Take a look at the code from the vortex 1 script if you need a bit of help for how to do that.

It's a massive pain to do either of the two, sorry about that, maybe in the future I'll finish the new player vehicle system. You're welcome to try find someone to do it for you though.
Calgon is offline   Reply With Quote
Old 15/08/2012, 10:41 AM   #2258
Sabio
Little Clucker
 
Join Date: May 2012
Posts: 32
Reputation: 0
Default Respuesta: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

LOCK TABLES `adminlog` WRITE ;

#1044 - Access denied for user 'samp'@'localhost' to database 'samp'

Help
Sabio is offline   Reply With Quote
Old 15/08/2012, 11:49 PM   #2259
[TC]XxJuggaloxX
Big Clucker
 
[TC]XxJuggaloxX's Avatar
 
Join Date: Jun 2011
Location: ugg-gaming.tk
Posts: 162
Reputation: 5
Default Re: Respuesta: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

Quote:
Originally Posted by Sabio View Post
LOCK TABLES `adminlog` WRITE ;

#1044 - Access denied for user 'samp'@'localhost' to database 'samp'

Help
You need to set up your sql file right.
__________________
Any scripter that's likely to ever be any good will be the sort who finds out WHY you do things, not just WHAT you do.
If you explain why something is done people can improve your method or decide better when to use it and when to not.
- Y_Less

[TC]XxJuggaloxX is offline   Reply With Quote
Old 15/08/2012, 11:52 PM   #2260
[TC]XxJuggaloxX
Big Clucker
 
[TC]XxJuggaloxX's Avatar
 
Join Date: Jun 2011
Location: ugg-gaming.tk
Posts: 162
Reputation: 5
Default Re: Vortex Roleplay 2 [MySQL, sscanf, streamer, IRC, whirlpool]

Quote:
Originally Posted by Calgon View Post
That's not a very simple request really, and with the code in the script as it is I wouldn't suggest doing so.

However, there is some experimental code I have yet to finish for unlimited player vehicles, it's commented out, but you can finish it. I can't tell you where I left the code at though because I have no idea.

If you do just want to increase the limit for the old system, you have to create a new variables in the enum for a new vehicle slot, you need to load them and you need to save them - then all the car functions (like mod saving) you have to update them too. The hardest thing is probably updating the script to detect which one of the player vehicles is being spawned, saved, or loaded. Take a look at the code from the vortex 1 script if you need a bit of help for how to do that.

It's a massive pain to do either of the two, sorry about that, maybe in the future I'll finish the new player vehicle system. You're welcome to try find someone to do it for you though.
You just basically gave me the answer right here. Thank you very much. I spent last night working on my code, and it is almost done, I do understand how to Save the vehicles/Load them. And I also know how to make the new variable for the enum. Thank you very much.
__________________
Any scripter that's likely to ever be any good will be the sort who finds out WHY you do things, not just WHAT you do.
If you explain why something is done people can improve your method or decide better when to use it and when to not.
- Y_Less

[TC]XxJuggaloxX 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 01:41 AM.


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