PDA

View Full Version : [Include] [INC]Bug fixer v0.2.0(2009/07/27)


yezizhu
06/06/2009, 05:54 AM
[Bug fixer]


Description:
Bug fixer is to fix some PAWN-SAMP bugs.
Released version:0.2.0

[Bug fix list]



Function
Bug description


Fire death
Still "alive" if someone dies in fire.


GetPlayerMenu
If a player has closed a menu or it has been hidden for them
it will return the old menu id instead of INVALID_MENU


GetPlayerTeam
Always returns NO_TEAM (255)


IsPlayerInRaceCheckpoint
Variable isn't initiated until a checkpoint has been set
so it returns a undetermined value


IsPlayerInCheckpoint
Variable isn't initiated until a checkpoint has been set
so it returns a undetermined value


SetPlayerRaceCheckpoint
If a checkpoint is already set ,it will use the size of that checkpoint instead of the new one
Doesn't fix:If the checkpoint is set on a custom object or a non-solid surface it will show floating above the surface


SetPlayerCheckpoint
If a checkpoint is already set, it will use the size of that checkpoint instead of the new one
Doesn't fix:If the checkpoint is set on a custom object or a non-solid surface it will show floating above the surface


GetPlayerColor
Returns 0 unless SetPlayerColor has been used


GetPlayerWeaponData
If ammo bigger than 65534 or smalled than 0 will cause some problems


SetPlayerAmmo
Doesn't work


GetPlayerAmmo
Doesn't work.


GetWeaponName
Return null for ids 18, 44 and 45


GetPlayerInterior
When "gmx" is used and the player is reconnected it still gives the old interior id


SpawnPlayer
Doesn't work if the player is in a vehicle


floatstr
If you use a string longer than 50 (0-49) it crashes the pawn run-time


strval
If you use a string longer than 50 (0-49) it crashes the pawn run-time


strcmp
If one of the strings is empty but the other isn't,
it will return 0 (recognising them as being the same)


PlayerPlaySound
Useless of x,y,z


SetPlayerName
If you set to the same name but some letters are in a different case it doesn't work (eg "heLLO" to "hello")


GetVehicleTrailer
If the trailer becomes detached it still returns the trailer id instead of INVALID_VEHICLE_ID


AttachTrailerToVehicle
If the trailer is in a different virtual world to the vehicle all players will crash. (like when Gravity is set too high)
Note:It just prevent them from attaching when they're in different virtual world.



