Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: sseebbyy on October 13, 2012, 11:16:42 am

Title: What Happen ? Server not starts
Post by: sseebbyy on October 13, 2012, 11:16:42 am
Today I wanted to play on my "Zombie Invasion" but when I run the vcmp-svr.exe , I got error:
(Last time when I started it , ran >long time ago< )

(http://uploadimagini.ro/di/VWX1/zombieinvasion.jpg)

I tried and with the standard server (from www.vicecitymultiplayer.com) and I saw this:

Code: [Select]
Executing Server Config...
D:\Jocuri\Test\scriptfiles\

I can't really remember if before this appears in the console.
Anyway, another thing is ... In the directory of the standard server ( "Test" ) not exist an "scriptfiles" directory.

I heard about some changes on "announce.exe" and "vcmp-svr.exe" , can that affect my servers ?
Title: Re: What Happen ? Server not starts
Post by: stormeus on October 13, 2012, 05:53:05 pm
I heard about some changes on "announce.exe" and "vcmp-svr.exe" , can that affect my servers ?

You said you were using the standard server, so that's not the problem. The modified announce.exe and vcmp-svr.exe files are viruses. Do not use them.
Title: Re: What Happen ? Server not starts
Post by: sseebbyy on October 13, 2012, 07:27:50 pm
So ... let me understand:

At www.vicecitymultiplayer.com are viruses for download ?  ???

And about my server... do you know why my server not starts ?
last time when I wanted to start it , works.
(Last time was when I had another Windows. (XP too , but another type) )
Title: Re: What Happen ? Server not starts
Post by: stormeus on October 14, 2012, 06:57:39 pm
So ... let me understand:

At www.vicecitymultiplayer.com are viruses for download ?  ???

And about my server... do you know why my server not starts ?
last time when I wanted to start it , works.
(Last time was when I had another Windows. (XP too , but another type) )

The files on the homepage are fine. The files included in some scripts MIGHT have viruses.
Title: Re: What Happen ? Server not starts
Post by: dynavolt71 on October 15, 2012, 10:05:40 am
And about my server... do you know why my server not starts ?
last time when I wanted to start it , works.
(Last time was when I had another Windows. (XP too , but another type) )
you may need some anti virus to clean it and thats same like my PC very same ( My PC Many Virus :P)
and you may install Windows 7 its better.
Or You may do this fast :
1. redownload the *.exe* on http://www.vicecitymultiplayer.com/
2. Remove the *.exe* and replace the old with the new
3. pack it with winrar or a winzip
4. and run it (without extrack)
^Hope This work ^
Title: Re: What Happen ? Server not starts
Post by: sseebbyy on October 15, 2012, 01:58:50 pm
And about my server... do you know why my server not starts ?
last time when I wanted to start it , works.
(Last time was when I had another Windows. (XP too , but another type) )
you may need some anti virus to clean it and thats same like my PC very same ( My PC Many Virus :P)
and you may install Windows 7 its better.
Or You may do this fast :
1. redownload the *.exe* on http://www.vicecitymultiplayer.com/
2. Remove the *.exe* and replace the old with the new
3. pack it with winrar or a winzip
4. and run it (without extrack)
^Hope This work ^

I already tried this, not work.
I tried to open my romanian server, and works. So, is a problem from script.
Title: Re: What Happen ? Server not starts
Post by: Fuzzy168 on October 16, 2012, 05:50:54 am
Recently, I also went back scripting Pawn for awhile. When I start my server, it ran fine. Until I joined it. The same error showed up.

P.S:I downloaded from the homepage, installed it, scripted some stuff, then done.
Title: Re: What Happen ? Server not starts
Post by: dynavolt71 on October 16, 2012, 09:26:29 am
okay this the last :
Question :
1.do  you have backup the script ?
2. What you add before like that ?
Solution :
1.First  if you may relase some Version BACKUP first
2.and if you NOT have it you may delete some Cmds or a something on your script (Before Crash)
Sorry For MY BAD ENGLISH
Title: Re: What Happen ? Server not starts
Post by: sseebbyy on October 16, 2012, 09:58:07 am
okay this the last :
Question :
1.do  you have backup the script ?
2. What you add before like that ?
Solution :
1.First  if you may relase some Version BACKUP first
2.and if you NOT have it you may delete some Cmds or a something on your script (Before Crash)
Sorry For MY BAD ENGLISH

I have a backup, backup is archived cuse in past I wanted to host it, so that backup should works. (not now)
I tested it before host.

Anyway, I know I should take a look and into script :P

And thanx for your suggestions
Title: Re: What Happen ? Server not starts
Post by: dynavolt71 on October 16, 2012, 10:32:22 am
nope little help for a pro script  ;)
Title: Re: What Happen ? Server not starts
Post by: sseebbyy on October 20, 2012, 12:10:45 am
I found the problem of the script...
But is weird.

in a public made by me:

Code: [Select]
for(new v = 0; v < MAX_VEHICLES; v++) {
new Float:health;
GetVehicleHealth(v,health);
if(health < 400) {
LowVHP[v] = 1;
KillVehicleEngine(v);
EngineON[v] = 0;
}
}

and (OnGameModeInit):

Code: [Select]
for(new v = 0; v < MAX_VEHICLES; v++) {
Gas[v] = random(100);
new health = 400 + random(1000);
SetVehicleHealth(v,health);
}


Those parts of script are from begin. (aren't added in the last time, is from begin of server, so should work 100%)

What is wrong there?

Title: Re: What Happen ? Server not starts
Post by: dynavolt71 on October 20, 2012, 08:47:28 am
I found the problem of the script...
But is weird.

in a public made by me:

Code: [Select]
for(new v = 0; v < MAX_VEHICLES; v++) {
new Float:health;
GetVehicleHealth(v,health);
if(health < 400) {
LowVHP[v] = 1;
KillVehicleEngine(v);
EngineON[v] = 0;
}
}

and (OnGameModeInit):

Code: [Select]
for(new v = 0; v < MAX_VEHICLES; v++) {
Gas[v] = random(100);
new health = 400 + random(1000);
SetVehicleHealth(v,health);
}


Those parts of script are from begin. (aren't added in the last time, is from begin of server, so should work 100%)

What is wrong there?

its for ?
Title: Re: What Happen ? Server not starts
Post by: sseebbyy on November 06, 2012, 06:23:46 pm
Code: [Select]
for(new v = 0; v < MAX_VEHICLES; v++) {
new Float:health;
GetVehicleHealth(v,health);
if(health < 400) {
LowVHP[v] = 1;
KillVehicleEngine(v);
EngineON[v] = 0;
}
}

This is to check all vehicles' HP , and if a vehicle have less than 400 %o HP, to stop.

Code: [Select]
for(new v = 0; v < MAX_VEHICLES; v++) {
Gas[v] = random(100);
new health = 400 + random(1000);
SetVehicleHealth(v,health);
}

This is to put random percentage for all vehicles' Gas and Health.

Solved with help from Shadow.