Any Last Administrative Requests 1.4.4 (2010-05-16)

scm, pwn, mirc scripts, game mode management
Bookmark and Share

Re: Any Last Administrative Requests 1.4.4 (2010-05-16)

Postby [DRuG]Dabombber on Mon May 17, 2010 2:06 pm

SpiderPig wrote:im using the fdm crippled, how do i merge this the ones kf had


I'm sure KillFrenzy will update it eventually. If your server is crashing when people connect though, add this to the bottom of bugfix.inc

Code: Select all
stock bf_SetPVarString(playerid, varname[], string_value[])
{
    if(string_value[0] == '\0') return SetPVarString(playerid, varname, "\1");
    return SetPVarString(playerid, varname, string_value);
}
#if defined _ALS_SetPVarString
    #error "Bugfix.inc must be included immediately after a_samp.inc"
#else
    #define _ALS_SetPVarString
#endif
#define SetPVarString    bf_SetPVarString

stock bf_GetPVarString(playerid, varname[], string_return[], len)
{
    new ret = GetPVarString(playerid, varname, string_return, len);
    if(isnull(string_return)) string_return[0] = '\0';
    return ret;
}
#if defined _ALS_GetPVarString
    #error "Bugfix.inc must be included immediately after a_samp.inc"
#else
    #define _ALS_GetPVarString
#endif
#define GetPVarString    bf_GetPVarString
User avatar

[DRuG]Dabombber
[DRuG] member
[DRuG] member
[alr] member
 
Posts: 84
Joined: Sat Jul 28, 2007 7:35 pm


Re: Any Last Administrative Requests 1.4.4 (2010-05-16)

Postby SpiderPig on Sat May 22, 2010 4:29 am

ok
User avatar

SpiderPig
[Zl] member
[Zl] member
 
Posts: 3
Joined: Mon Mar 15, 2010 3:59 pm


Re: Any Last Administrative Requests 1.4.4 (2010-05-16)

Postby [DRuG]NikT on Mon May 31, 2010 10:51 pm

[DRuG]NikT wrote:Awesome work dude - I'll get the version hosted on our main site updated ASAP.


Better late than never - the correct version is now hosted in the downloads section on http://drugcrew.com.

Thanks again dude - awesome work. :)


"But my head's all messed up, so you better driive brother"
User avatar

[DRuG]NikT
[DRuG] cofounder & your host

Status:
Check out the downloads and members areas on drugcrew.com

[DRuG] cofounder & your host
[DRuG] coleader
[DRuG] member
DRuG server admin
[AGS] member
]DR[ member
 
Posts: 2532
Joined: Sat Jul 28, 2007 10:39 am
Location: Melbourne, Victoria, Australia


Re: Any Last Administrative Requests 1.4.4 (2010-05-16)

Postby [DRuG]Ryant on Sun Jun 06, 2010 9:59 pm

Thanks :)
User avatar

[DRuG]Ryant
[SNIP] member

Status:
Don't feel so dirty

[SNIP] member
[AGS] member
[DRuG] member
 
Posts: 57
Joined: Thu Dec 03, 2009 9:23 pm
Location: Queensland, Australia


Re: Any Last Administrative Requests 1.4.4 (2010-05-16)

Postby Jessyy on Wed Jun 20, 2012 11:34 am

There's a small mistake at Linie: 13284
Code: Select all
if(!IsPlayerNPC(i) && !gPlayerData[j][E_JOINTEXT]) {


Because:
i -> is used for sizeof(gJoinMessage)
j -> is used for LoopPlayers(j)

Should be:
Code: Select all
if(!IsPlayerNPC(j) && !gPlayerData[j][E_JOINTEXT]) {
[img width=350 height=20]http://www.aussiegameserver.com/imagehost/pics/b14966b985c23147e9e845a357b3e623.jpg[/img]
[img width=450 height=150]http://i.imagehost.org/0233/little.png[/img]
User avatar

Jessyy

Status:


[SNIP] member
 
Posts: 1
Joined: Sat Dec 19, 2009 12:48 am


Re: Any Last Administrative Requests 1.4.4 (2010-05-16)

Postby [DRuG]Dabombber on Wed Jun 20, 2012 1:24 pm

Nice find, looks like it was a copy/paste mistake. Unfortunately there are some compatibility issues with the latest samp versions, and I don't think I'll be getting back into scripting for it. Samp was just too stagnant for a long time.
User avatar

[DRuG]Dabombber
[DRuG] member
[DRuG] member
[alr] member
 
Posts: 84
Joined: Sat Jul 28, 2007 7:35 pm


Previous

Return to Mission Mods

Who is online

Users browsing this forum: No registered users and 1 guest

cron