More info about bugs
Complete bug list (http://forum.sa-mp.com/index.php?topic=82288.0).



[Note]
You can (en/dis)able the bug fix by changing false|true(In the pwn file).
#define GCS_BF_FIREDEATH (true)//or (false)

If you're getting warnning 203,please add the function to current places.There're
public OnGameModeInit(){
gcs_bf_OnGameModeInit();
return true;
}
public OnPlayerConnect(playerid){
gcs_bf_OnPlayerConnect(playerid);
return true;
}

public OnPlayerDeath(playerid,killerid,reason){
gcs_bf_OnPlayerDeath(playerid);
return true;
}

public OnPlayerSelectedMenuRow(playerid,row){
gcs_bf_OnPlayerSelectedMenuRow(playerid);
return true;
}

public OnPlayerExitedMenu(playerid){
gcs_bf_OnPlayerExitedMenu(playerid);
return true;
}


[Download]
Bug fixer v0.2.0:gcs_bugfix.inc (http://forum.sa-mp.com/index.php?action=dlattach;topic=105546.0;attach=43 3)(Please renamed to gcs_bugfix.inc)
Note:
Error "Input line too long" has been fixed.
Thanks for reporting this bug(reported by fallout,[SU]BP13).

[Bugs]
-

If you find any bug in this include.
please post here or contact us.


- GCS Team

XeoN_13
06/06/2009, 05:56 AM
nice ;)

russiany
06/06/2009, 07:22 AM
great job :D

dice7
06/06/2009, 07:24 AM
PlayPlaySound will now play the sound on a specific location ?

yezizhu
06/06/2009, 07:41 AM
Quote:russiany,XeoN_13
Thanks^^.

=============================================


PlayPlaySound will now play the sound on a specific location ?


No,I just make it ignore specific location.
eg:

public OnPlayerSpawn(playerid){
PlayerPlaySound(playerid,1032);//no argument warnning now
return true;
}

Burridge
06/06/2009, 08:23 AM
Nice work. :O

Is this even possible? Does it work?

RenisiL
06/06/2009, 09:16 AM
how here use inculde

_Raven
06/06/2009, 09:25 AM
OMG, it what I needed.

Thanks!

Rks25
06/06/2009, 09:44 AM
Nice includee.

yezizhu
06/06/2009, 09:44 AM
quote XtreaMeR:
I won't release it if does't work lol.
Also,it may have bugs itself,I'll fix known bug if has been found
===================
quote RenisiL:
Download it from pastebin to ursampfile/pawno/include,then rename to "gcs_bugfix.inc".
And then add "include <gcs_bugfix>" on the top of ur script(s).
Lastly,compiler ur script(s)
All done^^

yezizhu
06/06/2009, 09:47 AM
quote [Schh]Blogroll,Toni_Miller:
Thanks^^

KeyWay
06/06/2009, 12:10 PM
I didnt get it, what it actually fix? Some InGame bugs or pawno bugs?

Luka P.
06/06/2009, 12:15 PM
Really nice, yezizhu!

Luka P.
06/06/2009, 12:46 PM
I didnt get it, what it actually fix? Some InGame bugs or pawno bugs?

is this game or scripting section ? (KeyWay- you are an idiot)


wow, nice include, useful for a lot of cases !

Luxeon



I didnt get it, what it actually fix? Some InGame bugs or pawno bugs?

is this game or scripting section ? (KeyWay- you are an idiot)


wow, nice include, useful for a lot of cases !

Luxeon


(kiss my ass thxbay)

Stop fighting! :mrgreen:

yezizhu
06/06/2009, 01:01 PM
quote KeyWay:
Fix pawno bugs,also effects while gaming(such as checkpoint bug)
===========================================
quote Luxeon,°Luka°
Thanks^^

I'll add more bug fix if finding great solutions(some bugs confuse me lol).

Vetle
07/06/2009, 09:14 PM
been looking for something like this, thanks :)

lavamike
09/06/2009, 12:27 AM
Could you include some more details at what it actually fixes for each thing besides, "fixed"

Backwardsman97
09/06/2009, 12:42 AM
Good job man. This is nice.

Vlaim
19/06/2009, 11:54 AM
Hi, Iīve downloaded the antimoney file and added it to my GameMode, but I got some Warnings and I donīt know how to fix this one :
C:\Users\andreas\Desktop\Server\GameModes\GM.pwn(8 572) : warning 219: local variable "playermoney" shadows a variable at a preceding level
can anybody help me please ????

yezizhu
19/06/2009, 02:31 PM
Hi, Iīve downloaded the antimoney file and added it to my GameMode, but I got some Warnings and I donīt know how to fix this one :
C:\Users\andreas\Desktop\Server\GameModes\GM.pwn(8 572) : warning 219: local variable "playermoney" shadows a variable at a preceding level
can anybody help me please ????



Sorry,are you replying on wrong topic?

yezizhu
22/06/2009, 12:38 AM
We've found a bug in the include.
If you're one of the user,please make FIX_GETPLAYERMENU as false.
New update will be out in weeks.

r:GCS Team

shindo
22/07/2009, 02:32 AM
Nice work.
I'll use it on my server. :o

ғαιιοцт
22/07/2009, 07:54 AM
I wanted to use this include because I read:
GetPlayerAmmo - (Fixed)
but it doesn't seem to be fixed (I can't find it in the inlcude, only GivePlayerAmmo is fixed)

yezizhu
22/07/2009, 08:28 AM
I wanted to use this include because I read:
GetPlayerAmmo - (Fixed)
but it doesn't seem to be fixed (I can't find it in the inlcude, only GivePlayerAmmo is fixed)

My fail, haven't noticed before : (
Thx for reporting error/bug.
New update will be out latter(We're working on it).

r:GCS Team

ғαιιοцт
22/07/2009, 08:32 AM
ok, thank you ;)

