Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Spidey on Nov 02, 2015, 05:02 AM

Title: iwant places id
Post by: Spidey on Nov 02, 2015, 05:02 AM
i want places id like
CreatePickup(408, Vector( 204.29, -490.98, 11.06 ));
i want all mall shops ids
first should be tarbushcofee place
and i want all down town places id
all ids for vccnr
Title: Re: iwant places id
Post by: KAKAN on Nov 02, 2015, 08:37 AM
Eeek!
I already gave you the link for the IDs of everything.
Anyways, its here lol:-
http://wiki.vc-mp.org/wiki/Pickup_Models

Be sure you have surfed from this website before posting:-
http://wiki.vc-mp.org/wiki/ID_Reference

And this for the whole VCMP wiki:-
http://wiki.vc-mp.org/wiki/Main_Page
Title: Re: iwant places id
Post by: Spidey on Nov 02, 2015, 01:47 PM
Quote from: Spidey on Nov 02, 2015, 05:02 AM( 204.29, -490.98, 11.06 ));
This thing
Title: Re: iwant places id
Post by: Spidey on Nov 02, 2015, 02:31 PM
i want to fix this thing too


Loaded plugin: squirrel04rel32

Loaded plugin: xmlconf04rel32

Loaded plugin: sockets04rel32

Loaded plugin: hashing04rel32

Loaded plugin: sqlite04rel32

Loaded plugin: announce_verbose

Failed to load plugin: mysql04rel32 ??? ??? ??? ??? ??? ??? ??? ??? ??? ???

announcer: master.vc-mp.org timed out while trying to reach your server; are your ports forwarded?
[MODULE]  Loaded SqVCMP 0.4 frontend by Stormeus. (v1.0)
scripts/main.nut line = (59) column = (2) : error expression expected
[WARNING] Could not load script 'scripts/main.nut'
[WARNING] expression expected
[ERROR]   No Squirrel gamemode was specified.

when i remove it


Loaded plugin: squirrel04rel32

Loaded plugin: xmlconf04rel32

Loaded plugin: sockets04rel32

Loaded plugin: sockets04rel32

Loaded plugin: hashing04rel32

Loaded plugin: announce_verbose

announcer: master.vc-mp.org timed out while trying to reach your server; are your ports forwarded?
[MODULE]  Loaded SqVCMP 0.4 frontend by Stormeus. (v1.0)
[SCRIPT]  Echo Script Loaded
[SCRIPT]  Fuzzie's Account System v3 - SQLite variant has successfully loaded...
[SCRIPT]  LMS Files loaded
[SCRIPT]  [Real] Nitrous Oxide System - by Seby - was loaded.
[SCRIPT]  Confirming Bot1's details...
[SCRIPT]  Bot details confirmed!
[SCRIPT]  Confirming Bot2's details...
[SCRIPT]  Bot details confirmed!
[SCRIPT]  [BotID:0] Connected to: irc.banshee.fr.liberty-unleashed.co.uk
[SCRIPT]  [BotID:1] Connected to: irc.banshee.fr.liberty-unleashed.co.uk
[SCRIPT]  [BotID:0] Connected to: irc.banshee.fr.liberty-unleashed.co.uk
[SCRIPT]  [BotID:1] Connected to: irc.banshee.fr.liberty-unleashed.co.uk

Title: Re: iwant places id
Post by: Spidey on Nov 02, 2015, 02:33 PM
it need  mysql plugin

kakan
u said u tried ksna's vccnr and it was working?


when i tried not worked
Title: Re: iwant places id
Post by: Mashreq on Nov 02, 2015, 02:53 PM
Can I ask you a thing? Can you reply for it?

