Author Topic: GUPS 1.17  (Read 46959 times)

0 Members and 1 Guest are viewing this topic.

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: GUPS 1.17
« Reply #45 on: April 30, 2013, 03:21:29 pm »
You can not give yourself your own money.
he say...
if in the game example my name is aledark and you tamas i put
!givecash money playerid or !givecash playerid money i not remember how is you.command but not send money to any player same unknown player and if give cash some times give to my self...
this bug is (the bad define of tmp tmp2 but i know how fixed.... i put latet here... because i connected in my cellphone...
another bug is the ban or banip give crash to all some times and if restart the server continue...
......
i think if you "update" the server need fixed many bugs
note: great you invalidnick in command register but the \ not is in the stock you need put \\ for prevent crash whit ale\dark
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: GUPS 1.17
« Reply #46 on: May 01, 2013, 10:46:13 am »
I don't see any problems here, tested it and all went fine.
Edit: else if ( strcmp( cmd, "banip", true ) == 0 ) // No banip function in the current pawno release, so we must wait

The comment is there for a reason.

note: great you invalidnick in command register but the \ not is in the stock you need put \\ for prevent crash whit ale\dark

[pawn]      strfind( player, "\47", true ) != -1 ||
      strfind( player, ":", true ) != -1 ||
      strfind( player, "?", true ) != -1 ||
      strfind( player, "*", true ) != -1 ||
      strfind( player, "|", true ) != -1 ||
      strfind( player, ">", true ) != -1 ||
      strfind( player, "<", true ) != -1 ||
      strfind( player, "\92", true ) != -1 ||
      strfind( player, "\34", true ) != -1 )[/pawn]

http://www.asciitable.com/index/asciifull.gif
Did you even check this function?
Please inform yourself next time you find "another bug"
Just to clear things out "/" and "\" IS there.
« Last Edit: May 01, 2013, 11:07:43 am by Tamas »

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: GUPS 1.17
« Reply #47 on: May 01, 2013, 03:24:17 pm »
missing ¿¡£€$¥§#%&+":;
in my server another day enter a stupid whit #%ERRORNAME%# AND CRASH MY SERVER  :-(
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: GUPS 1.17
« Reply #48 on: May 01, 2013, 05:16:12 pm »
I don't think that will cause any problems. I did register such a nick to test this out, nothing really happened.

http://i.imgur.com/KldwCIc.jpg

Offline stormeus

  • VC:MP Developer
  • VC:MP Veteran
  • *
  • Posts: 1122
    • View Profile
Re: GUPS 1.17
« Reply #49 on: May 01, 2013, 11:05:43 pm »
missing ¿¡£€$¥§#%&+":;

VC:MP doesn't even allow half of those symbols to be used, and translates them into underscores...
Do not PM me for support.




Offline Jayanth

  • Street Thug
  • *
  • Posts: 1
    • View Profile
Re: GUPS 1.17
« Reply #50 on: September 06, 2013, 06:34:26 pm »
link broken pls fix it


PM me for any signature

Click here to open Server forum

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: GUPS 1.17
« Reply #51 on: February 21, 2014, 11:24:26 pm »
GUPS . Fixing Getcar Bug And Without Hidding Place When You Exit From Vehicle!

Such Place sWe Get Inside In VCMP

If We Add

removeplayerfromvehicle
setvehicletorespawn

getcar will be fixed but give some bugs behind

when you get into a place with a vehicle . and exit that place texture will disappear

. here is a solution!

Code: [Select]
new VehicleCMD;
in onplayerexitvehicle

Code: [Select]
if(VehicleCMD == 1) {
RemovePlayerFromVehicle(playerid);
SetVehicleToRespawn(vehicleid);
}


Setting it manually!

Code: [Select]
else if (strcmp(cmd, "vehiclecmd", true) == 0) {
tmp = strtok(cmdtext, idx);
if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
else if(!IsPlayerCommandLevel(playerid,cmd)) SendClientMessage(playerid, COLOR_RED, "You don't have access to use this command!");
else if (!strlen(tmp)) SendClientMessage(playerid,COLOR_GREEN,"USAGE: /c vehiclecmd [on/off]");
else {
if(strcmp(tmp, "on", true) == 0) {
VehicleCMD = 1;

dini_Set("/Configuration/Server.ini","VehicleCMD", "1");

SendClientMessage(playerid,COLOR_GREEN,"Vehicle Commanding Is Active");
}
else if(strcmp(tmp, "off", true) == 0) {
VehicleCMD = 0;

dini_Set("/Configuration/Server.ini","VehicleCMD", "0");

SendClientMessage(playerid,COLOR_GREEN,"Vehicle Commanding Is InActive");
}
else SendClientMessage(playerid,COLOR_GREEN,"Syntax Error! USAGE: /c vehiclecmd [on/off]");
}
return 1;
}