yezizhu
27/07/2009, 12:07 PM
Updated:
Update to 0.2.0
Remove some useless info in source code.
Bug fix:
A new bug on GetPlayerMenu
A new bug on SpawnPlayer
GetPlayerAmmo marked as fix, but it haven't been fixed.
GetPlayerWeapon is a bug fix for GetPlayerWeaponData.
Add bugfix:
AttachTrailerToVehicle
GetVehicleTrailer
SetPlayerName
GetWeaponName

imgmail
27/07/2009, 04:35 PM
I need it, thanks!

yezizhu
27/07/2009, 04:56 PM
I need it, thanks!

The same to you : P

HACKHERS
27/07/2009, 06:40 PM
Wtf

E:\Server\pawno\include\gcs_bugfix.inc(433) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon(%1)")
E:\Server\pawno\include\gcs_bugfix.inc(664) : error 075: input line too long (after substitutions)
E:\Server\gamemodes\[GM]HACKHERS.pwn(325) : error 017: undefined symbol "gcs_bf_OnPlayerDisconnect"
E:\Server\gamemodes\[GM]HACKHERS.pwn(357) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(362) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(5990) : warning 203: symbol is never used: "gcs_bf_OnPlayerSelectedMenuRow"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

yezizhu
27/07/2009, 11:55 PM
E:\Server\pawno\include\gcs_bugfix.inc(433) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon(%1)")
E:\Server\pawno\include\gcs_bugfix.inc(664) : error 075: input line too long (after substitutions)
E:\Server\gamemodes\[GM]HACKHERS.pwn(325) : error 017: undefined symbol "gcs_bf_OnPlayerDisconnect"
E:\Server\gamemodes\[GM]HACKHERS.pwn(357) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(362) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(5990) : warning 203: symbol is never used: "gcs_bf_OnPlayerSelectedMenuRow"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.


I compile this without any w&e.
Plz tell me what includes you're using.
If is possible, post your gamemode source code in pastebin.
About erroe017,warnning203:
That's because you still use old version's function, you need to remove&add yourself
- yezizhu

HACKHERS
28/07/2009, 09:18 AM
I'm uSing JunkBuster Anti-Cheat .....

yezizhu
28/07/2009, 10:44 AM
I'm uSing JunkBuster Anti-Cheat .....

Try this code

#include <gcs_bugfix>//or the name of bug fixer
#define gcs_bf_givePlayerWeapon(%1) JB_GivePlayerWeapon(%1)
#include <junk_buster>//or the name of junk buster

It has an interference with junk buster, maybe affect the part of anti-weapon cheat.

ғαιιοцт
28/07/2009, 11:14 AM
or disable GivePlayeWeapon fix

HACKHERS
28/07/2009, 04:13 PM
or disable GivePlayeWeapon fix


E:\Server\pawno\include\gcs_bugfix.inc(664) : error 075: input line too long (after substitutions)
E:\Server\pawno\include\junkbuster.inc(2337) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon")
E:\Server\gamemodes\[GM]HACKHERS.pwn(328) : error 017: undefined symbol "gcs_bf_OnPlayerDisconnect"
E:\Server\gamemodes\[GM]HACKHERS.pwn(360) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(365) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(5993) : warning 203: symbol is never used: "gcs_bf_OnPlayerSelectedMenuRow"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

yezizhu
28/07/2009, 04:42 PM
2 errors.

What's the line 664 in gcs_bugfix.inc?
And look at my topic, it has solution on warnning 203.
Have you looked my code to avoid this issue?
If you wanna disable GetPlayerWeaponData fix, edit
#define GCS_BF_GETPLAYERWEAPONDATA (true) to (false)

SpiderPork
28/07/2009, 04:50 PM
So, you fixed SetPlayerAmmo :o?

yezizhu
28/07/2009, 05:16 PM
So, you fixed SetPlayerAmmo :o?

Yes, it uses another function to instead.

soueu
30/07/2009, 03:45 PM
or disable GivePlayeWeapon fix


