Need help with the Latest Streamer
#1

I need help with the latest streamer.
When I try to compile I get these errors

pawn Код:
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(156) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(382) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(404) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(406) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\gamemodes\x-rp.pwn(16704) : warning 217: loose indentation
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\gamemodes\x-rp.pwn(16705) : warning 217: loose indentation
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\gamemodes\x-rp.pwn(65644) : warning 225: unreachable code
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Reply
#2

Get the latest 0.3e includes from the server package, that's probably the reason.

The other errors (loose indention + unreachable code) you must show us, unreachable code is usually because you returned a value while you did something after it.

So, like this would be bad:

pawn Код:
// Unreachable code, bad
return 1;
value = 1;

// Good:

value = 1;
return 1;

// Loose indention, bad
if(blabla == 1)
{
value = 1; //Loose indention here

// Good;
if(blabla == 1)
{
    value = 1;
Reply
#3

Now this remains:

pawn Код:
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(156) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(382) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(404) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(406) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Reply
#4

Did you actually get the latest 0.3e includes and put them in the same folder the streamer.inc is in?

If not, do it.

Those errors are functions from the new 0.3e update, therefore it seems most likely you need the newest includes.
Reply
#5

Yo man thanks I owe you one!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)