Are you really using  MYSQL for database, I think you are using sqlite. If you are not using mysql then don't load that plugin. Is it hard for you to understand?
Title: Re: iwant places id
Post by: Spidey on Nov 02, 2015, 03:20 PM
ok
Title: Re: iwant places id
Post by: Spidey on Nov 02, 2015, 03:20 PM
what should i do?
it needs sqlite_connect 
Title: Re: iwant places id
Post by: Mashreq on Nov 02, 2015, 03:31 PM
Are you really having some issues with your brain?
What the hell is sqlite_connect? Are you kidding me? And for what?
Title: Re: iwant places id
Post by: Spidey on Nov 02, 2015, 04:14 PM
fix my problem moron
Title: Re: iwant places id
Post by: KAKAN on Nov 02, 2015, 04:15 PM
Quote from: Spidey on Nov 02, 2015, 04:14 PMfix my problem moron
I'm thinking who is the moron here
Btw, WTH is this?
Loaded plugin: announce_verbose
You renamed that plugin lol, you need to add that line in your server.cfg
like
plugins 1, 2
announce_verbose
Title: Re: iwant places id
Post by: KAKAN on Nov 02, 2015, 04:19 PM
Quote from: Spidey on Nov 02, 2015, 01:47 PM
Quote from: Spidey on Nov 02, 2015, 05:02 AM( 204.29, -490.98, 11.06 ));
This thing
And why the F* are you keeping a extra bracket at the end?
Title: Re: iwant places id
Post by: EK.IceFlake on Nov 02, 2015, 04:22 PM
Quote from: KAKAN on Nov 02, 2015, 04:19 PM
Quote from: Spidey on Nov 02, 2015, 01:47 PM
Quote from: Spidey on Nov 02, 2015, 05:02 AM( 204.29, -490.98, 11.06 ));
This thing
And why the F* are you keeping a extra bracket at the end?
CreatePickup(408, Vector( 204.29, -490.98, 11.06 ));
Title: Re: iwant places id
Post by: KAKAN on Nov 02, 2015, 04:30 PM
Then we need to see this line:-
scripts/main.nut line = (59) column = (2) : error expression expected
Title: Re: iwant places id
Post by: Spidey on Nov 02, 2015, 04:36 PM
yep
Title: Re: iwant places id
Post by: Spidey on Nov 02, 2015, 04:37 PM
   sqliteDB <-SQLite_connect( "localhost", "root", "password", "lol" );
Title: Re: iwant places id
Post by: KAKAN on Nov 02, 2015, 04:37 PM
Quote from: Spidey on Nov 02, 2015, 04:36 PMyep

Then show us lol.
You are a true moron.
1st announce_verbose plugin
then sqlite_connect and NOW LOL!
Title: Re: iwant places id
Post by: KAKAN on Nov 02, 2015, 04:38 PM
THAT'S FREAKING way is of mysql.
You can use mysql_connect.
Title: Re: iwant places id
Post by: Spidey on Nov 02, 2015, 04:38 PM
iam fixing probs
Title: Re: iwant places id
Post by: Spidey on Nov 02, 2015, 04:39 PM
if i get any prob i will post here
Title: Re: iwant places id
Post by: KAKAN on Nov 02, 2015, 04:39 PM
Use SLC's SQLite plugin.
Title: Re: iwant places id
Post by: Spidey on Nov 02, 2015, 04:47 PM
link?
Title: Re: iwant places id
Post by: KAKAN on Nov 02, 2015, 04:50 PM
Search here:-
http://forum.vc-mp.org/?topic=420.0
Title: Re: iwant places id
Post by: Spidey on Nov 02, 2015, 04:54 PM
got prob

in this line


else if (( plr.Skin == 1 ) || ( plr.Skin == 3 ) || ( plr.Skin == 4 )) || ( plr.Skin == 2 ) MessagePlayer("Cops cannot be arrested.", player );
 

Loaded plugin: squirrel04rel32

Loaded plugin: xmlconf04rel32

Loaded plugin: sockets04rel32

Loaded plugin: hashing04rel32

Loaded plugin: announce_verbose