E:\Server\pawno\include\gcs_bugfix.inc(664) : error 075: input line too long (after substitutions)
E:\Server\pawno\include\junkbuster.inc(2337) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon")
E:\Server\gamemodes\[GM]HACKHERS.pwn(328) : error 017: undefined symbol "gcs_bf_OnPlayerDisconnect"
E:\Server\gamemodes\[GM]HACKHERS.pwn(360) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(365) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(5993) : warning 203: symbol is never used: "gcs_bf_OnPlayerSelectedMenuRow"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.


You must change:
#define GCS_BF_GETPLAYERWEAPONDATA (true)

To:
#define GCS_BF_GETPLAYERWEAPONDATA (false)

HACKHERS
30/07/2009, 04:22 PM
E:\Server\pawno\include\gcs_bugfix.inc(247) : error 017: undefined symbol "MAX_PLAYERS"
E:\Server\pawno\include\gcs_bugfix.inc(272) : error 017: undefined symbol "MAX_PLAYERS"
E:\Server\pawno\include\gcs_bugfix.inc(312) : error 017: undefined symbol "MAX_PLAYERS"
E:\Server\pawno\include\gcs_bugfix.inc(319) : error 009: invalid array size (negative, zero or out of bounds)
E:\Server\pawno\include\gcs_bugfix.inc(323) : error 017: undefined symbol "SetPlayerRaceCheckpoint"
E:\Server\pawno\include\gcs_bugfix.inc(346) : error 017: undefined symbol "MAX_PLAYERS"
E:\Server\pawno\include\gcs_bugfix.inc(349) : error 009: invalid array size (negative, zero or out of bounds)
E:\Server\pawno\include\gcs_bugfix.inc(352) : error 017: undefined symbol "SetPlayerCheckpoint"
E:\Server\pawno\include\gcs_bugfix.inc(496) : error 017: undefined symbol "SpawnPlayer"
E:\Server\pawno\include\gcs_bugfix.inc(586) : error 070: rational number support was not enabled
E:\Server\pawno\include\gcs_bugfix.inc(586) : error 070: rational number support was not enabled
E:\Server\pawno\include\gcs_bugfix.inc(586) : error 070: rational number support was not enabled
E:\Server\pawno\include\gcs_bugfix.inc(586) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


13 Errors.

yezizhu
30/07/2009, 04:40 PM
That's really strange error :s
Try redownload gcs_bugfix.inc
Don't forget #include <a_samp>
Edit to #define GCS_BF_GETPLAYERWEAPONDATA (false)

soueu
30/07/2009, 05:12 PM
E:\Server\pawno\include\gcs_bugfix.inc(247) : error 017: undefined symbol "MAX_PLAYERS"
E:\Server\pawno\include\gcs_bugfix.inc(272) : error 017: undefined symbol "MAX_PLAYERS"
E:\Server\pawno\include\gcs_bugfix.inc(312) : error 017: undefined symbol "MAX_PLAYERS"
E:\Server\pawno\include\gcs_bugfix.inc(319) : error 009: invalid array size (negative, zero or out of bounds)
E:\Server\pawno\include\gcs_bugfix.inc(323) : error 017: undefined symbol "SetPlayerRaceCheckpoint"
E:\Server\pawno\include\gcs_bugfix.inc(346) : error 017: undefined symbol "MAX_PLAYERS"
E:\Server\pawno\include\gcs_bugfix.inc(349) : error 009: invalid array size (negative, zero or out of bounds)
E:\Server\pawno\include\gcs_bugfix.inc(352) : error 017: undefined symbol "SetPlayerCheckpoint"
E:\Server\pawno\include\gcs_bugfix.inc(496) : error 017: undefined symbol "SpawnPlayer"
E:\Server\pawno\include\gcs_bugfix.inc(586) : error 070: rational number support was not enabled
E:\Server\pawno\include\gcs_bugfix.inc(586) : error 070: rational number support was not enabled
E:\Server\pawno\include\gcs_bugfix.inc(586) : error 070: rational number support was not enabled
E:\Server\pawno\include\gcs_bugfix.inc(586) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


13 Errors.


Are you trying to compile the ".inc"? 0.o

