1
Changelogs / Re: 13-11-2016 Changelog
« on: November 15, 2016, 12:40:14 PM »
Nah, but i know it never matters who posts changelog; all devs had their part in making new shiny stuff alive - and this one isn't an exception :]
Brought to you by S1man and probably only by him.Oh man, you have no idea...
I really believe that we have on the friendliest communities here from any other games that I have playedYou do. At least in FOnline world.
uint8 CurrentFixboyFilter = 0; // all
void SetFixboyFilter(uint8 filter) // called by button click
{
if( filter == CurrentFixboyFilter )
return; // leave server alone
CurrentFixboyFilter = filter;
RunServerScriptUnsafe( "fix_boy@unsafe_filter", filter, 0, 0, null, null );
}
void unsafe_filter( Critter& player, int filter, int, int, string@, int[]@ )
{
player.ParamBase[SILLY_PARAM_NAME] = filter;
player.DropTimers();
}
int GetFilter( CraftItem& recipe )
{
// take crafted item type from CraftItem::GetOutItems() and use it as filter value
// or use own table which will translate CraftItem to filter value
return( filter );
}
void fix_myShit( Critter& player, int state, CraftItem& recipe )
{
if( state == FIXBOY_LIST )
{
int PlayerFilter = player.ParamBase[SILLY_PARAM_NAME];
if( PlayerFilter == 0 ) // all
return( FIX_SUCCESS );
int ItemFilter = GetFilter( recipe );
if( PlayerFilter == ItemFilter )
return( FIX_SUCCESS );
return( FIX_FAIL );
}
// very secret code for other state value
}
maybe Linux too but most of players use Wine on Linux to play any FOnline gamesI was able to use native linux client [taken from SDK r412] with AoP; requires to make own .so file as server does not provide it. Not really playable, as some of stats are not displayed correctly - that would need devs to fill the holes - but if someone can't use wine and wants to just look around, it should work.