[MODULE]  Loaded SqVCMP 0.4 frontend by Stormeus. (v1.0)
scripts/main.nut line = (207) column = (75) : error expression expected
[WARNING] Could not load script 'scripts/main.nut'
[WARNING] expression expected
[ERROR]   No Squirrel gamemode was specified.
Title: Re: iwant places id
Post by: KAKAN on Nov 02, 2015, 05:02 PM
LOL!
Use this:-
else if (( plr.Skin == 1 ) || ( plr.Skin == 3 ) || ( plr.Skin == 4 ) || ( plr.Skin == 2 ) ) MessagePlayer("Cops cannot be arrested.", player );
 
Title: Re: iwant places id
Post by: Spidey on Nov 03, 2015, 10:19 AM
got prob

in this line

else if( cmd == "script" )  MessagePlayer( "Script :Kitretsu );
Title: Re: iwant places id
Post by: Spidey on Nov 03, 2015, 10:20 AM
Loaded plugin: squirrel04rel32

Loaded plugin: xmlconf04rel32

Loaded plugin: sockets04rel32

Loaded plugin: hashing04rel32

Loaded plugin: announce_verbose

announcer: master.vc-mp.org timed out while trying to reach your server; are your ports forwarded?
[MODULE]  Loaded SqVCMP 0.4 frontend by Stormeus. (v1.0)
scripts/main.nut line = (531) column = (67) : error newline in a constant
[WARNING] Could not load script 'scripts/main.nut'
[WARNING] newline in a constant
[ERROR]   No Squirrel gamemode was specified.
Title: Re: iwant places id
Post by: rulk on Nov 03, 2015, 10:48 AM
Quote from: Spidey on Nov 03, 2015, 10:19 AMgot prob

in this line

else if( cmd == "script" )  MessagePlayer( "Script :Kitretsu );

else if ( cmd == "script"  )  MessagePlayer( "Script :Kitretsu", player );
Title: Re: iwant places id
Post by: KAKAN on Nov 03, 2015, 11:32 AM
Atleast try to find the error.
After some days, you'll create a ban system with no params, then you'll ask us to correct it, right?
@All, no one should fix his problem until he comes to something major.
Title: Re: iwant places id
Post by: Spidey on Nov 03, 2015, 11:34 AM
got another

      else if ( cmd == "forum" )   MessagePlayer( "Forum :"http://sfs.smfnew2.com" );
Title: Re: iwant places id
Post by: KAKAN on Nov 03, 2015, 11:43 AM
Try to find out the bug.
THe Syntax for messageplayer is:-
MessagePlayer( string Message, instance player )
Title: Re: iwant places id
Post by: Spidey on Nov 03, 2015, 11:52 AM
plzzzzzzzzzzzzz help me
Title: Re: iwant places id
Post by: Spidey on Nov 03, 2015, 11:53 AM
didnt worked
Title: Re: iwant places id
Post by: MacTavish on Nov 03, 2015, 11:58 AM
Use it like this MessagePlayer("Gandu dimag kharab mat kr",spidey);

else if ( cmd == "forum" )   MessagePlayer( "Forum :http://sfs.smfnew2.com",player );
Title: Re: iwant places id
Post by: rulk on Nov 03, 2015, 12:10 PM
MessagePlayer (http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/MessagePlayer)
Title: Re: iwant places id
Post by: Xmair on Nov 03, 2015, 12:56 PM
WHY YOU DON'T USE YOUR BRAIN? MESSAGEPLAYER("FORUM :"SMFKSDLKDSOFDOFLSD" ); WHAT WILL IT MESSAGE TO? WHAT IS MESSAGEPLAYER USED FOR THEN?
Title: Re: iwant places id
Post by: Spidey on Nov 03, 2015, 01:31 PM
another

else if ( cmd == "cash" )   MessagePlayer( plr.Name + "'s Cash :[ " + stats[ plr.ID ].cash + .bank + " ] ", player );
Title: Re: iwant places id
Post by: KAKAN on Nov 03, 2015, 01:42 PM
Where is the " " sign near the bank thing?
Title: Re: iwant places id
Post by: Cool on Nov 03, 2015, 01:54 PM
Quote from: Spidey on Nov 03, 2015, 01:31 PManother

else if ( cmd == "cash" )   MessagePlayer( plr.Name + "'s Cash :[ " + stats[ plr.ID ].cash + .bank + " ] ", player );
Lol i think i am big fool and noob but today i know that i am small you are big fool and noob :P
else if ( cmd == "cash" )
  {
          MessagePlayer( player.Name + "'s Balance:[ " + status[ plr.ID ].Cash + " ]", player );
  }
 
Title: Re: iwant places id
Post by: DizzasTeR on Nov 03, 2015, 02:15 PM
I'm laughing my a$$ off at you people ( @KAKAN, @Kusanagi, @rulk, @Xmair and a few others at page 1 ) Sorry for this but I just can't stop laughing. This guy Spidey yes, a 5 year old kid, who is screwing up a code intentionally and by that I mean he is breaking working code and then posting it here one by one every time for everyone of you to look and post a fix one for him.

As a good friend perhaps, take my advice, leave this person, let him do whatever the f* he wants, do not respond to his topics, Do not respond to him at all!. That is the only way when Thijn or any Dev is going to get fed up and finally do the thing which is supposed to be done already.

~ Regards
Title: Re: iwant places id
Post by: Spidey on Nov 03, 2015, 02:52 PM
plzzzzzzzzzzzzzzz fix this just its last prob


Loaded plugin: squirrel04rel32

Loaded plugin: xmlconf04rel32

Loaded plugin: sockets04rel32

Loaded plugin: hashing04rel32

Loaded plugin: announce_verbose

[MODULE]  Loaded SqVCMP 0.4 frontend by Stormeus. (v1.0)
scripts/main.nut line = (745) column = (2) : error expression expected
[WARNING] Could not load script 'scripts/main.nut'
[WARNING] expression expected
[ERROR]   No Squirrel gamemode was specified.


line is this

function createpickups(){
CreatePickup(432, Vector( 390.96, -506.26, 9.39 ));
CreatePickup(410, Vector( 204.29, -490.98, 11.06 ));
CreatePickup(410, Vector(-854.526, -631.75, 11.3756 ));
CreatePickup(410, Vector(-688.706, -1262.49, 16.3473 ));
CreatePickup(410, Vector(-665.025, -1484.42, 13.8016 ));
CreatePickup(410, Vector(-885.324, -469.998, 13.1111 ));
CreatePickup(410, Vector(-847.002, -71.6495, 11.5405 ));
CreatePickup(410, Vector(-1079.64, -275.416, 12.0882 ));
CreatePickup(410, Vector(-1036.4 81.2033, 11.6515 ));
CreatePickup(410, Vector(-992.73, 200.392, 15.2213 ));
CreatePickup(410, Vector(-830.158, 741.534, 11.2885 ));
CreatePickup(410, Vector(-906.182, 799.715, 11.4546 ));
CreatePickup(410, Vector(-854.047, 85 11.3846 ));
CreatePickup(410, Vector(-754.53, 1342.74, 11.767 ));
CreatePickup(410, Vector(472.16, 1009.2, 19.1493 ));
CreatePickup(410, Vector(423.496, 1039.0 18.9648 ));
CreatePickup(410, Vector(364.464, 1075.12, 19.0649 ));
CreatePickup(410, Vector(470.443, 1208.18, 19.0094 ));
CreateObject(410, Vector(394.757, -504.813, 9.39561),255)
}
Title: Re: iwant places id
Post by: Thijn on Nov 03, 2015, 05:47 PM
Locked.
If I see you making other topics asking about basic syntax errors I'm going to remove it without warning.
The error gives you a line number and even the column position (Which is the position counted from the left, if you didn't know...), how easy can an error be?
If you keep getting these errors and you can't seem to fix it yourself you should stick to playing and never touch a programming language again unless your brain has developed a bit.