Anyway, you must rename it from ".pwn" to ".inc", and include into a ".pwn" file.

yezizhu
30/07/2009, 05:17 PM
Are you trying to compile the .inc ? O.o
Hmm, I think you're right.
Do I necessaey to add how to use include in the topic : p

HACKHERS
30/07/2009, 06:36 PM
E:\Server\pawno\include\gcs_bugfix.inc(660) : error 075: input line too long (after substitutions)
E:\Server\pawno\include\gcs_bugfix.inc(661) : error 075: input line too long (after substitutions)
E:\Server\gamemodes\[GM]HACKHERS.pwn(358) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(363) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(5991) : warning 203: symbol is never used: "gcs_bf_OnPlayerSelectedMenuRow"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

yezizhu
30/07/2009, 06:54 PM
E:\Server\pawno\include\gcs_bugfix.inc(660) : error 075: input line too long (after substitutions)
E:\Server\pawno\include\gcs_bugfix.inc(661) : error 075: input line too long (after substitutions)
E:\Server\gamemodes\[GM]HACKHERS.pwn(358) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(363) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(5991) : warning 203: symbol is never used: "gcs_bf_OnPlayerSelectedMenuRow"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

Please show all the error lines.

HACKHERS
30/07/2009, 07:09 PM
357. SetPlayerAmmo(playerid,DBWeapon[playerid],0);
362. SetPlayerAmmo(playerid,DBWeapon[playerid],0);

gcs_bugfix.inc

661. }
662. #endif

ғαιιοцт
30/07/2009, 08:41 PM
357. SetPlayerAmmo(playerid,DBWeapon[playerid],0);
362. SetPlayerAmmo(playerid,DBWeapon[playerid],0);

gcs_bugfix.inc

661. }
662. #endif


357. SetPlayerAmmo(playerid,DBWeapon[playerid]);
362. SetPlayerAmmo(playerid,DBWeapon[playerid]);

and remove all the spaces after #endif

yezizhu
31/07/2009, 05:28 AM
357. SetPlayerAmmo(playerid,DBWeapon[playerid],0);
362. SetPlayerAmmo(playerid,DBWeapon[playerid],0);

gcs_bugfix.inc

661. }
662. #endif

357.SetPlayerAmmo(playerid,0);
362.SetPlayerAmmo(playerid,0);
About line 660.661, it seems you edited my code, I'm sure I compile this without any error.

BP13
31/07/2009, 05:31 AM
I did this how when I choose something on a menu nothing happens.


and can someone explain what the fire death bug is.

yezizhu
31/07/2009, 08:34 AM
BP13 ]
I did this how when I choose something on a menu nothing happens.


and can someone explain what the fire death bug is.

Are you sure add function on top of the callback
eg:
public OnPlayerSelectedMenuRow(playerid,row){
gcs_bf_selectedMenuRow(playerid);
//do your code here
return true;
}
About fire death bug

Somtimes when your health is taken to 0 from fire, you are still able to walk around, till the fire goes out. Might be a sa-mp bug or maybe just a SA bug.

HACKHERS
31/07/2009, 10:35 AM
If I Don'T Change Anytthing it Gives Me

E:\Server\pawno\include\gcs_bugfix.inc(664) : error 075: input line too long (after substitutions)
E:\Server\gamemodes\[GM]HACKHERS.pwn(357) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(362) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(5990) : warning 203: symbol is never used: "gcs_bf_OnPlayerSelectedMenuRow"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


If I Delete 664 It Gives Me(664=Space)


E:\Server\pawno\include\gcs_bugfix.inc(663) : error 075: input line too long (after substitutions)
E:\Server\gamemodes\[GM]HACKHERS.pwn(357) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(362) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(5990) : warning 203: symbol is never used: "gcs_bf_OnPlayerSelectedMenuRow"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


If I Delete 664 It Gives Me(664=Space)


E:\Server\pawno\include\gcs_bugfix.inc(662) : error 075: input line too long (after substitutions)
E:\Server\gamemodes\[GM]HACKHERS.pwn(357) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(362) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(5990) : warning 203: symbol is never used: "gcs_bf_OnPlayerSelectedMenuRow"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

