• 02 Mai 2025, 13:58:56


Voir les contributions

Cette section vous permet de consulter les contributions (messages, sujets et fichiers joints) d'un utilisateur. Vous ne pourrez voir que les contributions des zones auxquelles vous avez accès.


Messages - sheppertizer

Pages: [1] 2
1
Scripting SA-MP [Pawn center] / Re : Compil Problem 03 rc6
« le: 26 Septembre 2009, 08:56:42 »
tkt pas ^^ je cherche en attendant avec un amis qui a un server et code un peut aussi sa lui fait la meme chose.

dailleur je pense que 03 est pour tres bientot enfin j espere car 16 slots c un peut embetant

2
Discussions générales / Re : Vos tronches!
« le: 26 Septembre 2009, 02:48:42 »
Bon je pose la miene alors xd


3
Scripting SA-MP [Pawn center] / Re : Compil Problem 03 rc6
« le: 26 Septembre 2009, 02:31:11 »
Je ne vais pas faire un auter fil pour un probleme sur rc3

Donc voila tout ce compiler nikel comme je lai dit un peut plus haut

le probleme est que maintenant j ai rajouter 4 bot taxi mais il se font ejecter du server au bout de 5 sec

Server logs

[02:21:25] Incoming connection: 127.0.0.1:35171
[02:21:25] [npc:join] Taxib_Sum has joined the server (0:127.0.0.1)
[02:21:25] Incoming connection: 127.0.0.1:34115
[02:21:25] [npc:join] Taxic_Sum has joined the server (2:127.0.0.1)
[02:21:25] Incoming connection: 127.0.0.1:48052
[02:21:25] [npc:join] Taxia_Sum has joined the server (1:127.0.0.1)
[02:21:25] Incoming connection: 127.0.0.1:54895
[02:21:25] [npc:join] Taxid_Sum has joined the server (3:127.0.0.1)
[02:21:29] [npc:part] Taxib_Sum has left the server (0:2)
[02:21:29] [npc:part] Taxia_Sum has left the server (1:2)
[02:21:29] [npc:part] Taxic_Sum has left the server (2:2)
[02:21:29] [npc:part] Taxid_Sum has left the server (3:2)

j ai mis mes bots comme ceci:

new Taxia_Sum;
new Taxib_Sum;
new Taxic_Sum;
new Taxid_Sum;

public OnGameModeInit()
{

// NPCS
ConnectNPC("Taxia_Sum","RPTaxi");
ConnectNPC("Taxib_Sum","RPTaxi2");
ConnectNPC("Taxic_Sum","RPTaxi3");
ConnectNPC("Taxid_Sum","RPTaxi4");


Taxia_Sum = AddStaticVehicle(420,2044.8854,1473.2106,10.4494,181.3339,6,1);
Taxib_Sum = AddStaticVehicle(420,2064.8854,1473.2106,10.4494,181.3339,6,1);
Taxic_Sum = AddStaticVehicle(420,2084.8854,1473.2106,10.4494,181.3339,6,1);
Taxid_Sum = AddStaticVehicle(420,2104.8854,1473.2106,10.4494,181.3339,6,1);
return 1;
}