Code: [Select]
public SetServerConfiguration()
{
new hour[100],minute[100],phandling[100],flyingcars[100],vehiclecmd[100],driveby[100],fastswitch[100],jumpswitch[100],friendlyfire[100],playermarkers[100],dfhelikill[100],dfordriveby[100];
new cpcont[3][128],clcont[3][128],pspcont[3][128];
format(file, sizeof(file), "/Configuration/Server.ini", "Server");
hour = dini_Get(file, "Hour");
minute = dini_Get(file, "Minute");
phandling = dini_Get(file, "PerfectHandling");
flyingcars = dini_Get(file, "Flyingcars");
driveby = dini_Get(file, "Driveby");
fastswitch = dini_Get(file, "FastSwitch");
jumpswitch = dini_Get(file, "Jumpswitch");
friendlyfire = dini_Get(file, "FriendFire");
playermarkers = dini_Get(file, "ShowPlayerMarkers");
dfhelikill = dini_Get(file, "Drownforhelikill");
dfordriveby = dini_Get(file, "Drownfordriveby");
vehiclecmd = dini_Get(file, "VehicleCMD"); // getting vehicle status

split(dini_Get("/Configuration/Server.ini","CameraPos"), cpcont, ' ');
SetCameraPos(floatstr(cpcont[0]),floatstr(cpcont[1]),floatstr(cpcont[2]));

split(dini_Get("/Configuration/Server.ini","CameraLook"), clcont, ' ');
SetCameraLookAt(floatstr(clcont[0]),floatstr(clcont[1]),floatstr(clcont[2]));

split(dini_Get("/Configuration/Server.ini","PlayerStartPos"), pspcont, ' ');
SetPlayerStartPos(floatstr(pspcont[0]),floatstr(pspcont[1]),floatstr(pspcont[2]));

SetWorldTime(strval(hour),strval(minute));
ServerInfo[0][Drownforhelikill] = StrToInt(dfhelikill);
ServerInfo[0][Drownfordriveby] = StrToInt(dfordriveby);
ShowPlayerMarkers(StrToInt(playermarkers));

if (StrToInt(friendlyfire) == 1) SetPlayerFriendlyFire(true);
if (StrToInt(friendlyfire) == 0) SetPlayerFriendlyFire(false);
if (StrToInt(phandling) == 1) PerfectHandling(1);
if (StrToInt(flyingcars) == 1) Flyingcars(1);
if (StrToInt(driveby) == 1) DisableDriveby(255,1);
if (StrToInt(fastswitch) == 1) FastSwitch(1);
if (StrToInt(jumpswitch) == 1) Jumpswitch(1);
if(StrToInt(vehiclecmd) == 1) VehicleCMD = 1; // this is it
}

with this an admin can manually set setvehicletorespawn , removeplayerfromvehicle/ to on or off. to prevent that bug of such places

+

tamas you fixed many bugs whit this version?
i think... because gups 1.16
1 not have antinick.crassher
2 register system and login system is bugged
3 setmoney not have level in commands.ini
and only set the money not increase
4 the property system show the same to all example if i put.pickup of guns say name owner...5 the property.heal system not work
6 some locations not working well
7  if use !cash tamas showme my own cash
8 bank system bugged if use !deposit 11512383838393  and not have money in hand give to you. money....(this is a pawn failed) many scripts
9 cars not changed.... need update of location of vehicles
10 not close the doors whit !lockcar
11 if i added a prop need restart again and again.. for showme the pickup...
12 i forget more bugs....
i am online in my cellphone. so only i think you need give more details...
if you not understand my english not is my problem xD

aledark this can be fix . by a filtering system of pickups and props

means if model id 407, 406 it will goes to prop
if all others that will be pickups
« Last Edit: February 22, 2014, 01:41:02 am by mrockxkingbutt »
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: GUPS 1.17
« Reply #52 on: February 22, 2014, 01:31:20 am »
OFF: We should mark the 21.feb.2014 date because mrockxkingbutt started to write normal !
Do not take it personally, but if you will write like normal people, we will take you more seriously. ;)

By the way, use Edit button in cases like this one, instead of double-posting.

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: GUPS 1.17
« Reply #53 on: February 22, 2014, 01:40:13 am »
To Fix Prop System That Will Be Compatable With Pickups

I Recommand This.  Follow The Steps CareFUlly!

This!