yezizhu
31/07/2009, 11:06 AM
Remove all blank lines between line 664 and upside line 664

HACKHERS
31/07/2009, 04:40 PM
E:\Server\pawno\include\gcs_bugfix.inc(661) : error 075: input line too long (after substitutions)
E:\Server\pawno\include\gcs_bugfix.inc(662) : error 075: input line too long (after substitutions)
E:\Server\gamemodes\[GM]HACKHERS.pwn(357) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(362) : warning 202: number of arguments does not match definition
E:\Server\gamemodes\[GM]HACKHERS.pwn(5990) : warning 203: symbol is never used: "gcs_bf_OnPlayerSelectedMenuRow"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.


661. Space
662. #endif

BP13
31/07/2009, 05:13 PM
sorry what is the menu bug?

yezizhu
01/08/2009, 01:02 AM
2 Errors.
661. Space
662. #endif

I am confused...
Show your gcs_bugfix.inc in pastebin,please.

BP13 ]
sorry what is the menu bug?

It has been described in the topic.

HACKHERS
01/08/2009, 07:38 AM
http://pastebin.com/m214429ee

yezizhu
01/08/2009, 07:59 AM
http://pastebin.com/m214429ee

wt...
Nothing wrong in the code, try to redownload SA-MP 0.2X Windows Serverpackage (http://files.sa-mp.com/samp02Xserver.win32.zip) or pawnocc.exe, pawnc.dll, libpawnc.dll

george_
03/08/2009, 05:36 PM
cool good job :D

BP13
03/08/2009, 07:12 PM
C:\Documents and Settings\Braeden\Desktop\SA\My Newest Files\pawno\include\gcs_bugfix.inc(664) : error 075: input line too long (after substitutions)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


I did not change anything in the .inc

ғαιιοцт
03/08/2009, 08:49 PM
BP13 ]
C:\Documents and Settings\Braeden\Desktop\SA\My Newest Files\pawno\include\gcs_bugfix.inc(664) : error 075: input line too long (after substitutions)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


I did not change anything in the .inc

at the end of the file, you'll see 1 (or 2, idk) lines with just spaces.
delete these ;)

yezizhu
03/08/2009, 11:10 PM
BP13 ]
C:\Documents and Settings\Braeden\Desktop\SA\My Newest Files\pawno\include\gcs_bugfix.inc(664) : error 075: input line too long (after substitutions)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


I did not change anything in the .inc

I don't get this error when compiling, I'm using pawn_scite.
I'll try to compile while using pawno.exe.

at the end of the file, you'll see 1 (or 2, idk) lines with just spaces.
delete these ;)

Thanks for helping me^^
Edited:
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
The newest version is 3.3.4127 (http://www.compuphase.com/pawn/pawnhistory.htm)
I don'y know why samp team don't update it : (

BP13
04/08/2009, 02:17 AM
BP13 ]
C:\Documents and Settings\Braeden\Desktop\SA\My Newest Files\pawno\include\gcs_bugfix.inc(664) : error 075: input line too long (after substitutions)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


I did not change anything in the .inc

I don't get this error when compiling, I'm using pawn_scite.
I'll try to compile while using pawno.exe.

at the end of the file, you'll see 1 (or 2, idk) lines with just spaces.
delete these ;)