public OnPlayerSpawn(playerid)
{
    if(!IsPlayerNPC(playerid)) return 0;

new playername[64];
GetPlayerName(playerid,playername,64);

  if(!strcmp(playername,"Taxia_Sum",true)) {
        PutPlayerInVehicle(playerid, Taxia_Sum, 0);
        SetSpawnInfo( playerid, 0, 255, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
        ShowPlayerMarkers(0);
}
else if(!strcmp(playername,"Taxib_Sum",true)) {
PutPlayerInVehicle(playerid, Taxib_Sum, 0);
SetSpawnInfo( playerid, 0, 255, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
ShowPlayerMarkers(0);
}
else if(!strcmp(playername,"Taxic_Sum",true)) {
   PutPlayerInVehicle(playerid, Taxic_Sum, 0);
   SetSpawnInfo( playerid, 0, 255, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
   ShowPlayerMarkers(0);
}
else if(!strcmp(playername,"Taxid_Sum",true)) {
PutPlayerInVehicle(playerid, Taxid_Sum, 0);
SetSpawnInfo( playerid, 0, 255, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
ShowPlayerMarkers(0);
}
    return 1;
}

Donc je leur est bien mis un nom rp

les poin rec son bien en place

j ai desactive mon anticheat
le kick pour le ping 0< est desactive

je ne voit plus ce que cela peut etre

une idee ?


4
Scripting SA-MP [Pawn center] / Re : Re : Compil Problem 03 rc6
« le: 26 Septembre 2009, 00:03:25 »


EDIT : Woow comment on est partit en Hors Sujet :S.



Ouaip c est sur en tout qua c est agreable de surf sur un forum comme celui si dans le sens ou les gens sont pres a aider

a simpatiser et surtout a apporter une evolution a toutes les personnes qui ont des probleme pour leur projets

en tout cas Syg* ton boulot a l air d etres interessant ^^

5
Scripting SA-MP [Pawn center] / Re : Compil Problem 03 rc6
« le: 25 Septembre 2009, 10:59:46 »
mdr c est bien ce que je me disai xd

6
Scripting SA-MP [Pawn center] / Re : Re : Compil Problem 03 rc6
« le: 25 Septembre 2009, 05:24:22 »

sinon petite question hors sujet:
quel genre de programme code tu au grand maître du script?


Moi grand codeur xd Je suis un peut touche a tout mais penche pas mal sur le vb qui est asser simple et simpa

7
Showroom SA:MP / Re : [FS] SMod - Sauvegarde des mods
« le: 24 Septembre 2009, 22:16:37 »
bonsoir

donc le fs marche nikel mais les paintjob ne sont pas sav pour moi est ce qu il y a des gens a qui sa fait la meme chose?

peut etre que mon mode le bloc


8
Scripting SA-MP [Pawn center] / Re : Compil Problem 03 rc6
« le: 24 Septembre 2009, 18:09:23 »
franchement je pense que si tout les bon codeurs de GTA Online se mete sur un gros projet de faire un

mode complet cela pourai donner que du bonheur^^

et pourquoi pas qui c est le faire tourner ^^


9
Scripting SA-MP [Pawn center] / Re : Compil Problem 03 rc6
« le: 24 Septembre 2009, 17:02:28 »
franchement merci le mod est nikel sous 03 encore quelque souci niveau des bot

car il se font kicker au demarage du server mais sinon il a lair de fonctioner nikel

pas eu le temps encore de tout tester mais franchement merci =)

ps sasuke je trouve tes code pas mal tkt pas ^^

10
Scripting SA-MP [Pawn center] / Re : Compil Problem 03 rc6
« le: 24 Septembre 2009, 03:10:24 »
oki good nikel plus d erreurs grace a toi franchement tu gere gaver bien je c est pas

si sa fait longtemp que tu code mais en tout cas gg et bonne continuation ^^

11
Scripting SA-MP [Pawn center] / Compil Problem 03 rc6
« le: 23 Septembre 2009, 23:23:24 »
Bonsoir a tous

Etant donner que samp 0.3 arrive bientot je voudrais prensre un peu d avence sur mon GM

pouvant teste mon server sous  03 RC6 j ai voulu compiler mon mode pour voir si j amais il y avait beacoup de modif a faire

donc l histoire est simple quand je compiler sous 02 nikel aucun souchi comme on dit

par contre sous 03 rc6 j ai 16 erreur qui arrive:

if(strcmp(cmd,"/unban",true)==0)
{
if (PlayerInfo[playerid][pAdmin] < 4)
{
SendClientMessage(playerid, COLOR_GREY, "You are not authorized to unban");
return 1;
}
new unbanname[64];
unbanname = strtok(cmdtext,idx);   <==== /*ici*/
if(!strlen(unbanname))
{
SendClientMessage(playerid,COLOR_GRAD1,"USAGE: /unban [fullName]");
return 1;
}
//new sql[256];
format(sql, sizeof(sql), "SELECT id FROM players WHERE Name='%s'", unbanname);
printf("%s", sql);
samp_mysql_query(sql);
//if (DEBUG) SQLLog(sql);
samp_mysql_store_result();


if(strcmp(cmd, "/famput", true) == 0)
{
new fam = PlayerInfo[playerid][pFMember];
GetPlayerName(playerid, playername, sizeof(playername));
if (fam >= MAX_FAMILY)
   {
   SendClientMessage(playerid, COLOR_GREY, "You are not in the family!");
   return 1;
   }
if (!PlayerToPoint(2.0, playerid, FamilyInfo[fam][FamilyExt][0], FamilyInfo[fam][FamilyExt][1], FamilyInfo[fam][FamilyExt][2]))
   {
   SendClientMessage(playerid, COLOR_GREY, "You are not at your family turf");
   return 1;
   }
new subcmd[MAX_PLAYER_NAME];
subcmd = strtok(cmdtext,idx);  <==== /*here*/
if (!strlen(subcmd))
   {
   SendClientMessage(playerid, COLOR_GREY, "USAGE: /famput [money|mats|drugs] [amount]");
   return 1;
   }
tmp = strtok(cmdtext,idx);

C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(12723) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(14374) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(14466) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(14549) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(38487) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(38774) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(38828) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(38965) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(38998) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(39063) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(39671) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(39681) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(39793) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(39813) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(39820) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrateur\Bureau\preparation 03\sarp.pwn(39881) : error 047: array sizes do not match, or destination array is too small

les erreurs revienne toujour a cette ligne subcmd = strtok(cmdtext,idx);

si quelqu un a une idee


12
Showroom SA:MP / Re : [FS] SMod - Sauvegarde des mods
« le: 22 Septembre 2009, 22:13:07 »
Franchement gg sa fait 4 jour que j essaye de faire un systheme identique et je n y arriver pas

Je n avais pas vu ton fs aven ce soir et serieu gros gg a toi

dire que je m embete pour rien depuis quelque jour

Merci  :D :D :D

13
Scripting SA-MP [Pawn center] / Re : Systheme de tuning probleme
« le: 21 Septembre 2009, 21:00:36 »
non ce n est pas le systheme de taxi

c est un vieu code que j ai denicher du site samp

source



le systheme de taxi je l ai essayé mais il ne me sauvegarde rien il creer juste un fichier avec le nom de la personne et il y a 2 "0" dedans

14
Scripting SA-MP [Pawn center] / Re : Systheme de tuning probleme
« le: 21 Septembre 2009, 20:10:24 »
oki merci du coup de main car c est pas evident de scripter quelque chose qui marche sans buguer le reste.

il n y as pas beaucoup de FS capable de tuner une voiture inGame et de la sav pui de la load auto

j en ai assayer 2 ou 3 mais aucun ne fonctione

ps: hier sur le systheme de vie j ai coriger l ereur pour l id 0 il fonctione bien donc puis je le metre en FS dans le showroom ?

++

15
Scripting SA-MP [Pawn center] / Systheme de tuning probleme
« le: 21 Septembre 2009, 08:11:55 »
Me re voila ^^

Pour cette fois je suis bloquer sur un bout de code , je m explique

J ai creer un systheme de sauvegarde de tuning jusque la tout va bien tout se sav sans probleme
parcontre je n arrive pas a load les sav quand je demare le server les voiture reste d origine
Mon script fonctione comme sa:

je monte dans la voiture
je la tune
je la sav (le fichier scriptfile se creer sous cette forme "%s.t.txt" exemple==> Toni_parker.t.txt

dans mon fs pour load j ai mi sa

#define V_FILE_LOAD "%s.t.txt"
public OnGameModeInit()
{
LoadVehicles();
return 1;
}

stock LoadVehicles()
{
if(fexist(V_FILE_LOAD))
     {
        new SplitDiv[99][V_LIMIT];
new filestring[256];
new File: file = fopen(V_FILE_LOAD, io_read);
}
}

rien ne charge le voiture reste normale

quelqu un a une petite idee ?

Pages: [1] 2