Quote
public OnPickedUp(pickupid, playerid)
{ // here is your all pickups and ids you uses
if(pickupid ==1) {
//blalala  // put a new code of prop here . gups
}
else {
   new szMsg[ 128 ];
   
   if ( strcmp( PickupInfo[ pickupid ][ pOwner ], "none", true ) == 0)
 {
      format( szMsg, sizeof( szMsg ), "ID:[ %d ] Name:[ %s ] Cost:[ $%d ]", pickupid, PickupInfo[ pickupid ][ pName ], PickupInfo[ pickupid ][ pPrice ] );
      SendClientMessage( playerid, COLOR_GREEN, szMsg );
   }
   if ( strcmp( PickupInfo[ pickupid ][ pShare ], "none", true ) == 0 )
   {
      format( szMsg, sizeof( szMsg ), "ID:[ %d ] Name:[ %s ] Owner:[ %s ]", pickupid, PickupInfo[ pickupid ][ pName ], PickupInfo[ pickupid ][ pOwner ] );
      SendClientMessage( playerid, COLOR_GREEN, szMsg );
   }
   else
   {
      format( szMsg, sizeof( szMsg ), "ID:[ %d ] Name:[ %s ] Owner:[ %s ] Shared:[ %s ]", pickupid, PickupInfo[ pickupid ][ pName ], PickupInfo[ pickupid ][ pOwner ], PickupInfo[ pickupid ][ pShare ] );
      SendClientMessage( playerid, COLOR_GREEN, szMsg );
 }   
   }
return 1;
}

remember if your pickup ids are upto 70. you should goto prop pickups file. pickups.ini
add set its id to 71,72,73 and more then it will working fine!

thats all!

also. ++

Add This In OnPlayerEnterVehicle

Quote
new szMsg[123];
               new id, Float:hpp;
               id = GetPlayerVehicleID( playerid );
               GetVehicleHealth( GetPlayerVehicleID( playerid ), hpp );
               hpp = ( hpp / 1000.00 ) * 100;

            format( szMsg, sizeof( szMsg ), "ID:[ %d ] Name:[ %s ] Health:[ %.0f% ] Owner:[ %s ] Share:[ %s ] Price:[ $%d ]", id, VehicleInfo[ id ][ Name ], hp, VehicleInfo[ id ][ Owner ], VehicleInfo[ id ][ Share ], VehicleInfo[ id ][ Price ] );
            SendClientMessage( playerid, COLOR_GREEN, szMsg );

to let peoples know the vehicle Informations!

as i see in gups new version dont have onplayernetervehicle and exit .. so you need to add them!
« Last Edit: February 22, 2014, 02:19:28 am by mrockxkingbutt »
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: GUPS 1.17
« Reply #54 on: February 23, 2014, 02:09:41 pm »
Please Can You Tell How To Know What Is Our Server IP?????????

First!
Small Your Writting We Are Not Blind/ Weak EyeSight. //

Use www.whatismyip.com

copy ip from there. paste it like this Ip:port

ex . 192.314.25.321:5194

after having port forward!

here u go!
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline Omair

  • Street Thug
  • *
  • Posts: 26
    • View Profile
Re: GUPS 1.17
« Reply #55 on: February 23, 2014, 04:17:02 pm »
i did but it says retriving info i tried this for 1 hour while vcmp-svr was running

Offline dynavolt71

  • Crime Boss
  • ****
  • Posts: 371
    • View Profile
    • My Blog
Re: GUPS 1.17
« Reply #56 on: February 23, 2014, 04:41:33 pm »
Please Can You Tell How To Know What Is Our Server IP?????????
127.0.0.1:5192 it is local host
+do not set your font to 64 or more
[PAWNO]Fix Error " Failed to set data for "" " - http://forum.vicecitymultiplayer.com/index.php?topic=5743.0



:'(

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: GUPS 1.17
« Reply #57 on: February 24, 2014, 07:53:17 am »
Please Can You Tell How To Know What Is Our Server IP?????????
127.0.0.1:5192 it is local host
+do not set your font to 64 or more

absolutely!
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline Omair

  • Street Thug
  • *
  • Posts: 26
    • View Profile
Re: GUPS 1.17
« Reply #58 on: February 25, 2014, 04:52:11 pm »
Guys do we have to port forward first before playing in our own server? Is it MUST

Offline Omair

  • Street Thug
  • *
  • Posts: 26
    • View Profile
Re: GUPS 1.17
« Reply #59 on: February 25, 2014, 04:55:15 pm »
Yes i know how to add more vehicles into the server
Just go to scriptfiles\Vehicles\list.ini and add vehicles of your own desire