• Welcome to Vice City Multiplayer.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - JohnKimble

#1
General Discussion / Suggestion's / Idea's
January 19, 2010, 03:26:33 PM
I have some suggestions and idea's for the next release/VC-MP.

1) Remove player going back to class selection after each time they died, instead make it so that a player can press F4 (or something..) like SA-MP and only if they pressed F4 make them go back to class selection after they died.

2) Fix the the server package, new.pwn etcetera.. it still includes <a_samp> and has SA-MP callbacks there ::)

3) Create a wiki.vicecitymultiplayer.com for pawn documentation and explanation of functions.

4) Make page up and down scroll the chat instead of F7 which just changes the chat position or I don't know whats up with that but it looks weird.

5) Remove "/c" from commands, instead of /c commandname just make it /commandname

Well I don't have anymore suggestions or idea's but anyways.. post your idea's here :)
#2
Support / Some bugs
January 19, 2010, 03:14:39 PM
1)

When using the 0.3rz2 client and leaving the game it crashes with an error message on Vista & Windows 7. Then after closing the VC-MP client it starts spamming "access violation" messages, I'm currently using this client as a fix.




2)

I've got this:

#define Command(%1) if(strcmp(cmd, %1, true) ==0)


public OnPlayerCommandText(playerid, cmdtext[])
{
new cmd[128], tmp[128], idx;
cmd = strtok(cmdtext, idx);

Command("test")
{
    SendClientMessage(playerid, COLOR_WHITE, "This is a test!");
    return 1;
}

Command("me")
{
    new tString[128];

    tmp = strtok(cmdtext, idx);

     if(!strlen(tmp))
         return SendClientMessage(playerid, COLOR_RED, "You did not supply a message!");

    format(tString, sizeof(tString), "* %s %s",PlayerName(playerid), tmp);
            SendClientMessageToAll(COLOR_PINK, tString);
    return 1;
}

return 1;
}


When typing /c test it outputs "This is a test!" in the color WHITE, after typing /c me (without params) it says "You did not supply a message!" in RED however it also turns "This is a test!" and my custom 'JohnKimble joined the server' message which is gray to RED, see:

Typing /c test:

http://files.uploadffs.com/d/c/5c09cda3/vcmp002.jpg

After typing /c me:

http://files.uploadffs.com/d/9/61e4926a/vcmp003.jpg




3)

I've got this:


public OnGameModeInit()
{
SetGameModeText(SERVER_MODE);

ShowPlayerMarkers(1);

AddPlayerClassEx(1,61,335.570099,-233.904694,29.646601,164.184799,0,0,17,500,21,500);
AddPlayerClassEx(2,56,-540.355713,806.634583,97.510399,222.869095,0,0,17,500,21,500);
AddPlayerClassEx(3,68,-1037.172729,80.577003,11.579200,87.457100,0,0,17,500,21,500);
AddPlayerClassEx(4,27,327.972198,-222.016098,35.881302,157.274796,0,0,17,500,21,500);
AddPlayerClassEx(5,14,-758.352966,-1584.810913,18.566093,332.000000,0,0,17,500,21,500);
AddPlayerClassEx(6,21,-746.899353,-1589.474365,18.566097,342.200012,0,0,18,70,27,360);
AddPlayerClassEx(7,28,-995.121887,185.130905,12.434000,5.948400,0,0,17,500,21,500);
AddPlayerClassEx(8,69,-1013.162109,-858.580383,17.954100,157.357300,0,0,17,500,21,500);
AddPlayerClassEx(9,93,-597.619446,653.861145,11.071777,13.400000,1,1,24,800,19,50);
AddPlayerClassEx(10,94,-539.271362,696.654358,11.084653,247.699997,1,1,24,800,19,50);
AddPlayerClassEx(11,43,80.921997,-1456.618530,11.606800,247.754898,0,0,17,500,21,500);
AddPlayerClassEx(12,57,63.919201,-1450.336914,10.565500,353.467896,0,0,17,500,21,500);
AddPlayerClassEx(13,49,72.817001,-1445.638916,11.312300,53.248798,0,0,17,500,21,500);
AddPlayerClassEx(14,6,-696.673706,941.201782,11.084600,217.990601,0,0,17,500,21,500);

SetCameraPos(-493.191803, 806.907104, 97.510437);
SetCameraLookAt(-493.191803, 806.607104, 97.510437);
SetPlayerStartPos(-493.775269, 800.124634, 97.510437);
return 1;
}


When joining the server it SOMETIMES takes me to the correct position where I put SetCameraPos and, other times it takes me to some random place (see screenshots above), when trying to spawn it doesn't work 80% of the time, when it does work it spawns me but I can not move. Maybe I missed something or maybe this is a Windows 7 bug? I'm not sure.




I'll report more bugs if I find them..