GTAOnline.net

San Andreas Multiplayer (sa:mp) => Scripting SA-MP [Pawn center] => Discussion démarrée par: Ludo43 le 18 Décembre 2010, 20:17:31

Titre: Problème streamer
Posté par: Ludo43 le 18 Décembre 2010, 20:17:31
Bonjour à tous,

Sachez qu'avant d'entrer sur ce forum, j'ai déjà effectuer beaucoup de recherche mais sans succès.

Je vous expose mon problème. Le problème a déjà été rencontré( http://under-web.mwik.com/t1186-Probleme.htm (http://under-web.mwik.com/t1186-Probleme.htm) ) et a été résolu.

Cependant, moi, j'ai fais tout ce qu'il fallait je crois, et je ne vois toujours pas les objets de loin !

Voici ce que j'ai fait:

    * J'ai téléchargé le streamer ici: http://forum.sa-mp.com/showthread.php?t=102865 (http://forum.sa-mp.com/showthread.php?t=102865)

    * J'ai créé un dossier plugins dans lequel j'ai mis: -streamer.dll  et -streamer.so

    * J'ai mis l'include streamer dans le dossier include du dossier Pawno

    * J'ai rajouté plugins streamer dans le serveur.cfg

    * J'ai rajouté en dessous des #include:    #include <streamer>

    * Tout en dessous des define, j'ai mis:

#define CreateObject CreateDynamicObject
#define MoveObject MoveDynamicObject

    * Je n'ai rien converti du tout, j'ai juste mis ces deux lignes

    * Ensuite, j'ai compilé mon GM mais 3 Warning sont survenus:

   1. C:\Users\Damien\Desktop\fatality\pawno\include\streamer.inc(261) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
   2. C:\Users\Damien\Desktop\fatality\pawno\include\streamer.inc(283) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
   3. C:\Users\Damien\Desktop\fatality\pawno\include\streamer.inc(305) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect")

    * J'ai démarré mon serveur,puis rien n'a changé, les objets sont invisibles de loin

Merci !

Cordialement,
Titre: Re : Problème streamer
Posté par: Jcvag44800 le 18 Décembre 2010, 20:42:45
Salut à toi.

Essaye le SimStream de Sim  8)
http://www.gtaonline.fr/forums/index.php?topic=6417.0 (http://www.gtaonline.fr/forums/index.php?topic=6417.0)

Bonne soirée
Titre: Re : Problème streamer
Posté par: Ludo43 le 18 Décembre 2010, 21:20:00
Ok j'essaye et je vous dit ça.
Titre: Re : Problème streamer
Posté par: Jcvag44800 le 18 Décembre 2010, 21:21:29
D'accord
Titre: Re : Problème streamer
Posté par: Jones le 18 Décembre 2010, 22:05:23
Sinon a tu mit les includes que tu utilise ? Style samp.inc et autre dans la bonne version? 0.3b/0.3c ?

Si non bas éssaie sa :)

++Jones++
Titre: Re : Problème streamer
Posté par: Ludo43 le 18 Décembre 2010, 22:55:25
Je dois le mettre en plus ou je dois enlever "streamer" ?

Double post
Voici l'erreur maintenant :

C:Userscedlu43DesktopRPRPRPpawnoincludeSimStream.inc(38) : error 017: undefined symbol "MaxObjects"
C:Userscedlu43DesktopRPRPRPpawnoincludeSimStream.inc(38) : warning 215: expression has no effect
C:Userscedlu43DesktopRPRPRPpawnoincludestreamer.inc(267) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
C:Userscedlu43DesktopRPRPRPpawnoincludestreamer.inc(289) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
C:Userscedlu43DesktopRPRPRPpawnoincludestreamer.inc(311) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect")
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


Double post
Problème résolu, cela refonctionne. Merci à tous.