Thanks for helping me^^
Edited:
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
The newest version is 3.3.4127 (http://www.compuphase.com/pawn/pawnhistory.htm)
I don'y know why samp team don't update it : (


I tried the newest pawn and I got some errors in a_samp.inc

http://undergroundstunt.webs.com/error.GIF

But there is no errors with the old pawno.

yezizhu
04/08/2009, 02:38 AM
It should be updated by sa-mp team, I just complained why doesn't update, it has many new features in new version.

Sorry for carrying bug because of without adequate test, I'll try to compile gcs_bugfix.inc while using pawno.exe, and find the problem.
Does any effect as fallout said? I think he is right.

BP13
04/08/2009, 04:08 AM
ya you have to get rid of


#endif




after the last }

yezizhu
04/08/2009, 04:29 AM
Emm...
I compile it without any error while using pawno.exe....
Test code

#define TEST (2)
#include <a_samp>
#include <gcs\gcs_bugfix>

main(){}

public OnGameModeInit(){
gcs_bf_OnGameModeInit();
return true;
}
public OnPlayerConnect(playerid){
gcs_bf_OnPlayerConnect(playerid);
return true;
}

public OnPlayerDeath(playerid,killerid,reason){
gcs_bf_OnPlayerDeath(playerid);
return true;
}

public OnPlayerSelectedMenuRow(playerid,row){
gcs_bf_OnPlayerSelectedMenuRow(playerid);
return true;
}

public OnPlayerExitedMenu(playerid){
gcs_bf_OnPlayerExitedMenu(playerid);
return true;
}


try to redownload SA-MP 0.2X Windows Serverpackage (http://files.sa-mp.com/samp02Xserver.win32.zip) or pawnocc.exe, pawnc.dll, libpawnc.dll

BP13
04/08/2009, 07:27 AM
Emm...
I compile it without any error while using pawno.exe....
Test code

#define TEST (2)
#include <a_samp>
#include <gcs\gcs_bugfix>

main(){}

public OnGameModeInit(){
gcs_bf_OnGameModeInit();
return true;
}
public OnPlayerConnect(playerid){
gcs_bf_OnPlayerConnect(playerid);
return true;
}

public OnPlayerDeath(playerid,killerid,reason){
gcs_bf_OnPlayerDeath(playerid);
return true;
}

public OnPlayerSelectedMenuRow(playerid,row){
gcs_bf_OnPlayerSelectedMenuRow(playerid);
return true;
}

public OnPlayerExitedMenu(playerid){
gcs_bf_OnPlayerExitedMenu(playerid);
return true;
}


try to redownload SA-MP 0.2X Windows Serverpackage (http://files.sa-mp.com/samp02Xserver.win32.zip) or pawnocc.exe, pawnc.dll, libpawnc.dll



I was wondering why it does not compile for the newest pawno. I get:

http://undergroundstunt.webs.com/error.GIF

yezizhu
04/08/2009, 11:18 AM
I don't know, too :s
Maybe it should be updated by sa-mp team.
BTW, you've solved error "input line too long" ?

MaykoX
04/08/2009, 03:34 PM
Realy Nice

BP13
04/08/2009, 04:14 PM
I don't know, too :s
Maybe it should be updated by sa-mp team.
BTW, you've solved error "input line too long" ?


yes its working.

ғαιιοцт
04/08/2009, 04:26 PM
BP13 ]

Emm...
I compile it without any error while using pawno.exe....
Test code

#define TEST (2)
#include <a_samp>
#include <gcs\gcs_bugfix>

main(){}

public OnGameModeInit(){
gcs_bf_OnGameModeInit();
return true;
}
public OnPlayerConnect(playerid){
gcs_bf_OnPlayerConnect(playerid);
return true;
}

public OnPlayerDeath(playerid,killerid,reason){
gcs_bf_OnPlayerDeath(playerid);
return true;
}

public OnPlayerSelectedMenuRow(playerid,row){
gcs_bf_OnPlayerSelectedMenuRow(playerid);
return true;
}

public OnPlayerExitedMenu(playerid){
gcs_bf_OnPlayerExitedMenu(playerid);
return true;
}


try to redownload SA-MP 0.2X Windows Serverpackage (http://files.sa-mp.com/samp02Xserver.win32.zip) or pawnocc.exe, pawnc.dll, libpawnc.dll



I was wondering why it does not compile for the newest pawno. I get:

http://undergroundstunt.webs.com/error.GIF



newest pawno? o.O where to get it?

yezizhu
04/08/2009, 04:33 PM
Problem sovled at last xD
Newest doesn't mean to best, it should be updated by sa-mp team.
BTW, you can find it by google search "pawn language".

ғαιιοцт
04/08/2009, 05:12 PM
Problem sovled at last xD
Newest doesn't mean to best, it should be updated by sa-mp team.
BTW, you can find it by google search "pawn language".

I already found it ^^
bp gave me a link

[MWR]Blood
01/12/2010, 08:35 AM
Nice job, keep it up!