Pawno-Compiler crashes
#1

When I want to compile my script the Pawno-Compiler crashes (only at this Script)
Here the script (© by tAxI - currently in change by me)
http://files.virtualmarctek.de/downl...=250tAxIFR.pwn
Reply
#2

It means a problem in the script, Useually multiple problems
Reply
#3

yes but i don't know where, so i can't fix it by myself
Reply
#4

Quote:
Originally Posted by virtualmarc
yes but i don't know where, so i can't fix it by myself
Unless you know every change you have made since it last compiled okay then you have no chance of fixing it
Reply
#5

i tried to make everything back since the last compile, but it doesnt made any change (but i remember now that i habe an backup on my dedicated-server)
Edit: Backup worked now I get 3 errors:
pawn Код:
C:\Dokumente und Einstellungen\Marc\Desktop\tAxIFR[GM]\tAxIFR[GM]\gamemodes\source\tAxIFR.pwn(2618) : error 025: function heading differs from prototype
C:\Dokumente und Einstellungen\Marc\Desktop\tAxIFR[GM]\tAxIFR[GM]\gamemodes\source\tAxIFR.pwn(2624) : error 025: function heading differs from prototype
C:\Dokumente und Einstellungen\Marc\Desktop\tAxIFR[GM]\tAxIFR[GM]\gamemodes\source\tAxIFR.pwn(2630) : error 025: function heading differs from prototype
Reply
#6

Quote:
Originally Posted by virtualmarc
i tried to make everything back since the last compile, but it doesnt made any change (but i remember now that i habe an backup on my dedicated-server)
Edit: Backup worked now I get 3 errors:
pawn Код:
C:\Dokumente und Einstellungen\Marc\Desktop\tAxIFR[GM]\tAxIFR[GM]\gamemodes\source\tAxIFR.pwn(2618) : error 025: function heading differs from prototype
C:\Dokumente und Einstellungen\Marc\Desktop\tAxIFR[GM]\tAxIFR[GM]\gamemodes\source\tAxIFR.pwn(2624) : error 025: function heading differs from prototype
C:\Dokumente und Einstellungen\Marc\Desktop\tAxIFR[GM]\tAxIFR[GM]\gamemodes\source\tAxIFR.pwn(2630) : error 025: function heading differs from prototype
I think its because OnVehicleRespray, OnVehiclePaintJob and OnVehicleMod have changed because they include the player id
Reply
#7

Quote:
Originally Posted by JeNkStAX
Quote:
Originally Posted by virtualmarc
i tried to make everything back since the last compile, but it doesnt made any change (but i remember now that i habe an backup on my dedicated-server)
Edit: Backup worked now I get 3 errors:
pawn Код:
C:\Dokumente und Einstellungen\Marc\Desktop\tAxIFR[GM]\tAxIFR[GM]\gamemodes\source\tAxIFR.pwn(2618) : error 025: function heading differs from prototype
C:\Dokumente und Einstellungen\Marc\Desktop\tAxIFR[GM]\tAxIFR[GM]\gamemodes\source\tAxIFR.pwn(2624) : error 025: function heading differs from prototype
C:\Dokumente und Einstellungen\Marc\Desktop\tAxIFR[GM]\tAxIFR[GM]\gamemodes\source\tAxIFR.pwn(2630) : error 025: function heading differs from prototype
I think its because OnVehicleRespray, OnVehiclePaintJob and OnVehicleMod have changed because they include the player id
i have no playerid inside:
pawn Код:
public OnVehicleMod(vehicleid,componentid)
{
    SaveComponent(vehicleid,componentid);
    return 1;
}

public OnVehiclePaintjob(vehicleid,paintjobid)
{
  SavePaintjob(vehicleid,paintjobid);
  return 1;
}

public OnVehicleRespray(vehicleid,color1,color2)
{
  SaveColors(vehicleid,color1,color2);
  return 1;
}
Reply
#8

All you need to do is add playerid before, here ill do it for you
pawn Код:
public OnVehicleMod(playerid,vehicleid,componentid)
{
  SaveComponent(vehicleid,componentid);
  return 1;
}

public OnVehiclePaintjob(playerid,vehicleid,paintjobid)
{
  SavePaintjob(vehicleid,paintjobid);
  return 1;
}

public OnVehicleRespray(playerid,vehicleid,color1,color2)
{
 SaveColors(vehicleid,color1,color2);
  return 1;
}
Reply
#9

Quote:
Originally Posted by JeNkStAX
All you need to do is add playerid before, here ill do it for you
pawn Код:
public OnVehicleMod(playerid,vehicleid,componentid)
{
SaveComponent(vehicleid,componentid);
return 1;
}

public OnVehiclePaintjob(playerid,vehicleid,paintjobid)
{
  SavePaintjob(vehicleid,paintjobid);
  return 1;
}

public OnVehicleRespray(playerid,vehicleid,color1,color2)
{
 SaveColors(vehicleid,color1,color2);
  return 1;
}
oh i understand wrong thanks now i can compile and only have to fix the problem with the whirlpool hash
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)